#1126977 macopix: FTBFS with gettext 0.26

Package:
src:macopix
Source:
src:macopix
Submitter:
Santiago Vila
Date:
2026-06-13 05:07:02 UTC
Severity:
normal
Tags:
#1126977#5
Date:
2026-02-04 18:55:55 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable using gettext 0.26
(yet to be uploaded for Debian), 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/gettext/build-logs/

I've written this page to explain how to reproduce the problem:

https://people.debian.org/~sanvila/gettext/

This bug will be raised to important once gettext is uploaded for
experimental, and RC once gettext is uploaded for unstable, but
I still don't know when I will be able to do that. If you fix
this bug, it would help to have gettext in unstable sooner.

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:macopix, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with autoreconf
   dh_clean
 debian/rules binary

[... snipped ...]

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

ac_cv_env_CC_set=
ac_cv_env_CC_value=
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_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_GTK2_CFLAGS_set=
ac_cv_env_GTK2_CFLAGS_value=
ac_cv_env_GTK2_LIBS_set=
ac_cv_env_GTK2_LIBS_value=
ac_cv_env_GTK3_CFLAGS_set=
ac_cv_env_GTK3_CFLAGS_value=
ac_cv_env_GTK3_LIBS_set=
ac_cv_env_GTK3_LIBS_value=
ac_cv_env_GTKMAC_CFLAGS_set=
ac_cv_env_GTKMAC_CFLAGS_value=
ac_cv_env_GTKMAC_LIBS_set=
ac_cv_env_GTKMAC_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-z,relro
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_OPENSSL_CFLAGS_set=
ac_cv_env_OPENSSL_CFLAGS_value=
ac_cv_env_OPENSSL_LIBS_set=
ac_cv_env_OPENSSL_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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=

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

ACLOCAL=''
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AM_BACKSLASH=''
AM_DEFAULT_V=''
AM_DEFAULT_VERBOSITY=''
AM_V=''
AR=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
BUILD_INCLUDED_LIBINTL=''
BUILD_REVISION=''
CATALOGS=''
CATOBJEXT=''
CC=''
CCDEPMODE=''
CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
CPP=''
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
CSCOPE=''
CTAGS=''
CYGPATH_W=''
DATADIRNAME=''
DEFS=''
DEPDIR=''
DISABLE_DEPRECATED=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ETAGS=''
EXEEXT=''
FGREP=''
FILECMD=''
GETTEXT_PACKAGE=''
GLIB_CFLAGS=''
GLIB_COMPILE_RESOURCES=''
GLIB_LIBS=''
GMOFILES=''
GMSGFMT=''
GNUTLS_CFLAGS=''
GNUTLS_LIBS=''
GREP=''
GTK2_CFLAGS=''
GTK2_LIBS=''
GTK3_CFLAGS=''
GTK3_LIBS=''
GTKMAC_CFLAGS=''
GTKMAC_LIBS=''
GTK_CFLAGS=''
GTK_LIBS=''
HAVE_WINDRES_FALSE=''
HAVE_WINDRES_TRUE=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP_PROGRAM=''
INSTOBJEXT=''
INTLLIBS=''
INTL_MACOSX_LIBS=''
LD=''
LDFLAGS='-Wl,-z,relro'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LOCALEDIR=''
LTLIBOBJS=''
LT_AGE=''
LT_CURRENT=''
LT_RELEASE=''
LT_REVISION=''
LT_SYS_LIBRARY_PATH=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAJOR_VERSION=''
MAKEINFO=''
MANIFEST_TOOL=''
MICRO_VERSION=''
MINOR_VERSION=''
MKDIR_P=''
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OPENSSL_CFLAGS=''
OPENSSL_LIBS=''
OSX_CADD=''
OSX_LDADD=''
OTOOL64=''
OTOOL=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
POFILES=''
POMAKEFILEDEPS=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
TAR32_LIBS=''
UNLHA32_LIBS=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION=''
WIN32_ICONV_LIBS=''
WINDRES=''
WINMM_LIBS=''
WINSOCK_LIBS=''
XGETTEXT=''
YACC=''
YFLAGS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot=''
am__nodep=''
am__quote=''
am__rm_f_notfound=''
am__tar=''
am__untar=''
am__xargs_n=''
bindir='/usr/games'
build='x86_64-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
commondir=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh=''
libdir='${prefix}/lib/x86_64-linux-gnu'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
manualdir=''
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
prefixdir=''
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
themedir=''

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

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 1
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 --bindir=/usr/games returned exit code 1
make[1]: *** [debian/rules:11: override_dh_auto_configure] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1126977#14
Date:
2026-06-04 16:31:42 UTC
From:
To:
Control: tags 1126977 + patch
Control: tags 1126977 + pending

Dear maintainer,

I've prepared an NMU for macopix (versioned as 3.4.0+dfsg.1-4.2) and
uploaded it to DELAYED/1. Please feel free to tell me if I
should cancel it.

kind regards
Andreas

#1126977#23
Date:
2026-06-05 16:48:36 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
macopix, 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 1126977@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated macopix 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: Thu, 04 Jun 2026 18:26:54 +0200
Source: macopix
Architecture: source
Version: 3.4.0+dfsg.1-4.2
Distribution: unstable
Urgency: low
Maintainer: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Closes: 1126977
Changes:
 macopix (3.4.0+dfsg.1-4.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Hotfix FTBFS with newer gettext. Closes: #1126977
Checksums-Sha1:
 c52795ae5137f2d8d12020ac80371e94eaa1cef7 1842 macopix_3.4.0+dfsg.1-4.2.dsc
 0b2ec2618a5fabff1060c8f37bdee504249d8973 17640 macopix_3.4.0+dfsg.1-4.2.debian.tar.xz
Checksums-Sha256:
 67f4d4b6bdbfca03ba35f2cfc08342d1357bba1d178491034b92f5e5bf0215a6 1842 macopix_3.4.0+dfsg.1-4.2.dsc
 f850eafffbb668fcee4f256f18d44761fb5810eed6545424688dea03918da6f0 17640 macopix_3.4.0+dfsg.1-4.2.debian.tar.xz
Files:
 c156d67140fc008deaeb7feb9b2fb458 1842 games optional macopix_3.4.0+dfsg.1-4.2.dsc
 0b05089c8e516dfff132441591f8467f 17640 games optional macopix_3.4.0+dfsg.1-4.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAmohqIQACgkQpU8BhUOC
FIQ09w/9Gsfcfa1RGQJvQwfZH4VqTgzZH1GAvz3QXuBwHj9xrCMMMSumCD/bFyGS
rVI8oDCKqsdPG9Wo0u4xmnsCSFZCkdW/QKj7siVSQjzKDSK7DImFMIjkyZp96Tuq
5iWaA0iT7p8l1EOTSjL103bkhm5MwRLhO5trbCRdN9QE8INjJxUYslYQhM8WDsd4
nFCc0pVKZ9BVPeWwNVtiPMqqHCANf2fP6hqW69Pn4vv+06uzcoxBrJbdUBm6SnwE
7sIbHFjhbuJY+hEpyaB9NI+5smHh/0MmW78P7TmJPyoIqUDnuvP52ldmFUs3k5uU
guGnCxvGsFevutNO53HliwA8TqJw0ydDA/QXJOYRcmSH3bdqU7JaOlQjvIBuoimU
B/FAC3p24Zaj1ozbIZhTcGlWYh22/+wYIXo/cyaNr0HD8/LZAEmICzfUjF+o6Kd3
BC9srUiXVUzUNhhCRZ80XrMXOTKCnIebSJ//aCrTBQyfdqqkgc52Z58VFIqIlKtV
SHG99P9yuf6SRcBP4bMMKckEccMcoU1wbIR8tkaM61ntV5bU/RbL/Akg5YUUT6lp
LTPTHMtshRn1jjfm/qMw4U1j+TXSDp/MfdfaVV81KZIHDwS6HSWAcpXK0CK/R5nm
VoQOZh25bzmbcO8zqZh+nHg2luJ2VgcyCf/PzMtRn9uq2fhBHCk=
=KDiO
-----END PGP SIGNATURE-----

#1126977#28
Date:
2026-06-06 21:15:52 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for macopix (versioned as 3.4.0+dfsg.1-4.3) and
uploaded it to DELAYED/7. Please feel free to tell me if I should
cancel it.

This improves the gettext 0.26 fix.

cu
Adrian

#1126977#35
Date:
2026-06-08 16:19:23 UTC
From:
To:
[...]
[...]

Hello Adrian,

This patch seems to re-introduce the bug instead of improving the fix

libtoolize: and rerunning libtoolize and aclocal.
実行中... aclocal  ...
configure.ac:217: warning: macro 'AM_ICONV' not found in library
configure.ac:224: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
configure.ac:225: warning: macro 'AM_GNU_GETTEXT' not found in library
[...]
configure.ac:217: error: undefined or overquoted macro: AM_ICONV
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:224: error: undefined or overquoted macro: AM_GNU_GETTEXT_VERSION
configure.ac:225: error: undefined or overquoted macro: AM_GNU_GETTEXT

cu Andreas

#1126977#40
Date:
2026-06-08 20:23:39 UTC
From:
To:
Works for me.

Are you missing the AC_CONFIG_MACRO_DIR([m4]) my change adds?
Note that I am patching an existing patch, you have to unapply the quilt
patches before applying my change.

cu
Adrian

#1126977#45
Date:
2026-06-09 17:25:42 UTC
From:
To:
On 2026-06-08 Adrian Bunk <bunk@debian.org> wrote:
[...]

That was the problem. Thanks for the pointer!

The change downgrades the used m4 macros to the ones in m4/* in the
tarball instead of the current ones. - Did you intend this?

cu Andreas

#1126977#50
Date:
2026-06-09 18:00:42 UTC
From:
To:
For gettext autopoint would anyway copy an older version of the macros,
nearly nothing uses the latest version of the macros now.

libtoolize updates the libtool macros in m4/ during the build.

The rest looks pretty unused, gnulib macros that are not in the global
search path even if the package would build depend on gnulib.

cu
Adrian

#1126977#55
Date:
2026-06-13 05:04:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
macopix, 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 1126977@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated macopix 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: Sun, 07 Jun 2026 00:09:48 +0300
Source: macopix
Architecture: source
Version: 3.4.0+dfsg.1-4.3
Distribution: unstable
Urgency: medium
Maintainer: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1126977
Changes:
 macopix (3.4.0+dfsg.1-4.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Improve the gettext 0.26 fix. (Closes: #1126977)
Checksums-Sha1:
 ccae050c888ca91fb8efc248bcb8447cc72fe5c5 1842 macopix_3.4.0+dfsg.1-4.3.dsc
 9339d84fcbb28dd57866e407f5148dd28cbb469a 17660 macopix_3.4.0+dfsg.1-4.3.debian.tar.xz
Checksums-Sha256:
 5e3e94ad17cc47f05eb73c67f84de6d315b4ce40e3a461aadc16b58286c09b6f 1842 macopix_3.4.0+dfsg.1-4.3.dsc
 5fdd975856702e934af0efab90c75425f5ccb0726eb523c33c03f4f767553623 17660 macopix_3.4.0+dfsg.1-4.3.debian.tar.xz
Files:
 4b75fd89cd11150cf35763fca2d78097 1842 games optional macopix_3.4.0+dfsg.1-4.3.dsc
 c08c208426120eccbf06898ec6990150 17660 games optional macopix_3.4.0+dfsg.1-4.3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmokjdIACgkQiNJCh6LY
mLEUMw/8C1pfmHzLegoPbgE/gIZy7st80ZOG53BBPza5ZzQWhghYVRyG8qY4DRhl
Gc7SwpPhUNytsjLVjrQBXfxo/q98idX6QpYkVV66m9tWePrCIE6BB6BlkthBMkAz
dfr82vbk4KYdoZXy5KIUqsEemzxtPS0voEupg8hcOinpMBYv2HziuYNx1jHT9XQ2
yHhsMfSN+FK3pN/cFaslr/AHLsuDttpEOLSvXIafI1Cho8eiNBPcVDVQ6prlVdRK
jypIhxkBwIClZ2qJhk1Ww75DhzAnGn20NOIqwy0OdOmyH5ncIxqxxL8gWVC79kiC
hkXmjh9c/ZuMm5NSIVXuq4co550t4N5Pr9VsPYtwDPPApu42uY3yQFMUEyXUFvvo
NuyrSX6vdQaSJsNG84FpwgSUf+j1q6pxcusErBsXQphVdLnZakLkdfpnAbYb4vRb
3Wj/f3Dj8ALIH2hHjExEcXeP0xWrz/unUIHUIH98MHW+m+rNuSJZXwFkNheVs5y8
+z8BipfpT0hKzKnzB2/i8HfngDBreIE+hXlN1Bxu6Kvt7eVWn4IzDvGJHWy4xlQ3
klewKoZoW6OXANVeOONu/jQ4BcsS3n0A2Zo79fP2J3fTSNDG/3OTF2c/hGkXywkM
Xv/MfYksdgitON1tZUEEWBkQHgNZtIVDHgBEQqlqiWfJRUqbvaY=
=WiHO
-----END PGP SIGNATURE-----