Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920530

Summary: mate-extra/mate-utils-1.26.1 - emake failed
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: acab, immoloism
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/mate-desktop/mate-utils/issues/210
https://github.com/itstool/itstool/pull/47
https://github.com/itstool/itstool/issues/36#
https://github.com/gentoo/gentoo/pull/34493
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
mate-extra:mate-utils-1.26.1:20231222-063157.log.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-22 09:29:48 UTC
make[2]: *** [Makefile:456: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/mate-extra/mate-utils-1.26.1/work/mate-utils-1.26.1/gsearchtool'
make[1]: *** [Makefile:526: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/mate-extra/mate-utils-1.26.1/work/mate-utils-1.26.1'
make: *** [Makefile:458: all] Error 2
 * ERROR: mate-extra/mate-utils-1.26.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=mate-extra/mate-utils-1.26.1::gentoo'`,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20231221-082519

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 24534254b9b3d1b5b98622ee66b40bc0611250dc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 22 06:01:50 2023 +0000

    Merge updates from master

emerge -qpvO mate-extra/mate-utils
[ebuild  N    ] mate-extra/mate-utils-1.26.1  USE="X ipv6 nls udisks -applet -debug -test"
Comment 1 Toralf Förster gentoo-dev 2023-12-22 09:29:49 UTC
Created attachment 880219 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-22 09:29:50 UTC
Created attachment 880220 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-22 09:29:51 UTC
Created attachment 880221 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-22 09:29:52 UTC
Created attachment 880222 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-22 09:29:53 UTC
Created attachment 880223 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-22 09:29:54 UTC
Created attachment 880224 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-22 09:29:55 UTC
Created attachment 880225 [details]
mate-extra:mate-utils-1.26.1:20231222-063157.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-22 09:29:56 UTC
Created attachment 880226 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-22 09:29:57 UTC
Created attachment 880227 [details]
temp.tar.xz
Comment 10 immolo 2023-12-22 19:35:28 UTC
This seems to be a mix of an issue in dev-utils/itstool and this package having a broken translation.

On Gentoo we seem to have no issues when compiling with with GCC13 or 14 but using llvm causes the bug to hit in 1.26 but no issue is found in 1.27 currently.

I'm hesitated to apply some of the patches currently as I found a report at least one reintroduces a memory leak so in the meantime LLVM users are recommended to use a GCC package.env to compile <=mate-utils-1.26.1.
Comment 11 Larry the Git Cow gentoo-dev 2024-01-01 20:35:17 UTC
The bug has been closed via the following commit(s):

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

commit 9965272318f1f963f018a7e4a5e05e1563002920
Author:     Ian Jordan <immoloism@gmail.com>
AuthorDate: 2023-12-26 20:10:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-01 20:34:22 +0000

    dev-util/itstool: Fix Handling of Untranslated Nodes
    
    Cherry picked patch from upstream that stops compile errors when a translation is missing.
    
    This should be included in the next version but until then is needed to solve at least one outstanding bug in Gentoo.
    
    Closes: https://bugs.gentoo.org/920530
    Signed-off-by: Ian Jordan <immoloism@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34493
    Signed-off-by: Sam James <sam@gentoo.org>

 .../itstool-2.0.7-missing-translation-fix.patch    | 28 ++++++++++++++++
 dev-util/itstool/itstool-2.0.7-r1.ebuild           | 37 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)