[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg test suite fails on Alpine Linux starting with 1.21.10



Hello,

I just wanted to report that the dpkg 1.21.11 and 1.21.10 test suite
fails on Alpine Linux Edge. The test suite passed successfully for
previous version of dpkg.

The specific test that fails is the ./t/mk.t.

The output looks as follows:

	./t/mk.t ....................... Use of uninitialized value $v{"DEB_TARGET_GNU_CPU"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_CPU"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_TYPE"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_TYPE"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_CPU"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_CPU"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_TYPE"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_TYPE"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_CPU"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_CPU"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_TYPE"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_TYPE"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_CPU"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_ARCH_OS"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_CPU"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_ARCH_OS"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_ARCH_OS"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.
	Use of uninitialized value $v{"DEB_TARGET_GNU_CPU"} in concatenation (.) or string at /home/soeren/src/aports/main/dpkg/src/dpkg-1.21.11/scripts/dpkg-architecture line 400.

These messages are repeated in an infinite loop for both dpkg 1.21.11
and 1.21.10, the test does not terminate. I suspect that this is related
to commit c15487a58cfd955ae401c872c95aa375aacd1a88 (author in CC) [1].
If I revert this commit then the mk.t test passes on Alpine Linux.
Unfortunately, I don't speak perl so I can't provide a proper fix.

Please let me know if you need more information.

Greetings,
Sören Tempel

[1]: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/scripts/dpkg-architecture.pl?id=c15487a58cfd955ae401c872c95aa375aacd1a88


Reply to: