• [gentoo-dev] [PATCH] toolchain.eclass: the configure script shebang wit

    From heroxbd@gentoo.org@21:1/5 to All on Wed Jun 1 17:40:01 2022
    From: Benda Xu <heroxbd@gentoo.org>

    It executes on CBUILD environment.
    ---
    eclass/toolchain.eclass | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
    index 488648a82ab5..33306d3d92b1 100644
    --- a/eclass/toolchain.eclass
    +++ b/eclass/toolchain.eclass
    @@ -1655,7 +1655,7 @@ toolchain_src_compile() {
    # use of bash. Newer ones will auto-detect, but this is not harmful.
    # This needs to be set for compile as well, as it's used in libtool
    # generation, which will break install otherwise (at least in 3.3.6): bug #664486
    - CONFIG_SHELL="${EPREFIX}/bin/bash" \
    + CONFIG_SHELL="${BROOT}/bin/bash" \
    gcc_do_make ${GCC_MAKE_TARGET}
    }

    --
    2.34.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From James Le Cuirot@21:1/5 to heroxbd@gentoo.org on Wed Jun 1 18:40:01 2022
    On Wed, 2022-06-01 at 23:34 +0800, heroxbd@gentoo.org wrote:
    From: Benda Xu <heroxbd@gentoo.org>

    It executes on CBUILD environment.
    ---
    eclass/toolchain.eclass | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
    index 488648a82ab5..33306d3d92b1 100644
    --- a/eclass/toolchain.eclass
    +++ b/eclass/toolchain.eclass
    @@ -1655,7 +1655,7 @@ toolchain_src_compile() {
    # use of bash. Newer ones will auto-detect, but this is not harmful.
    # This needs to be set for compile as well, as it's used in libtool
    # generation, which will break install otherwise (at least in 3.3.6): bug #664486
    - CONFIG_SHELL="${EPREFIX}/bin/bash" \
    + CONFIG_SHELL="${BROOT}/bin/bash" \
    gcc_do_make ${GCC_MAKE_TARGET}
    }

    Ack.


    -----BEGIN PGP SIGNATURE-----

    iQJFBAABCAAvFiEEPxcZ3tkwcedKm2a8EiZBXQDdMTcFAmKXlaIRHGNoZXdpQGdl bnRvby5vcmcACgkQEiZBXQDdMTfc8g//VIf2YAODXRZ7fAIGzjrNV35O/vna1IWM 7hnmCXUFEMMyExNTikz0Ec83Z8UO/TdevyjC2FPCTHmKfCyym/gWMrgDmYmnMmHT 5delIzl1G/Mlj7HniDyxIJl7yO5+qauamaZh9eMdVc+5KMEcuE/r4FNkN/PbbyCl oTyAQylAWbCd9f/WIkgW9CzdCczAAA6NyQpuQrgcPfpImbA66v0VQuEfdxqsapRg NOUdxxyYipDScLAK/shw/AoPsiNo0OKWJTbvu0RmqHSzJ7LBIXSaH+/9jz/Z+TRq 8pQsFCHhaFR+xdMxVacHNABUkq5sKG5acfVoktGAQ9VE91LV+PPfwy1BVJ7CNTee ZjpHPrTRQlIsSyPb+s4E71bXNjJuUy5isUZQOFc2Q2SfvkrbqC4WTahs1hZj+NqM uWXBLXZZ+fVjfxaffnLquMe1fOwKw+xym1/qI9FtkJzbtdlQcrpRS1IK5Oapfl3c W6g+sPDq6wX51zYm7yslZ5gcBOt/uEgW5aHz3AnZTR9cOgUoAmXfn/KLh4VeQGLF jkmMgIQInVoG64bsNzl6gzedESqRetw7pGTXrUrUzotq62naBqMpYQbZBJ/kuP1P ZrU2v60xJty/q179RCx3OG97pwJ8tVR/OmKFiWcM3DSpw+CFii/rfS/fgbjKD85H
    VHHXiFMd75Y=
    =o5N0
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to All on Wed Jun 1 22:10:02 2022
    On 1 Jun 2022, at 16:34, heroxbd@gentoo.org wrote:

    From: Benda Xu <heroxbd@gentoo.org>

    It executes on CBUILD environment.
    ---
    eclass/toolchain.eclass | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
    index 488648a82ab5..33306d3d92b1 100644
    --- a/eclass/toolchain.eclass
    +++ b/eclass/toolchain.eclass
    @@ -1655,7 +1655,7 @@ toolchain_src_compile() {
    # use of bash. Newer ones will auto-detect, but this is not harmful.
    # This needs to be set for compile as well, as it's used in libtool
    # generation, which will break install otherwise (at least in 3.3.6): bug #664486
    - CONFIG_SHELL="${EPREFIX}/bin/bash" \
    + CONFIG_SHELL="${BROOT}/bin/bash" \
    gcc_do_make ${GCC_MAKE_TARGET}
    }

    --
    2.34.1



    Please remember to CC the eclass maintainers on patches.

    Anyway, lgtm, thanks, I'll push.


    -----BEGIN PGP SIGNATURE-----

    iQGTBAEBCgB9FiEEYOpPv/uDUzOcqtTy9JIoEO6gSDsFAmKXxYFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYw RUE0RkJGRkI4MzUzMzM5Q0FBRDRGMkY0OTIyODEwRUVBMDQ4M0IACgkQ9JIoEO6g SDsL+gf/Q+l/bdmsAcnmwBS6Z/sjMCQzO8nfeTEH49wUdXkuBIGCM42hV2WtQ99K dY0tdyVoVMrivHuSfLytqV7gYW1cqbRKaNAGON7TSPLm7eKCOVNGdJcK+EBxTtwy BI/EDyR/VJyLXujNenHsgU5Cw/34zdLR3Lx+Gpm3mfHBlwqzZ84Dmb8THC8zdB8j jC7jZlYCFoojxtf5GL+DypkLmF5RKMwla1bg6yi6cTF0hdv4FVJIemcd5d7Fy5/I H1V4t9q3RxgFyQJOuJRAwK+qP25baF7DXz9NBK6kOp1FiB7vrunoUXs6x9mQkK3b DTSK86lxh+hTrAvtrdzG1Db0OLOJOg==
    =cp2A
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)