#1149496 xjokes: FTBFS: ./configure: line 4618: syntax error near unexpected token `X11,'

Package:
src:xjokes
Source:
src:xjokes
Submitter:
Santiago Vila
Date:
2026-09-30 14:25:02 UTC
Severity:
normal
Tags:
#1149496#5
Date:
2026-09-29 23:07:23 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202609/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:xjokes, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
checking whether x86_64-linux-gnu-gcc accepts -g... yes
checking for x86_64-linux-gnu-gcc option to enable C23 features... none needed
checking whether x86_64-linux-gnu-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-linux-gnu-gcc... none
./configure: line 4618: syntax error near unexpected token `X11,'
./configure: line 4618: `PKG_CHECK_MODULES(X11, x11)'
	tail -v -n \+0 config.log
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xjokes configure 1.1, which was
generated by GNU Autoconf 2.73.  Invocation command line was

  $ ./configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking

## --------- ##
## Platform. ##
## --------- ##

hostname = sbuild
uname -m = x86_64
uname -r = 6.12.111+deb13-cloud-amd64
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Debian 6.12.111-1 (2026-09-28)

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2204: looking for aux files: compile missing install-sh
configure:2217:  trying ./
configure:2246:   ./compile found
configure:2246:   ./missing found
configure:2228:   ./install-sh found
configure:2399: checking for a BSD-compatible install
configure:2473: result: /usr/bin/install -c
configure:2484: checking whether sleep supports fractional seconds
configure:2500: result: yes
configure:2503: checking filesystem timestamp resolution
configure:2638: result: 0.01
configure:2643: checking whether build environment is sane
configure:2688: result: yes
configure:2859: checking for a race-free mkdir -p
configure:2902: result: /usr/bin/mkdir -p
configure:2909: checking for gawk
configure:2945: result: no
configure:2909: checking for mawk
configure:2930: found /usr/bin/mawk
configure:2942: result: mawk
configure:2953: checking whether make sets $(MAKE)
configure:2977: result: yes
configure:3003: checking whether make supports nested variables
configure:3022: result: yes
configure:3036: checking xargs -n works
configure:3052: result: yes
configure:3142: checking whether UID '995' is supported by ustar format
configure:3148: result: yes
configure:3155: checking whether GID '995' is supported by ustar format
configure:3161: result: yes
configure:3169: checking how to create a ustar tar archive
configure:3181: tar --version | grep GNU >/dev/null
configure:3184: $? = 0
configure:3225: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3228: $? = 0
configure:3232: tar -xf - <conftest.tar
configure:3235: $? = 0
configure:3237: cat conftest.dir/file
GrepMe
configure:3240: $? = 0
configure:3255: result: gnutar
configure:3348: checking for gcc
configure:3381: result: x86_64-linux-gnu-gcc
configure:3740: checking for C compiler version
configure:3749: x86_64-linux-gnu-gcc --version >&5
x86_64-linux-gnu-gcc (Debian 16.2.0-3) 16.2.0
Copyright (C) 2026 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3760: $? = 0
configure:3749: x86_64-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=x86_64-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/16/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debi [too-long-redacted] n --enable-link-serialization=3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.2.0 (Debian 16.2.0-3)
... rest of stderr output deleted ...
configure:3760: $? = 0
configure:3749: x86_64-linux-gnu-gcc -V >&5
x86_64-linux-gnu-gcc: error: unrecognized command-line option '-V'
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3760: $? = 1
configure:3749: x86_64-linux-gnu-gcc -qversion >&5
x86_64-linux-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3760: $? = 1
configure:3749: x86_64-linux-gnu-gcc -version >&5
x86_64-linux-gnu-gcc: error: unrecognized command-line option '-version'
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3760: $? = 1
configure:3780: checking whether the C compiler works
configure:3802: x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c  >&5
configure:3806: $? = 0
configure:3857: result: yes
configure:3861: checking for C compiler default output file name
configure:3863: result: a.out
configure:3869: checking for suffix of executables
configure:3876: x86_64-linux-gnu-gcc -o conftest -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c  >&5
configure:3880: $? = 0
configure:3904: result:
configure:3928: checking whether we are cross compiling
configure:3936: x86_64-linux-gnu-gcc -o conftest -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c  >&5
configure:3940: $? = 0
configure:3947: ./conftest
configure:3951: $? = 0
configure:3966: result: no
configure:3972: checking for suffix of object files
configure:3995: x86_64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:3999: $? = 0
configure:4023: result: o
configure:4027: checking whether the compiler supports GNU C
configure:4047: x86_64-linux-gnu-gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:4047: $? = 0
configure:4059: result: yes
configure:4070: checking whether x86_64-linux-gnu-gcc accepts -g
configure:4091: x86_64-linux-gnu-gcc -c -g -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:4091: $? = 0
configure:4138: result: yes
configure:4158: checking for x86_64-linux-gnu-gcc option to enable C23 features
configure:4173: x86_64-linux-gnu-gcc  -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:4173: $? = 0
configure:4192: result: none needed
configure:4365: checking whether x86_64-linux-gnu-gcc understands -c and -o together
configure:4388: x86_64-linux-gnu-gcc -c conftest.c -o conftest2.o
configure:4391: $? = 0
configure:4388: x86_64-linux-gnu-gcc -c conftest.c -o conftest2.o
configure:4391: $? = 0
configure:4407: result: yes
configure:4427: checking whether make supports the include directive
configure:4442: make -f confmf.GNU && cat confinc.out
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
this is the am__doit target
configure:4445: $? = 0
configure:4464: result: yes (GNU style)
configure:4490: checking dependency style of x86_64-linux-gnu-gcc
configure:4603: result: none

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=x86_64-linux-gnu-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,-z,now'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=x86_64-linux-gnu-gcc
ac_cv_prog_cc_c23=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=none
am_cv_filesystem_timestamp_resolution=0.01
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
am_cv_prog_tar_ustar=gnutar
am_cv_sleep_fractional_seconds=yes
am_cv_xargs_n_works=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' aclocal-1.19'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V=''
AM_DEFAULT_VERBOSITY='1'
AM_V=''
AUTOCONF='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' automake-1.19'
AWK='mawk'
CC='x86_64-linux-gnu-gcc'
CCDEPMODE='depmode=none'
CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ETAGS='etags'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-Wl,-z,relro -Wl,-z,now'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='xjokes'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='xjokes'
PACKAGE_STRING='xjokes 1.1'
PACKAGE_TARNAME='xjokes'
PACKAGE_URL=''
PACKAGE_VERSION='1.1'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='1.1'
ac_ct_CC='x86_64-linux-gnu-gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__rm_f_notfound=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__tar_ignore_stderr='no'
am__untar='tar -xf -'
am__xargs_n='xargs -n'
bindir='${exec_prefix}/bin'
build_alias='x86_64-linux-gnu'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='${SHELL} /<<PKGBUILDDIR>>/install-sh'
libdir='${prefix}/lib/x86_64-linux-gnu'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "xjokes"
#define PACKAGE_TARNAME "xjokes"
#define PACKAGE_VERSION "1.1"
#define PACKAGE_STRING "xjokes 1.1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "xjokes"
#define VERSION "1.1"

configure: exit
dh_auto_configure: error: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149496#10
Date:
2026-09-30 14:23:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
xjokes, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149496@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barak A. Pearlmutter <bap@debian.org> (supplier of updated xjokes package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 30 Sep 2026 13:19:56 +0100
Source: xjokes
Architecture: source
Version: 1.1-2
Distribution: unstable
Urgency: medium
Maintainer: Barak A. Pearlmutter <bap@debian.org>
Changed-By: Barak A. Pearlmutter <bap@debian.org>
Closes: 1149496
Changes:
 xjokes (1.1-2) unstable; urgency=medium
 .
   * build dependency on pkgconf (closes: #1149496)
Checksums-Sha1:
 0034472db93dca4cac03d9847455e03b07f7c139 2065 xjokes_1.1-2.dsc
 1646e608211b39006babd3565d5dd50137cc5a62 3456 xjokes_1.1-2.debian.tar.xz
 4b8a303dda48f9649e378b4f1f88b415eff7c178 27272 xjokes_1.1-2.git.tar.xz
 ddaf46599f138f4a6daa5348f3e959b943be7b44 17712 xjokes_1.1-2_source.buildinfo
Checksums-Sha256:
 4b5c993db8a158f39edd7c0eff34ddaea89e6a9421800132265a1f81403ff09a 2065 xjokes_1.1-2.dsc
 996dd79ee791ab871b289ca8566c48a1cd4eff2d53e6b0208489c221ca6309a2 3456 xjokes_1.1-2.debian.tar.xz
 22239cd8ebc540de202e18140e96d5bfad345084f0c9f0e474080cc52d92a70e 27272 xjokes_1.1-2.git.tar.xz
 4045f70ca4250c44cd98c91d8514b24f5a1d3c1d63671874b9fd429fcbd7093f 17712 xjokes_1.1-2_source.buildinfo
Files:
 e8d0912ae801ffbb4c89da8213e1028e 2065 games optional xjokes_1.1-2.dsc
 a106951fd2da222a543d2a127d322a9d 3456 games optional xjokes_1.1-2.debian.tar.xz
 a79ccee08581451ccfe7e12ea625bdb6 27272 games optional xjokes_1.1-2.git.tar.xz
 be72a0cd7bd28da71f208b198269dfd8 17712 games optional xjokes_1.1-2_source.buildinfo
Git-Tag-Info: tag=c62cf8681004c3578469c80866f7a55013a8af23 fp=2de4bf05421076c47ad20367c6af2490d3ca72b9
Git-Tag-Tagger: Barak A. Pearlmutter <barak+git@pearlmutter.net>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq9EhMACgkQYG0ITkaD
wHkTJg/+PCWwnLM3mE1aeDHygU5JbvH7YzTCAV1fAEzi9UPGUMD6cUUfMRCplBUF
qlp3CqEQ74K3baN67klqxDetBb7w9DR1lBeQ3rNQsBVVUi1+nd66EC5KdqEj/k+D
Hx445EcNAO14sWLVU9sZKwFCT46flVsf7zD4MAgT/r/YFxtMgpSVqGkzhlkwHJni
iaOMiQShc1L3YNBwdit/XFJpeRfSlqi2BR/Pc1fGsBtz5nKn1wnktK+6i23R9sbl
vg6TE476vYpfSApZ1+5vu5yg5UeKoKU3jnP0ZpqTQjpoPkmMJBeEinW9fszt/uoe
tkfqINpmjI9TIrhl/GMIt/Mj5u0WM9OVCDneHKtSZVLANkAxWVGiAKq/dD1J12KD
jGuNFfkx/scSsk6dc0eD3Oy66N5D1wAxfRaaZtxwt6TH2ECA7Hap4fCM6kK8g3vm
WLdhVlDgc9XILllAMp8RpwboTYC0cBjFLHCo4EYzbncxvBu8JW0ii1nw5UbYPi+b
AgBSWSspDMP4mjQGCacqnz4ies+ddd2VHjpzQ3XwScTQAcTb/t7p619Fgpm/FCSA
z/m+kgRBIwD87hsSptsLrBu+M2ahEr3x32MdfHCqJBRi+KVeNvYilPuoSU5JQQ9M
0DKOkkjyj6ajS8Vlrsd3gqKsG52kKb0Xkr0f/O/xDEyYVZco+V0=
=oq+O
-----END PGP SIGNATURE-----