pkgsrc-Bugs archive

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

pkg/45640: gtkpod uses -ldl



>Number:         45640
>Category:       pkg
>Synopsis:       gtkpod uses -ldl
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 22 14:05:00 +0000 2011
>Originator:     B.ICT A.P. deBROUWER Jr.
>Release:        5.99.56
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 5.99.56 NetBSD 5.99.56 (MONOLITHIC) #0: Sun Oct  2 11:57:40 
UTC 2011  
builds%b7.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201110020540Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/MONOLITHIC
 i386
>Description:
i can't update gtkpod after
http://mail-index.netbsd.org/pkgsrc-changes/2011/11/22/msg063290.html
given build breakage, build complaining about -ldl.

i get:

gcc  -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall 
-Wno-pointer-sign -D_REENTRANT -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/gdk-pixbuf-2.0 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/gio-unix-2.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/libpng15   
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -pthread 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -pthread 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -D_REENTRANT 
-pthread -I/usr/pkg/include/libglade-2.0 -I/usr/pkg/include/gtk-2.0 
-I/usr/pkg/include/libxml2 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/pango-1.0 -I/usr/pkg/includ
 e/glib/gio-unix-2.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/libpng15   -pthread 
-I/usr/pkg/include/gpod-1.0 -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gdk-pixbuf-2.0 
-I/usr/pkg/include/libpng15   -pthread -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include    -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -o gtkpod autodetection.o charset.o clientserver.o 
confirmation.o context_menus.o date_parser.o date_parser2.o details.o 
display_coverart.o display.o display_playlists.o display_sorttabs.o 
display_itdb.o display_photo.o display_spl.o display_tracks.o fetchcover.o 
file.o file_export.o file_convert.o file_itunesdb.o fileselection.o flacfile.o 
info.o ipod_init.o main.o misc.o misc_confirm.o misc_conversion.o misc_input.o 
misc_playlist.o misc_track.o mp3file.o mp4file.o oggfile.o podcast.o pre
 fs.o sort_window.o repository.o sha1.o stock_icons.o syncdir.o tools.o 
wavfile.o help.o prefsdlg.o infodlg.o rb_rating_helper.o 
rb_cell_renderer_rating.o -lid3tag  -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender 
-lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 
-lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype 
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl   
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lintl   -Wl,-R/usr/pkg/lib 
-Wl,--export-dynamic -pthread -L/usr/pkg/lib -lgmodule-2.0 -lglib-2.0 -lintl   
-Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgthread-2.0 -lglib-2.0 -lintl   
-Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 
-lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi 
-lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 
-lgio-2.0 -lXfixes -lcairo -lX11
  -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 
-lgthread-2.0 -lglib-2.0 -lintl   -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib 
-lgpod -lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl   
-Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgio-2.0 -lgobject-2.0 
-lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -lm  -ldl  getopt.o getopt1.o 
-lid3tag  -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi 
-lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 
-lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig 
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl   
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lintl   -Wl,-R/usr/pkg/lib 
-Wl,--export-dynamic -pthread -L/usr/pkg/lib -lgmodule-2.0 -lglib-2.0 -lintl   
-Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgthread-2.0 -lglib-2.0 -lintl   
-Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgl
 ade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext 
-lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage 
-lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 
-lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 
-lglib-2.0 -lintl   -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgpod 
-lgdk_pixbuf-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl   
-Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgio-2.0 -lgobject-2.0 
-lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl  
ld: cannot find -ldl
>How-To-Repeat:
cd audio/gtkpod && make


>Fix:
--- src/Makefile.in.orig        2011-11-22 13:29:58.000000000 +0000
+++ src/Makefile.in     2011-11-22 13:30:07.000000000 +0000
@@ -282,7 +282,7 @@
     rb_rating_helper.c rb_rating_helper.h \
     rb_cell_renderer_rating.c rb_cell_renderer_rating.h
 
-gtkpod_LDADD = $(LIBS) -lm $(INTLLIBS) -ldl @LIBOBJS@
+gtkpod_LDADD = $(LIBS) -lm $(INTLLIBS) @LIBOBJS@
 EXTRA_DIST = getopt.h
 CLEANFILES = date_parser.c date_parser2.c
 all: all-am



Home | Main Index | Thread Index | Old Index