pkgsrc-Bugs archive

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

pkg/47277: pkgsrc/x11/gdm missing build dependency



>Number:         47277
>Category:       pkg
>Synopsis:       pkgsrc/x11/gdm missing build dependency
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 03 15:00:00 +0000 2012
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzone 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
pkgsrc/X11/gdm won't build giving the following error:

/bin/bash ../libtool --tag=CC   --mode=link gcc  -O -DSunOS -I/opt/pkg/include 
-I/opt/pkg/include/gettext -I/usr/include -I/opt/pkg/include/freetype2 -Wall 
-Wmissing-prototypes  -lsocket -lnsl -lpam -lcmd -lsecdb -lbsm -ldevinfo 
-lsecdb -lcontract  -L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2 
-Wl,-R/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2 -L/opt/pkg/gcc47/lib 
-Wl,-R/opt/pkg/gcc47/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib -o gdm-binary gdm.o gdm-daemon-config.o display.o fstype.o 
slave.o server.o misc.o auth.o cookie.o xdmcp.o choose.o filecheck.o md5.o 
verify-pam.o errorgui.o gdm-net.o getvt.o  gdm-xdmcp-manager.o  gdmconsolekit.o 
 -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 
-lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 
-lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lintl   -lintl  
-Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lglib-2.0 -lintl   -Wl,-R/opt/pkg/lib 
-L/opt/pkg/lib -lg
 object-2.0 -lglib-2.0 -lintl   -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lgdk-x11-2.0 
-lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 
-lintl   ../common/libgdmcommon.a  -lXinerama -lXdmcp -L/usr/sfw/lib 
-R/usr/sfw/lib -lwrap -lXau -lX11 -lXext  -Wl,-R/opt/pkg/lib -L/opt/pkg/lib 
-ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lintl   
libtool: link: gcc -O -DSunOS -I/tmp/pkgsrc/x11/gdm/work/.buildlink/include 
-I/tmp/pkgsrc/x11/gdm/work/.buildlink/include/gettext 
-I/tmp/pkgsrc/x11/gdm/work/.buildlink/include/freetype2 -Wall 
-Wmissing-prototypes -Wl,-R/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2 
-Wl,-R/opt/pkg/gcc47/lib -Wl,-R/opt/pkg/lib -o gdm-binary gdm.o 
gdm-daemon-config.o display.o fstype.o slave.o server.o misc.o auth.o cookie.o 
xdmcp.o choose.o filecheck.o md5.o verify-pam.o errorgui.o gdm-net.o getvt.o 
gdm-xdmcp-manager.o gdmconsolekit.o  -lpam -lcmd -ldevinfo -lsecdb -lcontract 
-L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2 -L/opt/pkg/gcc47/lib 
-L/tmp/pkgsrc/x11/gdm/work/.buildlink/lib 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libgtk-x11-2.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libatk-1.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libgdk-x11-2.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libpangocairo-1.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libpangoft2-1.0.so /tmp/pkgsrc/x1
 1/gdm/work/.buildlink/lib/libharfbuzz.so /opt/pkg/gcc47/lib/libstdc++.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libgdk_pixbuf-2.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libpango-1.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libcairo.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libpixman-1.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libfontconfig.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libexpat.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libfreetype.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libbz2.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libpng15.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libxcb-shm.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libxcb-render.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libXrender.so -lm 
../common/libgdmcommon.a /tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libXinerama.so 
-lwrap /tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libXext.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libX11.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libxcb.so /tmp/pkgsrc/x11/gdm
 /work/.buildlink/lib/libXau.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libXdmcp.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libdbus-glib-1.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libgio-2.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libgmodule-2.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libz.so -lresolv 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libdbus-1.so -lbsm -lrt 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libgobject-2.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libgthread-2.0.so 
/opt/pkg/gcc47/lib/libffi.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libglib-2.0.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libpcre.so -lpthread -lthread -lnsl 
-lsocket /tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libintl.so 
/tmp/pkgsrc/x11/gdm/work/.buildlink/lib/libiconv.so -lc 
-R/tmp/pkgsrc/x11/gdm/work/.buildlink/lib -R/opt/pkg/gcc47/lib 
-R/tmp/pkgsrc/x11/gdm/work/.buildlink/lib -R/opt/pkg/gcc47/lib
ld: fatal: library -lwrap: not found
ld: fatal: file processing errors. No output written to gdm-binary
collect2: error: ld returned 1 exit status
gmake[2]: *** [gdm-binary] Error 1
gmake[2]: Leaving directory `/tmp/pkgsrc/x11/gdm/work/gdm-2.20.11/daemon'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/pkgsrc/x11/gdm/work/gdm-2.20.11'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /home/richard/src/pkgsrc/x11/gdm
*** Error code 1

Stop.
bmake: stopped in /home/richard/src/pkgsrc/x11/gdm

>How-To-Repeat:

>Fix:
richard@devzone:~/src/pkgsrc/x11/gdm$ cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/gdm/Makefile,v
retrieving revision 1.172
diff -u -p -r1.172 Makefile
--- Makefile    29 Oct 2012 05:06:13 -0000      1.172
+++ Makefile    3 Dec 2012 14:55:41 -0000
@@ -126,6 +126,7 @@ PLIST.gdmopen=              yes
 .endif
 PRINT_PLIST_AWK+=      /gdmopen/ { print "$${GDMOPEN}" $$0; next }
 
+.include "../../security/tcp_wrappers/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/libglade/buildlink3.mk"



Home | Main Index | Thread Index | Old Index