pkgsrc-Bugs archive

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

pkg/40453: graphics/eog compilation failure - libtool problem ??



>Number:         40453
>Category:       pkg
>Synopsis:       graphics/eog compilation failure - libtool problem ??
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 22 19:10:01 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE   (pkgsrc current within past 12 hours)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre%jade.c@localhost
oe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        graphics/eog is generating a compilation error that looks to be caused 
by
        libtool inserting a bad line break into the command it generates.
        (or perhaps some siubst work achieving the same result).

>How-To-Repeat:
        I'm using pkg_comp with libkver and NetBSD 4.0 release sets (except
        for no x* sets, X11TYPE=modular instead).   Most likely none of that
        is relevant for this problem.   On i386 might be.

        When building graphics/eog I see ...

/usr/pkg/bin/gmake  all-am
gmake[4]: Entering directory 
`/pkg_comp/obj/pkgsrc/graphics/eog/4x/eog-2.24.3.1/cut-n-paste/toolbar-editor'
/bin/sh ../../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../..  
-I../../lib/egg  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 
-D_REENTRANT -DORBIT2=1 -pthread -I/usr/pkg/include/gtk-2.0 
-I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 
-I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 
-I/usr/pkg/include/libpng12 -I/usr/pkg/include/libgnomeui-2.0 
-I/usr/pkg/include/libart-2.0 -I/usr/pkg/include/gconf/2 
-I/usr/pkg/include/gnome-keyring-1 -I/usr/pkg/include/libgnome-2.0 
-I/usr/pkg/include/libbonoboui-2.0 -I/usr/pkg/include/libgnomecanvas-2.0 
-I/usr/pkg/include/gnome-vfs-2.0 -I/usr/pkg/lib/gnome-vfs-2.0/include 
-I/usr/pkg/include/orbit-2.0 -I/usr/pkg/include/dbus-1.0 
-I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/libbonobo-2.0 
-I/usr/pkg/include/bonobo-activation-2.0 -I/usr/pkg/include/libxm!
 l2 -I/usr/pkg/include/gail-1.0 -I/usr/pkg/include/libglade-2.0 
-I/usr/pkg/include/gnome-desktop-2.0 
-I/usr/pkg/include/startup-notification-1.0 
-I/usr/pkg/include/gtk-unix-print-2.0 -I/usr/pkg/include/exempi-2.0   -Wall 
-Wmissing-prototypes  -DCURSOR_DIR=\"/usr/pkg/share/eog\" -O2 
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -MT 
libtoolbareditor_la-eggmarshalers.lo -MD -MP -MF 
.deps/libtoolbareditor_la-eggmarshalers.Tpo -c -o 
libtoolbareditor_la-eggmarshalers.lo `test -f 'eggmarshalers.c' || echo 
'./'`eggmarshalers.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/egg 
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -D_REENTRANT 
-DORBIT2=1 -pthread -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 
-I/usr/pkg/include/libpng12 -I/usr/pkg/include/libgnomeui-2.0 
-I/usr/pkg/include/libart-2.0 -I/usr/pkg/include/gconf/2 
-I/usr/pkg/include/gnome-keyring-1 -I/usr/pkg/include/libgnome-2.0 
-I/usr/pkg/include/libbonoboui-2.0 -I/usr/pkg/include/libgnomecanvas-2.0 
-I/usr/pkg/include/gnome-vfs-2.0 -I/usr/pkg/lib/gnome-vfs-2.0/include 
-I/usr/pkg/include/orbit-2.0 -I/usr/pkg/include/dbus-1.0 
-I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/libbonobo-2.0 
-I/usr/pkg/include/bonobo-activation-2.0 -I/usr/pkg/include/libxml2 
-I/usr/pkg/include/gail-1.0 !
 -I/usr/pkg/include/libglade-2.0 -I/usr/pkg/include/gnome-desktop-2.0 
-I/usr/pkg/include/startup-notification-1.0 
-I/usr/pkg/include/gtk-unix-print-2.0 -I/usr/pkg/include/exempi-2.0 -Wall 
-Wmissing-prototypes -DCURSOR_DIR=\"/usr/pkg/share/eog\" -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -MT 
libtoolbareditor_la-eggmarshalers.lo -MD -MP -MF 
.deps/libtoolbareditor_la-eggmarshalers.Tpo -c eggmarshalers.c  -fPIC -DPIC
 -o .libs/libtoolbareditor_la-eggmarshalers.o
-o: not found
gmake[4]: *** [libtoolbareditor_la-eggmarshalers.lo] Error 1
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/graphics/eog/4x/eog-2.24.3.1/cut-n-paste/toolbar-editor'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/graphics/eog/4x/eog-2.24.3.1/cut-n-paste/toolbar-editor'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/graphics/eog/4x/eog-2.24.3.1/cut-n-paste'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/graphics/eog/4x/eog-2.24.3.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/graphics/eog
*** Error code 1

Stop.

>Fix:
        Most likely whatever is adding the  -fPIC -DPIC stuff is also adding a 
\n
        that doesn't belong.  Those options doen't seem to be in the input 
command
        line to libtool, but do seem to be in the command that libtool is 
running.
        ???



Home | Main Index | Thread Index | Old Index