Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944371 - sci-calculators/units-2.23 - [ncurses-6.5] [meson] [libtool] [gcc-15] units.h: error: conflicting types for strchr; have char (void)
Summary: sci-calculators/units-2.23 - [ncurses-6.5] [meson] [libtool] [gcc-15] units.h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 20:26 UTC by Toralf Förster
Modified: 2024-11-24 11:21 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.73 KB, text/plain)
2024-11-21 20:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,153.00 KB, text/plain)
2024-11-21 20:26 UTC, Toralf Förster
Details
environment (environment,105.47 KB, text/plain)
2024-11-21 20:26 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-21 20:26 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.12 KB, application/x-xz)
2024-11-21 20:26 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,50.90 KB, application/x-xz)
2024-11-21 20:26 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,43.56 KB, application/x-xz)
2024-11-21 20:26 UTC, Toralf Förster
Details
sci-calculators:units-2.23:20241121-115245.log (sci-calculators:units-2.23:20241121-115245.log,22.24 KB, text/plain)
2024-11-21 20:26 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.23 KB, application/x-xz)
2024-11-21 20:26 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-11-21 20:26:16 UTC
too long lines were shrinked:

>>> Compiling source in /var/tmp/portage/sci-calculators/units-2.23/work/units-2.23 ...
make -O -j4 units 
x86_64-pc-linux-gnu-gcc -DUNITSFILE=\"/usr/share/units/definitions.units\" -DLOCALEMAP=\"/usr/share/units/locale_map.txt\" -DREADLINE -DNO_SUPPRESS_APPEND -DHAVE_IOCTL -DSUPPORT_UTF8 -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"2.23\" -DPACKAGE_STRING=\"GNU\ units\ 2
x86_64-pc-linux-gnu-gcc -DUNITSFILE=\"/usr/share/units/definitions.units\" -DLOCALEMAP=\"/usr/share/units/locale_map.txt\" -DREADLINE -DNO_SUPPRESS_APPEND -DHAVE_IOCTL -DSUPPORT_UTF8 -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"2.23\" -DPACKAGE_STRING=\"GNU\ units\ 2
x86_64-pc-linux-gnu-gcc -DUNITSFILE=\"/usr/share/units/definitions.units\" -DLOCALEMAP=\"/usr/share/units/locale_map.txt\" -DREADLINE -DNO_SUPPRESS_APPEND -DHAVE_IOCTL -DSUPPORT_UTF8 -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"2.23\" -DPACKAGE_STRING=\"GNU\ units\ 2
In file included from parse.y:27:
units.h:57:12: error: conflicting types for strchr; have char *(void)
   57 |      char *strchr();
      |            ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241117-232508

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 16e1516b54ae30bf9e4c4156fb2189a5513e3bab
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 21 11:03:49 2024 +0000

    2024-11-21 11:03:48 UTC

emerge -qpvO =sci-calculators/units-2.23
[ebuild  N    ] sci-calculators/units-2.23  USE="units-cur" PYTHON_TARGETS="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-11-21 20:26:17 UTC
Created attachment 911278 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-21 20:26:18 UTC
Created attachment 911279 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-21 20:26:20 UTC
Created attachment 911280 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-21 20:26:20 UTC
Created attachment 911281 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-21 20:26:21 UTC
Created attachment 911282 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-21 20:26:23 UTC
Created attachment 911283 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-21 20:26:24 UTC
Created attachment 911284 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-21 20:26:24 UTC
Created attachment 911285 [details]
sci-calculators:units-2.23:20241121-115245.log
Comment 9 Toralf Förster gentoo-dev 2024-11-21 20:26:25 UTC
Created attachment 911286 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-11-24 11:21:26 UTC
The bug has been closed via the following commit(s):

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

commit 4ac010dc31052b2613d65002caf05e0ffe52bd3e
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-11-24 08:52:41 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-11-24 11:21:16 +0000

    sci-calculators/units: don't build with C23
    
    Don't build with C23.
    Also remove a sed command that was doing nothing (qa-sed).
    
    Closes: https://bugs.gentoo.org/944371
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 sci-calculators/units/units-2.23-r1.ebuild | 61 ++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)