Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] gnutls-9999: Failed running 'aclocal'!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Sat May 08, 2021 2:24 am    Post subject: [solved] gnutls-9999: Failed running 'aclocal'! Reply with quote

Im on a roll here if you cant tell. I have this similar error for another round of packages. I could have sworn ive seen it before and maybe did a thing, but i want to double check and see how you guys approach this. I get this error when trying to compile gnutls, which is another build environment that appears to pull alot of external sources. So its complex and annoying. Its like rust build system tier annoying.

LOG:
Code:

$ doas emerge -av --autounmask =net-libs/gnutls-9999

These are the packages that would be merged, in order:

Calculating dependencies 
 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

... done!
[ebuild     U  ] net-libs/gnutls-9999:0/30::localrepo [3.7.1:0/30::gentoo] USE="cxx idn openssl seccomp -dane -doc -examples -guile -nls -pkcs11 -sslv2 -sslv3 -static-libs -test -test-full -tls-heartbeat -tools -valgrind" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-libs/gnutls-9999::localrepo
>>> Unpacking source...
 * Repository id: gnutls_gnutls.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_GNUTLS_GNUTLS
 *   EGIT_OVERRIDE_BRANCH_GNUTLS_GNUTLS
 *   EGIT_OVERRIDE_COMMIT_GNUTLS_GNUTLS
 *   EGIT_OVERRIDE_COMMIT_DATE_GNUTLS_GNUTLS
 *
 * Fetching https://gitlab.com/gnutls/gnutls.git ...
git fetch https://gitlab.com/gnutls/gnutls.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/net-libs/gnutls/0/__main__ refs/git-r3/HEAD
 * Repository id: openssl_openssl.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_OPENSSL_OPENSSL
 *   EGIT_OVERRIDE_BRANCH_OPENSSL_OPENSSL
 *   EGIT_OVERRIDE_COMMIT_OPENSSL_OPENSSL
 *   EGIT_OVERRIDE_COMMIT_DATE_OPENSSL_OPENSSL
 *
 * Fetching https://github.com/openssl/openssl.git ...
git fetch https://github.com/openssl/openssl.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
remote: Enumerating objects: 111, done.
remote: Counting objects:   0% (1/111)
remote: Counting objects:   1% (2/111)
remote: Counting objects:   2% (3/111)
remote: Counting objects:   3% (4/111)
remote: Counting objects:   4% (5/111)
remote: Counting objects:   5% (6/111)
remote: Counting objects:   6% (7/111)
remote: Counting objects:   7% (8/111)
remote: Counting objects:   8% (9/111)
remote: Counting objects:   9% (10/111)
remote: Counting objects:  10% (12/111)
remote: Counting objects:  11% (13/111)
remote: Counting objects:  12% (14/111)
remote: Counting objects:  13% (15/111)
remote: Counting objects:  14% (16/111)
remote: Counting objects:  15% (17/111)
remote: Counting objects:  16% (18/111)
remote: Counting objects:  17% (19/111)
remote: Counting objects:  18% (20/111)
remote: Counting objects:  19% (22/111)
remote: Counting objects:  20% (23/111)
remote: Counting objects:  21% (24/111)
remote: Counting objects:  22% (25/111)
remote: Counting objects:  23% (26/111)
remote: Counting objects:  24% (27/111)
remote: Counting objects:  25% (28/111)
remote: Counting objects:  26% (29/111)
remote: Counting objects:  27% (30/111)
remote: Counting objects:  28% (32/111)
remote: Counting objects:  29% (33/111)
remote: Counting objects:  30% (34/111)
remote: Counting objects:  31% (35/111)
remote: Counting objects:  32% (36/111)
remote: Counting objects:  33% (37/111)
remote: Counting objects:  34% (38/111)
remote: Counting objects:  35% (39/111)
remote: Counting objects:  36% (40/111)
remote: Counting objects:  37% (42/111)
remote: Counting objects:  38% (43/111)
remote: Counting objects:  39% (44/111)
remote: Counting objects:  40% (45/111)
remote: Counting objects:  41% (46/111)
remote: Counting objects:  42% (47/111)
remote: Counting objects:  43% (48/111)
remote: Counting objects:  44% (49/111)
remote: Counting objects:  45% (50/111)
remote: Counting objects:  46% (52/111)
remote: Counting objects:  47% (53/111)
remote: Counting objects:  48% (54/111)
remote: Counting objects:  49% (55/111)
remote: Counting objects:  50% (56/111)
remote: Counting objects:  51% (57/111)
remote: Counting objects:  52% (58/111)
remote: Counting objects:  53% (59/111)
remote: Counting objects:  54% (60/111)
remote: Counting objects:  55% (62/111)
remote: Counting objects:  56% (63/111)
remote: Counting objects:  57% (64/111)
remote: Counting objects:  58% (65/111)
remote: Counting objects:  59% (66/111)
remote: Counting objects:  60% (67/111)
remote: Counting objects:  61% (68/111)
remote: Counting objects:  62% (69/111)
remote: Counting objects:  63% (70/111)
remote: Counting objects:  64% (72/111)
remote: Counting objects:  65% (73/111)
remote: Counting objects:  66% (74/111)
remote: Counting objects:  67% (75/111)
remote: Counting objects:  68% (76/111)
remote: Counting objects:  69% (77/111)
remote: Counting objects:  70% (78/111)
remote: Counting objects:  71% (79/111)
remote: Counting objects:  72% (80/111)
remote: Counting objects:  73% (82/111)
remote: Counting objects:  74% (83/111)
remote: Counting objects:  75% (84/111)
remote: Counting objects:  76% (85/111)
remote: Counting objects:  77% (86/111)
remote: Counting objects:  78% (87/111)
remote: Counting objects:  79% (88/111)
remote: Counting objects:  80% (89/111)
remote: Counting objects:  81% (90/111)
remote: Counting objects:  82% (92/111)
remote: Counting objects:  83% (93/111)
remote: Counting objects:  84% (94/111)
remote: Counting objects:  85% (95/111)
remote: Counting objects:  86% (96/111)
remote: Counting objects:  87% (97/111)
remote: Counting objects:  88% (98/111)
remote: Counting objects:  89% (99/111)
remote: Counting objects:  90% (100/111)
remote: Counting objects:  91% (102/111)
remote: Counting objects:  92% (103/111)
remote: Counting objects:  93% (104/111)
remote: Counting objects:  94% (105/111)
remote: Counting objects:  95% (106/111)
remote: Counting objects:  96% (107/111)
remote: Counting objects:  97% (108/111)
remote: Counting objects:  98% (109/111)
remote: Counting objects:  99% (110/111)
remote: Counting objects: 100% (111/111)
remote: Counting objects: 100% (111/111), done.
remote: Compressing objects:   4% (1/22)
remote: Compressing objects:   9% (2/22)
remote: Compressing objects:  13% (3/22)
remote: Compressing objects:  18% (4/22)
remote: Compressing objects:  22% (5/22)
remote: Compressing objects:  27% (6/22)
remote: Compressing objects:  31% (7/22)
remote: Compressing objects:  36% (8/22)
remote: Compressing objects:  40% (9/22)
remote: Compressing objects:  45% (10/22)
remote: Compressing objects:  50% (11/22)
remote: Compressing objects:  54% (12/22)
remote: Compressing objects:  59% (13/22)
remote: Compressing objects:  63% (14/22)
remote: Compressing objects:  68% (15/22)
remote: Compressing objects:  72% (16/22)
remote: Compressing objects:  77% (17/22)
remote: Compressing objects:  81% (18/22)
remote: Compressing objects:  86% (19/22)
remote: Compressing objects:  90% (20/22)
remote: Compressing objects:  95% (21/22)
remote: Compressing objects: 100% (22/22)
remote: Compressing objects: 100% (22/22), done.
Receiving objects:   0% (1/111)
Receiving objects:   1% (2/111)
Receiving objects:   2% (3/111)
Receiving objects:   3% (4/111)
Receiving objects:   4% (5/111)
Receiving objects:   5% (6/111)
Receiving objects:   6% (7/111)
Receiving objects:   7% (8/111)
Receiving objects:   8% (9/111)
Receiving objects:   9% (10/111)
Receiving objects:  10% (12/111)
Receiving objects:  11% (13/111)
Receiving objects:  12% (14/111)
Receiving objects:  13% (15/111)
Receiving objects:  14% (16/111)
Receiving objects:  15% (17/111)
Receiving objects:  16% (18/111)
Receiving objects:  17% (19/111)
Receiving objects:  18% (20/111)
remote: Total 111 (delta 89), reused 109 (delta 89), pack-reused 0
Receiving objects:  19% (22/111)
Receiving objects:  20% (23/111)
Receiving objects:  21% (24/111)
Receiving objects:  22% (25/111)
Receiving objects:  23% (26/111)
Receiving objects:  24% (27/111)
Receiving objects:  25% (28/111)
Receiving objects:  26% (29/111)
Receiving objects:  27% (30/111)
Receiving objects:  28% (32/111)
Receiving objects:  29% (33/111)
Receiving objects:  30% (34/111)
Receiving objects:  31% (35/111)
Receiving objects:  32% (36/111)
Receiving objects:  33% (37/111)
Receiving objects:  34% (38/111)
Receiving objects:  35% (39/111)
Receiving objects:  36% (40/111)
Receiving objects:  37% (42/111)
Receiving objects:  38% (43/111)
Receiving objects:  39% (44/111)
Receiving objects:  40% (45/111)
Receiving objects:  41% (46/111)
Receiving objects:  42% (47/111)
Receiving objects:  43% (48/111)
Receiving objects:  44% (49/111)
Receiving objects:  45% (50/111)
Receiving objects:  46% (52/111)
Receiving objects:  47% (53/111)
Receiving objects:  48% (54/111)
Receiving objects:  49% (55/111)
Receiving objects:  50% (56/111)
Receiving objects:  51% (57/111)
Receiving objects:  52% (58/111)
Receiving objects:  53% (59/111)
Receiving objects:  54% (60/111)
Receiving objects:  55% (62/111)
Receiving objects:  56% (63/111)
Receiving objects:  57% (64/111)
Receiving objects:  58% (65/111)
Receiving objects:  59% (66/111)
Receiving objects:  60% (67/111)
Receiving objects:  61% (68/111)
Receiving objects:  62% (69/111)
Receiving objects:  63% (70/111)
Receiving objects:  64% (72/111)
Receiving objects:  65% (73/111)
Receiving objects:  66% (74/111)
Receiving objects:  67% (75/111)
Receiving objects:  68% (76/111)
Receiving objects:  69% (77/111)
Receiving objects:  70% (78/111)
Receiving objects:  71% (79/111)
Receiving objects:  72% (80/111)
Receiving objects:  73% (82/111)
Receiving objects:  74% (83/111)
Receiving objects:  75% (84/111)
Receiving objects:  76% (85/111)
Receiving objects:  77% (86/111)
Receiving objects:  78% (87/111)
Receiving objects:  79% (88/111)
Receiving objects:  80% (89/111)
Receiving objects:  81% (90/111)
Receiving objects:  82% (92/111)
Receiving objects:  83% (93/111)
Receiving objects:  84% (94/111)
Receiving objects:  85% (95/111)
Receiving objects:  86% (96/111)
Receiving objects:  87% (97/111)
Receiving objects:  88% (98/111)
Receiving objects:  89% (99/111)
Receiving objects:  90% (100/111)
Receiving objects:  91% (102/111)
Receiving objects:  92% (103/111)
Receiving objects:  93% (104/111)
Receiving objects:  94% (105/111)
Receiving objects:  95% (106/111)
Receiving objects:  96% (107/111)
Receiving objects:  97% (108/111)
Receiving objects:  98% (109/111)
Receiving objects:  99% (110/111)
Receiving objects: 100% (111/111)
Receiving objects: 100% (111/111), 71.45 KiB | 14.29 MiB/s, done.
Resolving deltas:   0% (0/89)
Resolving deltas:   1% (1/89)
Resolving deltas:   2% (2/89)
Resolving deltas:   3% (3/89)
Resolving deltas:   4% (4/89)
Resolving deltas:   5% (5/89)
Resolving deltas:   6% (6/89)
Resolving deltas:   7% (7/89)
Resolving deltas:   8% (8/89)
Resolving deltas:  10% (9/89)
Resolving deltas:  11% (10/89)
Resolving deltas:  12% (11/89)
Resolving deltas:  13% (12/89)
Resolving deltas:  14% (13/89)
Resolving deltas:  15% (14/89)
Resolving deltas:  16% (15/89)
Resolving deltas:  17% (16/89)
Resolving deltas:  19% (17/89)
Resolving deltas:  20% (18/89)
Resolving deltas:  21% (19/89)
Resolving deltas:  22% (20/89)
Resolving deltas:  23% (21/89)
Resolving deltas:  24% (22/89)
Resolving deltas:  25% (23/89)
Resolving deltas:  26% (24/89)
Resolving deltas:  28% (25/89)
Resolving deltas:  29% (26/89)
Resolving deltas:  30% (27/89)
Resolving deltas:  31% (28/89)
Resolving deltas:  32% (29/89)
Resolving deltas:  33% (30/89)
Resolving deltas:  34% (31/89)
Resolving deltas:  35% (32/89)
Resolving deltas:  37% (33/89)
Resolving deltas:  38% (34/89)
Resolving deltas:  39% (35/89)
Resolving deltas:  40% (36/89)
Resolving deltas:  41% (37/89)
Resolving deltas:  42% (38/89)
Resolving deltas:  43% (39/89)
Resolving deltas:  44% (40/89)
Resolving deltas:  46% (41/89)
Resolving deltas:  47% (42/89)
Resolving deltas:  48% (43/89)
Resolving deltas:  49% (44/89)
Resolving deltas:  50% (45/89)
Resolving deltas:  51% (46/89)
Resolving deltas:  52% (47/89)
Resolving deltas:  53% (48/89)
Resolving deltas:  55% (49/89)
Resolving deltas:  56% (50/89)
Resolving deltas:  57% (51/89)
Resolving deltas:  58% (52/89)
Resolving deltas:  59% (53/89)
Resolving deltas:  60% (54/89)
Resolving deltas:  61% (55/89)
Resolving deltas:  62% (56/89)
Resolving deltas:  64% (57/89)
Resolving deltas:  65% (58/89)
Resolving deltas:  66% (59/89)
Resolving deltas:  67% (60/89)
Resolving deltas:  68% (61/89)
Resolving deltas:  69% (62/89)
Resolving deltas:  70% (63/89)
Resolving deltas:  71% (64/89)
Resolving deltas:  73% (65/89)
Resolving deltas:  74% (66/89)
Resolving deltas:  75% (67/89)
Resolving deltas:  76% (68/89)
Resolving deltas:  77% (69/89)
Resolving deltas:  78% (70/89)
Resolving deltas:  79% (71/89)
Resolving deltas:  80% (72/89)
Resolving deltas:  82% (73/89)
Resolving deltas:  83% (74/89)
Resolving deltas:  84% (75/89)
Resolving deltas:  85% (76/89)
Resolving deltas:  86% (77/89)
Resolving deltas:  87% (78/89)
Resolving deltas:  88% (79/89)
Resolving deltas:  89% (80/89)
Resolving deltas:  91% (81/89)
Resolving deltas:  92% (82/89)
Resolving deltas:  93% (83/89)
Resolving deltas:  94% (84/89)
Resolving deltas:  95% (85/89)
Resolving deltas:  96% (86/89)
Resolving deltas:  97% (87/89)
Resolving deltas:  98% (88/89)
Resolving deltas: 100% (89/89)
Resolving deltas: 100% (89/89), completed with 30 local objects.
From https://github.com/openssl/openssl
 + 651378c7f7...31ff16ac94 refs/pull/15147/head -> refs/pull/15147  (forced update)
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/devel_openssl/__main__ 8e813c085ac43ca6a58a20f7982b26ed31dc326a
 * Repository id: boringssl.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_BORINGSSL
 *   EGIT_OVERRIDE_BRANCH_BORINGSSL
 *   EGIT_OVERRIDE_COMMIT_BORINGSSL
 *   EGIT_OVERRIDE_COMMIT_DATE_BORINGSSL
 *
 * Fetching https://boringssl.googlesource.com/boringssl ...
git fetch https://boringssl.googlesource.com/boringssl --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/devel_openssl/boringssl/__main__ 2070f8ad9151dc8f3a73bffaa146b5e6937a583f
 * Repository id: pyca_cryptography.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_PYCA_CRYPTOGRAPHY
 *   EGIT_OVERRIDE_BRANCH_PYCA_CRYPTOGRAPHY
 *   EGIT_OVERRIDE_COMMIT_PYCA_CRYPTOGRAPHY
 *   EGIT_OVERRIDE_COMMIT_DATE_PYCA_CRYPTOGRAPHY
 *
 * Fetching https://github.com/pyca/cryptography.git ...
git fetch https://github.com/pyca/cryptography.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/devel_openssl/pyca_cryptography/__main__ 09403100de2f6f1cdd0d484dcb8e620f1c335c8f
 * Repository id: krb5_krb5.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_KRB5_KRB5
 *   EGIT_OVERRIDE_BRANCH_KRB5_KRB5
 *   EGIT_OVERRIDE_COMMIT_KRB5_KRB5
 *   EGIT_OVERRIDE_COMMIT_DATE_KRB5_KRB5
 *
 * Fetching https://github.com/krb5/krb5 ...
git fetch https://github.com/krb5/krb5 --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1)
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1)
Unpacking objects: 100% (1/1), 363 bytes | 363.00 KiB/s, done.
From https://github.com/krb5/krb5
   34625d594..65b21aee6  master              -> master
 + 42329485b...65b21aee6 refs/pull/1184/head -> refs/pull/1184  (forced update)
   34625d594..65b21aee6                      -> refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/devel_openssl/krb5/__main__ 890ca2f401924cdcb88f493950b04700bbe52db3
 * Repository id: tomato42_tlsfuzzer.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_TOMATO42_TLSFUZZER
 *   EGIT_OVERRIDE_BRANCH_TOMATO42_TLSFUZZER
 *   EGIT_OVERRIDE_COMMIT_TOMATO42_TLSFUZZER
 *   EGIT_OVERRIDE_COMMIT_DATE_TOMATO42_TLSFUZZER
 *
 * Fetching https://github.com/tomato42/tlsfuzzer.git ...
git fetch https://github.com/tomato42/tlsfuzzer.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/tests_suite_tls-fuzzer_tlsfuzzer/__main__ c306d68e5c1395e22cdfc473088243411a42668a
 * Repository id: warner_python-ecdsa.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_WARNER_PYTHON_ECDSA
 *   EGIT_OVERRIDE_BRANCH_WARNER_PYTHON_ECDSA
 *   EGIT_OVERRIDE_COMMIT_WARNER_PYTHON_ECDSA
 *   EGIT_OVERRIDE_COMMIT_DATE_WARNER_PYTHON_ECDSA
 *
 * Fetching https://github.com/warner/python-ecdsa ...
git fetch https://github.com/warner/python-ecdsa --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/tests_suite_tls-fuzzer_python-ecdsa/__main__ f27b20ff2a67c6b1afe473dd347c8da5c4017e34
 * Repository id: tomato42_tlslite-ng.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_TOMATO42_TLSLITE_NG
 *   EGIT_OVERRIDE_BRANCH_TOMATO42_TLSLITE_NG
 *   EGIT_OVERRIDE_COMMIT_TOMATO42_TLSLITE_NG
 *   EGIT_OVERRIDE_COMMIT_DATE_TOMATO42_TLSLITE_NG
 *
 * Fetching https://github.com/tomato42/tlslite-ng.git ...
git fetch https://github.com/tomato42/tlslite-ng.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/tests_suite_tls-fuzzer_tlslite-ng/__main__ 9f2a19e09210686d2ad87001f583343f65a7a6f4
 * Repository id: libidn_gnulib-mirror.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_LIBIDN_GNULIB_MIRROR
 *   EGIT_OVERRIDE_BRANCH_LIBIDN_GNULIB_MIRROR
 *   EGIT_OVERRIDE_COMMIT_LIBIDN_GNULIB_MIRROR
 *   EGIT_OVERRIDE_COMMIT_DATE_LIBIDN_GNULIB_MIRROR
 *
 * Fetching https://gitlab.com/libidn/gnulib-mirror.git ...
git fetch https://gitlab.com/libidn/gnulib-mirror.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/gnulib/__main__ 257183ec1ea1517d5ae6dac2e8724a90e23e864a
 * Repository id: gnutls_nettle.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_GNUTLS_NETTLE
 *   EGIT_OVERRIDE_BRANCH_GNUTLS_NETTLE
 *   EGIT_OVERRIDE_COMMIT_GNUTLS_NETTLE
 *   EGIT_OVERRIDE_COMMIT_DATE_GNUTLS_NETTLE
 *
 * Fetching https://gitlab.com/gnutls/nettle.git ...
git fetch https://gitlab.com/gnutls/nettle.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/devel_nettle/__main__ 228ae2618cfeb84b8d4b189cc428fc55fac462e8
 * Repository id: gnutls_libtasn1.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_GNUTLS_LIBTASN1
 *   EGIT_OVERRIDE_BRANCH_GNUTLS_LIBTASN1
 *   EGIT_OVERRIDE_COMMIT_GNUTLS_LIBTASN1
 *   EGIT_OVERRIDE_COMMIT_DATE_GNUTLS_LIBTASN1
 *
 * Fetching https://gitlab.com/gnutls/libtasn1.git ...
git fetch https://gitlab.com/gnutls/libtasn1.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/devel_libtasn1/__main__ 78204593822b4c1a8e0ca87f57c48e5936b0fe2c
 * Repository id: libidn_gnulib-mirror.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_LIBIDN_GNULIB_MIRROR
 *   EGIT_OVERRIDE_BRANCH_LIBIDN_GNULIB_MIRROR
 *   EGIT_OVERRIDE_COMMIT_LIBIDN_GNULIB_MIRROR
 *   EGIT_OVERRIDE_COMMIT_DATE_LIBIDN_GNULIB_MIRROR
 *
 * Fetching https://gitlab.com/libidn/gnulib-mirror.git ...
git fetch https://gitlab.com/libidn/gnulib-mirror.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/net-libs/gnutls/0/devel_libtasn1/gnulib/__main__ b5a9fa677847081c9b4f26908272f122b15df8b9
 * Checking out https://gitlab.com/gnutls/gnutls.git to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://gitlab.com/gnutls/gnutls.git
   at the commit:            8d1f37c54acb5c30e5de47a8a04139fadb85dc4e
 * Checking out https://github.com/openssl/openssl.git to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/devel/openssl ...
git checkout --quiet 8e813c085ac43ca6a58a20f7982b26ed31dc326a
GIT update -->
   repository:               https://github.com/openssl/openssl.git
   at the commit:            8e813c085ac43ca6a58a20f7982b26ed31dc326a
 * Checking out https://boringssl.googlesource.com/boringssl to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/devel/openssl/boringssl ...
git checkout --quiet 2070f8ad9151dc8f3a73bffaa146b5e6937a583f
GIT update -->
   repository:               https://boringssl.googlesource.com/boringssl
   at the commit:            2070f8ad9151dc8f3a73bffaa146b5e6937a583f
 * Checking out https://github.com/pyca/cryptography.git to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/devel/openssl/pyca-cryptography ...
git checkout --quiet 09403100de2f6f1cdd0d484dcb8e620f1c335c8f
GIT update -->
   repository:               https://github.com/pyca/cryptography.git
   at the commit:            09403100de2f6f1cdd0d484dcb8e620f1c335c8f
 * Checking out https://github.com/krb5/krb5 to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/devel/openssl/krb5 ...
git checkout --quiet 890ca2f401924cdcb88f493950b04700bbe52db3
GIT update -->
   repository:               https://github.com/krb5/krb5
   at the commit:            890ca2f401924cdcb88f493950b04700bbe52db3
 * Checking out https://github.com/tomato42/tlsfuzzer.git to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/tests/suite/tls-fuzzer/tlsfuzzer ...
git checkout --quiet c306d68e5c1395e22cdfc473088243411a42668a
GIT update -->
   repository:               https://github.com/tomato42/tlsfuzzer.git
   at the commit:            c306d68e5c1395e22cdfc473088243411a42668a
 * Checking out https://github.com/warner/python-ecdsa to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/tests/suite/tls-fuzzer/python-ecdsa ...
git checkout --quiet f27b20ff2a67c6b1afe473dd347c8da5c4017e34
GIT update -->
   repository:               https://github.com/warner/python-ecdsa
   at the commit:            f27b20ff2a67c6b1afe473dd347c8da5c4017e34
 * Checking out https://github.com/tomato42/tlslite-ng.git to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/tests/suite/tls-fuzzer/tlslite-ng ...
git checkout --quiet 9f2a19e09210686d2ad87001f583343f65a7a6f4
GIT update -->
   repository:               https://github.com/tomato42/tlslite-ng.git
   at the commit:            9f2a19e09210686d2ad87001f583343f65a7a6f4
 * Checking out https://gitlab.com/libidn/gnulib-mirror.git to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/gnulib ...
git checkout --quiet 257183ec1ea1517d5ae6dac2e8724a90e23e864a
GIT update -->
   repository:               https://gitlab.com/libidn/gnulib-mirror.git
   at the commit:            257183ec1ea1517d5ae6dac2e8724a90e23e864a
 * Checking out https://gitlab.com/gnutls/nettle.git to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/devel/nettle ...
git checkout --quiet 228ae2618cfeb84b8d4b189cc428fc55fac462e8
GIT update -->
   repository:               https://gitlab.com/gnutls/nettle.git
   at the commit:            228ae2618cfeb84b8d4b189cc428fc55fac462e8
 * Checking out https://gitlab.com/gnutls/libtasn1.git to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/devel/libtasn1 ...
git checkout --quiet 78204593822b4c1a8e0ca87f57c48e5936b0fe2c
GIT update -->
   repository:               https://gitlab.com/gnutls/libtasn1.git
   at the commit:            78204593822b4c1a8e0ca87f57c48e5936b0fe2c
 * Checking out https://gitlab.com/libidn/gnulib-mirror.git to /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/devel/libtasn1/gnulib ...
git checkout --quiet b5a9fa677847081c9b4f26908272f122b15df8b9
GIT update -->
   repository:               https://gitlab.com/libidn/gnulib-mirror.git
   at the commit:            b5a9fa677847081c9b4f26908272f122b15df8b9
>>> Source unpacked in /var/tmp/portage/net-libs/gnutls-9999/work
>>> Preparing source in /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999 ...
 * Running eautoreconf in '/var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999' ...
 * Running 'autopoint --force' ...
 [ ok ]
 * Running 'gtkdocize --copy' ...
 [ ok ]
 * Running 'libtoolize --install --copy --force --automake' ...
 [ ok ]
 * Running 'aclocal -I m4 -I src/libopts/m4 -I src/gl/m4 -I lib/unistring/m4 --install' ...
 [ !! ]

 * Failed running 'aclocal'!
 *
 * Include in your bug report the contents of:
 *
 *   /var/tmp/portage/net-libs/gnutls-9999/temp/aclocal.out

 * ERROR: net-libs/gnutls-9999::localrepo failed (prepare phase):
 *   Failed running 'aclocal'!
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_prepare
 *   environment, line 2635:  Called eautoreconf
 *   environment, line 1103:  Called eaclocal
 *   environment, line  878:  Called autotools_run_tool '--at-m4flags' 'aclocal' '-I' 'm4' '-I' 'src/libopts/m4' '-I' 'src/gl/m4' '-I' 'lib/unistring/m4' '--install'
 *   environment, line  829:  Called die
 * The specific snippet of code:
 *           die "Failed running '${1}'!";
 *
 * If you need support, post the output of `emerge --info '=net-libs/gnutls-9999::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/gnutls-9999::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/gnutls-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnutls-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999'
 * S: '/var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999'

>>> Failed to emerge net-libs/gnutls-9999, Log file:

>>>  '/var/tmp/portage/net-libs/gnutls-9999/temp/build.log'
 * Messages for package net-libs/gnutls-9999:
 * Failed running 'aclocal'!
 *
 * Include in your bug report the contents of:
 *
 *   /var/tmp/portage/net-libs/gnutls-9999/temp/aclocal.out
 * ERROR: net-libs/gnutls-9999::localrepo failed (prepare phase):
 *   Failed running 'aclocal'!
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_prepare
 *   environment, line 2635:  Called eautoreconf
 *   environment, line 1103:  Called eaclocal
 *   environment, line  878:  Called autotools_run_tool '--at-m4flags' 'aclocal' '-I' 'm4' '-I' 'src/libopts/m4' '-I' 'src/gl/m4' '-I' 'lib/unistring/m4' '--install'
 *   environment, line  829:  Called die
 * The specific snippet of code:
 *           die "Failed running '${1}'!";
 *
 * If you need support, post the output of `emerge --info '=net-libs/gnutls-9999::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/gnutls-9999::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/gnutls-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnutls-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999'
 * S: '/var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999'


aclocal.out:
Code:

***** aclocal *****
***** PWD: /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999
***** aclocal -I m4 -I src/libopts/m4 -I src/gl/m4 -I lib/unistring/m4 --install

aclocal-1.16: error: couldn't open directory 'src/gl/m4': No such file or directory


ebuild:
Code:

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools libtool multilib-minimal

DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols"
HOMEPAGE="https://www.gnutls.org/"

if [[ ${PV} == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git"
fi

LICENSE="GPL-3 LGPL-2.1+"
SLOT="0/30" # libgnutls.so number
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+cxx dane doc examples guile +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind"

REQUIRED_USE="
   test-full? ( cxx dane doc examples guile idn nls openssl pkcs11 seccomp tls-heartbeat tools )"
RESTRICT="!test? ( test )"

# NOTICE: sys-devel/autogen is required at runtime as we
# use system libopts
RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}]
   dev-libs/libunistring:=[${MULTILIB_USEDEP}]
   >=dev-libs/nettle-3.6:=[gmp,${MULTILIB_USEDEP}]
   >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}]
   tools? ( sys-devel/autogen:= )
   dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] )
   guile? ( >=dev-scheme/guile-2:=[networking] )
   nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] )
   pkcs11? ( >=app-crypt/p11-kit-0.23.1:=[${MULTILIB_USEDEP}] )
   idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}
   test? (
      seccomp? ( sys-libs/libseccomp )
   )"
BDEPEND=">=virtual/pkgconfig-0-r1
   doc? ( dev-util/gtk-doc )
   nls? ( sys-devel/gettext )
   tools? ( sys-devel/autogen )
   valgrind? ( dev-util/valgrind )
   test-full? (
      app-crypt/dieharder
      >=app-misc/datefudge-1.22
      dev-libs/softhsm:2[-bindist]
      net-dialup/ppp
      net-misc/socat
   )"

DOCS=(
   README.md
   doc/certtool.cfg
)

HTML_DOCS=()

#pkg_setup() {
   # bug#520818
#   export TZ=UTC

#   use doc && HTML_DOCS+=(
#      doc/gnutls.html
#   )
#}

src_prepare() {
   default

   # force regeneration of autogen-ed files
#   local file
#   for file in $(grep -l AutoGen-ed src/*.c) ; do
#      rm src/$(basename ${file} .c).{c,h} || die
#   done

   # don't try to use system certificate store on macOS, it is
   # confusingly ignoring our ca-certificates and more importantly
   # fails to compile in certain configurations
#   sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die

   # Use sane .so versioning on FreeBSD.
#   elibtoolize
        eautoreconf
}

multilib_src_configure() {
   LINGUAS="${LINGUAS//en/en@boldquot en@quot}"

   local libconf=()

   # TPM needs to be tested before being enabled
   libconf+=( --without-tpm )

   # hardware-accell is disabled on OSX because the asm files force
   #   GNU-stack (as doesn't support that) and when that's removed ld
   #   complains about duplicate symbols
   [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration )

   # Cygwin as does not understand these asm files at all
   [[ ${CHOST} == *-cygwin* ]] && libconf+=( --disable-hardware-acceleration )

   local myeconfargs=(
      $(multilib_native_enable manpages)
      $(multilib_native_use_enable doc gtk-doc)
      $(multilib_native_use_enable doc)
      $(multilib_native_use_enable guile)
      $(multilib_native_use_enable seccomp seccomp-tests)
      $(multilib_native_use_enable test tests)
      $(multilib_native_use_enable test-full full-test-suite)
      $(multilib_native_use_enable tools)
      $(multilib_native_use_enable valgrind valgrind-tests)
      $(use_enable cxx)
      $(use_enable dane libdane)
      $(use_enable nls)
      $(use_enable openssl openssl-compatibility)
      $(use_enable sslv2 ssl2-support)
      $(use_enable sslv3 ssl3-support)
      $(use_enable static-libs static)
      $(use_enable tls-heartbeat heartbeat-support)
      $(use_with idn)
      $(use_with pkcs11 p11-kit)
      --disable-rpath
      --with-default-trust-store-file="${EPREFIX}/etc/ssl/certs/ca-certificates.crt"
      --with-unbound-root-key-file="${EPREFIX}/etc/dnssec/root-anchors.txt"
      --without-included-libtasn1
      $("${S}/configure" --help | grep -o -- '--without-.*-prefix')
   )
   ECONF_SOURCE="${S}" econf "${libconf[@]}" "${myeconfargs[@]}"
}

multilib_src_install_all() {
   einstalldocs
   find "${ED}" -type f -name '*.la' -delete || die

   if use examples; then
      docinto examples
      dodoc doc/examples/*.c
   fi
}


Last edited by shoober420 on Sun May 09, 2021 1:35 am; edited 1 time in total
Back to top
View user's profile Send private message
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Sun May 09, 2021 1:35 am    Post subject: Reply with quote

I needed autogen and "FEATURES="-network-sandbox" to get this ebuild working.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sun May 09, 2021 7:49 am    Post subject: Reply with quote

shoober420 wrote:
"FEATURES="-network-sandbox" to get this ebuild working.

That's just hiding the ugly truth, not a fix. Using FEATURES in an ebuild is also wrong. https://bugs.gentoo.org/174335
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum