FS#36232 - [gmpc] Failes to link properly

Attached to Project: Community Packages
Opened by Mike Brown (xenoxaos) - Sunday, 21 July 2013, 15:21 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 30 July 2013, 21:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

Try to build package.

tag2-browser.o playlist3-file-browser.o gmpc-nowplaying2.o server-information.o gmpc-database-update-tracker.o gmpc-metadata-prefetcher.o gmpc-liststore-sort.o gmpc-metadata-appearance.o gmpc_easy_download.o mpd-easy-commands.o advanced-search.o setup-assistant.o bug-information.o mpdinteraction.o pixbuf-cache.o url-fetcher.o plugin-man.o mm-keys.o misc.o log.o ipc.o eggcolumnchooserdialog.o eggcolumnmodel.o music-tree.o HTBackdrops.o RenderCover.o LyrDB.o ChartLyrics.o DiscoGS.o LastFM.o extraplaylist.o gmpc-connection.o gmpc-easy-command.o gmpc-favorites.o gmpc-mpddata-treeview-tooltip.o gmpc-plugin.o gmpc-url-fetching-gui.o gmpc-test-plugin.o gmpc-paned-size-group.o metadata-cache-sqlite.o metadata-cache.o metadata.o preferences.o tray-icon2.o playlist3.o config1.o options.o plugin.o main.o gmpc-profiles.o gmpc-meta-watcher.o gmpc-metaimage.o gmpc-meta-text-view.o gmpc-mpddata-model.o gmpc-mpddata-model-playlist.o gmpc-mpddata-model-sort.o gmpc-mpddata-treeview.o gmpc-stats-label.o -Wl,--export-dynamic -pthread -pthread ./.libs/libeggsmclient.a -lSM -lICE -lmpd -lgmodule-2.0 -lgthread-2.0 -lsoup-2.4 -lxml2 -lX11 -lsqlite3 -lz -lunique-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig -pthread
/usr/bin/ld: GmpcVolume.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /usr/lib/libm.so.6 so try adding it to the linker command line
/usr/lib/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [gmpc] Error 1
make[3]: Leaving directory `/build/tmp/abs/community/gmpc/src/gmpc-11.8.16/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/tmp/abs/community/gmpc/src/gmpc-11.8.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/tmp/abs/community/gmpc/src/gmpc-11.8.16'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 30 July 2013, 21:18 GMT
Reason for closing:  Fixed
Comment by Ashley Whetter (AWhetter) - Wednesday, 24 July 2013, 19:57 GMT
This has already been fixed upstream (http://repo.or.cz/w/gmpc.git/commitdiff/7c5052d6e6f78dea04bd56546c8a42baef751d9b?hp=c748980767e19ae0843bc05a26bd25cc6f85b130#patch1). That patch doesn't work on this version of the source though so I've attached one that does.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 30 July 2013, 21:15 GMT
Thanks for reporting, adding -lm and updating the package. Please reopen if there should be further issues.

Loading...