Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952902 - dev-libs/kpathsea-6.4.0_p20240311 - [gcc-15] getopt.h: error: conflicting types for getopt; have int(void)
Summary: dev-libs/kpathsea-6.4.0_p20240311 - [gcc-15] getopt.h: error: conflicting typ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2025-03-29 10:26 UTC by Toralf Förster
Modified: 2025-03-29 10:26 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.55 KB, text/plain)
2025-03-29 10:26 UTC, Toralf Förster
Details
dev-libs:kpathsea-6.4.0_p20240311:20250329-093808.log (dev-libs:kpathsea-6.4.0_p20240311:20250329-093808.log,24.90 KB, text/plain)
2025-03-29 10:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,11.46 KB, text/plain)
2025-03-29 10:26 UTC, Toralf Förster
Details
environment (environment,64.59 KB, text/plain)
2025-03-29 10:26 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2025-03-29 10:26 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.83 KB, application/x-xz)
2025-03-29 10:26 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,199.59 KB, application/x-xz)
2025-03-29 10:26 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,42.02 KB, text/plain)
2025-03-29 10: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 2025-03-29 10:26:02 UTC
too long lines were shrinked:

make[2]: Entering directory '/var/tmp/portage/dev-libs/kpathsea-6.4.0_p20240311/work/texlive-20240311-source/texk/kpathsea'
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I.  -I./.. -I./..  -Wimplicit -Wreturn-type -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o kpsestat.o kpsestat.c
make[2]: Leaving directory '/var/tmp/portage/dev-libs/kpathsea-6.4.0_p20240311/work/texlive-20240311-source/texk/kpathsea'
make[2]: Entering directory '/var/tmp/portage/dev-libs/kpathsea-6.4.0_p20240311/work/texlive-20240311-source/texk/kpathsea'
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I.  -I./.. -I./..  -Wimplicit -Wreturn-type -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o kpsewhich.o kpsewhich.c
In file included from kpsewhich.c:24:
./../kpathsea/getopt.h:133:20: error: conflicting types for 'getopt'; have 'int(void)'
  133 | extern KPSEDLL int getopt ();
      |                    ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20250329-062505

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-15 *
llvm-config: Python 3.12.9

  HEAD of ::gentoo
commit d8c03a18fe7261a2d915087c78584f08b5be35fd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Mar 29 08:20:58 2025 +0000

    Merge updates from master

emerge -qpvO =dev-libs/kpathsea-6.4.0_p20240311
[ebuild  N    ] dev-libs/kpathsea-6.4.0_p20240311  USE="source -doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2025-03-29 10:26:03 UTC
Created attachment 923236 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-29 10:26:04 UTC
Created attachment 923237 [details]
dev-libs:kpathsea-6.4.0_p20240311:20250329-093808.log
Comment 3 Toralf Förster gentoo-dev 2025-03-29 10:26:05 UTC
Created attachment 923238 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-03-29 10:26:06 UTC
Created attachment 923239 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-29 10:26:07 UTC
Created attachment 923240 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-29 10:26:08 UTC
Created attachment 923241 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-29 10:26:09 UTC
Created attachment 923242 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-29 10:26:10 UTC
Created attachment 923243 [details]
qlist-info.txt