Bug#839320: Would you upload with disabled test?

2016-10-26 Thread Adrian Bunk
On Wed, Oct 26, 2016 at 02:04:20PM +0200, Sascha Steinbiss wrote:
>...
> > That's #837445 in the check package, which became fatal with gcc-6 in 
> > unstable defaulting to PIE since this week Tuesday.
> 
> I can't reproduce this in a current unstable chroot; it looks like
> #837445 has been fixed.

The check binNMU was yesterday, and #837445 is closed.

> Cheers
> Sascha

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#839320: Would you upload with disabled test?

2016-10-26 Thread Andreas Tille
Hi Sascha,

On Wed, Oct 26, 2016 at 02:04:20PM +0200, Sascha Steinbiss wrote:
> Regarding the original bug, I have confirmed again with upstream that
> it's fine to disable these tests, which I have done in Git. Builds fine
> for me now.
> 
> Does everyone agree? I can make an upload if so. I have also filed an
> issue upstream for them to make the tests a bit more robust.

Fine for me.
 
> > That's #837445 in the check package, which became fatal with gcc-6 in 
> > unstable defaulting to PIE since this week Tuesday.
> 
> I can't reproduce this in a current unstable chroot; it looks like
> #837445 has been fixed.

Yup.

Thanks for working on this

 Andreas.

-- 
http://fam-tille.de



Bug#839320: Would you upload with disabled test?

2016-10-26 Thread Sascha Steinbiss
Hi Andreas and Adrian,

>>> since there are no responses so far I wonder how to proceed with the
>>> package. 
>>
>> Yes, that's one of the bugs that has been on my list for a while as well...

Regarding the original bug, I have confirmed again with upstream that
it's fine to disable these tests, which I have done in Git. Builds fine
for me now.

Does everyone agree? I can make an upload if so. I have also filed an
issue upstream for them to make the tests a bit more robust.

>>> I need to admit I get a different error when trying to build
>>> the current state of gubbins packaging Git:
>>>
>>> gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../tests 
>>> -pthread -g -O2 -fdebug-prefix-map=/build/gubbins-2.1.0=. 
>>> -fstack-protector-strong -Wformat -Werror=format-security -c -o 
>>> ../tests/run_all_tests-run_all_tests.o `test -f '../tests/run_all_tests.c' 
>>> || echo './'`../tests/run_all_tests.c
>>> /bin/bash ../libtool  --tag=CC   --mode=link gcc -I../tests -pthread -g -O2 
>>> -fdebug-prefix-map=/build/gubbins-2.1.0=. -fstack-protector-strong -Wformat 
>>> -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o run_all_tests 
>>> ../tests/run_all_tests-check_branch_sequences.o 
>>> ../tests/run_all_tests-check_gubbins.o 
>>> ../tests/run_all_tests-check_parse_phylip.o 
>>> ../tests/run_all_tests-check_snp_searching.o 
>>> ../tests/run_all_tests-check_snp_sites.o 
>>> ../tests/run_all_tests-check_vcf_parsing.o 
>>> ../tests/run_all_tests-helper_methods.o 
>>> ../tests/run_all_tests-run_all_tests.o -lcheck libgubbins.la -lz -lm  -lrt 
>>> -lsubunit 
>>> libtool: link: gcc -I../tests -pthread -g -O2 
>>> -fdebug-prefix-map=/build/gubbins-2.1.0=. -fstack-protector-strong -Wformat 
>>> -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
>>> .libs/run_all_tests ../tests/run_all_tests-check_branch_sequences.o 
>>> ../tests/run_all_tests-check_gubbins.o 
>>> ../tests/run_all_tests-check_parse_phylip.o 
>>> ../tests/run_all_tests-check_snp_searching.o 
>>> ../tests/run_all_tests-check_snp_sites.o 
>>> ../tests/run_all_tests-check_vcf_parsing.o 
>>> ../tests/run_all_tests-helper_methods.o 
>>> ../tests/run_all_tests-run_all_tests.o  -lcheck ./.libs/libgubbins.so -lz 
>>> -lm -lrt -lsubunit -pthread

>>> collect2: error: ld returned 1 exit status
>>> Makefile:742: recipe for target 'run_all_tests' failed
>>> make[4]: *** [run_all_tests] Error 1
>>
>> This looks like a completely different issue altogether I have never
>> seen, for me it was always failing tests.
>> ...
> 
> That's #837445 in the check package, which became fatal with gcc-6 in 
> unstable defaulting to PIE since this week Tuesday.

I can't reproduce this in a current unstable chroot; it looks like
#837445 has been fixed.

Cheers
Sascha



Bug#839320: Would you upload with disabled test?

2016-10-21 Thread Adrian Bunk
On Fri, Oct 21, 2016 at 10:39:13AM +0200, Sascha Steinbiss wrote:
> Hi Andreas,
> 
> > since there are no responses so far I wonder how to proceed with the
> > package. 
> 
> Yes, that's one of the bugs that has been on my list for a while as well...
> 
> > I need to admit I get a different error when trying to build
> > the current state of gubbins packaging Git:
> > 
> > gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../tests 
> > -pthread -g -O2 -fdebug-prefix-map=/build/gubbins-2.1.0=. 
> > -fstack-protector-strong -Wformat -Werror=format-security -c -o 
> > ../tests/run_all_tests-run_all_tests.o `test -f '../tests/run_all_tests.c' 
> > || echo './'`../tests/run_all_tests.c
> > /bin/bash ../libtool  --tag=CC   --mode=link gcc -I../tests -pthread -g -O2 
> > -fdebug-prefix-map=/build/gubbins-2.1.0=. -fstack-protector-strong -Wformat 
> > -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o run_all_tests 
> > ../tests/run_all_tests-check_branch_sequences.o 
> > ../tests/run_all_tests-check_gubbins.o 
> > ../tests/run_all_tests-check_parse_phylip.o 
> > ../tests/run_all_tests-check_snp_searching.o 
> > ../tests/run_all_tests-check_snp_sites.o 
> > ../tests/run_all_tests-check_vcf_parsing.o 
> > ../tests/run_all_tests-helper_methods.o 
> > ../tests/run_all_tests-run_all_tests.o -lcheck libgubbins.la -lz -lm  -lrt 
> > -lsubunit 
> > libtool: link: gcc -I../tests -pthread -g -O2 
> > -fdebug-prefix-map=/build/gubbins-2.1.0=. -fstack-protector-strong -Wformat 
> > -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
> > .libs/run_all_tests ../tests/run_all_tests-check_branch_sequences.o 
> > ../tests/run_all_tests-check_gubbins.o 
> > ../tests/run_all_tests-check_parse_phylip.o 
> > ../tests/run_all_tests-check_snp_searching.o 
> > ../tests/run_all_tests-check_snp_sites.o 
> > ../tests/run_all_tests-check_vcf_parsing.o 
> > ../tests/run_all_tests-helper_methods.o 
> > ../tests/run_all_tests-run_all_tests.o  -lcheck ./.libs/libgubbins.so -lz 
> > -lm -lrt -lsubunit -pthread
> > /usr/bin/ld: 
> > /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check.o):
> >  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when 
> > making a shared object; recompile with -fPIC
> > /usr/bin/ld: 
> > /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_error.o):
> >  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when 
> > making a shared object; recompile with -fPIC
> > /usr/bin/ld: 
> > /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_msg.o):
> >  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when 
> > making a shared object; recompile with -fPIC
> > /usr/bin/ld: 
> > /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_pack.o):
> >  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when 
> > making a shared object; recompile with -fPIC
> > /usr/bin/ld: 
> > /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_run.o):
> >  relocation R_X86_64_32 against undefined symbol `error_jmp_buffer' can not 
> > be used when making a shared object; recompile with -fPIC
> > /usr/bin/ld: 
> > /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_str.o):
> >  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when 
> > making a shared object; recompile with -fPIC
> > /usr/bin/ld: 
> > /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_log.o):
> >  relocation R_X86_64_32S against `.rodata' can not be used when making a 
> > shared object; recompile with -fPIC
> > /usr/bin/ld: 
> > /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_print.o):
> >  relocation R_X86_64_32S against `.rodata' can not be used when making a 
> > shared object; recompile with -fPIC
> > /usr/bin/ld: final link failed: Nonrepresentable section on output
> > collect2: error: ld returned 1 exit status
> > Makefile:742: recipe for target 'run_all_tests' failed
> > make[4]: *** [run_all_tests] Error 1
> 
> This looks like a completely different issue altogether I have never
> seen, for me it was always failing tests.
>...

That's #837445 in the check package, which became fatal with gcc-6 in 
unstable defaulting to PIE since this week Tuesday.

Building with gcc-6 from testing should work around this problem (untested).

> Cheers
> Sascha

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#839320: Would you upload with disabled test?

2016-10-21 Thread Sascha Steinbiss
Hi Andreas,

> since there are no responses so far I wonder how to proceed with the
> package. 

Yes, that's one of the bugs that has been on my list for a while as well...

> I need to admit I get a different error when trying to build
> the current state of gubbins packaging Git:
> 
> gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../tests 
> -pthread -g -O2 -fdebug-prefix-map=/build/gubbins-2.1.0=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o 
> ../tests/run_all_tests-run_all_tests.o `test -f '../tests/run_all_tests.c' || 
> echo './'`../tests/run_all_tests.c
> /bin/bash ../libtool  --tag=CC   --mode=link gcc -I../tests -pthread -g -O2 
> -fdebug-prefix-map=/build/gubbins-2.1.0=. -fstack-protector-strong -Wformat 
> -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o run_all_tests 
> ../tests/run_all_tests-check_branch_sequences.o 
> ../tests/run_all_tests-check_gubbins.o 
> ../tests/run_all_tests-check_parse_phylip.o 
> ../tests/run_all_tests-check_snp_searching.o 
> ../tests/run_all_tests-check_snp_sites.o 
> ../tests/run_all_tests-check_vcf_parsing.o 
> ../tests/run_all_tests-helper_methods.o 
> ../tests/run_all_tests-run_all_tests.o -lcheck libgubbins.la -lz -lm  -lrt 
> -lsubunit 
> libtool: link: gcc -I../tests -pthread -g -O2 
> -fdebug-prefix-map=/build/gubbins-2.1.0=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
> .libs/run_all_tests ../tests/run_all_tests-check_branch_sequences.o 
> ../tests/run_all_tests-check_gubbins.o 
> ../tests/run_all_tests-check_parse_phylip.o 
> ../tests/run_all_tests-check_snp_searching.o 
> ../tests/run_all_tests-check_snp_sites.o 
> ../tests/run_all_tests-check_vcf_parsing.o 
> ../tests/run_all_tests-helper_methods.o 
> ../tests/run_all_tests-run_all_tests.o  -lcheck ./.libs/libgubbins.so -lz -lm 
> -lrt -lsubunit -pthread
> /usr/bin/ld: 
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check.o):
>  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making 
> a shared object; recompile with -fPIC
> /usr/bin/ld: 
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_error.o):
>  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making 
> a shared object; recompile with -fPIC
> /usr/bin/ld: 
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_msg.o):
>  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making 
> a shared object; recompile with -fPIC
> /usr/bin/ld: 
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_pack.o):
>  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making 
> a shared object; recompile with -fPIC
> /usr/bin/ld: 
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_run.o):
>  relocation R_X86_64_32 against undefined symbol `error_jmp_buffer' can not 
> be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: 
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_str.o):
>  relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making 
> a shared object; recompile with -fPIC
> /usr/bin/ld: 
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_log.o):
>  relocation R_X86_64_32S against `.rodata' can not be used when making a 
> shared object; recompile with -fPIC
> /usr/bin/ld: 
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_print.o):
>  relocation R_X86_64_32S against `.rodata' can not be used when making a 
> shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: error: ld returned 1 exit status
> Makefile:742: recipe for target 'run_all_tests' failed
> make[4]: *** [run_all_tests] Error 1

This looks like a completely different issue altogether I have never
seen, for me it was always failing tests.

I can take a look at gubbins later and try to figure them out. I had a
first idea of how to address the one reported in this bug here, but I
couldn't reproduce it, instead hitting a different test failure
(consistently) which upstream said I could ignore.

I can do the following:

- first try to reproduce your issue and address it
- disable the test that upstream says shouldn't be a dealbreaker
- try to reproduce and work on the test failure that this bug is
  concerned about

However, my weekend is quite full already, so if I hit a wall with one
of them, I'm not sure of how much time I can dedicate. Any help would be
appreciated!

Cheers
Sascha



Bug#839320: Would you upload with disabled test?

2016-10-21 Thread Andreas Tille
Hi Sascha,

since there are no responses so far I wonder how to proceed with the
package.  I need to admit I get a different error when trying to build
the current state of gubbins packaging Git:

gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../tests 
-pthread -g -O2 -fdebug-prefix-map=/build/gubbins-2.1.0=. 
-fstack-protector-strong -Wformat -Werror=format-security -c -o 
../tests/run_all_tests-run_all_tests.o `test -f '../tests/run_all_tests.c' || 
echo './'`../tests/run_all_tests.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I../tests -pthread -g -O2 
-fdebug-prefix-map=/build/gubbins-2.1.0=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o run_all_tests 
../tests/run_all_tests-check_branch_sequences.o 
../tests/run_all_tests-check_gubbins.o 
../tests/run_all_tests-check_parse_phylip.o 
../tests/run_all_tests-check_snp_searching.o 
../tests/run_all_tests-check_snp_sites.o 
../tests/run_all_tests-check_vcf_parsing.o 
../tests/run_all_tests-helper_methods.o ../tests/run_all_tests-run_all_tests.o 
-lcheck libgubbins.la -lz -lm  -lrt -lsubunit 
libtool: link: gcc -I../tests -pthread -g -O2 
-fdebug-prefix-map=/build/gubbins-2.1.0=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/run_all_tests 
../tests/run_all_tests-check_branch_sequences.o 
../tests/run_all_tests-check_gubbins.o 
../tests/run_all_tests-check_parse_phylip.o 
../tests/run_all_tests-check_snp_searching.o 
../tests/run_all_tests-check_snp_sites.o 
../tests/run_all_tests-check_vcf_parsing.o 
../tests/run_all_tests-helper_methods.o ../tests/run_all_tests-run_all_tests.o  
-lcheck ./.libs/libgubbins.so -lz -lm -lrt -lsubunit -pthread
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check.o): 
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a 
shared object; recompile with -fPIC
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_error.o):
 relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a 
shared object; recompile with -fPIC
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_msg.o):
 relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a 
shared object; recompile with -fPIC
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_pack.o):
 relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a 
shared object; recompile with -fPIC
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_run.o):
 relocation R_X86_64_32 against undefined symbol `error_jmp_buffer' can not be 
used when making a shared object; recompile with -fPIC
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_str.o):
 relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a 
shared object; recompile with -fPIC
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_log.o):
 relocation R_X86_64_32S against `.rodata' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcheck.a(check_print.o):
 relocation R_X86_64_32S against `.rodata' can not be used when making a shared 
object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:742: recipe for target 'run_all_tests' failed
make[4]: *** [run_all_tests] Error 1


Any clue?

Kind regards

  Andreas.

-- 
http://fam-tille.de