[Debian-med-packaging] Bug#701322: Bug#701322: Bug#701322: Brief update on this bug (ftbfs with GCC-4.8)

Andreas Tille andreas at an3as.eu
Thu Jun 6 15:27:12 UTC 2013


On Thu, Jun 06, 2013 at 02:39:05PM +0100, Dmitrijs Ledkovs wrote:
> The changes should be forwarded upstream when ready.
> At the moment, it builds fine for me on my system, but not in the
> sbuild/chroot and I am very confused about that =)

In case it might help I checked with pdebuild as well as with debuild
and *both* did fail with the same problem.  I admit, I do not really
understand the problem and here is some extract from the log which
at some parts contain the string "error" - feel free to ask for full
verbose log if you can not reproduce the problem:


...
CFLAGS now: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -L/tmp/buildd/mira-3.9.17/lib  -I/usr/include -O3 -funroll-loops
CXXFLAGS now: -DAJ_Linux64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -I/usr/include -O3 -funroll-loops -pthread -I/usr/include
LIBS now:  -lboost_thread-mt -lboost_regex-mt -lboost_system-mt
+++++++++++++++++++++++++++++++++++++
checking whether the Boost::Filesystem library is available... yes
configure: error: Could not link against boost_system-mt !
<------>"tail -v -n +0 config.log"
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by mira configure 3.9.17, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libdir=${prefix}/lib/x8
...
configure:4764: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "mira"
| #define PACKAGE_TARNAME "mira"
| #define PACKAGE_VERSION "3.9.17"
| #define PACKAGE_STRING "mira 3.9.17"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "mira"
| #define VERSION "3.9.17"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4789: result: gcc -E
configure:4809: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
configure:4809: $? = 0
configure:4823: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4823: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "mira"
| #define PACKAGE_TARNAME "mira"
| #define PACKAGE_VERSION "3.9.17"
| #define PACKAGE_STRING "mira 3.9.17"
| #define PACKAGE_BUGREPORT ""
...
configure:5099: result: yes
configure:5111: checking for int64_t
configure:5111: gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -L/tmp/buildd/mira-3.9.17/lib  -I/usr/include -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:5111: $? = 0
configure:5111: gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -L/tmp/buildd/mira-3.9.17/lib  -I/usr/include -D_FORTIFY_SOURCE=2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:57:22: error: expected expression before ')' token
configure:5111: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "mira"
...
#define HAVE_BOOST_SYSTEM /**/
#define HAVE_BOOST_FILESYSTEM /**/

configure: exit 1
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libdir=$
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory `/tmp/buildd/mira-3.9.17'
make: *** [build] Error 2



Hope this helps

       Andreas.

PS: In any case debian-mentors at lists.debian.org was always a very
    valuable resource to solve problems like this.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list