[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#713704: gtkglextmm: FTBFS: ld: cannot find -lcposix



Source: gtkglextmm
Version: 1.2.0-6
Severity: serious
Tags: jessie sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> g++: fatal error: no input files
> compilation terminated.
> configure:3507: $? = 4
> configure:3510: checking whether we are using the GNU C++ compiler
> configure:3534: g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 conftest.cc >&5
> configure:3540: $? = 0
> configure:3544: test -z 
> 			 || test ! -s conftest.err
> configure:3547: $? = 0
> configure:3550: test -s conftest.o
> configure:3553: $? = 0
> configure:3566: result: yes
> configure:3572: checking whether g++ accepts -g
> configure:3593: g++ -c -g -D_FORTIFY_SOURCE=2 conftest.cc >&5
> configure:3599: $? = 0
> configure:3603: test -z 
> 			 || test ! -s conftest.err
> configure:3606: $? = 0
> configure:3609: test -s conftest.o
> configure:3612: $? = 0
> configure:3623: result: yes
> configure:3665: g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 conftest.cc >&5
> configure:3671: $? = 0
> configure:3675: test -z 
> 			 || test ! -s conftest.err
> configure:3678: $? = 0
> configure:3681: test -s conftest.o
> configure:3684: $? = 0
> configure:3710: g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 conftest.cc >&5
> conftest.cc: In function 'int main()':
> conftest.cc:13:9: error: 'exit' was not declared in this scope
>  exit (42);
>          ^
> configure:3716: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "gtkglextmm"
> | #define PACKAGE_TARNAME "gtkglextmm"
> | #define PACKAGE_VERSION "1.2.0"
> | #define PACKAGE_STRING "gtkglextmm 1.2.0"
> | #define PACKAGE_BUGREPORT "gtkglext-develop@lists.sourceforge.net"
> | /* end confdefs.h.  */
> | 
> | int
> | main ()
> | {
> | exit (42);
> |   ;
> |   return 0;
> | }
> configure:3665: g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 conftest.cc >&5
> conftest.cc:9:40: error: 'void std::exit(int)' should have been declared inside 'std'
>  extern "C" void std::exit (int) throw (); using std::exit;
>                                         ^
> configure:3671: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "gtkglextmm"
> | #define PACKAGE_TARNAME "gtkglextmm"
> | #define PACKAGE_VERSION "1.2.0"
> | #define PACKAGE_STRING "gtkglextmm 1.2.0"
> | #define PACKAGE_BUGREPORT "gtkglext-develop@lists.sourceforge.net"
> | /* end confdefs.h.  */
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #include <stdlib.h>
> | int
> | main ()
> | {
> | exit (42);
> |   ;
> |   return 0;
> | }
> configure:3665: g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 conftest.cc >&5
> conftest.cc:9:31: error: 'void std::exit(int)' should have been declared inside 'std'
>  extern "C" void std::exit (int); using std::exit;
>                                ^
> In file included from conftest.cc:10:0:
> /usr/include/stdlib.h:542:70: error: declaration of 'void std::exit(int) throw ()' has a different exception specifier
>  extern void exit (int __status) __THROW __attribute__ ((__noreturn__));
>                                                                       ^
> conftest.cc:9:17: error: from previous declaration 'void std::exit(int)'
>  extern "C" void std::exit (int); using std::exit;
>                  ^
> configure:3671: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "gtkglextmm"
> | #define PACKAGE_TARNAME "gtkglextmm"
> | #define PACKAGE_VERSION "1.2.0"
> | #define PACKAGE_STRING "gtkglextmm 1.2.0"
> | #define PACKAGE_BUGREPORT "gtkglext-develop@lists.sourceforge.net"
> | /* end confdefs.h.  */
> | extern "C" void std::exit (int); using std::exit;
> | #include <stdlib.h>
> | int
> | main ()
> | {
> | exit (42);
> |   ;
> |   return 0;
> | }
> configure:3665: g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 conftest.cc >&5
> configure:3671: $? = 0
> configure:3675: test -z 
> 			 || test ! -s conftest.err
> configure:3678: $? = 0
> configure:3681: test -s conftest.o
> configure:3684: $? = 0
> configure:3710: g++ -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 conftest.cc >&5
> configure:3716: $? = 0
> configure:3720: test -z 
> 			 || test ! -s conftest.err
> configure:3723: $? = 0
> configure:3726: test -s conftest.o
> configure:3729: $? = 0
> configure:3754: checking dependency style of g++
> configure:3837: result: none
> configure:3859: checking how to run the C++ preprocessor
> configure:3890: g++ -E -D_FORTIFY_SOURCE=2 conftest.cc
> configure:3896: $? = 0
> configure:3928: g++ -E -D_FORTIFY_SOURCE=2 conftest.cc
> conftest.cc:12:28: fatal error: ac_nonexistent.h: No such file or directory
>  #include <ac_nonexistent.h>
>                             ^
> compilation terminated.
> configure:3934: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "gtkglextmm"
> | #define PACKAGE_TARNAME "gtkglextmm"
> | #define PACKAGE_VERSION "1.2.0"
> | #define PACKAGE_STRING "gtkglextmm 1.2.0"
> | #define PACKAGE_BUGREPORT "gtkglext-develop@lists.sourceforge.net"
> | #ifdef __cplusplus
> | extern "C" void exit (int) throw ();
> | #endif
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:3973: result: g++ -E
> configure:3997: g++ -E -D_FORTIFY_SOURCE=2 conftest.cc
> configure:4003: $? = 0
> configure:4035: g++ -E -D_FORTIFY_SOURCE=2 conftest.cc
> conftest.cc:12:28: fatal error: ac_nonexistent.h: No such file or directory
>  #include <ac_nonexistent.h>
>                             ^
> compilation terminated.
> configure:4041: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "gtkglextmm"
> | #define PACKAGE_TARNAME "gtkglextmm"
> | #define PACKAGE_VERSION "1.2.0"
> | #define PACKAGE_STRING "gtkglextmm 1.2.0"
> | #define PACKAGE_BUGREPORT "gtkglext-develop@lists.sourceforge.net"
> | #ifdef __cplusplus
> | extern "C" void exit (int) throw ();
> | #endif
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:4086: checking for strerror in -lcposix
> configure:4116: gcc -o conftest -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c -lcposix   >&5
> /usr/bin/ld: cannot find -lcposix
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/gtkglextmm_1.2.0-6_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: