pkgsrc-Bugs archive

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

pkg/29347: devel/glib2 install failure



>Number:         29347
>Category:       pkg
>Synopsis:       devel/glib2 pkg fails configure and then install on i386 
>20041220 -current 2.99.11
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 13 00:25:00 +0000 2005
>Originator:     jwjr%panix.com@localhost
>Release:        NetBSD 2.99.11
>Organization:
>Environment:
System: NetBSD burden 2.99.11 NetBSD 2.99.11 (BURDEN) #4: Mon Dec 20 00:55:56 
EST 2004 jwjr@burden:/usr/obj/sys/arch/i386/compile/BURDEN i386
Architecture: i386
Machine: i386
>Description:

Trying to install any package that depends on glib2 eventually fails
for me on glib2.  I have cleaned and updated pkgsrc a few times over a
day in an effort to ascertain this is not a transient problem.  The
error output always eventually specifies:

checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.
*** Error code 77

Stop.
make: stopped in /usr/pkgsrc/devel/glib2
===> 
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * config.log
===>      * /usr/pkgsrc/devel/glib2/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/glib2

The config.log and .work.log indicate, in the pertinent part:

  FROM config.log:

configure:2818: cc -v </dev/null >&5
Using built-in specs.
Configured with: 
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf 
--target=i386--netbsdelf : (reconfigured) 
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf 
--target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)
configure:2821: $? = 0
configure:2823: cc -V </dev/null >&5
gcc: couldn't run 
`/usr/bin/i386--netbsdelf-gcc--I/usr/pkgsrc/devel/glib2/work/.buildlink/include':
 No such file or directory
configure:2826: $? = 1
configure:2849: checking for C compiler default output file name
configure:2852: cc -O2 -I/usr/include -I/usr/pkg/include  
-DPREFIX=\"\\\"/usr/pkg\\\"\" -DPKGLOCALEDIR=\"\\\"share\\\"\" 
-DPKG_SYSCONFDIR=\"\\\"/usr/pkg/etc\\\"\"  -I/usr/include -I/usr/pkg/include  
-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lintl 
>&5
<command line>:4:9: missing terminating " character
<command line>:5:15: missing terminating " character
<command line>:6:17: missing terminating " character
configure:2855: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.6.2"
| #define PACKAGE_STRING "glib 2.6.2"
| #define PACKAGE_BUGREPORT 
"http://bugzilla.gnome.org/enter_bug.cgi?product=glib";
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 6
| #define GLIB_MICRO_VERSION 2
| #define GLIB_INTERFACE_AGE 2
| #define GLIB_BINARY_AGE 602
| #define G_COMPILED_WITH_DEBUGGING "minimum"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2893: error: C compiler cannot create executables
See `config.log' for more details.
  
    FROM .work.log:

    (cmd-sink) pop: -O2
    (cmd-sink) pop: 
    (cmd-sink) pop: -I/usr/pkgsrc/devel/glib2/work/.buildlink/include
    (cmd-sink) pop: -DPREFIX=\"\\\"/usr/pkg\\\"\"
    (cmd-sink) pop: -DPKGLOCALEDIR=\"\\\"share\\\"\"
    (cmd-sink) pop: -DPKG_SYSCONFDIR=\"\\\"/usr/pkg/etc\\\"\"
    (cmd-sink) pop: 
    (cmd-sink) pop: -I/usr/pkgsrc/devel/glib2/work/.buildlink/include
    (cmd-sink) pop: 
    (cmd-sink) pop: 
    (cmd-sink) pop: -L/usr/pkgsrc/devel/glib2/work/.buildlink/lib
    (cmd-sink) pop: -Wl,-R/usr/pkg/lib
    (cmd-sink) pop: conftest.c
    (cmd-sink) pop: -lintl
    (cmd-sink) pop: -I/usr/pkgsrc/devel/glib2/work/.buildlink/include
    (cmd-sink) pop: -L/usr/pkgsrc/devel/glib2/work/.buildlink/lib
<.> /usr/pkgsrc/devel/glib2/work/.gcc/bin/gcc -O2 
-I/usr/pkgsrc/devel/glib2/work/.buildlink/include 
-DPREFIX=\\\"\\\\\\\"/usr/pkg\\\\\\\"\\\" 
-DPKGLOCALEDIR=\\\"\\\\\\\"share\\\\\\\"\\\" 
-DPKG_SYSCONFDIR=\\\"\\\\\\\"/usr/pkg/etc\\\\\\\"\\\" 
-L/usr/pkgsrc/devel/glib2/work/.buildlink/lib -Wl,-R/usr/pkg/lib conftest.c 
-lintl


>How-To-Repeat:
        cd /usr/pkgsrc/devel/glib2      
        make
>Fix:
        None known to me.




Home | Main Index | Thread Index | Old Index