Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184033 - app-pda/gtkpod-0.99.10 fails with --as-needed
Summary: app-pda/gtkpod-0.99.10 fails with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2007-07-02 20:57 UTC by Patrizio Bassi
Modified: 2008-07-15 05:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gtkpod-0.99.10-as-needed.patch (gtkpod-0.99.10-as-needed.patch,1.67 KB, patch)
2007-07-03 19:48 UTC, Santiago M. Mola (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2007-07-02 20:57:45 UTC
x86_64-pc-linux-gnu-gcc -D_REENTRANT -DPNG_NO_MMX_CODE -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gpod-1.0   -O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wall -Wno-pointer-sign   -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include    -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -L/usr/lib64 -lcurl   -pthread -L/usr/lib64 -lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0   -L/usr/lib64 -lhal -ldbus-1   -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_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 prefs.o prefs_window.o repository.o sha1.o syncdir.o tools.o wavfile.o -pthread -Wl,--export-dynamic -L/usr/lib64 -lgthread-2.0 -lrt -lglade-2.0 -lxml2 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lgpod -lgobject-2.0 -lglib-2.0     -lFLAC -lvorbisfile -lmp4v2 -lid3tag
autodetection.o: In function `ad_volume_mounted_cb':
autodetection.c:(.text+0x412): undefined reference to `gnome_vfs_volume_get_volume_type'
autodetection.c:(.text+0x42d): undefined reference to `gnome_vfs_volume_get_hal_udi'
autodetection.c:(.text+0x448): undefined reference to `dbus_error_init'
autodetection.c:(.text+0x44d): undefined reference to `libhal_ctx_new'
autodetection.c:(.text+0x462): undefined reference to `dbus_bus_get'
autodetection.c:(.text+0x472): undefined reference to `dbus_error_is_set'
autodetection.c:(.text+0x4a7): undefined reference to `dbus_error_is_set'
autodetection.c:(.text+0x4ca): undefined reference to `libhal_ctx_free'
autodetection.c:(.text+0x4d2): undefined reference to `dbus_error_free'
autodetection.c:(.text+0x4f2): undefined reference to `gnome_vfs_volume_get_activation_uri'
autodetection.c:(.text+0x561): undefined reference to `gnome_vfs_volume_get_activation_uri'
autodetection.c:(.text+0x5c6): undefined reference to `dbus_error_free'
autodetection.c:(.text+0x5ce): undefined reference to `dbus_error_init'
autodetection.c:(.text+0x5f9): undefined reference to `libhal_ctx_shutdown'
autodetection.c:(.text+0x620): undefined reference to `libhal_ctx_set_dbus_connection'
autodetection.c:(.text+0x62b): undefined reference to `libhal_ctx_init'
autodetection.c:(.text+0x63b): undefined reference to `dbus_error_is_set'
autodetection.c:(.text+0x658): undefined reference to `libhal_device_get_property_string'
autodetection.c:(.text+0x668): undefined reference to `dbus_error_is_set'
autodetection.c:(.text+0x696): undefined reference to `libhal_device_get_property_string'
autodetection.c:(.text+0x6a6): undefined reference to `dbus_error_is_set'
autodetection.o: In function `autodetection_init':
autodetection.c:(.text+0x6fe): undefined reference to `gnome_vfs_init'
autodetection.c:(.text+0x76a): undefined reference to `gnome_vfs_get_volume_monitor'
autodetection.c:(.text+0x772): undefined reference to `gnome_vfs_volume_monitor_get_mounted_volumes'
autodetection.c:(.text+0x79f): undefined reference to `gnome_vfs_volume_unref'
autodetection.c:(.text+0x7bc): undefined reference to `gnome_vfs_get_volume_monitor'
fetchcover.o: In function `net_retrieve_image':
fetchcover.c:(.text+0x4fa): undefined reference to `curl_global_init'
fetchcover.c:(.text+0x4ff): undefined reference to `curl_easy_init'
fetchcover.c:(.text+0x515): undefined reference to `curl_easy_setopt'
fetchcover.c:(.text+0x529): undefined reference to `curl_easy_setopt'
fetchcover.c:(.text+0x53d): undefined reference to `curl_easy_setopt'
fetchcover.c:(.text+0x551): undefined reference to `curl_easy_setopt'
fetchcover.c:(.text+0x559): undefined reference to `curl_easy_perform'
fetchcover.c:(.text+0x561): undefined reference to `curl_easy_cleanup'
fetchcover.o: In function `fetchcover_next_button_clicked':
fetchcover.c:(.text+0xfd6): undefined reference to `curl_global_init'
fetchcover.c:(.text+0xfdb): undefined reference to `curl_easy_init'
fetchcover.c:(.text+0xff1): undefined reference to `curl_easy_setopt'
fetchcover.c:(.text+0x1005): undefined reference to `curl_easy_setopt'
fetchcover.c:(.text+0x1019): undefined reference to `curl_easy_setopt'
fetchcover.c:(.text+0x102d): undefined reference to `curl_easy_setopt'
fetchcover.c:(.text+0x1035): undefined reference to `curl_easy_perform'
fetchcover.c:(.text+0x103d): undefined reference to `curl_easy_cleanup'
collect2: ld returned 1 exit status
make[2]: *** [gtkpod] Error 1
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/app-pda/gtkpod-0.99.10/work/gtkpod-0.99.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/app-pda/gtkpod-0.99.10/work/gtkpod-0.99.10'
make: *** [all] Error 2
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2007-07-02 23:53:18 UTC
--as-needed is not supported. If you want to fix it, please provide a patch upstream.
Comment 2 Santiago M. Mola (RETIRED) gentoo-dev 2007-07-03 19:48:49 UTC
Created attachment 123812 [details, diff]
gtkpod-0.99.10-as-needed.patch

Fix to work with -Wl,--as-needed.

Sent upstream (http://sourceforge.net/tracker/index.php?func=detail&aid=1747293&group_id=67873&atid=519273)
Comment 3 Patrizio Bassi 2007-07-03 20:04:26 UTC
i just tested it, really good :)

can you apply to portage?
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2007-07-07 10:41:10 UTC
(In reply to comment #3)
> i just tested it, really good :)
> 
> can you apply to portage?
> 

It's up to the package maintainer.

Upstream applied the patch, so you can expect next release to work again with --as-needed.
Comment 5 Santiago M. Mola (RETIRED) gentoo-dev 2008-02-06 20:49:38 UTC
Fixed in 0.99.12
Comment 6 Hans de Graaff gentoo-dev Security 2008-07-11 21:48:38 UTC
Given that the currently stable 0.99.10 is broken with --as-needed and that 0.99.12 has been in the tree for 6 months and fixes this, perhaps it it time to stabilize 0.99.12?
Comment 7 Patrizio Bassi 2008-07-15 05:24:46 UTC
good idea :)