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

Bug 940325

Summary: dev-lang/icon-9.5.22e - [gcc-15] data.r: error: type of Bllist does not match original declaration [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Cheyenne Wills <cwills>
Status: RESOLVED FIXED    
Severity: normal CC: cwills
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/39439
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: emerge-info.txt
dev-lang:icon-9.5.22e:20240926-231747.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-09-27 07:15:13 UTC
too long lines were shrinked:

../rtt/rtt -x rimage.r && x86_64-pc-linux-gnu-gcc -o rimage.o -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -fno-strict-aliasing -fwrapv xrimage.c && rm xrimage.c
cd ../common; make
make[2]: Entering directory '/var/tmp/portage/dev-lang/icon-9.5.22e/work/icon-9.5.22e/src/common'
make[2]: Nothing to be done for 'common'.
make[2]: Leaving directory '/var/tmp/portage/dev-lang/icon-9.5.22e/work/icon-9.5.22e/src/common'
x86_64-pc-linux-gnu-gcc -Wl,-E -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o iconx cnv.o data.o def.o errmsg.o fconv.o fload.o fmath.o fmisc.o fscan.o fstr.o fstranl.o fstruct.o fsys.
data.r:28:22: error: type of Bllist does not match original declaration [-Werror=lto-type-mismatch]
   28 | extern struct b_proc Bllist;
      |                      ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240925-080506

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 19.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.0
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit d676f56a6055d42a4fcf70008af95542d937287f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Sep 26 21:50:59 2024 +0000

    2024-09-26 21:50:58 UTC

emerge -qpvO =dev-lang/icon-9.5.22e
[ebuild  N    ] dev-lang/icon-9.5.22e  USE="-X"
Comment 1 Toralf Förster gentoo-dev 2024-09-27 07:15:14 UTC
Created attachment 903945 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-27 07:15:15 UTC
Created attachment 903946 [details]
dev-lang:icon-9.5.22e:20240926-231747.log
Comment 3 Toralf Förster gentoo-dev 2024-09-27 07:15:17 UTC
Created attachment 903947 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-09-27 07:15:18 UTC
Created attachment 903948 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-27 07:15:18 UTC
Created attachment 903949 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-27 07:15:19 UTC
Created attachment 903950 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-27 07:15:21 UTC
Created attachment 903951 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-09-27 07:15:29 UTC
Created attachment 903952 [details]
temp.tar.xz
Comment 9 Cheyenne Wills 2024-10-02 14:38:57 UTC
I'll look into this.  Probably requires an upstream fix.  I will work with upstream on a fix if needed.
Comment 10 Cheyenne Wills 2024-10-14 17:10:24 UTC
(In reply to Cheyenne Wills from comment #9)
> I'll look into this.  Probably requires an upstream fix.  I will work with
> upstream on a fix if needed.

I have a fix for this that I need to work with upstream.  It's a fairly simple fix, but I want more eyes on it first.
Comment 11 Cheyenne Wills 2024-11-23 23:15:01 UTC
(In reply to Cheyenne Wills from comment #10)
> (In reply to Cheyenne Wills from comment #9)
> > I'll look into this.  Probably requires an upstream fix.  I will work with
> > upstream on a fix if needed.
> 
> I have a fix for this that I need to work with upstream.  It's a fairly
> simple fix, but I want more eyes on it first.

Upstream has been fixed.

Will be pushing a version bump that contains the fix.
Comment 12 Larry the Git Cow gentoo-dev 2024-12-01 11:47:16 UTC
The bug has been closed via the following commit(s):

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

commit 0648a1f24579885addb7c0d296a2b8fad2897255
Author:     Cheyenne Wills <cwills@witznd.net>
AuthorDate: 2024-11-23 23:10:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-01 11:45:46 +0000

    dev-lang/icon: add 9.5.24b
    
    Closes: https://bugs.gentoo.org/940325
    Signed-off-by: Cheyenne Wills <cwills@witznd.net>
    Closes: https://github.com/gentoo/gentoo/pull/39439
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/icon/Manifest            |   1 +
 dev-lang/icon/icon-9.5.24b.ebuild | 123 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)