Your message dated Tue, 23 Dec 2025 17:50:55 +0100
with message-id <[email protected]>
and subject line Re: utf8proc: Struggling to build package from source
has caused the Debian Bug report #1122898,
regarding utf8proc: Struggling to build package from source
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1122898: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122898
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: utf8proc
Version: 2.9.0-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Using the following steps in Docker, I get an odd error from dpkg-buildpackage.

FROM debian:sid
RUN sed -i 's/Types: deb/Types: deb deb-src/' 
/etc/apt/sources.list.d/debian.sources
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
  --mount=type=cache,target=/var/lib/apt,sharing=locked \
        apt update && \
        apt --no-install-recommends install -y git dpkg-dev unzip 
ca-certificates build-essential:native debhelper-compat
WORKDIR /src
RUN git clone https://salsa.debian.org/debian/unicode-data
RUN git clone https://salsa.debian.org/debian/utf8proc

WORKDIR /src/unicode-data
RUN dpkg-buildpackage -us -uc -b
RUN dpkg -i ../*.deb && rm -v ../*.deb

WORKDIR /src/utf8proc
RUN dpkg-buildpackage -us -uc -b
RUN dpkg -i ../*.deb && rm -v ../*.deb

---
1.225 make[1]: Entering directory '/src/utf8proc'
1.226 cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/src/utf8proc=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fPIC -std=c99 -Wsign-conversion -Wall 
-Wextra -pedantic -DUTF8PROC_EXPORTS  -c -o test/tests.o test/tests.c
1.226 make -C data NormalizationTest.txt
1.226 make -C data Lowercase.txt
1.226 make -C data Uppercase.txt
1.227 make -C data GraphemeBreakTest.txt
1.227 make[2]: Entering directory '/src/utf8proc/data'
1.227 bzip2 -d < /usr/share/unicode/NormalizationTest.txt.bz2 > 
NormalizationTest.txt
1.227 make[2]: Entering directory '/src/utf8proc/data'
1.227 cp /usr/share/unicode/DerivedCoreProperties.txt DerivedCoreProperties.txt
1.227 make[2]: Entering directory '/src/utf8proc/data'
1.227 cp /usr/share/unicode/DerivedCoreProperties.txt DerivedCoreProperties.txt
1.228 make[2]: Entering directory '/src/utf8proc/data'
1.228 cp /usr/share/unicode/auxiliary/GraphemeBreakTest.txt 
GraphemeBreakTest.txt
1.230 cp: cannot create regular file 'DerivedCoreProperties.txt': File exists
1.230 make[2]: *** [Makefile:36: DerivedCoreProperties.txt] Error 1
1.230 make[2]: *** Deleting file 'DerivedCoreProperties.txt'
1.230 make[2]: Leaving directory '/src/utf8proc/data'
1.230 grep -zoP '(?s)# Derived Property: Uppercase.*?# Total code points:' 
DerivedCoreProperties.txt > Uppercase.txt
1.230 make[2]: Leaving directory '/src/utf8proc/data'
1.230 make[1]: *** [Makefile:136: data/Lowercase.txt] Error 2
1.230 make[1]: *** Waiting for unfinished jobs....
1.232 grep: DerivedCoreProperties.txt: No such file or directory
1.232 make[2]: *** [Makefile:54: Uppercase.txt] Error 2
1.232 make[2]: *** Deleting file 'Uppercase.txt'
1.233 make[2]: Leaving directory '/src/utf8proc/data'
1.233 make[1]: *** [Makefile:139: data/Uppercase.txt] Error 2
1.263 make[2]: Leaving directory '/src/utf8proc/data'
1.270 make[1]: Leaving directory '/src/utf8proc'
1.272 dh_auto_test: error: make -j16 check returned exit code 2
1.275 make: *** [debian/rules:6: binary] Error 25
1.275 dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2
---

Apologies if I am missing something simple!

-- System Information:
Debian Release: 13.2
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.0-rc1 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
On Sun, 14 Dec 2025 20:12:41 +1100 Adam Baxter <[email protected]> wrote:
Source: utf8proc
Version: 2.9.0-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Using the following steps in Docker, I get an odd error from dpkg-buildpackage.

FROM debian:sid
RUN sed -i 's/Types: deb/Types: deb deb-src/' 
/etc/apt/sources.list.d/debian.sources
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
  --mount=type=cache,target=/var/lib/apt,sharing=locked \
        apt update && \
        apt --no-install-recommends install -y git dpkg-dev unzip 
ca-certificates build-essential:native debhelper-compat
WORKDIR /src
RUN git clone https://salsa.debian.org/debian/unicode-data
RUN git clone https://salsa.debian.org/debian/utf8proc

WORKDIR /src/unicode-data
RUN dpkg-buildpackage -us -uc -b
RUN dpkg -i ../*.deb && rm -v ../*.deb

WORKDIR /src/utf8proc
RUN dpkg-buildpackage -us -uc -b
RUN dpkg -i ../*.deb && rm -v ../*.deb

---
1.225 make[1]: Entering directory '/src/utf8proc'
1.226 cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/src/utf8proc=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fPIC -std=c99 -Wsign-conversion -Wall 
-Wextra -pedantic -DUTF8PROC_EXPORTS  -c -o test/tests.o test/tests.c
1.226 make -C data NormalizationTest.txt
1.226 make -C data Lowercase.txt
1.226 make -C data Uppercase.txt
1.227 make -C data GraphemeBreakTest.txt
1.227 make[2]: Entering directory '/src/utf8proc/data'
1.227 bzip2 -d < /usr/share/unicode/NormalizationTest.txt.bz2 > 
NormalizationTest.txt
1.227 make[2]: Entering directory '/src/utf8proc/data'
1.227 cp /usr/share/unicode/DerivedCoreProperties.txt DerivedCoreProperties.txt
1.227 make[2]: Entering directory '/src/utf8proc/data'
1.227 cp /usr/share/unicode/DerivedCoreProperties.txt DerivedCoreProperties.txt
1.228 make[2]: Entering directory '/src/utf8proc/data'
1.228 cp /usr/share/unicode/auxiliary/GraphemeBreakTest.txt 
GraphemeBreakTest.txt
1.230 cp: cannot create regular file 'DerivedCoreProperties.txt': File exists
1.230 make[2]: *** [Makefile:36: DerivedCoreProperties.txt] Error 1
1.230 make[2]: *** Deleting file 'DerivedCoreProperties.txt'
1.230 make[2]: Leaving directory '/src/utf8proc/data'
1.230 grep -zoP '(?s)# Derived Property: Uppercase.*?# Total code points:' 
DerivedCoreProperties.txt > Uppercase.txt
1.230 make[2]: Leaving directory '/src/utf8proc/data'
1.230 make[1]: *** [Makefile:136: data/Lowercase.txt] Error 2
1.230 make[1]: *** Waiting for unfinished jobs....
1.232 grep: DerivedCoreProperties.txt: No such file or directory
1.232 make[2]: *** [Makefile:54: Uppercase.txt] Error 2
1.232 make[2]: *** Deleting file 'Uppercase.txt'
1.233 make[2]: Leaving directory '/src/utf8proc/data'
1.233 make[1]: *** [Makefile:139: data/Uppercase.txt] Error 2
1.263 make[2]: Leaving directory '/src/utf8proc/data'
1.270 make[1]: Leaving directory '/src/utf8proc'
1.272 dh_auto_test: error: make -j16 check returned exit code 2
1.275 make: *** [debian/rules:6: binary] Error 25
1.275 dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2

Hi,

closing as I can build fine like this:

git clone [email protected]:debian/utf8proc
cd utf8proc && uscan --download-version 2.10.0 && sbuild

I suggest you look at wiki.debian.org/sbuild; building in docker is not recommended.

Feel free to reopen if there is a real bug.

best,

werdahias

--- End Message ---

Reply via email to