Gentoo Archives: gentoo-user

From: Frank Steinmetzger <Warp_7@×××.de>
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 16:54:33
Message-Id: 20190429165408.GA12002@kern
In Reply to: Re: [gentoo-user] Cannot build qtwebengine: ‘WEBP_EXTERN’ does not name a type by Mick
1 On Mon, Apr 29, 2019 at 08:53:26AM +0100, Mick wrote:
2 > On Sunday, 28 April 2019 21:25:58 BST Frank Steinmetzger wrote:
3 > > Hi folks,
4 > >
5 > > it’s been a while since I had a problem for which I needed a nudge. :)
6 > > Due to some other lib upgrade, I need to rebuild qtwebengine.
7 > >
8 > > But it always fails with:
9 > > | In file included from
10 > > | ../../3rdparty/chromium/third_party/skia/src/images/SkWebpEncoder.cpp:42:
11 > > | /usreincnude/webp/mux.h:101:1: Since libpcap has been upgradederror:
12 > > | ‘WEBP_EXTERN’ does not name a type|
13 > > | WEBP_EXTERN int WebPGetMuxVersion(void);
14 > > | ^~~~~~~~~~~
15 > > |
16 > > | /usr/include/webp/mux.h: In function ‘WebPMux* WebPMuxCreate(const
17 > > | WebPData*, int)’: /usr/include/webp/mux.h:138:10: error:
18 > > | ‘WebPMuxCreateInternal’ was not declared in this scope|
19 > > | return WebPMuxCreateInternal(bitstream, copy_data,
20 > > | WEBP_MUX_ABI_VERSION);
21 > > |
22 > > | ^~~~~~~~~~~~~~~~~~~~~
23 > >
24 > > And a number more of similar problems, hinting at a missing or broken
25 > > include file in libpcap. I tried upgrading libpcap from 1.8 to 1.9 as a
26 > > remedy, but no luck there.
27 >
28 > These are the libcap versions listed in my system and there is no 1.8 or 1.9
29 > versions here:
30
31 We both made a mistake here. Notice I mentioned libpcap (with two “p”s), you
32 only read one. And my mistake was to look at libpcap at all, when I should
33 have been looking at libwebp (oh those damn Ps). After all, that is the lib
34 which contains the culprit mux.h and which was upgraded from 0.5 to 1.0,
35 causing a rebuild in the first place. (In hindsight, why should a network
36 library have a file about muxing anyway).
37
38 I’ll try a libwebp downgrade now.
39
40 --
41 Gruß | Greetings | Qapla’
42 Please do not share anything from, with or about me on any social network.
43
44 How many people can read hex if only you and dead people can read hex?
45 deae people.

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>