View previous topic :: View next topic |
Author |
Message |
JonathanVQP n00b
Joined: 30 Nov 2020 Posts: 58
|
Posted: Wed Dec 09, 2020 6:53 pm Post subject: Can't emerge media-libs/x264-0.0.20190214 |
|
|
I am trying to emerge gdm for Gnome and I got this error trying to emerge x264.0.0.20190214. I see that there is an existing bug dealing with applying the lto.patch. The latest I can see in the bug list regarding the discussions of this is dated 6/14/2020. Has this been resolved yet? And what is the temporary workaround if there is one? Thanks! Jonathan
Code: | * Package: media-libs/x264-0.0.20190214
* Repository: gentoo
* Maintainer: media-video@gentoo.org
* USE: abi_x86_64 amd64 cpu_flags_x86_sse elibc_glibc interlaced kernel_linux threads userland_GNU
* FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox
* FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr'
* CFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* CXXFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* FFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* FCFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* F77FLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* LDFLAGS='-Wl,-O1 -Wl,--as-needed'
* MAKEOPTS='-j7 -l6'
* gcc (Gentoo 10.2.0-r3 p4) 10.2.0
* g++ (Gentoo 10.2.0-r3 p4) 10.2.0
* GNU ld (Gentoo 2.35.1 p2) 2.35.1
* Linux gentooVM 5.4.80-gentoo-r1 #4 SMP Sat Dec 5 21:31:06 EST 2020 x86_64 AMD FX(tm)-8150 Eight-Core Processor AuthenticAMD GNU/Linux
>>> Unpacking source...
>>> Unpacking x264-snapshot-20190214-2245.tar.bz2 to /var/tmp/portage/media-libs/x264-0.0.20190214/work
>>> Source unpacked in /var/tmp/portage/media-libs/x264-0.0.20190214/work
>>> Preparing source in /var/tmp/portage/media-libs/x264-0.0.20190214/work/x264-snapshot-20190214-2245 ...
>>> Source prepared.
* Applying lto.patch ...
patching file configure
Hunk #1 FAILED at 1017.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej
[ !! ]
* ERROR: media-libs/x264-0.0.20190214::gentoo failed (configure phase):
* patch -p1 failed with /var/db/repos/lto-overlay/sys-config/ltoize/files/patches/media-libs/x264/lto.patch
*
* Call stack:
* ebuild.sh, line 762: Called __ebuild_main 'configure'
* phase-functions.sh, line 970: Called __source_all_bashrcs
* ebuild.sh, line 409: Called __try_source '--no-qa' '/etc/portage/bashrc'
* ebuild.sh, line 458: Called source '/etc/portage/bashrc'
* bashrc, line 6: Called BashrcdMain '/etc/portage/bashrc'
* environment, line 601: Called LTOPatch
* environment, line 1268: Called eapply '/var/db/repos/lto-overlay/sys-config/ltoize/files/patches/media-libs/x264/lto.patch'
* environment, line 1815: Called _eapply_patch '/var/db/repos/lto-overlay/sys-config/ltoize/files/patches/media-libs/x264/lto.patch'
* environment, line 1753: Called __helpers_die 'patch -p1 failed with /var/db/repos/lto-overlay/sys-config/ltoize/files/patches/media-libs/x264/lto.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=media-libs/x264-0.0.20190214::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/x264-0.0.20190214::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/x264-0.0.20190214/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/x264-0.0.20190214/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/x264-0.0.20190214/work/x264-snapshot-20190214-2245'
* S: '/var/tmp/portage/media-libs/x264-0.0.20190214/work/x264-snapshot-20190214-2245'
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30885 Location: here
|
Posted: Wed Dec 09, 2020 7:07 pm Post subject: |
|
|
lto.patch, I think, is applied by ltoize from lto-overlay so isn't a official patch, you should find a solution on https://github.com/InBetweenNames/gentooLTO _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
JonathanVQP n00b
Joined: 30 Nov 2020 Posts: 58
|
Posted: Wed Dec 09, 2020 7:18 pm Post subject: Can't emerge media-libs/x264-0.0.20190214 |
|
|
Thanks, I have already modified my make.conf to allow for the lto-overlay functionality. I am now executing "emerge -e --keep-going @world" to see what happens. With 663 packages to emerge, this is going to take awhile.... |
|
Back to top |
|
|
JonathanVQP n00b
Joined: 30 Nov 2020 Posts: 58
|
Posted: Sat Dec 12, 2020 12:17 am Post subject: Can't emerge media-libs/x264-0.0.20190214 |
|
|
It appears that the lto.patch failed....
Code: |
* Package: media-libs/x264-0.0.20190214
* Repository: gentoo
* Maintainer: media-video@gentoo.org
* USE: abi_x86_64 amd64 cpu_flags_x86_sse elibc_glibc interlaced kernel_linux threads userland_GNU
* FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox
* FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr'
* CFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* CXXFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* FFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* FCFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* F77FLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* LDFLAGS='-Wl,-O1 -Wl,--as-needed'
* MAKEOPTS='-j7 -l6'
* gcc (Gentoo 10.2.0-r3 p4) 10.2.0
* g++ (Gentoo 10.2.0-r3 p4) 10.2.0
* GNU ld (Gentoo 2.35.1 p2) 2.35.1
* Linux gentooVM 5.4.80-gentoo-r1 #4 SMP Sat Dec 5 21:31:06 EST 2020 x86_64 AMD FX(tm)-8150 Eight-Core Processor AuthenticAMD GNU/Linux
>>> Unpacking source...
>>> Unpacking x264-snapshot-20190214-2245.tar.bz2 to /var/tmp/portage/media-libs/x264-0.0.20190214/work
>>> Source unpacked in /var/tmp/portage/media-libs/x264-0.0.20190214/work
>>> Preparing source in /var/tmp/portage/media-libs/x264-0.0.20190214/work/x264-snapshot-20190214-2245 ...
>>> Source prepared.
* Applying lto.patch ...
patching file configure
Hunk #1 FAILED at 1017.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej
[ !! ]
* ERROR: media-libs/x264-0.0.20190214::gentoo failed (configure phase):
* patch -p1 failed with /var/db/repos/lto-overlay/sys-config/ltoize/files/patches/media-libs/x264/lto.patch
*
* Call stack:
* ebuild.sh, line 762: Called __ebuild_main 'configure'
* phase-functions.sh, line 970: Called __source_all_bashrcs
* ebuild.sh, line 409: Called __try_source '--no-qa' '/etc/portage/bashrc'
* ebuild.sh, line 458: Called source '/etc/portage/bashrc'
* bashrc, line 6: Called BashrcdMain '/etc/portage/bashrc'
* environment, line 602: Called LTOPatch
* environment, line 1269: Called eapply '/var/db/repos/lto-overlay/sys-config/ltoize/files/patches/media-libs/x264/lto.patch'
* environment, line 1816: Called _eapply_patch '/var/db/repos/lto-overlay/sys-config/ltoize/files/patches/media-libs/x264/lto.patch'
* environment, line 1754: Called __helpers_die 'patch -p1 failed with /var/db/repos/lto-overlay/sys-config/ltoize/files/patches/media-libs/x264/lto.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=media-libs/x264-0.0.20190214::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/x264-0.0.20190214::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/x264-0.0.20190214/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/x264-0.0.20190214/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/x264-0.0.20190214/work/x264-snapshot-20190214-2245'
* S: '/var/tmp/portage/media-libs/x264-0.0.20190214/work/x264-snapshot-20190214-2245'
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30885 Location: here
|
Posted: Sat Dec 12, 2020 8:10 am Post subject: |
|
|
You can't skip lto.patch? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
JonathanVQP n00b
Joined: 30 Nov 2020 Posts: 58
|
Posted: Sat Dec 12, 2020 7:13 pm Post subject: |
|
|
I don't know how to skip the patch since it appears that it needs to run it. I know that people have installed Gnome so I can't be the only person having this problem! |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21593
|
Posted: Sat Dec 12, 2020 8:49 pm Post subject: |
|
|
You can if you are the only person trying to install this version of x264 with this LTOize patch. Could you repeat your last post with fewer pronouns? It's not clear to me which objects are referred to by each it. According to your output, a local customization is responsible for trying to apply the failed lto patch to the x264 sources. People without this local customization will not attempt this patch, and will not see a problem. |
|
Back to top |
|
|
JonathanVQP n00b
Joined: 30 Nov 2020 Posts: 58
|
Posted: Sat Dec 12, 2020 9:14 pm Post subject: |
|
|
Hi Hu,
In my previous message, "it" refers to the x264-0.0.2190214 package.
Today when I did an emerge --sync, it downloaded x264-0.0.0903-r1 package. This also generated an error even when I disabled the lto-overlay.
Code: |
* Package: media-libs/x264-0.0.20190903-r1
* Repository: gentoo
* Maintainer: media-video@gentoo.org
* USE: abi_x86_32 abi_x86_64 amd64 cpu_flags_x86_sse elibc_glibc interlaced kernel_linux threads userland_GNU
* FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox
* FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr'
* CFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* CXXFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* FFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* FCFLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* F77FLAGS='-Os -falign-functions -falign-jumps -falign-loops -falign-labels -freorder-blocks -freorder-blocks-and-partition -ftree-vect-loop-version -march=native -fomit-frame-pointer -fno-stack-protector -nopie -pipe -Wl,-O1 -Wl,--as-needed'
* LDFLAGS='-Wl,-O1 -Wl,--as-needed'
* MAKEOPTS='-j7 -l6'
* gcc (Gentoo 10.2.0-r3 p4) 10.2.0
* g++ (Gentoo 10.2.0-r3 p4) 10.2.0
* GNU ld (Gentoo 2.35.1 p2) 2.35.1
* Linux gentooVM 5.4.80-gentoo-r1 #4 SMP Sat Dec 5 21:31:06 EST 2020 x86_64 AMD FX(tm)-8150 Eight-Core Processor AuthenticAMD GNU/Linux
>>> Unpacking source...
>>> Unpacking x264-snapshot-20190903-2245.tar.bz2 to /var/tmp/portage/media-libs/x264-0.0.20190903-r1/work
>>> Source unpacked in /var/tmp/portage/media-libs/x264-0.0.20190903-r1/work
>>> Preparing source in /var/tmp/portage/media-libs/x264-0.0.20190903-r1/work/x264-snapshot-20190903-2245 ...
* Applying x264-0.0.20190903-STRINGS.patch ...
[ ok ]
>>> Source prepared.
* Applying lto.patch ...
[ ok ]
* lto-overlay: LTO patches applied.
>>> Configuring source in /var/tmp/portage/media-libs/x264-0.0.20190903-r1/work/x264-snapshot-20190903-2245 ...
* abi_x86_32.x86: running multilib-minimal_abi_src_configure
No working C compiler found.
* ERROR: media-libs/x264-0.0.20190903-r1::gentoo failed (configure phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 125: Called src_configure
* environment, line 3241: Called multilib-minimal_src_configure
* environment, line 2579: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 2832: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2509: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2507: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 1614: Called multilib-minimal_abi_src_configure
* environment, line 2573: Called multilib_src_configure
* environment, line 3058: Called die
* The specific snippet of code:
* "${S}/configure" --prefix="${EPREFIX}"/usr --libdir="${EPREFIX}"/usr/$(get_libdir) --disable-cli --disable-avs --disable-lavf --disable-swscale --disable-ffms --disable-gpac --enable-pic --enable-shared --host="${CHOST}" --cross-prefix="${CHOST}-" $(usex interlaced "" "--disable-interlaced") $(usex opencl "" "--disable-opencl") $(usex static-libs "--enable-static" "") $(usex threads "" "--disable-thread") ${asm_conf} || die
*
* If you need support, post the output of `emerge --info '=media-libs/x264-0.0.20190903-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/x264-0.0.20190903-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/x264-0.0.20190903-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/x264-0.0.20190903-r1/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/x264-0.0.20190903-r1/work/x264-snapshot-20190903-2245-abi_x86_32.x86'
* S: '/var/tmp/portage/media-libs/x264-0.0.20190903-r1/work/x264-snapshot-20190903-2245'
|
Code: |
* abi_x86_32.x86: running multilib-minimal_abi_src_configure
No working C compiler found.
* ERROR: media-libs/x264-0.0.20190903-r1::gentoo failed (configure phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 125: Called src_configure
* environment, line 3241: Called multilib-minimal_src_configure
* environment, line 2579: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 2832: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2509: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2507: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 1614: Called multilib-minimal_abi_src_configure
* environment, line 2573: Called multilib_src_configure
* environment, line 3058: Called die
* The specific snippet of code:
* "${S}/configure" --prefix="${EPREFIX}"/usr --libdir="${EPREFIX}"/usr/$(get_libdir) --disable-cli --disable-avs --disable-lavf --disable-swscale --disable-ffms --disable-gpac --enable-pic --enable-shared --host="${CHOST}" --cross-prefix="${CHOST}-" $(usex interlaced "" "--disable-interlaced") $(usex opencl "" "--disable-opencl") $(usex static-libs "--enable-static" "") $(usex threads "" "--disable-thread") ${asm_conf} || die
*
* If you need support, post the output of `emerge --info '=media-libs/x264-0.0.20190903-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/x264-0.0.20190903-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/x264-0.0.20190903-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/x264-0.0.20190903-r1/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/x264-0.0.20190903-r1/work/x264-snapshot-20190903-2245-abi_x86_32.x86'
* S: '/var/tmp/portage/media-libs/x264-0.0.20190903-r1/work/x264-snapshot-20190903-2245'
|
|
|
Back to top |
|
|
|
|
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
|
|