Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649212 - media-libs/libepoxy-1.5.1: uses glibc-specific functions (-> fails on *-fbsd)
Summary: media-libs/libepoxy-1.5.1: uses glibc-specific functions (-> fails on *-fbsd)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 15:29 UTC by Michał Górny
Modified: 2018-06-06 20:33 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,38.03 KB, text/x-log)
2018-03-01 15:29 UTC, Michał Górny
Details
e-info.txt (e-info.txt,5.09 KB, text/plain)
2018-03-01 15:29 UTC, Michał Górny
Details
media-libs:libepoxy-1.5.1:20180425-190831.log (media-libs:libepoxy-1.5.1:20180425-190831.log,38.22 KB, text/plain)
2018-04-25 19:10 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-01 15:29:10 UTC
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
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-01 15:29:25 UTC
Created attachment 521574 [details]
e-info.txt
Comment 2 Aric Belsito 2018-03-01 18:22:54 UTC
It also fails to build on musl.

Theres a patch over here: https://github.com/anholt/libepoxy/pull/158
Comment 3 Larry the Git Cow gentoo-dev 2018-03-02 10:01:20 UTC
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(-)}
Comment 4 Matt Turner gentoo-dev 2018-04-25 17:51:35 UTC
Version 1.5.1 is now in the tree with some fixes (dlvsym). Please give it a try on BSD. Please rekeyword is appropriate.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-25 19:09:55 UTC
Still fails a lot, with asprintf, dlvsym etc.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-25 19:10:43 UTC
Created attachment 528526 [details]
media-libs:libepoxy-1.5.1:20180425-190831.log
Comment 7 Matt Turner gentoo-dev 2018-05-23 06:53:25 UTC
I think this is fixed for real with v1.5.2. Please test and rekeyword.
Comment 8 Larry the Git Cow gentoo-dev 2018-06-06 20:33:24 UTC
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(-)