View previous topic :: View next topic |
Author |
Message |
ian848uig n00b
Joined: 21 Sep 2023 Posts: 53 Location: Latin America
|
Posted: Wed Oct 02, 2024 5:46 pm Post subject: sys-devel/gcc-15.0.9999::gentoo with broken patch |
|
|
Hi everyone, today as usual I update the Live Ebuils with smart-live-rebuild, but gcc 15 fails because the patch 71_all_PR116878-libcall.patch fails to apply and I come to report this.
Yesterday there were no problems updating gcc, but today it seems that due to the commit fe9e53421889ec5d5c360107a8b9c80b95cbebcf (according to smart-live-rebuild, I tried to look for the commit but it didn't appear), the changes cause problems with the patch.
Here is the output of everything that went wrong:
Code: |
>>> Emerging (1 of 50) sys-devel/gcc-15.0.9999::gentoo
>>> Unpacking source...
* Repository id: gcc.git
* To override fetched repository properties, use:
* EGIT_OVERRIDE_REPO_GCC
* EGIT_OVERRIDE_BRANCH_GCC
* EGIT_OVERRIDE_COMMIT_GCC
* EGIT_OVERRIDE_COMMIT_DATE_GCC
*
* Fetching https://gcc.gnu.org/git/gcc.git ...
git fetch https://gcc.gnu.org/git/gcc.git +refs/heads/master:refs/heads/master
remote: Enumerating objects: 27, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 17 (delta 14), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (17/17), 3.37 KiB | 203.00 KiB/s, done.
From https://gcc.gnu.org/git/gcc
524b9c2e628..1f619fe2592 master -> master
git symbolic-ref refs/git-r3/sys-devel/gcc/15/__main__ refs/heads/master
* Checking out https://gcc.gnu.org/git/gcc.git to /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999 ...
git checkout --quiet master
GIT update -->
repository: https://gcc.gnu.org/git/gcc.git
updating from commit: 524b9c2e6283d55dbe381dc463983d4fd7c9705a
to commit: 1f619fe25925a5f79b9c33962e7a72e1f9fa4444
gcc/testsuite/c-c++-common/torture/pr116098-2.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
gcc/testsuite/g++.dg/torture/pr116098-1.C | 33 +++++++++++++++++++++++++++++++++
gcc/testsuite/gcc.dg/strict-flex-array-3.c | 19 +++++++++++++++++--
gcc/tree-ssa-phiopt.cc | 28 +++++++++++++++++++++++++++-
4 files changed, 123 insertions(+), 3 deletions(-)
* Fetching patchset from git as PATCH_VER is unset
* Repository id: proj_gcc-patches.git
* To override fetched repository properties, use:
* EGIT_OVERRIDE_REPO_PROJ_GCC_PATCHES
* EGIT_OVERRIDE_BRANCH_PROJ_GCC_PATCHES
* EGIT_OVERRIDE_COMMIT_PROJ_GCC_PATCHES
* EGIT_OVERRIDE_COMMIT_DATE_PROJ_GCC_PATCHES
*
* Fetching https://anongit.gentoo.org/git/proj/gcc-patches.git ...
git fetch https://anongit.gentoo.org/git/proj/gcc-patches.git +refs/heads/master:refs/heads/master
git symbolic-ref refs/git-r3/sys-devel/gcc/15/__main__ refs/heads/master
* Checking out https://anongit.gentoo.org/git/proj/gcc-patches.git to /var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch.tmp ...
git checkout --quiet master
GIT update -->
repository: https://anongit.gentoo.org/git/proj/gcc-patches.git
at the commit: 4dffefc137f5ba6524cdb6eb598313646c5df6c8
>>> Source unpacked in /var/tmp/portage/sys-devel/gcc-15.0.9999/work
>>> Preparing source in /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999 ...
* Applying Gentoo patches ...
* Applying 01_all_default-fortify-source.patch ... [ ok ]
* Applying 02_all_default-warn-format-security.patch ... [ ok ]
* Applying 03_all_default-warn-trampolines.patch ... [ ok ]
* Applying 04_all_nossp-on-nostdlib.patch ... [ ok ]
* Applying 05_all_alpha-mieee-default.patch ... [ ok ]
* Applying 06_all_ia64_note.GNU-stack.patch ... [ ok ]
* Applying 08_all_libiberty-pic.patch ... [ ok ]
* Applying 09_all_esysroot.patch ... [ ok ]
* Applying 10_all_sh-drop-sysroot-suffix.patch ... [ ok ]
* Applying 11_all_ia64-TEXTREL.patch ... [ ok ]
* Applying 14_all_respect-build-cxxflags.patch ... [ ok ]
* Applying 15_all_DEF_GENTOO_GLIBCXX_ASSERTIONS.patch ...
patching file gcc/c-family/c-cppbuiltin.cc
Hunk #1 succeeded at 953 with fuzz 2 (offset -4 lines). [ ok ]
* Applying 20_all_libstdcxx-no-vtv.patch ... [ ok ]
* Applying 22_all_default_ssp-buffer-size.patch ... [ ok ]
* Applying 23_all_DEF_GENTOO_ZNOW-z-now.patch ... [ ok ]
* Applying 24_all_DEF_GENTOO_SCP-fstack-clash-protection.patch ... [ ok ]
* Applying 26_all_enable-cet.patch ... [ ok ]
* Applying 28_all_drop_CFLAGS_sed.patch ... [ ok ]
* Applying 29_all_msgfmt-libstdc++-link.patch ... [ ok ]
* Applying 30_all_tar_libstdc++-link.patch ... [ ok ]
* Applying 31_all_testsuite-fortran-pass-Wcomplain-wrong-lang-where-ap.patch ... [ ok ]
* Applying 71_all_PR116878-libcall.patch ...
patching file gcc/testsuite/gcc.target/i386/switch-exp-transform-1.c
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 30.
2 out of 2 hunks FAILED -- saving rejects to file gcc/testsuite/gcc.target/i386/switch-exp-transform-1.c.rej
patching file gcc/tree-switch-conversion.cc
Hunk #1 FAILED at 133.
Hunk #2 FAILED at 371.
Hunk #3 FAILED at 467.
3 out of 3 hunks FAILED -- saving rejects to file gcc/tree-switch-conversion.cc.rej
patching file gcc/tree-switch-conversion.h
Hunk #1 FAILED at 920.
1 out of 1 hunk FAILED -- saving rejects to file gcc/tree-switch-conversion.h.rej [ !! ]
* ERROR: sys-devel/gcc-15.0.9999::gentoo failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/71_all_PR116878-libcall.patch
*
* Call stack:
* ebuild.sh, line 136: Called src_prepare
* environment, line 4004: Called toolchain_src_prepare
* environment, line 5772: Called do_gcc_gentoo_patches
* environment, line 1448: Called eapply '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/01_all_default-fortify-source.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/02_all_default-warn-format-security.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/03_all_default-warn-trampolines.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/04_all_nossp-on-nostdlib.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/05_all_alpha-mieee-default.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/06_all_ia64_note.GNU-stack.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/08_all_libiberty-pic.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/09_all_esysroot.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/10_all_sh-drop-sysroot-suffix.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/11_all_ia64-TEXTREL.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/14_all_respect-build-cxxflags.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/15_all_DEF_GENTOO_GLIBCXX_ASSERTIONS.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/20_all_libstdcxx-no-vtv.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/22_all_default_ssp-buffer-size.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/23_all_DEF_GENTOO_ZNOW-z-now.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/24_all_DEF_GENTOO_SCP-fstack-clash-protection.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/26_all_enable-cet.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/28_all_drop_CFLAGS_sed.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/29_all_msgfmt-libstdc++-link.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/30_all_tar_libstdc++-link.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/31_all_testsuite-fortran-pass-Wcomplain-wrong-lang-where-ap.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/71_all_PR116878-libcall.patch'
* environment, line 1582: Called _eapply_patch '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/71_all_PR116878-libcall.patch'
* environment, line 1520: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/71_all_PR116878-libcall.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=sys-devel/gcc-15.0.9999::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-15.0.9999::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-15.0.9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-15.0.9999/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999'
* S: '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999'
>>> Failed to emerge sys-devel/gcc-15.0.9999, Log file:
>>> '/var/tmp/portage/sys-devel/gcc-15.0.9999/temp/build.log'
* Messages for package sys-devel/gcc-15.0.9999:
* ERROR: sys-devel/gcc-15.0.9999::gentoo failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/71_all_PR116878-libcall.patch
*
* Call stack:
* ebuild.sh, line 136: Called src_prepare
* environment, line 4004: Called toolchain_src_prepare
* environment, line 5772: Called do_gcc_gentoo_patches
* environment, line 1448: Called eapply '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/01_all_default-fortify-source.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/02_all_default-warn-format-security.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/03_all_default-warn-trampolines.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/04_all_nossp-on-nostdlib.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/05_all_alpha-mieee-default.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/06_all_ia64_note.GNU-stack.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/08_all_libiberty-pic.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/09_all_esysroot.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/10_all_sh-drop-sysroot-suffix.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/11_all_ia64-TEXTREL.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/14_all_respect-build-cxxflags.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/15_all_DEF_GENTOO_GLIBCXX_ASSERTIONS.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/20_all_libstdcxx-no-vtv.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/22_all_default_ssp-buffer-size.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/23_all_DEF_GENTOO_ZNOW-z-now.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/24_all_DEF_GENTOO_SCP-fstack-clash-protection.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/26_all_enable-cet.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/28_all_drop_CFLAGS_sed.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/29_all_msgfmt-libstdc++-link.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/30_all_tar_libstdc++-link.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/31_all_testsuite-fortran-pass-Wcomplain-wrong-lang-where-ap.patch' '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/71_all_PR116878-libcall.patch'
* environment, line 1582: Called _eapply_patch '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/71_all_PR116878-libcall.patch'
* environment, line 1520: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/sys-devel/gcc-15.0.9999/work/patch/71_all_PR116878-libcall.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=sys-devel/gcc-15.0.9999::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-15.0.9999::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-15.0.9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-15.0.9999/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999'
* S: '/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999'
|
Still, where can I report bugs like this in case I run into "failed patch" issues?
NOTE: I'm running the gentoo-source kernel which I didn't finish configuring, but that's not the cause of this.
NOTE2: I also have a live ebuild of gcc 14 installed, but I didn't test if I can upgrade.
I hope someone has a suggestion on how to fix this. _________________ I like everything that is Linux, free and open source software. I am a teenager |
|
Back to top |
|
|
ian848uig n00b
Joined: 21 Sep 2023 Posts: 53 Location: Latin America
|
Posted: Wed Oct 02, 2024 10:57 pm Post subject: |
|
|
I tried updating GCC-14 and it had no problems compiling. _________________ I like everything that is Linux, free and open source software. I am a teenager |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22865
|
Posted: Wed Oct 02, 2024 11:08 pm Post subject: |
|
|
Live ebuilds track upstream as changes happen. This makes live ebuilds susceptible to patches spontaneously rotting when upstream modifies that same area. The patch will need to be updated or removed, depending on what upstream changed. |
|
Back to top |
|
|
ian848uig n00b
Joined: 21 Sep 2023 Posts: 53 Location: Latin America
|
Posted: Thu Oct 03, 2024 12:26 am Post subject: |
|
|
Fixed: Updated the repository and GGC 15 is now building. _________________ I like everything that is Linux, free and open source software. I am a teenager |
|
Back to top |
|
|
ian848uig n00b
Joined: 21 Sep 2023 Posts: 53 Location: Latin America
|
Posted: Thu Oct 03, 2024 1:19 am Post subject: |
|
|
And how do you report these bugs with the patches so that the Live Ebuild maintainer is aware of this? Also, the GCC 15 live ebuild is from the Gentoo repository. _________________ I like everything that is Linux, free and open source software. I am a teenager |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2035
|
Posted: Fri Oct 04, 2024 11:19 am Post subject: |
|
|
For GCC in particular, a ping on IRC in #gentoo-toolchain usually works best, although I'm always watching the bugs for patches where we've added something (so it's usually a case of me being asleep when it got committed). Otherwise a bug on bugs.gentoo.org. |
|
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
|
|