Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937828 - dev-qt/qtserialport-6.7.2 - [ncurses-6.5] [icu-75.1] [gcc-15] /.../ld: .../unity_0_cxx.cxx.o:(.rodata+<snip>): first defined here
Summary: dev-qt/qtserialport-6.7.2 - [ncurses-6.5] [icu-75.1] [gcc-15] /.../ld: .../un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on: 937809
Blocks:
  Show dependency tree
 
Reported: 2024-08-12 17:43 UTC by Toralf Förster
Modified: 2024-08-13 01:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.69 KB, text/plain)
2024-08-12 17:43 UTC, Toralf Förster
Details
dev-qt:qtserialport-6.7.2:20240812-142302.log (dev-qt:qtserialport-6.7.2:20240812-142302.log,17.30 KB, text/plain)
2024-08-12 17:43 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,85.15 KB, application/x-xz)
2024-08-12 17:43 UTC, Toralf Förster
Details
environment (environment,104.08 KB, text/plain)
2024-08-12 17:43 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.00 KB, application/x-xz)
2024-08-12 17:43 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,53.52 KB, application/x-xz)
2024-08-12 17:43 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,90.59 KB, application/x-xz)
2024-08-12 17:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.57 KB, application/x-xz)
2024-08-12 17:43 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 2024-08-12 17:43:39 UTC
too long lines were shrinked:

[8/12] cd /var/tmp/portage/dev-qt/qtserialport-6.7.2/work/qtserialport-everywhere-src-6.7.2_build/src/serialport && /usr/bin/cmake -DIN_FILE=/var/tmp/portage/dev-qt/qtserialport-6.7.2/work/qtserialport-everywhere-src-6.7.2_build/src/serialport/preliminary_prl_for_SerialPort_step1_RelWithDebInfo.prl 
[9/12] /usr/bin/x86_64-pc-linux-gnu-g++ -DLINK_LIBUDEV -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_SERIALPORT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_MOC_COMPAT -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1 -DQT
[10/12] /usr/bin/x86_64-pc-linux-gnu-g++ -DLINK_LIBUDEV -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_SERIALPORT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_MOC_COMPAT -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1 -DQ
[11/12] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,-Bsymbolic-functions -Wl,--no-undefined -Wl,--version-script,/var/tmp/portage/dev-qt/qtserialport-6.7.
FAILED: lib64/libQt6SerialPort.so.6.7.2 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,-Bsymbolic-functions -Wl,--no-undefined -Wl,--version-script,/var/tmp/portage/dev-qt/qtserialport-6.7.2/work/q
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: src/serialport/CMakeFiles/SerialPort.dir/removed_api.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; src/serialport/CMakeFiles/SerialPort.dir/Unity/unity_0_cxx.cxx.o:(.rodata+0xcd0): first d
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20240806-101508

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Requested by sam
  >=sys-libs/ncurses-6.5

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

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

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

  HEAD of ::gentoo
commit f348c92569d422d762564733e51907a19bc578a8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 12 13:04:00 2024 +0000

    2024-08-12 13:03:59 UTC

emerge -qpvO =dev-qt/qtserialport-6.7.2
[ebuild  N    ] dev-qt/qtserialport-6.7.2  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2024-08-12 17:43:40 UTC
Created attachment 899977 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-12 17:43:41 UTC
Created attachment 899978 [details]
dev-qt:qtserialport-6.7.2:20240812-142302.log
Comment 3 Toralf Förster gentoo-dev 2024-08-12 17:43:42 UTC
Created attachment 899979 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-08-12 17:43:43 UTC
Created attachment 899980 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-12 17:43:44 UTC
Created attachment 899981 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-12 17:43:45 UTC
Created attachment 899982 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-12 17:43:47 UTC
Created attachment 899983 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-12 17:43:48 UTC
Created attachment 899984 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-08-13 01:27:27 UTC
The bug has been closed via the following commit(s):

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

commit 486b070b0523b91176f5c56f93635de9a15f6a1c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-08-12 21:05:42 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-08-13 01:25:35 +0000

    dev-qt/qtbase: fix build with gcc15, incl. for revdeps
    
    Issue is in public headers, so revbump is necessary. Please ensure
    update to qtbase-6.7.2-r2 before reporting new bugs while testing
    gcc15. Thankfully most normal users should have updated long before
    gcc15 is keyworded (and further stabled) so there should be little
    need to set lower bounds.
    
    Closes: https://bugs.gentoo.org/937808
    Closes: https://bugs.gentoo.org/937809
    Closes: https://bugs.gentoo.org/937824
    Closes: https://bugs.gentoo.org/937825
    Closes: https://bugs.gentoo.org/937828
    Closes: https://bugs.gentoo.org/937829
    Thanks-to: Sam James <sam@gentoo.org>
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtbase/files/qtbase-6.7.2-gcc15-odr.patch   | 32 ++++++++++++++++++++++
 ...base-6.7.2-r1.ebuild => qtbase-6.7.2-r2.ebuild} |  1 +
 dev-qt/qtbase/qtbase-6.7.9999.ebuild               |  1 +
 dev-qt/qtbase/qtbase-6.8.9999.ebuild               |  1 +
 dev-qt/qtbase/qtbase-6.9999.ebuild                 |  1 +
 5 files changed, 36 insertions(+)