Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot build qtwebengine: ‘WEBP_EXTERN’ does not name a type
Date: Mon, 29 Apr 2019 07:54:00
Message-Id: 11366674.TvuUWZseUV@dell_xps
In Reply to: [gentoo-user] Cannot build qtwebengine: ‘WEBP_EXTERN’ does not name a type by Frank Steinmetzger
1 On Sunday, 28 April 2019 21:25:58 BST Frank Steinmetzger wrote:
2 > Hi folks,
3 >
4 > it’s been a while since I had a problem for which I needed a nudge. :)
5 > Due to some other lib upgrade, I need to rebuild qtwebengine.
6 >
7 > But it always fails with:
8 > | In file included from
9 > | ../../3rdparty/chromium/third_party/skia/src/images/SkWebpEncoder.cpp:42:
10 > | /usreincnude/webp/mux.h:101:1: Since libpcap has been upgradederror:
11 > | ‘WEBP_EXTERN’ does not name a type|
12 > | WEBP_EXTERN int WebPGetMuxVersion(void);
13 > | ^~~~~~~~~~~
14 > |
15 > | /usr/include/webp/mux.h: In function ‘WebPMux* WebPMuxCreate(const
16 > | WebPData*, int)’: /usr/include/webp/mux.h:138:10: error:
17 > | ‘WebPMuxCreateInternal’ was not declared in this scope|
18 > | return WebPMuxCreateInternal(bitstream, copy_data,
19 > | WEBP_MUX_ABI_VERSION);
20 > |
21 > | ^~~~~~~~~~~~~~~~~~~~~
22 >
23 > And a number more of similar problems, hinting at a missing or broken
24 > include file in libpcap. I tried upgrading libpcap from 1.8 to 1.9 as a
25 > remedy, but no luck there.
26
27 These are the libcap versions listed in my system and there is no 1.8 or 1.9
28 versions here:
29
30 [I] sys-libs/libcap
31 Available versions:
32 2.25 [pam static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64"
33 ABI_S390="32 64" ABI_X86="32 64 x32"]
34 2.26-r2 ^t [pam static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32
35 64" ABI_S390="32 64" ABI_X86="32 64 x32"]
36 ~ 2.27 ^t [pam static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32
37 64" ABI_S390="32 64" ABI_X86="32 64 x32"]
38 Installed versions: 2.26-r2^t(13:18:30 04/19/19)(pam -static-libs
39 ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32
40 -x32")
41 Homepage: http://www.friedhoff.org/posixfilecaps.html
42 Description: POSIX 1003.1e capabilities
43
44 [I] sys-libs/libcap-ng
45 Available versions:
46 0.7.8 ^t [python static-libs PYTHON_TARGETS="python2_7
47 python3_5 python3_6"] ["python? ( || ( python_targets_python2_7
48 python_targets_python3_5 python_targets_python3_6 ) )"]
49 ~ 0.7.9 [python static-libs PYTHON_TARGETS="python2_7 python3_5
50 python3_6 python3_7"] ["python? ( || ( python_targets_python2_7
51 python_targets_python3_5 python_targets_python3_6 python_targets_python3_7 )
52 )"]
53 Installed versions: 0.7.8^t(13:27:50 03/23/19)(-python -static-libs
54 PYTHON_TARGETS="python2_7 python3_6 -python3_5")
55 Homepage: https://people.redhat.com/sgrubb/libcap-ng/
56 Description: POSIX 1003.1e capabilities
57
58
59 Instead of manually emerging/upgrading libraries it may be better to run
60 'emerge -a -v @preserved-rebuild' and let portage decide which version is
61 required, through its thread of dependencies.
62
63
64 > There is also no relevant entry on BGO and I
65 > asked twice on IRC with this, but noone answered.
66
67 Search the emerge output for "Error" to find out all errors printed out by
68 emerge. With multicore/multithread CPUs it is easy to miss "Error 1" further
69 up the page.
70
71 HTH.
72 --
73 Regards,
74 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Cannot build qtwebengine: ‘WEBP_EXTERN’ does not name a type Frank Steinmetzger <Warp_7@×××.de>