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 ...


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Sting: I Hung My Head

Attachment: signature.asc
Description: Digital signature

Reply via email to