Hi,

On Fri, Nov 02, 2012 at 05:13:57PM +0100, gregor herrmann wrote:
> On Fri, 02 Nov 2012 21:43:30 +0600, Andrey Rahmatullin wrote:
> 
> > > I've prepared an NMU for rhash (versioned as 1.2.9-7.1) and
> > > uploaded it to DELAYED/2. Please feel free to tell me if I
> > > should delay it longer.
> > `make -C librhash test` still builds the static rhash binary which btw is 
> > not
> > possible as it doesn't try to link to -ldl.
> 
> Thanks for checking.
>  
> > make[1]: Entering directory `/tmp/buildd/rhash-1.2.9'
> > make -C librhash test
> > make[2]: Entering directory `/tmp/buildd/rhash-1.2.9/librhash'
> > make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
> > rule.
> > gcc calc_sums.o hash_print.o common_func.o hash_update.o file_mask.o 
> > file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o 
> > win_utils.o -o rhash -Llibrhash -lrhash  
> > gcc -c  -pipe -DIN_RHASH  -DUSE_GETTEXT -DNDEBUG -D_FORTIFY_SOURCE=2 -Wall 
> > -fomit-frame-pointer -g -O2 -fstack-protector --param=ssp-buffer-size=4 
> > -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes 
> > -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast 
> > -Wmissing-prototypes -Wmissing-declarations test_hashes.c -o test_hashes.o
> > librhash/librhash.a(plug_openssl.o): In function `load_openssl_runtime':
> > /tmp/buildd/rhash-1.2.9/librhash/plug_openssl.c:141: undefined reference to 
> > `dlopen'
>  
> > Tested with
> > DEB_BUILD_OPTIONS=parallel=5 sudo -E cowbuilder --build rhash_1.2.9-7.1.dsc
> 
> I built it with the parallel options too.
> 
> I've now tried exactly your commandline, and it still works:
> 
> make[1]: Entering directory `/tmp/buildd/rhash-1.2.9'
> make -C librhash test
> make[2]: Entering directory `/tmp/buildd/rhash-1.2.9/librhash'
> make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
> rule.
> gcc -c  -pipe -DIN_RHASH  -DUSE_GETTEXT -DNDEBUG -D_FORTIFY_SOURCE=2 -Wall 
> -fomit-frame-pointer -g -O2 -fstack-protector --param=ssp-buffer-size=4 
> -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes 
> -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast 
> -Wmissing-prototypes -Wmissing-declarations test_hashes.c -o test_hashes.o
> gcc  -pipe -DIN_RHASH  -DUSE_GETTEXT -DNDEBUG -D_FORTIFY_SOURCE=2 -Wall 
> -fomit-frame-pointer -g -O2 -fstack-protector --param=ssp-buffer-size=4 
> -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes 
> -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast 
> -Wmissing-prototypes -Wmissing-declarations test_hashes.o -L. -lrhash 
> -Wl,-z,relro -ldl -o test_hashes
> ./test_hashes
> All sums are working properly!
> 
> Interesting difference; this is a bit mysterious ....
> 
> Oh, interesting, I now tried in an i386 chroot, and now I got the failure:
> 
> make[1]: Entering directory `/tmp/buildd/rhash-1.2.9'
> make -C librhash test
> make[2]: Entering directory `/tmp/buildd/rhash-1.2.9/librhash'
> make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
> rule.
> gcc calc_sums.o hash_print.o common_func.o hash_update.o file_mask.o 
> file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o 
> win_utils.o -o rhash -Llibrhash -lrhash  
> gcc -c  -pipe -DIN_RHASH  -DUSE_GETTEXT -DNDEBUG -D_FORTIFY_SOURCE=2 -Wall 
> -fomit-frame-pointer -g -O2 -fstack-protector --param=ssp-buffer-size=4 
> -Wformat -Werror=format-security -Wall -W -Wstrict-prototypes 
> -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast 
> -Wmissing-prototypes -Wmissing-declarations test_hashes.c -o test_hashes.o
> librhash/librhash.a(plug_openssl.o): In function `load_openssl_runtime':
> /tmp/buildd/rhash-1.2.9/librhash/plug_openssl.c:141: undefined reference to 
> `dlopen'
> 
> Ok, NMU cancelled until this is sorted out ...

For the record, I tried a build of Gregor's NMU patch using sbuild and
DEB_BUILD_OPTIONS=parallel=4 on both i386 and amd64 and they both worked
fine.


Michael


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to