Bug 16226 - AB-INT: ghostscript build fail (two or more data types in declaration specifiers)
Summary: AB-INT: ghostscript build fail (two or more data types in declaration specifi...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: 5.99
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.0 M3
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-04-01 13:40 UTC by Mathieu Dubois-Briand
Modified: 2026-05-21 15:01 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dubois-Briand 2026-04-01 13:40:17 UTC
I know Ross is already working on this one, still opening an entry to track it.

33473 ERROR: ghostscript-10.06.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/ghostscript/10.06.0/temp/run.do_compile.2881113' failed with exit code 1
...
  33494 ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/ghostscript/10.06.0/temp/log.do_compile.2881113
  33495 Log data follows:
  33496 | DEBUG: Executing shell function do_compile
  33497 | NOTE: make -j 16 -l 75
  33498 | gcc -std=gnu23   -O2 -DNDEBUG -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -Wno-unused-local-typedefs -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_NDIR_H=0 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_NDIR_H=0 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS
  33498 _TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1 -DHAVE_SNPRINTF   -DNOCONTRIB -DHAVE_RESTRICT=1 -DHAVE_LIMITS_H=1 -DHAVE_STRING_H=1 -fno-strict-aliasing  -DHAVE_POPEN_PROTO=1  -I./base -o ./obj/aux/genconf ./base/genconf.c
  33499 | In file included from ./base/genconf.c:18:
  33500 | ./base/stdpre.h:350:13: error: two or more data types in declaration specifiers
  33501 |   350 | typedef int bool;
  33502 |       |             ^~~~
  33503 | ./base/stdpre.h:350:1: warning: useless type name in empty declaration
  33504 |   350 | typedef int bool;
  33505 |       | ^~~~~~~
  33506 | make: *** [base/unix-aux.mak:71: obj/aux/genconf] Error 1
  33507 | ERROR: oe_runmake failed
  33508 | WARNING: exit code 1 from a shell command.
  33509 NOTE: recipe ghostscript-10.06.0-r0: task do_compile: Failed
Comment 1 Mathieu Dubois-Briand 2026-04-01 13:42:16 UTC
musl-qemux86-64 debian13-vk-2 mathieu/master-next completed at 2026-03-31 09:37:39+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3556/steps/12/logs/stdio

musl-qemux86-64 opensuse156-vk-1 mathieu/master-next completed at 2026-03-31 10:15:29+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3557/steps/13/logs/stdio

musl-qemux86-64 debian13-vk-1 master-next completed at 2026-03-31 23:52:30+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3565/steps/12/logs/stdio

musl-qemux86-64 debian13-vk-1 mathieu/master-next completed at 2026-04-01 09:48:44+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3567/steps/12/logs/stdio
Comment 2 Ross Burton 2026-04-01 14:18:33 UTC
For anyone watching from home, this is due to the autoconf upgrade and https://bugs.ghostscript.com/show_bug.cgi?id=709290 is where I'm talking to upstream.
Comment 3 Ross Burton 2026-04-02 14:34:28 UTC
Sent 'ghostscript: ensure the native compile uses C17'.
Comment 4 Ross Burton 2026-05-21 15:01:47 UTC
Merged in f0a258bdb5714da2eef4cde7c3c87f46732428a8.