Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505188 - media-video/imagination-3.0-r1 - ld: imagination-support.o: undefined reference to symbol 'g_module_symbol'
Summary: media-video/imagination-3.0-r1 - ld: imagination-support.o: undefined referen...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: verbose_build underlinking
  Show dependency tree
 
Reported: 2014-03-20 17:52 UTC by Michelangelo Scopelliti
Modified: 2014-04-04 08:24 UTC (History)
0 users

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


Attachments
imagination-3.0-r1:20140320-174744.log.gz (imagination-3.0-r1:20140320-174744.log.gz,7.05 KB, application/gzip)
2014-03-20 23:20 UTC, Michelangelo Scopelliti
Details
imagination_patch.patch (imagination_patch.patch,937 bytes, patch)
2014-03-28 21:00 UTC, Ted Tanberry
Details | Diff
imagination-3.0-cflags.patch (imagination-3.0-cflags.patch,909 bytes, patch)
2014-04-03 19:47 UTC, Ted Tanberry
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michelangelo Scopelliti 2014-03-20 17:52:20 UTC
compilation of media-video/imagination-3.0-r1 fails with error:

undefined reference to symbol 'g_module_symbol'
/usr/lib64/libgmodule-2.0.so.0: error adding symbols: DSO missing from command line


Reproducible: Always




emerge --info

Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.18-r1, 3.13.6 x86_64)
=================================================================
System uname: Linux-3.13.6-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.2
KiB Mem:     7654512 total,    145972 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 20 Mar 2014 07:15:01 +0000
ld ld di GNU (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.4
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo science kernelpanic
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/tomoyo/conf /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs candy cgroup clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl adolc alisp alsa amd64 amr anacron ao apng awt bazaar berkdb bs2b bzip2 cairo caps cblas-external cdio chm clang cli compact context contrast corefonts cracklib crypt cups curl cvs cxx dbus demosaic detex dga dhcp djbfft djvu dri dts dv dvb dvd dvdnav dvi2tty ebook ecdsa emf encode excel exif extra faac fdformat fdk ffmpeg fftw firmware flac fluidsynth fontconfig fontforge fortran fpx ftp gbm gcj gd gdbm gif gimp gles gles2 gmp gold gpg gpm graphics graphite graphviz gsm gstreamer gudev hdri hwdb iconv icu id3tag inotify ipython ithreads jbig jemalloc jpeg jpeg2k kdrive keymap kmod ladspa lame lapack latex ldns lensfun libass libcaca libkms libnotify libsamplerate libsoxr libv4l llvm-shared-libs lqr lynxkeymap lzma lzo mad matplotlib mercurial metapost metis metric mjpeg mmap mmx mmxext mng modplug modules mp3 mp3rtp mpeg mpi mpi-threads multicall multilib multitarget natspec ncurses netlink network nlopt nls nptl numpy nuv ocr offensive offlinehelp ogg opencl openexr opengl openmp openvg opus osmesa pam pango passwdqc pch pcre pdf pkcs11 png pnm postproc postscript pstricks publishers pvr python python3 q16 q32 q64 q8 qt3support quicktime r600-llvm-compiler rar raw readline rle romio rpc rtmp schroedinger science secure-delete session smartcard smp sndfile sox sparse speex sse sse2 sse3 ssl startup-notification subversion svg system-cairo system-icu system-jpeg system-sqlite t1lib tftp tga theora thin-splines threads tiff timezone truetype twolame type3 udev umfpack unicode usb v4l vcd vdpau vf-dlopen video vim-syntax vorbis vpx wavpack webp wmf wxwidgets x264 xa xattr xcomposite xdg xetex xml xmlrpc xmp xorg xpm xscreensaver xv xvfb xvid xvmc yuv4mpeg zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" ELIBC="glibc" FOO2ZJS_DEVICES="sa300" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="it en fr" OFFICE_IMPLEMENTATION="libreoffice" OPENMPI_FABRICS="knem" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64 armeb" RUBY_TARGETS="ruby21" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="r600 radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-20 17:54:03 UTC
Please attach the entire build log to this bug report.
Comment 2 Michelangelo Scopelliti 2014-03-20 23:20:11 UTC
Created attachment 373146 [details]
imagination-3.0-r1:20140320-174744.log.gz

Sorry, I just forgot to attach it.
Comment 3 Ted Tanberry 2014-03-28 21:00:37 UTC
Created attachment 373772 [details, diff]
imagination_patch.patch
Comment 4 Ted Tanberry 2014-03-28 21:02:29 UTC
The patch modifies the current cflags patch to include checks for gmodule-2.0 (and sqrtf in libm, which will also fail otherwise).
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2014-03-28 21:15:55 UTC
Thanks. Applied

+  28 Mar 2014; Markos Chandras <hwoarang@gentoo.org>
+  files/imagination-3.0-cflags.patch:
+  Add new patch to include checks for gmodule-2.0 and sqrtf by Michelangelo
+  Scopelliti <ted.tanberry@gmail.com>. Bug #505188
+
Comment 6 Michelangelo Scopelliti 2014-04-02 08:41:10 UTC
(In reply to Markos Chandras from comment #5)
> Thanks. Applied
> 
> +  28 Mar 2014; Markos Chandras <hwoarang@gentoo.org>
> +  files/imagination-3.0-cflags.patch:
> +  Add new patch to include checks for gmodule-2.0 and sqrtf by Michelangelo
> +  Scopelliti <ted.tanberry@gmail.com>. Bug #505188
> +

I'm sorry, but I don't see that change. And, by the way, the patch is from Ted Tanberry; I just reported the bug.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2014-04-02 18:48:32 UTC
(In reply to Michelangelo Scopelliti from comment #6)
> (In reply to Markos Chandras from comment #5)
> > Thanks. Applied
> > 
> > +  28 Mar 2014; Markos Chandras <hwoarang@gentoo.org>
> > +  files/imagination-3.0-cflags.patch:
> > +  Add new patch to include checks for gmodule-2.0 and sqrtf by Michelangelo
> > +  Scopelliti <ted.tanberry@gmail.com>. Bug #505188
> > +
> 
> I'm sorry, but I don't see that change. And, by the way, the patch is from
> Ted Tanberry; I just reported the bug.

I don't understand what you mean. The change is in the tree. What is the problem?

( I fixed the Changelog entry)
Comment 8 Michelangelo Scopelliti 2014-04-03 09:30:52 UTC
(In reply to Markos Chandras from comment #7)
> (In reply to Michelangelo Scopelliti from comment #6)
> > (In reply to Markos Chandras from comment #5)
> > > Thanks. Applied
> > > 
> > > +  28 Mar 2014; Markos Chandras <hwoarang@gentoo.org>
> > > +  files/imagination-3.0-cflags.patch:
> > > +  Add new patch to include checks for gmodule-2.0 and sqrtf by Michelangelo
> > > +  Scopelliti <ted.tanberry@gmail.com>. Bug #505188
> > > +
> > 
> > I'm sorry, but I don't see that change. And, by the way, the patch is from
> > Ted Tanberry; I just reported the bug.
> 
> I don't understand what you mean. The change is in the tree. What is the
> problem?
> 
> ( I fixed the Changelog entry)

I'm sorry I wasn't clear, I was referring to the changelog entry.
BTW, as it is, I'm not able to apply the patch, obtaining the following patch output:


***** imagination-3.0-cflags.patch *****
PWD: /var/tmp/portage/media-video/imagination-3.0-r1/work/imagination-3.0

========================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/usr/portage/media-video/imagination/files/imagination-3.0-cflags.patch'

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- imagination-3.0-cflags-old.patch	2014-03-28 21:29:05.208684625 +0100
|+++ imagination-3.0-cflags.patch	2014-03-28 21:42:45.880726226 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
========================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/media-video/imagination/files/imagination-3.0-cflags.patch'

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- imagination-3.0-cflags-old.patch	2014-03-28 21:29:05.208684625 +0100
|+++ imagination-3.0-cflags.patch	2014-03-28 21:42:45.880726226 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
========================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/usr/portage/media-video/imagination/files/imagination-3.0-cflags.patch'

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- imagination-3.0-cflags-old.patch	2014-03-28 21:29:05.208684625 +0100
|+++ imagination-3.0-cflags.patch	2014-03-28 21:42:45.880726226 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
========================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/usr/portage/media-video/imagination/files/imagination-3.0-cflags.patch'

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- imagination-3.0-cflags-old.patch	2014-03-28 21:29:05.208684625 +0100
|+++ imagination-3.0-cflags.patch	2014-03-28 21:42:45.880726226 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
========================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/usr/portage/media-video/imagination/files/imagination-3.0-cflags.patch'

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- imagination-3.0-cflags-old.patch	2014-03-28 21:29:05.208684625 +0100
|+++ imagination-3.0-cflags.patch	2014-03-28 21:42:45.880726226 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
Comment 9 Ted Tanberry 2014-04-03 19:42:29 UTC
Markos Chandras: you should have applied my patch to the previous imagination-3.0-cflags.patch - my patch just updates the current one, it does not replace it with a full new version.
Comment 10 Ted Tanberry 2014-04-03 19:47:09 UTC
Created attachment 374192 [details, diff]
imagination-3.0-cflags.patch

This is the proper patch now, include this into the tree.
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2014-04-03 19:48:38 UTC
(In reply to Ted Tanberry from comment #9)
> Markos Chandras: you should have applied my patch to the previous
> imagination-3.0-cflags.patch - my patch just updates the current one, it
> does not replace it with a full new version.

This is what I did and i was able to merge the package. Not sure what's wrong. I applied it again and committed the new patch. Give it a try in a few hours
Comment 12 Michelangelo Scopelliti 2014-04-04 08:24:08 UTC
(In reply to Markos Chandras from comment #11)
> (In reply to Ted Tanberry from comment #9)
> > Markos Chandras: you should have applied my patch to the previous
> > imagination-3.0-cflags.patch - my patch just updates the current one, it
> > does not replace it with a full new version.
> 
> This is what I did and i was able to merge the package. Not sure what's
> wrong. I applied it again and committed the new patch. Give it a try in a
> few hours

Now it works. Thank you.