<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16226</bug_id>
          
          <creation_ts>2026-04-01 13:40:17 +0000</creation_ts>
          <short_desc>AB-INT: ghostscript build fail (two or more data types in declaration specifiers)</short_desc>
          <delta_ts>2026-05-21 15:01:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>oe-core other</component>
          <version>5.99</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.0 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104898</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-01 13:40:17 +0000</bug_when>
    <thetext>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 &apos;/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&apos; 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=&quot;unsigned long long&quot; -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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104901</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-01 13:42:16 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104903</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-04-01 14:18:33 +0000</bug_when>
    <thetext>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&apos;m talking to upstream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104926</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-04-02 14:34:28 +0000</bug_when>
    <thetext>Sent &apos;ghostscript: ensure the native compile uses C17&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105526</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-05-21 15:01:47 +0000</bug_when>
    <thetext>Merged in f0a258bdb5714da2eef4cde7c3c87f46732428a8.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>