Package: blhc
Version: 0.04+20130602+git6bd8ae0-1
Severity: normal

apache2 2.4.6-1 uses libtool with --silent, which causes libtool to not display 
the compiler/linker invocations. When running blhc on its buildlog [1], blhc 
treats the libtool command lines as compiler/linker command lines, causing 
these type of warnings (-D and -I options trimmed):


CFLAGS missing (-fPIE): /usr/share/apr-1.0/build/libtool --silent 
--mode=compile x86_64-linux-gnu-gcc -std=gnu99 -I/usr/include/libxml2 -pthread  
-pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security ... -prefer-pic -c mod_buffer.c &amp

LDFLAGS missing (-fPIE -pie): /usr/share/apr-1.0/build/libtool --silent 
--mode=link x86_64-linux-gnu-gcc -std=gnu99 -I/usr/include/libxml2 -pthread  
-pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -Wl,--as-needed -Wl,-z,relro -o mod_buffer.la -rpath 
/usr/lib/apache2/modules -module -avoid-version  mod_buffer.lo 

LDFLAGS missing (-fPIE): /usr/share/apr-1.0/build/libtool --silent --mode=link 
x86_64-linux-gnu-gcc -std=gnu99  -pthread  -pipe -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -lssl -lcrypto -pie 
-Wl,--as-needed -Wl,-z,relro -o ab  ab.lo   -lcap        
/usr/lib/libaprutil-1.la /usr/lib/libapr-1.la -lm


But libtool handles -fPIC/-pic/-shared internally, so these warnings are mostly 
wrong. I think it should instead issue the W-compiler-flags-hidden warning. 
This is part one of the bug.

If libtool is called without --silent, it shows the compiler command lines and 
blhc checks these correctly. However, blhc still shows the above warnings for 
the libtool command lines. I think in this case, blhc should just ignore the 
libtool command lines. This is part two of the bug.

[1] 
http://buildd.debian.org/status/fetch.php?pkg=apache2&arch=amd64&ver=2.4.6-1&stamp=1374433440

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages blhc depends on:
ii  libdpkg-perl  1.16.10

blhc recommends no packages.

blhc suggests no packages.

-- no debconf information


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

Reply via email to