Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873505 - sys-devel/gcc[openmp]: upgrades break sys-devel/gettext[openmp] (www-client/w3m-0.5.3_p20220429-r1 - /.../gmsgfmt: error while opening de.1po for reading: No such file or directory)
Summary: sys-devel/gcc[openmp]: upgrades break sys-devel/gettext[openmp] (www-client/w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PullRequest
: 873466 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-29 17:16 UTC by Toralf Förster
Modified: 2023-09-25 02:07 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.46 KB, text/plain)
2022-09-29 17:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.00 KB, text/plain)
2022-09-29 17:16 UTC, Toralf Förster
Details
environment (environment,76.29 KB, text/plain)
2022-09-29 17:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.30 KB, application/x-bzip)
2022-09-29 17:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.04 KB, application/x-bzip)
2022-09-29 17:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.38 KB, application/x-bzip)
2022-09-29 17:16 UTC, Toralf Förster
Details
www-client:w3m-0.5.3_p20220429-r1:20220929-154855.log (www-client:w3m-0.5.3_p20220429-r1:20220929-154855.log,22.64 KB, text/plain)
2022-09-29 17:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-29 17:16:34 UTC
rm -f de.gmo && : --no-location --quiet -o de.1po de.po w3m.pot && /usr/bin/gmsgfmt -c --statistics --verbose -o de.gmo de.1po && rm -f de.1po
done
x86_64-pc-linux-gnu-gcc  -I.. -I.. -I. -pipe -march=native -fno-diagnostics-color -O2 -I./libwc   -DUSE_UNICODE -I. -I./.. -DHAVE_CONFIG_H   -c -o combining.o combining.c
generating w3mhelp-funcdesc*.pl...
/usr/bin/gmsgfmt: error while opening "de.1po" for reading: No such file or directory
make[2]: *** [Makefile:158: de.gmo] Error 1
make[2]: Leaving directory '/var/tmp/portage/www-client/w3m-0.5.3_p20220429-r1/work/w3m-0.5.3-git20220429/po'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220929-140004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 9c795df8251abc1f07839ff92e5ff5c4befc2e97
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Sep 29 13:01:52 2022 +0000

    2022-09-29 13:01:52 UTC

emerge -qpvO www-client/w3m
[ebuild  N    ] www-client/w3m-0.5.3_p20220429-r1  USE="X gpm nls ssl unicode -fbcon -gdk-pixbuf -imlib -lynxkeymap -nntp -xface" L10N="-ja"
Comment 1 Toralf Förster gentoo-dev 2022-09-29 17:16:35 UTC
Created attachment 814693 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-29 17:16:36 UTC
Created attachment 814696 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-29 17:16:38 UTC
Created attachment 814699 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-29 17:16:39 UTC
Created attachment 814702 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-29 17:16:40 UTC
Created attachment 814705 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-29 17:16:41 UTC
Created attachment 814708 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-29 17:16:42 UTC
Created attachment 814711 [details]
www-client:w3m-0.5.3_p20220429-r1:20220929-154855.log
Comment 8 Ionen Wolkens gentoo-dev 2022-09-29 20:39:52 UTC
Just to update what we got so far:

There's ": --no-location --quiet -o de.1po de.po w3m.pot", this comes from:

    po/Makefile.in.in: echo "$${cdcmd}rm -f $${lang}.gmo && $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1p <snip>

Meaning have a noop MSGMERGE=: which is likely due to:

    checking for msgmerge... no

Not seeing how that'd be missing esp given it found other bits from gettext like msgfmt, so maybe something's up with the test (can't reproduce so far).
Comment 9 Ionen Wolkens gentoo-dev 2022-09-29 20:42:48 UTC
Oh, just had a look at the config.log:

configure: trying /usr/bin/msgmerge...
/usr/bin/msgmerge: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory

I bet this is related to bug #865835
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-30 21:15:40 UTC
*** Bug 873466 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2022-10-06 12:55:47 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cac0fc8a9f9d5048410a01caeddfea835cee762a

commit cac0fc8a9f9d5048410a01caeddfea835cee762a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-06 12:55:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-06 12:55:27 +0000

    sys-devel/gcc: add 12.2.1_p20221001
    
    Bug: https://bugs.gentoo.org/865835
    Bug: https://bugs.gentoo.org/873505
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                    |  1 +
 sys-devel/gcc/gcc-12.2.1_p20221001.ebuild | 52 +++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cac63bb35eec7400b962ccf83064aed3ab47d88

commit 6cac63bb35eec7400b962ccf83064aed3ab47d88
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-06 12:55:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-06 12:55:27 +0000

    sys-devel/gcc: add 11.3.1_p20220930
    
    Bug: https://bugs.gentoo.org/865835
    Bug: https://bugs.gentoo.org/873505
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                    |  1 +
 sys-devel/gcc/gcc-11.3.1_p20220930.ebuild | 52 +++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1731af7b40321010d3f4baad02bdd50c8f340ec3

commit 1731af7b40321010d3f4baad02bdd50c8f340ec3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-06 12:55:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-06 12:55:26 +0000

    sys-devel/gcc: add 10.4.1_p20220929
    
    Bug: https://bugs.gentoo.org/865835
    Bug: https://bugs.gentoo.org/873505
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                    |  1 +
 sys-devel/gcc/gcc-10.4.1_p20220929.ebuild | 58 +++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b7a62d5e3f5e6e05c929f225ead22a2981c9f64

commit 7b7a62d5e3f5e6e05c929f225ead22a2981c9f64
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-06 12:55:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-06 12:55:26 +0000

    toolchain.eclass: use --with-major-version-only for newer install paths
    
    Flip over to major version install paths to reflect the
    change in slotting we made between 9 and 10. We only slot
    major versions now, so we should have our install paths
    reflect that for:
    1. principle of least surprise;
    2. we want LDPATH to remain valid between upgrades (bug #865835, bug #873505).
    
    Bug: https://bugs.gentoo.org/865835
    Bug: https://bugs.gentoo.org/873505
    Signed-off-by: Sam James <sam@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/27533
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)
Comment 12 Larry the Git Cow gentoo-dev 2022-10-13 21:48:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba2b124849499c618327021ca5ed81a4b142f9de

commit ba2b124849499c618327021ca5ed81a4b142f9de
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-13 21:46:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-13 21:48:15 +0000

    sys-devel/gcc: keyword 12.2.1_p20221008
    
    Bug: https://bugs.gentoo.org/865835
    Bug: https://bugs.gentoo.org/873505
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/gcc-12.2.1_p20221008.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=249c452eb7cf395249c8d23f2dfeb17838fec590

commit 249c452eb7cf395249c8d23f2dfeb17838fec590
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-13 21:46:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-13 21:48:14 +0000

    sys-devel/gcc: keyword 11.3.1_p20221007
    
    Bug: https://bugs.gentoo.org/865835
    Bug: https://bugs.gentoo.org/873505
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/gcc-11.3.1_p20221007.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b26d55e0f0b845ab0e6693abe58b1c517a1eacf8

commit b26d55e0f0b845ab0e6693abe58b1c517a1eacf8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-13 21:45:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-13 21:48:14 +0000

    sys-devel/gcc: keyword 10.4.1_p20221006
    
    - Switches us over to the newer layout of using major version for
      install directory.
    
    - Includes patch for building Chromium
      (https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=2b2d97fc545635a0f6aa9c9ee3b017394bc494bf).
    
    Bug: https://bugs.gentoo.org/865835
    Bug: https://bugs.gentoo.org/873505
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/gcc-10.4.1_p20221006.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 13 Larry the Git Cow gentoo-dev 2023-09-25 02:07:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6302dd47e23ee32cfcb446355704ba8bc61b668e

commit 6302dd47e23ee32cfcb446355704ba8bc61b668e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-09-25 00:05:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-25 02:06:51 +0000

    toolchain.eclass: fix should_we_gcc_config for major-version slotting
    
    Reported by the-horo on IRC.
    
    For example, with slot as major version:
    ```
    $ gcc-config -c x86_64-pc-linux-gnu
    x86_64-pc-linux-gnu-13
    $ gcc-config -S x86_64-pc-linux-gnu-13
    x86_64-pc-linux-gnu 13
    ```
    so we're indeed comparing 13 with 13.2 and hence we decide to run gcc-config
    unnecessarily because we think it's a major version change.
    
    Fix that by taking into account tc_use_major_version_only and comparing
    based on GCCMAJOR for that case.
    
    Bug: https://bugs.gentoo.org/865835
    Bug: https://bugs.gentoo.org/873505
    Reported-by: the-horo
    Closes: https://github.com/gentoo/gentoo/pull/33042
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)