Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678190 - media-plugins/grilo-plugins-0.3.8: ld: /usr/lib/ error adding symbols: file in wrong format
Summary: media-plugins/grilo-plugins-0.3.8: ld: /usr/lib/ error addi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
Reported: 2019-02-16 23:46 UTC by Ulrich Müller
Modified: 2021-03-09 19:55 UTC (History)
0 users

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

build.log (build.log,9.59 KB, text/plain)
2019-02-16 23:47 UTC, Ulrich Müller
emerge --info (emerge-info,6.80 KB, text/plain)
2019-02-16 23:48 UTC, Ulrich Müller

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2019-02-16 23:46:02 UTC
Fails in src_compile:

[3/61] x86_64-pc-linux-gnu-gcc  -o src/bookmarks/ 'src/bookmarks/b9c478c@@grlbookmarks@sha/bookmarks-resource.c.o' 'src/bookmarks/b9c478c@@grlbookmarks@sha/grl-bookmarks.c.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname, -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed /usr/lib64/ -Wl,--export-dynamic /usr/lib64/ -pthread /usr/lib64/ /usr/lib64/ /usr/lib64/ /usr/lib64/ /usr/lib64/ /usr/lib/ /usr/lib/ -Wl,--end-group  
FAILED: src/bookmarks/ 
x86_64-pc-linux-gnu-gcc  -o src/bookmarks/ 'src/bookmarks/b9c478c@@grlbookmarks@sha/bookmarks-resource.c.o' 'src/bookmarks/b9c478c@@grlbookmarks@sha/grl-bookmarks.c.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname, -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed /usr/lib64/ -Wl,--export-dynamic /usr/lib64/ -pthread /usr/lib64/ /usr/lib64/ /usr/lib64/ /usr/lib64/ /usr/lib64/ /usr/lib/ /usr/lib/ -Wl,--end-group  
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/ error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: media-plugins/grilo-plugins-0.3.8::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 -C /tmp/portage/media-plugins/grilo-plugins-0.3.8/work/grilo-plugins-0.3.8-build failed
 * Call stack:
 *, line  124:  Called src_compile
 *   environment, line 2427:  Called meson_src_compile
 *   environment, line 1495:  Called eninja '-C' '/tmp/portage/media-plugins/grilo-plugins-0.3.8/work/grilo-plugins-0.3.8-build'
 *   environment, line  900:  Called die

Version 0.3.7 builds without any problems.
Comment 1 Ulrich Müller gentoo-dev 2019-02-16 23:47:06 UTC
Created attachment 565576 [details]
Comment 2 Ulrich Müller gentoo-dev 2019-02-16 23:48:04 UTC
Created attachment 565578 [details]
emerge --info
Comment 3 Mart Raudsepp gentoo-dev 2019-02-17 10:51:53 UTC
Looks to be a an issue only when 17.1 profile is in use, ending up looking at 32bit libgobject
Comment 4 Larry the Git Cow gentoo-dev 2019-02-17 16:05:15 UTC
The bug has been closed via the following commit(s):

commit d3f0c6cf4af671dca814e28986a56cbf89caa8e2
Author:     Mart Raudsepp <>
AuthorDate: 2019-02-17 16:01:01 +0000
Commit:     Mart Raudsepp <>
CommitDate: 2019-02-17 16:04:56 +0000

    media-plugins/grilo-plugins: depend on fixed gom revision for 17.1 profiles
    -r0 installs bad libdir in pkg-config file, which breaks build of
    grilo-plugins on 17.1 amd64 profiles.
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <>

 media-plugins/grilo-plugins/grilo-plugins-0.3.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

commit cae385fb7636ff3fd9b2f735d46285a1ade1aa51
Author:     Mart Raudsepp <>
AuthorDate: 2019-02-17 15:52:20 +0000
Commit:     Mart Raudsepp <>
CommitDate: 2019-02-17 16:04:54 +0000

    dev-libs/gom: fix pkg-config file libdir
    Broke consumers that use meson on 17.1 gentoo profiles
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <>

 dev-libs/gom/files/0.3.2-fix-pkgconfig.patch       | 34 ++++++++++++++++++++++
 .../gom/{gom-0.3.2.ebuild => gom-0.3.2-r1.ebuild}  |  6 ++--
 2 files changed, 38 insertions(+), 2 deletions(-)