Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669850 - app-text/zathura-0.4.1 fails to link: libzathura.a(zathura_render.c.o): ··undefined reference to symbol 'fmin@@GLIBC_2.2.5'
Summary: app-text/zathura-0.4.1 fails to link: libzathura.a(zathura_render.c.o): ··und...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Weber (RETIRED)
URL: https://bugs.pwmt.org/project/zathura...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-10-28 11:57 UTC by Franz Trischberger
Modified: 2018-11-10 23:55 UTC (History)
1 user (show)

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


Attachments
buld.log (zathura-0.4.1:20181028-091301.log,44.98 KB, text/x-log)
2018-10-28 11:57 UTC, Franz Trischberger
Details
patch (zathura-0.4.1_meson.patch,552 bytes, patch)
2018-10-28 11:58 UTC, Franz Trischberger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2018-10-28 11:57:22 UTC
Created attachment 553482 [details]
buld.log

x86_64-pc-linux-gnu-gcc -o zathura 'zathura@exe/zathura_main.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-export- ··dynamic -march=sandybridge -mno-aes -O2 -pipe -ggdb -Wl,-O1 -Wl,--as-needed -Wl,--start-group libzathura.a /usr/ ··lib64/libgirara-gtk3.so /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/ ··libpango-1.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libcairo.so /usr/lib64/ ··libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/ ··libgthread-2.0.so -pthread /usr/lib64/libgmodule-2.0.so -pthread /usr/lib64/libsqlite3.so /usr/lib64/libsynctex. ··so -lmagic /usr/lib64/libseccomp.so -pthread -pthread -lmagic -Wl,--end-group '-Wl,-rpath,$ORIGIN/: ··$ORIGIN/../../../../../../../usr/lib64' -Wl,-rpath-link,/var/tmp/portage/app-text/zathura-0.4.1/work/zathura-0.4. ··1-build/:/usr/lib64
100 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: libzathura.a(zathura_render.c.o): ··undefined reference to symbol 'fmin@@GLIBC_2.2.5'
101 /lib64/libm.so.6: error adding symbols: DSO missing from command line
102 collect2: error: ld returned 1 exit status
Comment 1 Franz Trischberger 2018-10-28 11:58:36 UTC
Created attachment 553484 [details, diff]
patch
Comment 2 Franz Trischberger 2018-10-30 06:11:30 UTC
upstream applied the patch:
https://git.pwmt.org/pwmt/zathura/commit/cc99b8d3491ce0cd30ba56decc33d811478bab0c
Comment 3 Larry the Git Cow gentoo-dev 2018-11-10 23:55:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c620bdc2b3a0872b6bc6ef0a9c624a411328db0d

commit c620bdc2b3a0872b6bc6ef0a9c624a411328db0d
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2018-11-10 23:54:43 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2018-11-10 23:55:34 +0000

    app-text/zathura: find libm properly
    
    Closes: https://bugs.gentoo.org/669850
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-text/zathura/files/zathura-find-libm.patch | 26 ++++++++++++++++++++++++++
 app-text/zathura/zathura-0.4.1.ebuild          |  2 ++
 2 files changed, 28 insertions(+)