[gentoo-user] Cannot build qtwebengine: ‘WEBP_EXTERN’ does not name a type
Hi folks, it’s been a while since I had a problem for which I needed a nudge. :) Due to some other lib upgrade, I need to rebuild qtwebengine. But it always fails with: | In file included from ../../3rdparty/chromium/third_party/skia/src/images/SkWebpEncoder.cpp:42: | /usreincnude/webp/mux.h:101:1: Since libpcap has been upgradederror: ‘WEBP_EXTERN’ does not name a type | WEBP_EXTERN int WebPGetMuxVersion(void); | ^~~ | | /usr/include/webp/mux.h: In function ‘WebPMux* WebPMuxCreate(const WebPData*, int)’: | /usr/include/webp/mux.h:138:10: error: ‘WebPMuxCreateInternal’ was not declared in this scope |return WebPMuxCreateInternal(bitstream, copy_data, WEBP_MUX_ABI_VERSION); | ^ And a number more of similar problems, hinting at a missing or broken include file in libpcap. I tried upgrading libpcap from 1.8 to 1.9 as a remedy, but no luck there. There is also no relevant entry on BGO and I asked twice on IRC with this, but noone answered. So you are my last hope, Gentoo-list Kenobi. What could I be missing? Cheers. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me on any social network. This is a lousy party! I’ll leave as soon as I find my trousers. signature.asc Description: PGP signature
Re: [gentoo-user] Cannot build qtwebengine: ‘WEBP_EXTERN’ does not name a type
On Sunday, 28 April 2019 21:25:58 BST Frank Steinmetzger wrote: > Hi folks, > > it’s been a while since I had a problem for which I needed a nudge. :) > Due to some other lib upgrade, I need to rebuild qtwebengine. > > But it always fails with: > | In file included from > | ../../3rdparty/chromium/third_party/skia/src/images/SkWebpEncoder.cpp:42: > | /usreincnude/webp/mux.h:101:1: Since libpcap has been upgradederror: > | ‘WEBP_EXTERN’ does not name a type| > | WEBP_EXTERN int WebPGetMuxVersion(void); > | ^~~ > | > | /usr/include/webp/mux.h: In function ‘WebPMux* WebPMuxCreate(const > | WebPData*, int)’: /usr/include/webp/mux.h:138:10: error: > | ‘WebPMuxCreateInternal’ was not declared in this scope| > |return WebPMuxCreateInternal(bitstream, copy_data, > |WEBP_MUX_ABI_VERSION); > | > | ^ > > And a number more of similar problems, hinting at a missing or broken > include file in libpcap. I tried upgrading libpcap from 1.8 to 1.9 as a > remedy, but no luck there. These are the libcap versions listed in my system and there is no 1.8 or 1.9 versions here: [I] sys-libs/libcap Available versions: 2.25[pam static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"] 2.26-r2 ^t[pam static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"] ~2.27 ^t[pam static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"] Installed versions: 2.26-r2^t(13:18:30 04/19/19)(pam -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") Homepage:http://www.friedhoff.org/posixfilecaps.html Description: POSIX 1003.1e capabilities [I] sys-libs/libcap-ng Available versions: 0.7.8 ^t[python static-libs PYTHON_TARGETS="python2_7 python3_5 python3_6"] ["python? ( || ( python_targets_python2_7 python_targets_python3_5 python_targets_python3_6 ) )"] ~0.7.9 [python static-libs PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7"] ["python? ( || ( python_targets_python2_7 python_targets_python3_5 python_targets_python3_6 python_targets_python3_7 ) )"] Installed versions: 0.7.8^t(13:27:50 03/23/19)(-python -static-libs PYTHON_TARGETS="python2_7 python3_6 -python3_5") Homepage:https://people.redhat.com/sgrubb/libcap-ng/ Description: POSIX 1003.1e capabilities Instead of manually emerging/upgrading libraries it may be better to run 'emerge -a -v @preserved-rebuild' and let portage decide which version is required, through its thread of dependencies. > There is also no relevant entry on BGO and I > asked twice on IRC with this, but noone answered. Search the emerge output for "Error" to find out all errors printed out by emerge. With multicore/multithread CPUs it is easy to miss "Error 1" further up the page. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Cannot build qtwebengine: ‘WEBP_EXTERN’ does not name a type
On Mon, Apr 29, 2019 at 08:53:26AM +0100, Mick wrote: > On Sunday, 28 April 2019 21:25:58 BST Frank Steinmetzger wrote: > > Hi folks, > > > > it’s been a while since I had a problem for which I needed a nudge. :) > > Due to some other lib upgrade, I need to rebuild qtwebengine. > > > > But it always fails with: > > | In file included from > > | ../../3rdparty/chromium/third_party/skia/src/images/SkWebpEncoder.cpp:42: > > | /usreincnude/webp/mux.h:101:1: Since libpcap has been upgradederror: > > | ‘WEBP_EXTERN’ does not name a type| > > | WEBP_EXTERN int WebPGetMuxVersion(void); > > | ^~~ > > | > > | /usr/include/webp/mux.h: In function ‘WebPMux* WebPMuxCreate(const > > | WebPData*, int)’: /usr/include/webp/mux.h:138:10: error: > > | ‘WebPMuxCreateInternal’ was not declared in this scope| > > |return WebPMuxCreateInternal(bitstream, copy_data, > > |WEBP_MUX_ABI_VERSION); > > | > > | ^ > > > > And a number more of similar problems, hinting at a missing or broken > > include file in libpcap. I tried upgrading libpcap from 1.8 to 1.9 as a > > remedy, but no luck there. > > These are the libcap versions listed in my system and there is no 1.8 or 1.9 > versions here: We both made a mistake here. Notice I mentioned libpcap (with two “p”s), you only read one. And my mistake was to look at libpcap at all, when I should have been looking at libwebp (oh those damn Ps). After all, that is the lib which contains the culprit mux.h and which was upgraded from 0.5 to 1.0, causing a rebuild in the first place. (In hindsight, why should a network library have a file about muxing anyway). I’ll try a libwebp downgrade now. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me on any social network. How many people can read hex if only you and dead people can read hex? deae people. signature.asc Description: PGP signature
Re: [gentoo-user] Cannot build qtwebengine: ‘WEBP_EXTERN’ does not name a type
On Mon, Apr 29, 2019 at 06:54:08PM +0200, Frank Steinmetzger wrote: > I’ll try a libwebp downgrade now. Since that didn’t work either, I tried to recreate the error by building a minimal c program, which only includes libwebp headers and opened/closed a webp object. I was so rusty with handling gcc that I didn’t get it to build, but when running `locate libwebp.a`, I found out that I had an old version of the lib installed in /usr/local. I can’t remember what I needed it for and so I uninstalled it. And whaddaya know, qtwebengine now compiles happily. I’m already at file 8981/15727, while the error popped up at 6592/15727, which is way earlier. Yay. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me on any social network. NOTHING is the complete absence of SOMETHING. Without presence of absence there is no NOTHING. signature.asc Description: PGP signature