pkgsrc-Bugs archive

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

pkg/38323: cad/gattrib link failure on MacOS X 10.4.11



>Number:         38323
>Category:       pkg
>Synopsis:       cad/gattrib link failure on MacOS X 10.4.11
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 28 14:10:00 +0000 2008
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11, pkgsrc-current (pre -2008Q1)
>Organization:
>Environment:
Darwin alphonse.bozonet.ntc 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 
18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

>Description:
Building cad/gattrib on MacOS X 10.4.11 fails as follows:

[...]
gcc -Wall -pipe -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include  -L/usr/pkg/lib -L/usr/lib 
-L/usr/X11R6/lib -o gattrib -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo 
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   -L/usr/pkg/lib 
-lglib-2.0 -lintl -liconv   -D_THREAD_SAFE -D_REENTRANT /usr/pkg/lib 
-L/usr/pkg/lib -lgeda -lguile -lgmp -lltdl -lpthread -lgdk-x11-2.0 
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 
-lgmodule-2.0 -lglib-2.0 -lintl -liconv   -L/usr/pkg/lib -lgthread-2.0 
-lglib-2.0 -lintl -liconv   gtksheet_2_2.o gtkextra-marshal.o 
gtkitementry_2_2.o globals.o listsort.o parsecmd.o f_export.o g_register.o 
g_rc.o i_vars.o i_basic.o x_window.o x_gtksheet.o x_dialog.o x_fileselect.o 
s_rename.o s_misc.o s_string_list.o s_sheet_data.o s_table.o s_object.o 
s_attrib.o s_toplevel.o s_visibility.o gattrib.o -L/usr/pkg/lib -lgtk-x11-2.0 
-lgdk-x
 11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo 
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   -L/usr/pkg/lib 
-lglib-2.0 -lintl -liconv   -D_THREAD_SAFE -D_REENTRANT /usr/pkg/lib 
-L/usr/pkg/lib -lgeda -lguile -lgmp -lltdl -lpthread -lgdk-x11-2.0 
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 
-lgmodule-2.0 -lglib-2.0 -lintl -liconv   -L/usr/pkg/lib -lgthread-2.0 
-lglib-2.0 -lintl -liconv   
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: can't map file: /usr/pkg/lib 
((os/kern) invalid argument)
collect2: ld returned 1 exit status
gmake[2]: *** [gattrib] Error 1
gmake[2]: Leaving directory 
`/Volumes/NetBSD/tmp/pkgsrc/cad/gattrib/work/geda-gattrib-1.4.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/Volumes/NetBSD/tmp/pkgsrc/cad/gattrib/work/geda-gattrib-1.4.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/cad/gattrib
[...]


>How-To-Repeat:
Attempt to build cad/geda (or just cad/gattrib) on MacOS X 10.4.11
(10.3.x?)
>Fix:
In the command line arguments there is an unadorned "/usr/pkg/lib".
Perhaps a "-L" was missed somewhere?  Might this be more libtool
shenanigans?

If I recall, something similar was observed in "pkg/37067".  That PR
seems to have been fixed, so maybe whatever was done there needs to be
done here, too.



Home | Main Index | Thread Index | Old Index