Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655676 - media-gfx/exiv2-0.26_p20180319: (fbsd) error: ‘PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP’ was not declared in this scope
Summary: media-gfx/exiv2-0.26_p20180319: (fbsd) error: ‘PTHREAD_RECURSIVE_MUTEX_INITIA...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 655666
  Show dependency tree
 
Reported: 2018-05-13 18:44 UTC by Michał Górny
Modified: 2018-09-21 10:33 UTC (History)
1 user (show)

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


Attachments
media-gfx:exiv2-0.26_p20180319:20180513-183834.log (media-gfx:exiv2-0.26_p20180319:20180513-183834.log,108.11 KB, text/plain)
2018-05-13 18:44 UTC, Michał Górny
Details
e-info.txt (e-info.txt,4.65 KB, text/plain)
2018-05-13 18:44 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-05-13 18:44:07 UTC
Created attachment 531254 [details]
media-gfx:exiv2-0.26_p20180319:20180513-183834.log

[ 59%] Building CXX object src/CMakeFiles/exiv2.dir/actions.cpp.o                
cd /var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131-abi_x86_64.amd64_fbsd/src && /usr/lib/ccache/bin/x86_64-gentoo-freebsd11.1-g++ -DEXV_HAVE_DLL -DEXV_HAVE_STDINT_H -DEXV_LOCALEDIR=\"share/locale\" -I/var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131/src -I/var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131/include -I/var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131/include/exiv2 -I/var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131-abi_x86_64.amd64_fbsd -I/var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131/xmpsdk/include -I/var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131-abi_x86_64.amd64_fbsd/src   -DNDEBUG -O2 -pipe -march=native   -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -std=gnu++98 -o CMakeFiles/exiv2.dir/actions.cpp.o -c /var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131/src/actions.cpp
/var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131/src/actions.cpp:2063:32: error: ‘PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP’ was not declared in this scope
   static pthread_mutex_t cs =  PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;          
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
/var/tmp/portage/media-gfx/exiv2-0.26_p20180319/work/Exiv2-exiv2-876b131/src/actions.cpp:2063:32: note: suggested alternative: ‘PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP’
   static pthread_mutex_t cs =  PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;          
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
                                PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP            


This is gcc-7.3.0 on amd64-fbsd.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-13 18:44:27 UTC
Created attachment 531256 [details]
e-info.txt
Comment 2 Larry the Git Cow gentoo-dev 2018-09-21 10:33:13 UTC
The bug has been closed via the following commit(s):

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

commit 4a849dfab49026cce7d988e8a043eb1aaa9da8fd
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-09-21 10:32:27 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-09-21 10:33:03 +0000

    media-gfx/exiv2: Fix build with musl libc and on amd64-fbsd
    
    Closes: https://bugs.gentoo.org/655676
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-gfx/exiv2/Manifest                       | 2 +-
 media-gfx/exiv2/exiv2-0.26_p20180811-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)