Bug#795820: apache2-dev: apxs passes --silent to libtool by default
Package: apache2-dev
Version: 2.4.16-2
Severity: minor
Hi,
when building the apparmor package, I see:
NONVERBOSE BUILD: /usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DBUILD_DATETIME='"2015-08-07T21:43:16"' -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I../../libraries/libapparmor//include -c -o mod_apparmor.lo mod_apparmor.c && touch mod_apparmor.slo
NONVERBOSE BUILD: /usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static x86_64-linux-gnu-gcc -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o mod_apparmor.la -Wl,-L../../libraries/libapparmor//src/.libs/ -rpath /usr/lib/apache2/modules -module -avoid-version mod_apparmor.lo -lapparmor
... which seems to be a false positive that should be fixed in blhc,
but still I'd rather not to teach myself to ignore this warning.
In support/apxs.in I see:
my $ltflags = $ENV{'LTFLAGS'};
$ltflags or $ltflags = "--silent";
... which seems to contradict the 2.4.6-2 changelog entry that reads
"Don't pass --silent to libtool".
Perhaps this code should be changed to:
my $ltflags = $ENV{'LTFLAGS'};
$ltflags or $ltflags = "";
?
Cheers,
--
intrigeri
Reply to: