After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760192 - commit 85c185d5dc662945f98860ea6092b2f9927dac8f breaks compilation with gcc 5.2/3
commit 85c185d5dc662945f98860ea6092b2f9927dac8f breaks compilation with gcc 5...
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: last.fm
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-06 02:14 UTC by Daniel Tobias
Modified: 2016-01-06 10:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Tobias 2016-01-06 02:14:27 UTC
commit 85c185d5dc662945f98860ea6092b2f9927dac8f 'audioscrobbler: build a separate static library for tests'
breaks compilation with gcc 5.2/3 with the follow error messages. reverting fixes compilation.

../plugins/audioscrobbler/.libs/libaudioscrobblertest.a(rb-audioscrobbler-entry.o): In function `rb_audioscrobbler_entry_encode':
rb-audioscrobbler-entry.c:(.text+0x2c2): undefined reference to `soup_uri_encode'
rb-audioscrobbler-entry.c:(.text+0x2d5): undefined reference to `soup_uri_encode'
rb-audioscrobbler-entry.c:(.text+0x2e9): undefined reference to `soup_uri_encode'
rb-audioscrobbler-entry.c:(.text+0x313): undefined reference to `soup_uri_encode'
../plugins/audioscrobbler/.libs/libaudioscrobblertest.a(rb-audioscrobbler-entry.o): In function `rb_audioscrobbler_entry_load_from_string':
rb-audioscrobbler-entry.c:(.text+0x495): undefined reference to `soup_uri_decode'
rb-audioscrobbler-entry.c:(.text+0x4b7): undefined reference to `soup_uri_decode'
rb-audioscrobbler-entry.c:(.text+0x4d7): undefined reference to `soup_uri_decode'
rb-audioscrobbler-entry.c:(.text+0x517): undefined reference to `soup_uri_decode'
collect2: error: ld returned 1 exit status
Makefile:850: recipe for target 'test-audioscrobbler' failed
make[2]: *** [test-audioscrobbler] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/daniel/Downloads/rhythmbox-git/src/rhythmbox-git/tests'
Makefile:606: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/daniel/Downloads/rhythmbox-git/src/rhythmbox-git'
Makefile:515: recipe for target 'all' failed
make: *** [all] Error 2
Comment 1 Jonathan Matthew 2016-01-06 08:10:48 UTC
Compiles successfully here with gcc version 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC).
Comment 2 Daniel Tobias 2016-01-06 08:37:36 UTC
Ill try a newer snapshot of gcc 5 next week

This is what is currently on my system, if you want to know anything else, just look at the arch-linux stable repos

libsoup 2.52.2-1
binutils 2.25.1-3
gcc 5.3.0-3 (gcc version 5.3.0 (GCC))
Comment 3 Jonathan Matthew 2016-01-06 10:27:40 UTC
--as-needed strikes again
Comment 4 Jonathan Matthew 2016-01-06 10:33:29 UTC
fixed in commit 5f3cddd