Package: libapt-front
Version: 0.3.11
Severity: serious
Tags: patch

When building 'libapt-front' on amd64/unstable,
I get the following error:

/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..    
-I../tests/ -I.. -DTEST_DIR=\"`pwd`/../tests/data/\" 
-I/usr/include/tagcoll-1.6.3   -Wall -W -g -Wall -O2 -gstabs+ -c -o 
cache/component/libapt_front_la-state.lo `test -f 'cache/component/state.cpp' 
|| echo './'`cache/component/state.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tests/ -I.. 
-DTEST_DIR=\"/libapt-front-0.3.11/apt-front/../tests/data/\" 
-I/usr/include/tagcoll-1.6.3 -Wall -W -g -Wall -O2 -gstabs+ -c 
cache/component/state.cpp  -fPIC -DPIC -o 
cache/component/libapt_front_la-state.o
../apt-front/cache/entity/relation.h:64: warning: unused parameter 'd'
cache/component/state.cpp: In static member function 'static std::string 
aptFront::cache::component::State::sizeString(double)':
cache/component/state.cpp:179: internal compiler error: output_operand: invalid 
expression as operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccI2QkIc.out file, please attach this to 
your bugreport.
make[4]: *** [cache/component/libapt_front_la-state.lo] Error 1
make[4]: Leaving directory `/libapt-front-0.3.11/apt-front'

The build log for ia64 shows the following error:

make[4]: Entering directory `/build/buildd/libapt-front-0.3.11/apt-front'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..    
-I../tests/ -I.. -DTEST_DIR=\"`pwd`/../tests/data/\" 
-I/usr/include/tagcoll-1.6.3   -Wall -W -g -Wall -O2 -gstabs+ -c -o 
libapt_front_la-sources.lo `test -f 'sources.cpp' || echo './'`sources.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tests/ -I.. 
-DTEST_DIR=\"/build/buildd/libapt-front-0.3.11/apt-front/../tests/data/\" 
-I/usr/include/tagcoll-1.6.3 -Wall -W -g -Wall -O2 -gstabs+ -c sources.cpp  
-fPIC -DPIC -o libapt_front_la-sources.o
sources.cpp:1: error: target system does not support the "stabs" debug format

With the attached patch 'libapt-front' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/libapt-front-0.3.11/configure ./configure
--- ../tmp-orig/libapt-front-0.3.11/configure   2006-10-04 20:31:42.000000000 
+0000
+++ ./configure 2006-10-10 20:55:21.000000000 +0000
@@ -23519,7 +23519,7 @@
 debtagsdatadir="$datadir/debtags"
 
 
-CXXFLAGS="-Wall -W $CXXFLAGS -gstabs+"
+CXXFLAGS="-Wall -W $CXXFLAGS"
 
 ac_config_files="$ac_config_files po/Makefile.in Makefile apt-front/Makefile 
tests/Makefile utils/Makefile doc/Makefile doc/libapt-front.dox libapt-front.pc"
 
diff -urN ../tmp-orig/libapt-front-0.3.11/configure.ac ./configure.ac
--- ../tmp-orig/libapt-front-0.3.11/configure.ac        2006-10-04 
20:30:58.000000000 +0000
+++ ./configure.ac      2006-10-10 20:46:17.000000000 +0000
@@ -50,7 +50,7 @@
 debtagsdatadir="$datadir/debtags"
 AC_SUBST(debtagsdatadir)
 
-CXXFLAGS="-Wall -W $CXXFLAGS -gstabs+"
+CXXFLAGS="-Wall -W $CXXFLAGS"
 
 AC_CONFIG_FILES([ po/Makefile.in
 Makefile


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to