#1142063 lua-geoip: FTBFS: lua5.1: test/test.lua:141: assertion failed!

#1142063#5
Date:
2026-07-14 18:43:26 UTC
From:
To:
Dear maintainer:

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

[ Note: I'm using the version in trixie because it also happens in trixie,
  which is still officially supported by Debian. If you fix this in unstable
  please consider an upload for trixie-proposed-updates as well. ]

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/202607/

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

Thanks.
--------------------------------------------------------------------------------
[...]
*********************** app static (5.1) *********
SKIPPED!
**************************************************
Target test made


Making target test for debian/lua5.1.dh-lua.conf
# tests
********************** lua dynamic (5.1) *********
Test: test/test.lua
lua5.1: test/test.lua:141: assertion failed!
stack traceback:
	[C]: in function 'assert'
	test/test.lua:141: in main chunk
	[C]: ?
TESTING lua-geoip

VERSION: 	lua-geoip 0.2
DESCRIPTION: 	Bindings for MaxMind's GeoIP library
COPYRIGHT: 	Copyright (C) 2011-2017, lua-geoip authors

VERSION: 	lua-geoip.country 0.2
DESCRIPTION: 	Bindings for MaxMind's GeoIP library (country database)
COPYRIGHT: 	Copyright (C) 2011-2017, lua-geoip authors

make[2]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.single:312: test-lua-dynamic-real] Error 1
make[1]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.multiple:12: test] Error 1
dh_auto_test: error: make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple test returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1142063#10
Date:
2026-07-16 09:34:21 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
lua-geoip, 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 1142063@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Alteholz <debian@alteholz.de> (supplier of updated lua-geoip 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, 16 Jul 2026 08:03:02 +0200
Source: lua-geoip
Architecture: source
Version: 0.2-5
Distribution: unstable
Urgency: medium
Maintainer: Freexian Packaging Team <team+freexian@tracker.debian.org>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Closes: 1142063
Changes:
 lua-geoip (0.2-5) unstable; urgency=medium
 .
   * Team upload
   * due to license issues an older version of geoip-database has been
     uploaded. fix-assertion-after-geoip-database-change.patch is no
     longer needed (Closes: #1142063)
   * debian/control: change dependency pkg-config to pkgconf
   * debian/control: bump standard to 4.7.4 (no changes)
   * debian/control: remove Priority:
Checksums-Sha1:
 ce1b858cfaa0bd1ecc934cfdd27b6d1555f7f3ba 2198 lua-geoip_0.2-5.dsc
 de688b6696757c3f5bd97861f608d0f2972ec5ca 9543 lua-geoip_0.2.orig.tar.gz
 0a8a66aca5cbae2ac220a7bc340792e8439a0a78 5736 lua-geoip_0.2-5.debian.tar.xz
 9db1d64c323199077470897accc6455e5e9c218f 7421 lua-geoip_0.2-5_amd64.buildinfo
Checksums-Sha256:
 31f70db83d66863c942e70f3e1073531be94de8598c5c606c81776ac1c241baf 2198 lua-geoip_0.2-5.dsc
 a9d6289d77481ba92c7e3b6736d4688f0c9ae3e48f581fdac1002c125fd678a9 9543 lua-geoip_0.2.orig.tar.gz
 f52646d35cb9786a186269797fedc105723bdc2af4a5472f184afde6c98d030f 5736 lua-geoip_0.2-5.debian.tar.xz
 8f690d34daa205980b45cd994dd98f8a9b2603e034f1cb4b873c686d279153e9 7421 lua-geoip_0.2-5_amd64.buildinfo
Files:
 a3fd0c782b1e7cd08758c1882e77cb2b 2198 interpreters optional lua-geoip_0.2-5.dsc
 e91bd5e06c59dc5f1e55c4bdee11466c 9543 interpreters optional lua-geoip_0.2.orig.tar.gz
 63fd6c00ba492539e5ed31dd83404dbd 5736 interpreters optional lua-geoip_0.2-5.debian.tar.xz
 c7923579930d5cf1c6a8c8ef5e15f6dd 7421 interpreters optional lua-geoip_0.2-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQKmBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmpYoUpfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR093D/i93uHtULVJ66oL/Zw0hEwpKFr6CwOJ
oJg27IM+e7eM3cQz/hocPFM4qQIxABAG9w3IXG8lCDCrAsstpkQCyPRnRD06EPuR
uQlIRCHI6Oba/HugEQUMNR+798QNAXRlidlQI3sssGckoIXquNRqBJJRVz5U8xmT
S4PI+njcSVM2/czOZhOS1spbONFayoGGMoJuZTVHWiZPcqR3E87Tzx23PjU0P/f/
i3lItUJMgdomvpOMX8y3hfXh9ITF4xCfgXfzc8NLZz0fa/T92d6dKVuGjlQFtWU2
8MkE2KrFuqLkjvJTEU1n2Dz/K6iyeujBF4Y4OlvpEsGYSlg9MsIRxFf6UHx/Kt+M
sni2EfYrcyWpQ+u8jUMcX0q/pryze2IYHegDcsbaPo+iR0voODULmtHkF0owYvp1
y+nD7/NzSweAT7uHYEPbsdiryecEo36eshcN7PTZeMuWypl3gEGYbOfromVDUER4
RMtngPSXLgWPwSCH8E7fFuHBzEKRS6TDKZcn4n8AYvS+2s8wuEWUnyyFAMzEYqR+
hIMpYKVhgH8h1wfWXYGVP2FTgm9RKdaPEKk94D9pafeZ70jZaqlmsVKtAu83SnSq
qoCzPfF9IzY97DSbk8/hMypnuGe9iRZT3sdyQHucW3b+6sK9UvEl9WKV1nFxIRcu
oECmUP52xPWZ
=iOIj
-----END PGP SIGNATURE-----

#1142063#17
Date:
2026-07-23 21:32:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
lua-geoip, 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 1142063@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 lua-geoip 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, 19 Jul 2026 13:58:52 +0300
Source: lua-geoip
Architecture: source
Version: 0.2-3+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: Freexian Packaging Team <team+freexian@tracker.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1142063
Changes:
 lua-geoip (0.2-3+deb13u1) trixie; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS after the geoip-database downgrade. (Closes: #1142063)
Checksums-Sha1:
 bac0076ecf55065c293f14805e78ec72ebbcf884 2074 lua-geoip_0.2-3+deb13u1.dsc
 de688b6696757c3f5bd97861f608d0f2972ec5ca 9543 lua-geoip_0.2.orig.tar.gz
 58383dddd3928e331d58d3bf27078a322b83a835 5596 lua-geoip_0.2-3+deb13u1.debian.tar.xz
Checksums-Sha256:
 6ccf12b7f30cdf956abb3e55172eb855a7a21e8642f9f8ca18ceb124e0cef751 2074 lua-geoip_0.2-3+deb13u1.dsc
 a9d6289d77481ba92c7e3b6736d4688f0c9ae3e48f581fdac1002c125fd678a9 9543 lua-geoip_0.2.orig.tar.gz
 1446dc9be9d06a52b50dfaf05f8433ce49658338bc6ab6c5c98d436d2e6f66e6 5596 lua-geoip_0.2-3+deb13u1.debian.tar.xz
Files:
 bd3220ebbc4276f8721ffd21ab56eb05 2074 interpreters optional lua-geoip_0.2-3+deb13u1.dsc
 e91bd5e06c59dc5f1e55c4bdee11466c 9543 interpreters optional lua-geoip_0.2.orig.tar.gz
 27f4b2ee6fd1c7c88559cca0f3889f44 5596 interpreters optional lua-geoip_0.2-3+deb13u1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmpcr9QACgkQiNJCh6LY
mLFGzBAAh416xEZGEhAxxdLVBeiyAsyB4nd5eEBTLHpmKC3W9Nk56M9IeSN+Ixtf
UrPNKdsb610VIEknI/RMuHHiLOm/u0ZMkabKjiG3Zy3kNnHxvLuup9Mre1UcTPp6
tKVNUO/vsT6LRhGHN9a4XnzhRAlYaUw22QkW60ceVy+4Z7XhIbHV9ZcDcZARUm6e
gnhgR/lML7i3JRMug9r0HHqNqDwGvMG3ykB5/rLIb1Y2Lpn7ylqrv2GiG3A9mM75
Vt5XuMdV2tSoQGq1Pi190BfR8okq+MTbBPvF8IwZV9wgvTShZQhyba3U22jWpr4f
nrHqOUTn3lYSxopMd5CnLaODOMNEPOlNczEuzvviLCl2a8HzjuC2e73DNLOV26vU
IiKnQ/dlFUUMKv+fO4iO2aCal36z0CetnN4hyUWw6vm+xZmc0rnvoXtcgoT2kFQ5
V2/RQ8LKtMpHwFM6hGjdDCHLrb8MbcwrLdJ36wwarruOVdleKP9VAz6yteY+jUTC
atN/kbXBXk2DiXUTj0j696a5/RASAoGARYjhu7IEpPwvFn40rSkIcBxbLuCFpNwv
tgpOlHYZ/UYAAanGnxyX1NOgh05Zz2CEp8yg5OukjeLLcQ6C/EBbmMsuLrJgAFh9
Ambi0aFKkMeJUxtJpHkOWKgVT8jU57yNKMvSxl10lWhyyWfdq7c=
=1qja
-----END PGP SIGNATURE-----