1 |
I took edited the ebuild file for the nghttp2 package as follows: |
2 |
|
3 |
multilib_src_configure() { |
4 |
local myeconfargs=( |
5 |
--disable-examples |
6 |
--disable-failmalloc |
7 |
--disable-python-bindings |
8 |
--disable-werror |
9 |
--without-cython |
10 |
--with-boost=/home/mikef/gentoo/usr |
11 |
$(use_enable cxx asio-lib) |
12 |
$(use_enable debug) |
13 |
$(multilib_native_use_enable hpack-tools) |
14 |
$(use_enable static-libs static) |
15 |
$(use_enable threads) |
16 |
$(multilib_native_use_enable utils app) |
17 |
$(multilib_native_use_with jemalloc) |
18 |
$(multilib_native_use_with xml libxml2) |
19 |
) |
20 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
21 |
} |
22 |
|
23 |
I added an extra line (shown in red) to the ebuild in the myeconfargs flag |
24 |
setup list or whatever it is called. |
25 |
|
26 |
I then tried running emerge again but it failed as follows: |
27 |
|
28 |
|
29 |
|
30 |
mikef@fart ~/gentoo/usr/portage/net-libs/nghttp2 $ !295 |
31 |
emerge net-libs/nghttp2 |
32 |
Calculating dependencies \ * Digest verification failed: |
33 |
* /home/mikef/gentoo/usr/portage/net-libs/nghttp2/nghttp2-1.39.1.ebuild |
34 |
* Reason: Filesize does not match recorded size |
35 |
* Got: 2005 |
36 |
* Expected: 1966 |
37 |
... done! |
38 |
|
39 |
>>> Verifying ebuild manifests |
40 |
|
41 |
!!! Digest verification failed: |
42 |
!!! /home/mikef/gentoo/usr/portage/net-libs/nghttp2/nghttp2-1.39.1.ebuild |
43 |
!!! Reason: Filesize does not match recorded size |
44 |
!!! Got: 2005 |
45 |
!!! Expected: 1966 |
46 |
mikef@fart ~/gentoo/usr/portage/net-libs/nghttp2 $ |
47 |
|
48 |
*************************************** |
49 |
|
50 |
It didn't like the change made to the ebuild file it seems. |
51 |
|
52 |
Comments appreciated. |
53 |
|
54 |
Regards |
55 |
|
56 |
MF |