--- Begin Message ---
Source: homesick
Version: 1.1.3-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs locale
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer,
homesick fails to build from source in unstable/amd64 under some locales (eg.
LANG="fr_CH.UTF-8") as the testsuite — which is curiously run in the install
target — uses local-sensitive strings to determine success.
[…]
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.3 from debian/ruby-tests.rake
│
└──────────────────────────────────────────────────────────────────────────────┘
RUBYLIB=/home/lamby/temp/cdt.20161020163846.S0SIG1t1l1.db.homesick/homesick-1.1.3/debian/homesick/usr/lib/ruby/vendor_ruby:.
GEM_PATH=debian/homesick/usr/share/rubygems-integration/all:/home/lamby/.gem/ruby/2.3.0:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all
ruby2.3 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*_spec.rb
[32m[Coveralls] Set up the SimpleCov formatter.[0m
[32m[Coveralls] Using SimpleCov's default settings.[0m
..........WARNING: Using the `raise_error` matcher without providing a
specific error or message risks false positives, since `raise_error` will match
when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially
allowing the expectation to pass without even executing the method you are
intending to call. Actual error raised was #<RuntimeError: Unknown URI format:
malformed>. Instead consider providing a specific error class or message. This
message can be suppressed by setting:
`RSpec::Expectations.configuration.on_potential_false_positives = :nothing`.
Called from
/home/lamby/temp/cdt.20161020163846.S0SIG1t1l1.db.homesick/homesick-1.1.3/spec/homesick_cli_spec.rb:149:in
`block (3 levels) in <top (required)>'.
........................FF.............F.....................
Failures:
1) Homesick::CLI status says "nothing to commit" when there are no changes
Failure/Error: expect(text).to match(%r{nothing to commit \(create/copy
files and use "git add" to track\)$})
expected "Sur la branche master\n\nValidation initiale\n\nrien à
valider (créez/copiez des fichiers et utilisez \"git add\" pour les suivre)\n"
to match /nothing to commit \(create\/copy files and use "git add" to track\)$/
Diff:
@@ -1,2 +1,6 @@
-/nothing to commit \(create\/copy files and use "git add" to track\)$/
+Sur la branche master
+
+Validation initiale
+
+rien à valider (créez/copiez des fichiers et utilisez "git add" pour
les suivre)
# ./spec/homesick_cli_spec.rb:441:in `block (3 levels) in <top
(required)>'
2) Homesick::CLI status says "Changes to be committed" when there are
changes
Failure/Error: expect(text).to match(%r{Changes to be committed:.*new
file:\s*home\/.some_rc_file}m)
expected "Sur la branche master\n\nValidation
initiale\n\nModifications qui seront validées :\n (utilisez \"git rm --cached
<fichier>...\" pour désindexer)\n\n\tnouveau fichier : home/.some_rc_file\n\n"
to match /Changes to be committed:.*new file:\s*home\/.some_rc_file/m
Diff:
@@ -1,2 +1,9 @@
-/Changes to be committed:.*new file:\s*home\/.some_rc_file/m
+Sur la branche master
+
+Validation initiale
+
+Modifications qui seront validées :
+ (utilisez "git rm --cached <fichier>..." pour désindexer)
+
+ nouveau fichier : home/.some_rc_file
# ./spec/homesick_cli_spec.rb:449:in `block (3 levels) in <top
(required)>'
3) Homesick::CLI track commit has a commit message when the commit succeeds
Failure/Error: expect(text).to match(/^\[master \(root-commit\) \w+\]
Test message/)
expected "[master (commit racine) 9bf3bd7] Test message\n 1 file
changed, 0 insertions(+), 0 deletions(-)\n create mode 100644
home/.a_random_rc_file\n" to match /^\[master \(root-commit\) \w+\] Test
message/
Diff:
@@ -1,2 +1,4 @@
-/^\[master \(root-commit\) \w+\] Test message/
+[master (commit racine) 9bf3bd7] Test message
+ 1 file changed, 0 insertions(+), 0 deletions(-)
+ create mode 100644 home/.a_random_rc_file
# ./spec/homesick_cli_spec.rb:609:in `block (4 levels) in <top
(required)>'
Finished in 2.87 seconds (files took 0.3813 seconds to load)
71 examples, 3 failures
Failed examples:
rspec ./spec/homesick_cli_spec.rb:438 # Homesick::CLI status says "nothing to
commit" when there are no changes
rspec ./spec/homesick_cli_spec.rb:444 # Homesick::CLI status says "Changes to
be committed" when there are changes
rspec ./spec/homesick_cli_spec.rb:602 # Homesick::CLI track commit has a
commit message when the commit succeeds
[33m[Coveralls] Outside the Travis environment, not sending data.[0m
/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*_spec.rb failed
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install
/home/lamby/temp/cdt.20161020163846.S0SIG1t1l1.db.homesick/homesick-1.1.3/debian/homesick
returned exit code 1
debian/rules:15 : la recette pour la cible « binary » a échouée
make: *** [binary] Erreur 1
dpkg-buildpackage: erreur: fakeroot debian/rules binary a produit une erreur
de sortie de type 2
**************************************************************************************
** Detected network access during build
**
**************************************************************************************
00:00:00.000000 IP 6a3ce95f2ded.45644 > dns1.telekomi.net.domain: 46971+ A?
github.com. (28)
00:00:00.000049 IP 6a3ce95f2ded.45644 > dns1.telekomi.net.domain: 33776+
AAAA? github.com. (28)
00:00:00.129369 IP dns1.telekomi.net.domain > 6a3ce95f2ded.45644: 46971 1/4/4
A 192.30.253.112 (194)
00:00:00.425781 IP dns1.telekomi.net.domain > 6a3ce95f2ded.45644: 33776 0/1/0
(93)
00:00:00.426026 IP 6a3ce95f2ded.36260 > 192.30.253.112.git: Flags [S], seq
2206836612, win 29200, options [mss 1460,sackOK,TS val 87871819 ecr
0,nop,wscale 7], length 0
00:00:00.552034 IP 192.30.253.112.git > 6a3ce95f2ded.36260: Flags [S.], seq
2614189772, ack 2206836613, win 28480, options [mss 1386,sackOK,TS val
3838330146 ecr 87871819,nop,wscale 10], length 0
00:00:00.552094 IP 6a3ce95f2ded.36260 > 192.30.253.112.git: Flags [.], ack 1,
win 229, options [nop,nop,TS val 87871850 ecr 3838330146], length 0
00:00:00.552176 IP 6a3ce95f2ded.36260 > 192.30.253.112.git: Flags [P.], seq
1:71, ack 1, win 229, options [nop,nop,TS val 87871850 ecr 3838330146], length
70
00:00:00.677213 IP 192.30.253.112.git > 6a3ce95f2ded.36260: Flags [.], ack
71, win 28, options [nop,nop,TS val 3838330177 ecr 87871850], length 0
00:00:00.687485 IP 192.30.253.112.git > 6a3ce95f2ded.36260: Flags [F.], seq
1:33, ack 71, win 28, options [nop,nop,TS val 3838330180 ecr 87871850], length
32
00:00:00.688127 IP 6a3ce95f2ded.36260 > 192.30.253.112.git: Flags [F.], seq
71, ack 34, win 229, options [nop,nop,TS val 87871884 ecr 3838330180], length 0
00:00:00.761107 IP 6a3ce95f2ded.57155 > dns1.telekomi.net.domain: 22667+ A?
github.com. (28)
00:00:00.761174 IP 6a3ce95f2ded.57155 > dns1.telekomi.net.domain: 48411+
AAAA? github.com. (28)
00:00:00.811612 IP 192.30.253.112.git > 6a3ce95f2ded.36260: Flags [.], ack
72, win 28, options [nop,nop,TS val 3838330210 ecr 87871884], length 0
00:00:00.890058 IP dns1.telekomi.net.domain > 6a3ce95f2ded.57155: 48411 0/1/0
(93)
00:00:00.890379 IP dns1.telekomi.net.domain > 6a3ce95f2ded.57155: 22667 1/4/4
A 192.30.253.112 (194)
00:00:00.890600 IP 6a3ce95f2ded.36262 > 192.30.253.112.git: Flags [S], seq
3001457681, win 29200, options [mss 1460,sackOK,TS val 87871935 ecr
0,nop,wscale 7], length 0
00:00:01.012566 IP 192.30.253.112.git > 6a3ce95f2ded.36262: Flags [S.], seq
3617939327, ack 3001457682, win 28480, options [mss 1386,sackOK,TS val
3838330260 ecr 87871935,nop,wscale 10], length 0
00:00:01.012640 IP 6a3ce95f2ded.36262 > 192.30.253.112.git: Flags [.], ack 1,
win 229, options [nop,nop,TS val 87871965 ecr 3838330260], length 0
00:00:01.012761 IP 6a3ce95f2ded.36262 > 192.30.253.112.git: Flags [P.], seq
1:69, ack 1, win 229, options [nop,nop,TS val 87871965 ecr 3838330260], length
68
00:00:01.133917 IP 192.30.253.112.git > 6a3ce95f2ded.36262: Flags [.], ack
69, win 28, options [nop,nop,TS val 3838330291 ecr 87871965], length 0
00:00:01.142350 IP 192.30.253.112.git > 6a3ce95f2ded.36262: Flags [F.], seq
1:33, ack 69, win 28, options [nop,nop,TS val 3838330293 ecr 87871965], length
32
00:00:01.142923 IP 6a3ce95f2ded.36262 > 192.30.253.112.git: Flags [F.], seq
69, ack 34, win 229, options [nop,nop,TS val 87871998 ecr 3838330293], length 0
[…]
The full build log and a patch is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` la...@debian.org / chris-lamb.co.uk
`-
homesick.1.1.3-1.unstable.amd64.log.txt.gz
Description: Binary data
diff --git a/debian/rules b/debian/rules
index 75b70a0..a21b9b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,11 @@
%:
dh $@ --buildsystem=ruby --with ruby
+override_dh_auto_install:
+ # Tests are run during installation and compare locale-sensitive
+ # strings.
+ LC_ALL=C dh_auto_install
+
manpage: debian/homesick.1
@true
--- End Message ---