There is another serious problem with glibc 2.28 on m68k which makes
some packages fail to build [1]:
cp -a doc/changes
/<<PKGBUILDDIR>>/debian/hp2xx/usr/share/doc/hp2xx/changelog_old
cp -a hp-tests/* /<<PKGBUILDDIR>>/debian/hp2xx/usr/share/doc/hp2xx/hp-tests/
/bin/cp: cannot stat 'hp-tests/*': No such file or directory
make[1]: *** [debian/rules:15: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned
exit status 2
Downgrading from 2.28 to 2.27 fixes the problem:
(sid-m68k-sbuild)root@epyc:/build/hp2xx-j13jUj/hp2xx-3.4.4# ./debian/rules
binary-arch
dh binary-arch
dh_testroot -a
dh_prep -a
rm -f -- debian/hp2xx.substvars
rm -fr -- debian/.debhelper/generated/hp2xx/ debian/hp2xx/ debian/tmp/
dh_installdirs -a
install -d debian/hp2xx/usr/bin
debian/hp2xx/usr/share/doc/hp2xx/hp-tests debian/hp2xx/usr/share/info
debian/hp2xx/usr/share/man/man1
rm -f debian/hp2xx.debhelper.log
debian/rules override_dh_auto_install
make[1]: Entering directory '/build/hp2xx-j13jUj/hp2xx-3.4.4'
dh_auto_install -- prefix=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr \
man1dir=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/man/man1
\
infodir=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/info
make V=1 -j1 install
DESTDIR=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx AM_UPDATE_INFO_DIR=no
"INSTALL=install --strip-program=true"
prefix=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr
man1dir=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/man/man1
infodir=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/info
make[2]: Entering directory '/build/hp2xx-j13jUj/hp2xx-3.4.4'
cd sources; make install
make[3]: Entering directory '/build/hp2xx-j13jUj/hp2xx-3.4.4/sources'
cp hp2xx /build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/bin
chmod 755 /build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/bin/hp2xx
cp hp2xx.info /build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/info
chmod 644 /build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/info/hp2xx.info
cp ../doc/hp2xx.1
/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/man/man1
chmod 644
/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/man/man1/hp2xx.1
make[3]: Leaving directory '/build/hp2xx-j13jUj/hp2xx-3.4.4/sources'
make[2]: Leaving directory '/build/hp2xx-j13jUj/hp2xx-3.4.4'
cp -a /build/hp2xx-j13jUj/hp2xx-3.4.4/doc/changes
/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/doc/hp2xx/changelog_old
cp -a /build/hp2xx-j13jUj/hp2xx-3.4.4/hp-tests/*
/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/doc/hp2xx/hp-tests/
/bin/cp: cannot stat '/build/hp2xx-j13jUj/hp2xx-3.4.4/hp-tests/*': No such file
or directory
make[1]: *** [debian/rules:15: override_dh_auto_install] Error 1
make[1]: Leaving directory '/build/hp2xx-j13jUj/hp2xx-3.4.4'
make: *** [debian/rules:10: binary-arch] Error 2
(sid-m68k-sbuild)root@epyc:/build/hp2xx-j13jUj/hp2xx-3.4.4# dpkg -i /tmp/*deb
dpkg: warning: downgrading libc-bin from 2.28-2 to 2.27-8
(Reading database ... 47196 files and directories currently installed.)
Preparing to unpack /tmp/libc-bin_2.27-8_m68k.deb ...
Unpacking libc-bin (2.27-8) over (2.28-2) ...
dpkg: warning: downgrading libc-dev-bin from 2.28-2 to 2.27-8
Preparing to unpack .../libc-dev-bin_2.27-8_m68k.deb ...
Unpacking libc-dev-bin (2.27-8) over (2.28-2) ...
dpkg: warning: downgrading libc6-dev:m68k from 2.28-2 to 2.27-8
Preparing to unpack /tmp/libc6-dev_2.27-8_m68k.deb ...
Unpacking libc6-dev:m68k (2.27-8) over (2.28-2) ...
dpkg: warning: downgrading libc6:m68k from 2.28-2 to 2.27-8
Preparing to unpack /tmp/libc6_2.27-8_m68k.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line
76.)
debconf: falling back to frontend: Readline
Unpacking libc6:m68k (2.27-8) over (2.28-2) ...
dpkg: warning: downgrading multiarch-support from 2.28-2 to 2.27-8
Preparing to unpack .../multiarch-support_2.27-8_m68k.deb ...
Unpacking multiarch-support (2.27-8) over (2.28-2) ...
Setting up libc6:m68k (2.27-8) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line
76.)
debconf: falling back to frontend: Readline
Setting up multiarch-support (2.27-8) ...
Setting up libc-bin (2.27-8) ...
Setting up libc-dev-bin (2.27-8) ...
Setting up libc6-dev:m68k (2.27-8) ...
Processing triggers for man-db (2.8.4-3) ...
Not building database; man-db/auto-update is not 'true'.
(sid-m68k-sbuild)root@epyc:/build/hp2xx-j13jUj/hp2xx-3.4.4# ./debian/rules
binary-arch
dh binary-arch
dh_testroot -a
dh_prep -a
rm -f -- debian/hp2xx.substvars
rm -fr -- debian/.debhelper/generated/hp2xx/ debian/hp2xx/ debian/tmp/
dh_installdirs -a
install -d debian/hp2xx/usr/bin
debian/hp2xx/usr/share/doc/hp2xx/hp-tests debian/hp2xx/usr/share/info
debian/hp2xx/usr/share/man/man1
rm -f debian/hp2xx.debhelper.log
debian/rules override_dh_auto_install
make[1]: Entering directory '/build/hp2xx-j13jUj/hp2xx-3.4.4'
dh_auto_install -- prefix=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr \
man1dir=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/man/man1
\
infodir=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/info
make V=1 -j1 install
DESTDIR=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx AM_UPDATE_INFO_DIR=no
"INSTALL=install --strip-program=true"
prefix=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr
man1dir=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/man/man1
infodir=/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/info
make[2]: Entering directory '/build/hp2xx-j13jUj/hp2xx-3.4.4'
cd sources; make install
make[3]: Entering directory '/build/hp2xx-j13jUj/hp2xx-3.4.4/sources'
cp hp2xx /build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/bin
chmod 755 /build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/bin/hp2xx
cp hp2xx.info /build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/info
chmod 644 /build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/info/hp2xx.info
cp ../doc/hp2xx.1
/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/man/man1
chmod 644
/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/man/man1/hp2xx.1
make[3]: Leaving directory '/build/hp2xx-j13jUj/hp2xx-3.4.4/sources'
make[2]: Leaving directory '/build/hp2xx-j13jUj/hp2xx-3.4.4'
cp -a /build/hp2xx-j13jUj/hp2xx-3.4.4/doc/changes
/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/doc/hp2xx/changelog_old
cp -a /build/hp2xx-j13jUj/hp2xx-3.4.4/hp-tests/*
/build/hp2xx-j13jUj/hp2xx-3.4.4/debian/hp2xx/usr/share/doc/hp2xx/hp-tests/
make[1]: Leaving directory '/build/hp2xx-j13jUj/hp2xx-3.4.4'
dh_installdocs -a
install -d debian/.debhelper/generated/hp2xx
cp --reflink=auto -a ./README debian/hp2xx/usr/share/doc/hp2xx
cp --reflink=auto -a ./TODO debian/hp2xx/usr/share/doc/hp2xx
cp --reflink=auto -a ./doc/hp_cmds.lst debian/hp2xx/usr/share/doc/hp2xx
chown -R 0:0 debian/hp2xx/usr/share/doc
chmod -R u\+rw,go=rX debian/hp2xx/usr/share/doc
install -p -m0644 debian/copyright
debian/hp2xx/usr/share/doc/hp2xx/copyright
dh_installchangelogs -a
install -p -m0644 debian/changelog
debian/hp2xx/usr/share/doc/hp2xx/changelog.Debian
install -p -m0644 ./CHANGES debian/hp2xx/usr/share/doc/hp2xx/changelog
dh_installman -a
man -l --recode UTF-8 ./debian/hp2xx/usr/share/man/man1/hp2xx.1 >
debian/hp2xx/usr/share/man/man1/hp2xx.1.dh-new
mv debian/hp2xx/usr/share/man/man1/hp2xx.1.dh-new
debian/hp2xx/usr/share/man/man1/hp2xx.1
chmod 0644 -- debian/hp2xx/usr/share/man/man1/hp2xx.1
dh_perl -a
dh_link -a
dh_strip_nondeterminism -a
dh_compress -a
cd debian/hp2xx
chmod a-x usr/share/doc/hp2xx/changelog
usr/share/doc/hp2xx/changelog.Debian usr/share/doc/hp2xx/changelog_old
usr/share/doc/hp2xx/hp-tests/286x192.5_lh.hpg
usr/share/doc/hp2xx/hp-tests/286x192.5_lq.hpg
usr/share/doc/hp2xx/hp-tests/286x192.5_qh.hpg
usr/share/doc/hp2xx/hp-tests/286x192.5_qh2.hpg
usr/share/doc/hp2xx/hp-tests/286x192.5_qq.hpg
usr/share/doc/hp2xx/hp-tests/acad.hp usr/share/doc/hp2xx/hp-tests/inter.hp
usr/share/doc/hp2xx/hp-tests/pages.1.eps usr/share/doc/hp2xx/hp-tests/pages.eps
usr/share/doc/hp2xx/hp-tests/spectrum.plt usr/share/doc/hp2xx/hp-tests/win_1.hp
usr/share/doc/hp2xx/hp_cmds.lst usr/share/info/hp2xx.info
usr/share/man/man1/hp2xx.1
gzip -9nf usr/share/doc/hp2xx/changelog
usr/share/doc/hp2xx/changelog.Debian usr/share/doc/hp2xx/changelog_old
usr/share/doc/hp2xx/hp-tests/286x192.5_lh.hpg
usr/share/doc/hp2xx/hp-tests/286x192.5_lq.hpg
usr/share/doc/hp2xx/hp-tests/286x192.5_qh.hpg
usr/share/doc/hp2xx/hp-tests/286x192.5_qh2.hpg
usr/share/doc/hp2xx/hp-tests/286x192.5_qq.hpg
usr/share/doc/hp2xx/hp-tests/acad.hp usr/share/doc/hp2xx/hp-tests/inter.hp
usr/share/doc/hp2xx/hp-tests/pages.1.eps usr/share/doc/hp2xx/hp-tests/pages.eps
usr/share/doc/hp2xx/hp-tests/spectrum.plt usr/share/doc/hp2xx/hp-tests/win_1.hp
usr/share/doc/hp2xx/hp_cmds.lst usr/share/info/hp2xx.info
usr/share/man/man1/hp2xx.1
cd '/build/hp2xx-j13jUj/hp2xx-3.4.4'
dh_fixperms -a
find debian/hp2xx -true -print0 2>/dev/null | xargs -0r chown
--no-dereference 0:0
find debian/hp2xx ! -type l -a -true -a -true -print0 2>/dev/null |
xargs -0r chmod go=rX,u+rw,a-s
find debian/hp2xx/usr/share/doc -type f -a -true -a ! -regex
'debian/hp2xx/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r
chmod 0644
find debian/hp2xx/usr/share/doc -type d -a -true -a -true -print0
2>/dev/null | xargs -0r chmod 0755
find debian/hp2xx/usr/share/man -type f -a -true -a -true -print0
2>/dev/null | xargs -0r chmod 0644
find debian/hp2xx -type f \( -name '*.so.*' -o -name '*.so' -o -name
'*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o
-name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name
'*.gif' -o -name '*.cmxs' \) -a -true -a -true -print0 2>/dev/null | xargs -0r
chmod 0644
find debian/hp2xx/usr/bin -type f -a -true -a -true -print0 2>/dev/null
| xargs -0r chmod a+x
dh_missing -a
dh_strip -a
chmod 0644 --
debian/.debhelper/hp2xx/dbgsym-root/usr/lib/debug/.build-id/ab/3f4e1c882aa054cb852c38736c68a45de18d0f.debug
chown 0:0 --
debian/.debhelper/hp2xx/dbgsym-root/usr/lib/debug/.build-id/ab/3f4e1c882aa054cb852c38736c68a45de18d0f.debug
strip --remove-section=.comment --remove-section=.note
debian/hp2xx/usr/bin/hp2xx
objcopy --add-gnu-debuglink
debian/.debhelper/hp2xx/dbgsym-root/usr/lib/debug/.build-id/ab/3f4e1c882aa054cb852c38736c68a45de18d0f.debug
debian/hp2xx/usr/bin/hp2xx
dh_makeshlibs -a
rm -f debian/hp2xx/DEBIAN/shlibs
dh_shlibdeps -a
install -d debian/hp2xx/DEBIAN
dpkg-shlibdeps -Tdebian/hp2xx.substvars debian/hp2xx/usr/bin/hp2xx
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/hp2xx/usr/bin/hp2xx was not linked against libz.so.1 (it uses none of
the library's symbols)
dh_installdeb -a
dh_gencontrol -a
echo misc:Depends= >> debian/hp2xx.substvars
echo misc:Pre-Depends= >> debian/hp2xx.substvars
dpkg-gencontrol -php2xx -ldebian/changelog -Tdebian/hp2xx.substvars
-Pdebian/.debhelper/hp2xx/dbgsym-root -UPre-Depends -URecommends -USuggests
-UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage
-UImportant -DAuto-Built-Package=debug-symbols -DPackage=hp2xx-dbgsym
"-DDepends=hp2xx (= \${binary:Version})" "-DDescription=debug symbols for
hp2xx" -DBuild-Ids=ab3f4e1c882aa054cb852c38736c68a45de18d0f -DSection=debug
-UMulti-Arch -UReplaces -UBreaks
chmod 0644 -- debian/.debhelper/hp2xx/dbgsym-root/DEBIAN/control
chown 0:0 -- debian/.debhelper/hp2xx/dbgsym-root/DEBIAN/control
dpkg-gencontrol -php2xx -ldebian/changelog -Tdebian/hp2xx.substvars
-Pdebian/hp2xx -UMulti-Arch
chmod 0644 -- debian/hp2xx/DEBIAN/control
chown 0:0 -- debian/hp2xx/DEBIAN/control
dh_md5sums -a
cd debian/hp2xx >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@)
{ s/\\\\/\\/g; }' > DEBIAN/md5sums
chmod 0644 -- debian/hp2xx/DEBIAN/md5sums
chown 0:0 -- debian/hp2xx/DEBIAN/md5sums
cd debian/.debhelper/hp2xx/dbgsym-root >/dev/null && xargs -r0 md5sum |
perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
chmod 0644 -- debian/.debhelper/hp2xx/dbgsym-root/DEBIAN/md5sums
chown 0:0 -- debian/.debhelper/hp2xx/dbgsym-root/DEBIAN/md5sums
dh_builddeb -a
dpkg-deb --build debian/hp2xx ..
dpkg-deb: building package 'hp2xx' in '../hp2xx_3.4.4-11_m68k.deb'.
dpkg-deb --build debian/.debhelper/hp2xx/dbgsym-root ..
dpkg-deb: building package 'hp2xx-dbgsym' in
'../hp2xx-dbgsym_3.4.4-11_m68k.deb'.
(sid-m68k-sbuild)root@epyc:/build/hp2xx-j13jUj/hp2xx-3.4.4#
> [1]
> https://buildd.debian.org/status/fetch.php?pkg=hp2xx&arch=m68k&ver=3.4.4-11&stamp=1544051323&raw=0
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - [email protected]
`. `' Freie Universitaet Berlin - [email protected]
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913