Summary: | media-libs/libepoxy-1.5.1: uses glibc-specific functions (-> fails on *-fbsd) | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Michał Górny <mgorny> |
Component: | FreeBSD | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bsd+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
e-info.txt media-libs:libepoxy-1.5.1:20180425-190831.log |
Created attachment 521574 [details]
e-info.txt
It also fails to build on musl. Theres a patch over here: https://github.com/anholt/libepoxy/pull/158 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6044698a4f667900dcddf8eac179e4dde4d50155 commit 6044698a4f667900dcddf8eac179e4dde4d50155 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-03-02 09:59:49 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-03-02 09:59:49 +0000 media-libs/libepoxy: Remove *-fbsd keywords from 1.5.0 Bug: https://bugs.gentoo.org/649212 media-libs/libepoxy/libepoxy-1.5.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)} Version 1.5.1 is now in the tree with some fixes (dlvsym). Please give it a try on BSD. Please rekeyword is appropriate. Still fails a lot, with asprintf, dlvsym etc. Created attachment 528526 [details]
media-libs:libepoxy-1.5.1:20180425-190831.log
I think this is fixed for real with v1.5.2. Please test and rekeyword. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dec98ba98ead079e7d2db5f1fe2a7fa4dce9c0a commit 5dec98ba98ead079e7d2db5f1fe2a7fa4dce9c0a Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-06-06 20:31:44 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-06-06 20:33:16 +0000 media-libs/libepoxy: 1.5.2 tested on ~amd64-fbsd Closes: https://bugs.gentoo.org/649212 media-libs/libepoxy/libepoxy-1.5.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |
Created attachment 521572 [details] build.log ../libepoxy-1.5.0/test/dlwrap.c: In function _wrapped_dlsym_: ../libepoxy-1.5.0/test/dlwrap.c:166:9: error: implicit declaration of function _asprintf_; did you mean _vsprintf_? [-Werror=implicit-function-declaration] if (asprintf(&wrap_name, "override_%s_%s", prefix, name) < 0) { ^~~~~~~~ vsprintf ../libepoxy-1.5.0/test/dlwrap.c:166:9: warning: nested extern declaration of _asprintf_ [-Wnested-externs] ../libepoxy-1.5.0/test/dlwrap.c: In function _dlwrap_real_dlsym_: ../libepoxy-1.5.0/test/dlwrap.c:250:41: error: implicit declaration of function _dlvsym_; did you mean _dlsym_? [-Werror=implicit-function-declaration] real_dlsym = (fips_dlsym_t) dlvsym(RTLD_NEXT, "dlsym", version[i]); ^~~~~~ dlsym ../libepoxy-1.5.0/test/dlwrap.c:250:41: warning: nested extern declaration of _dlvsym_ [-Wnested-externs] ../libepoxy-1.5.0/test/dlwrap.c:250:26: warning: cast from function call of type _int_ to non-matching type _void * (*)(void *, const char *)_ [-Wbad-function-cast] real_dlsym = (fips_dlsym_t) dlvsym(RTLD_NEXT, "dlsym", version[i]); ^ ../libepoxy-1.5.0/test/dlwrap.c:250:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] cc1: some warnings being treated as errors