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

Reply via email to