Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] how to call ./bootstrap in an ebuild
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 4:41 pm    Post subject: [solved] how to call ./bootstrap in an ebuild Reply with quote

Im trying to compile a program that uses ./bootstrap to start the build process. I cant seem to make it run, even when I use eautoreconf. The bootstrap file needs to be called before running the configure script for this particular project.

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


Joined: 06 Mar 2007
Posts: 21724

PostPosted: Sat May 08, 2021 5:55 pm    Post subject: Reply with quote

I think the correct form would be
Code:
src_prepare() {
    ./bootstrap
}
If this does not work for you, please describe how it fails.
Back to top
View user's profile Send private message
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Sat May 08, 2021 6:17 pm    Post subject: Reply with quote

Im now getting this error during compile.

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
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
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 ...
Submodule 'tests/suite/tls-fuzzer/python-ecdsa' (https://github.com/warner/python-ecdsa) registered for path 'tests/suite/tls-fuzzer/python-ecdsa'
Submodule 'tests/suite/tls-fuzzer/tlsfuzzer' (https://github.com/tomato42/tlsfuzzer.git) registered for path 'tests/suite/tls-fuzzer/tlsfuzzer'
Submodule 'tests/suite/tls-fuzzer/tlslite-ng' (https://github.com/tomato42/tlslite-ng.git) registered for path 'tests/suite/tls-fuzzer/tlslite-ng'
Submodule 'devel/nettle' (https://gitlab.com/gnutls/nettle.git) registered for path 'devel/nettle'
Submodule 'devel/openssl' (https://github.com/openssl/openssl.git) registered for path 'devel/openssl'
Submodule 'devel/libtasn1' (https://gitlab.com/gnutls/libtasn1.git) registered for path 'devel/libtasn1'
./bootstrap: 269: autogen: not found
./bootstrap: Error: 'autogen' not found

./bootstrap: Please install the prerequisite programs
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
/var/tmp/portage/net-libs/gnutls-9999/temp/environment: line 2538: /var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999/configure: No such file or directory
 * ERROR: net-libs/gnutls-9999::localrepo failed (configure phase):
 *   no configure script found
 *
 * Call stack:
 *          ebuild.sh, line  125:  Called src_configure
 *        environment, line 2632:  Called multilib-minimal_src_configure
 *        environment, line 2068:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *        environment, line 2321:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 1998:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 1996:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *        environment, line  688:  Called multilib-minimal_abi_src_configure
 *        environment, line 2062:  Called multilib_src_configure
 *        environment, line 2539:  Called econf '--without-tpm' '--disable-manpages' '--disable-gtk-doc' '--disable-doc' '--disable-guile' '--disable-seccomp-tests' '--disable-tests' '--disable-full-test-suite' '--disable-tools' '--disable-valgrind-tests' '--enable-cxx' '--disable-libdane' '--disable-nls' '--enable-openssl-compatibility' '--disable-ssl2-support' '--disable-ssl3-support' '--disable-static' '--disable-heartbeat-support' '--with-idn' '--without-p11-kit' '--disable-rpath' '--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt' '--with-unbound-root-key-file=/etc/dnssec/root-anchors.txt' '--without-included-libtasn1'
 *   phase-helpers.sh, line  686:  Called die
 * The specific snippet of code:
 *         die "no configure script found"
 *
 * 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-abi_x86_32.x86'
 * 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:
 * ERROR: net-libs/gnutls-9999::localrepo failed (configure phase):
 *   no configure script found
 *
 * Call stack:
 *          ebuild.sh, line  125:  Called src_configure
 *        environment, line 2632:  Called multilib-minimal_src_configure
 *        environment, line 2068:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *        environment, line 2321:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 1998:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *        environment, line 1996:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *        environment, line  688:  Called multilib-minimal_abi_src_configure
 *        environment, line 2062:  Called multilib_src_configure
 *        environment, line 2539:  Called econf '--without-tpm' '--disable-manpages' '--disable-gtk-doc' '--disable-doc' '--disable-guile' '--disable-seccomp-tests' '--disable-tests' '--disable-full-test-suite' '--disable-tools' '--disable-valgrind-tests' '--enable-cxx' '--disable-libdane' '--disable-nls' '--enable-openssl-compatibility' '--disable-ssl2-support' '--disable-ssl3-support' '--disable-static' '--disable-heartbeat-support' '--with-idn' '--without-p11-kit' '--disable-rpath' '--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt' '--with-unbound-root-key-file=/etc/dnssec/root-anchors.txt' '--without-included-libtasn1'
 *   phase-helpers.sh, line  686:  Called die
 * The specific snippet of code:
 *         die "no configure script found"
 *
 * 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-abi_x86_32.x86'
 * S: '/var/tmp/portage/net-libs/gnutls-9999/work/gnutls-9999'


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
        ./bootstrap
}

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
}
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21724

PostPosted: Sat May 08, 2021 7:25 pm    Post subject: Reply with quote

shoober420 wrote:
Code:
./bootstrap: 269: autogen: not found
./bootstrap: Error: 'autogen' not found

./bootstrap: Please install the prerequisite programs
Also, your ebuild should have an || die on the call to bootstrap, so that it does not continue on if the bootstrap script failed, as it did here.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sat May 08, 2021 7:35 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

Playing with live ebuilds is not supported.
Its no even available it the ::gentoo repo
Code:
$ eix net-libs/gnutls
[I] net-libs/gnutls
     Available versions:  3.6.15(0/30)^t{tbz2} (~)3.7.1(0/30)^


Its in your own repo.
Code:
emerge --info '=net-libs/gnutls-9999::localrepo'

That makes it more unsuppported.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
shoober420
Apprentice
Apprentice


Joined: 22 May 2017
Posts: 223

PostPosted: Sat May 08, 2021 9:08 pm    Post subject: Reply with quote

Unfortunately, adding "|| die" to the end of the build didnt work. I still have errors.

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
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
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 ...
Submodule 'tests/suite/tls-fuzzer/python-ecdsa' (https://github.com/warner/python-ecdsa) registered for path 'tests/suite/tls-fuzzer/python-ecdsa'
Submodule 'tests/suite/tls-fuzzer/tlsfuzzer' (https://github.com/tomato42/tlsfuzzer.git) registered for path 'tests/suite/tls-fuzzer/tlsfuzzer'
Submodule 'tests/suite/tls-fuzzer/tlslite-ng' (https://github.com/tomato42/tlslite-ng.git) registered for path 'tests/suite/tls-fuzzer/tlslite-ng'
Submodule 'devel/nettle' (https://gitlab.com/gnutls/nettle.git) registered for path 'devel/nettle'
Submodule 'devel/openssl' (https://github.com/openssl/openssl.git) registered for path 'devel/openssl'
Submodule 'devel/libtasn1' (https://gitlab.com/gnutls/libtasn1.git) registered for path 'devel/libtasn1'
./bootstrap: 269: autogen: not found
./bootstrap: Error: 'autogen' not found

./bootstrap: Please install the prerequisite programs
 * ERROR: net-libs/gnutls-9999::localrepo failed (prepare phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 125:  Called src_prepare
 *   environment, line 2648:  Called die
 * The specific snippet of code:
 *       ./bootstrap || die
 *
 * 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:
 * ERROR: net-libs/gnutls-9999::localrepo failed (prepare phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 125:  Called src_prepare
 *   environment, line 2648:  Called die
 * The specific snippet of code:
 *       ./bootstrap || die
 *
 * 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'
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21724

PostPosted: Sat May 08, 2021 10:48 pm    Post subject: Reply with quote

Yes, but now you have the right kind of error. That || die stopped the ebuild when the bootstrap failed, rather than letting the ebuild continue on and produce confusing/misleading errors later. Now, you need to fix bootstrap, as I hinted above.
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:34 am    Post subject: Reply with quote

I finally got it, and it was by accident. I wrongfully assumed autogen was installed on my system, and it wasnt. Installing autogen got me further in the build process. Then I encountered the same error as I did with librsvg, that will not allow internet connection inside the build environment. So setting "FEATURES="-network-sandbox" is required for this package too.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21724

PostPosted: Sun May 09, 2021 2:37 am    Post subject: Reply with quote

shoober420 wrote:
So setting "FEATURES="-network-sandbox" is required for this package too.
No, patching the build system is required for this package.
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