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

Bug#806984: debian-installer: FTBFS: File not found:libtextwrap.so.1



Hi,

Val Lorentz <progval@progval.net> (2015-12-03):
> While working on the “reproducible builds” effort [1], we have noticed
> that debian-installer could not be built in some configurations.
> It could be an effect of any of the commands in [2], but it is likely to
> be the locale.
> 
> The attached file contains the full build logs.
> 
>  [1]: https://wiki.debian.org/ReproducibleBuilds
>  [2]:
> https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=reproducible/misc.git;a=blob;f=prebuilder/pbuilderhooks/A02_user;h=a3c8ceb9a4e5b0aa069e146bc50d3757d89a2e1f;hb=b012c16d7349a30b3c906851c171670abbced407
> 
> Regards,
> Valentin

Focusing on that part:

> Les NOUVEAUX paquets suivants seront installés :
>   acpi-modules-4.2.0-1-amd64-di alsa-utils-udeb anna archdetect
>   ata-modules-4.2.0-1-amd64-di bogl-bterm-udeb brltty-udeb busybox-udeb
>   cdebconf-gtk-terminal cdebconf-gtk-udeb cdebconf-newt-terminal
>   cdebconf-newt-udeb cdebconf-priority cdebconf-text-udeb cdebconf-udeb
>   cdrom-checker cdrom-core-modules-4.2.0-1-amd64-di cdrom-detect
>   cdrom-retriever console-setup-linux-fonts-udeb console-setup-pc-ekmap
>   console-setup-udeb core-modules-4.2.0-1-amd64-di
>   crc-modules-4.2.0-1-amd64-di di-utils di-utils-reboot di-utils-shell
>   di-utils-terminfo env-preseed espeak-data-udeb espeakup-udeb
>   event-modules-4.2.0-1-amd64-di fat-modules-4.2.0-1-amd64-di
>   fb-modules-4.2.0-1-amd64-di file-preseed
>   firewire-core-modules-4.2.0-1-amd64-di fontconfig-udeb fonts-android-udeb
>   fonts-farsiweb-udeb fonts-khmeros-udeb fonts-knda-udeb fonts-lao-udeb
>   fonts-lklug-sinhala-udeb fonts-lohit-guru-udeb fonts-mlym-udeb
>   fonts-sil-abyssinica-udeb fonts-sil-padauk-udeb fonts-taml-udeb
>   fonts-telu-udeb fonts-thai-tlwg-udeb fonts-tibetan-machine-udeb
>   fonts-ukij-uyghur-udeb gtk2-engines-udeb hw-detect
>   hyperv-modules-4.2.0-1-amd64-di i2c-modules-4.2.0-1-amd64-di initrd-preseed
>   input-modules-4.2.0-1-amd64-di installation-locale
>   isofs-modules-4.2.0-1-amd64-di kbd-udeb kernel-image-4.2.0-1-amd64-di
>   libasound2-udeb libatk1.0-udeb libblkid1-udeb libc6-udeb libcairo2-udeb
>   libdebconfclient0-udeb libdebian-installer4-udeb libdrm2-udeb libevdev2-udeb
>   libexpat1-udeb libffi6-udeb libfontenc1-udeb libfreetype6-udeb
>   libfribidi0-udeb libgdk-pixbuf2.0-0-udeb libglib2.0-udeb libgtk2.0-0-udeb
>   libharfbuzz0-udeb libkmod2-udeb libmtdev1-udeb libnss-dns-udeb
>   libnss-files-udeb libpango1.0-udeb libpciaccess0-udeb libpcre3-udeb
>   libpixman-1-0-udeb libpng12-0-udeb libslang2-udeb libtextwrap1-udeb
>   libudev1-udeb libuuid1-udeb libvte9-udeb libx11-6-udeb libxau6-udeb
>   libxcb1-udeb libxcursor1-udeb libxdmcp6-udeb libxext6-udeb libxfixes3-udeb
>   libxfont1-udeb libxft2-udeb libxi6-udeb libxinerama1-udeb libxkbfile1-udeb
>   libxrender1-udeb libxshmfence1-udeb load-cdrom localechooser lowmemcheck
>   main-menu media-retriever mmc-core-modules-4.2.0-1-amd64-di
>   mmc-modules-4.2.0-1-amd64-di mountmedia mouse-modules-4.2.0-1-amd64-di
>   nano-udeb pata-modules-4.2.0-1-amd64-di pciutils-udeb
>   pcmcia-modules-4.2.0-1-amd64-di pcmcia-storage-modules-4.2.0-1-amd64-di
>   pcmciautils-udeb preseed-common rescue-check rootskel rootskel-gtk
>   sata-modules-4.2.0-1-amd64-di save-logs scsi-common-modules-4.2.0-1-amd64-di
>   scsi-core-modules-4.2.0-1-amd64-di scsi-modules-4.2.0-1-amd64-di
>   serial-modules-4.2.0-1-amd64-di sound-modules-4.2.0-1-amd64-di
>   speakup-modules-4.2.0-1-amd64-di ttf-dejavu-mono-udeb ttf-dejavu-udeb
>   ttf-freefont-udeb udev-udeb udpkg uinput-modules-4.2.0-1-amd64-di
>   usb-modules-4.2.0-1-amd64-di usb-serial-modules-4.2.0-1-amd64-di
>   usb-storage-modules-4.2.0-1-amd64-di util-linux-udeb x11-xkb-utils-udeb
>   xkb-data-udeb xserver-xorg-core-udeb xserver-xorg-input-evdev-udeb
>   xserver-xorg-video-fbdev-udeb zlib1g-udeb

This list of packages is identical when building locally (with a regular
locale):

$ locale
LANG=en_GB.UTF-8
LANGUAGE=
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

(except mine is about NEW packages.)

> set -e; \
> oldsize=0; oldblocks=0; oldcount=0; for udeb in udebs/*.udeb ; do \
> 	if [ -f "$udeb" ]; then \
> 		pkg=`basename $udeb` ; \
> 		 dpkg --force-overwrite --path-include='*' --log=/dev/null --root=./tmp/cdrom_gtk/tree --unpack $udeb ; \
> 		newsize=`du -bs ./tmp/cdrom_gtk/tree | awk '{print $1}'` ; \
> 		newblocks=`du -s ./tmp/cdrom_gtk/tree | awk '{print $1}'` ; \
> 		newcount=`find ./tmp/cdrom_gtk/tree -type f | wc -l | awk '{print $1}'` ; \
> 		usedsize=`echo $newsize - $oldsize | bc`; \
> 		usedblocks=`echo $newblocks - $oldblocks | bc`; \
> 		usedcount=`echo $newcount - $oldcount | bc`; \
> 		version=`dpkg-deb --info $udeb | awk '/ Version: / { print $2 }' | sed 's/+b[0-9]*$//g'` ; \
> 		source=`dpkg-deb --info $udeb | awk '/ Source: / { print $2 }'` ; \
> 		if [ -z "$source" ]; then \
> 			source=`dpkg-deb --info $udeb | awk '/ Package: / { print $2 }'` ; \
> 		fi ; \
> 		echo " $usedsize B - $usedblocks blocks - $usedcount files from $pkg (version $version)" >>./tmp/cdrom_gtk/diskusage.txt;\
> 		echo "$source (= $version)" >>./tmp/cdrom_gtk/built-using.txt;\
> 		oldsize=$newsize ; \
> 		oldblocks=$newblocks ; \
> 		oldcount=$newcount ; \
> 	fi; \
> done

This loop seems to be missing quite a bunch of packages for reasons I
don't know yet. I'm attaching a diff (beware of some version skews
because the builds happened at different times, so stretch had different
packages), between ok-unpacking (my successful build) and ko-depaquetage
(yours), after selecting with awk the “package (version)” part of the
unpack messages, just in case someone figures out what could be
responsible for such a diff:

kibi@chloe:~$ colordiff -u ok-unpacking ko-depaquetage 
--- ok-unpacking	2015-12-04 05:25:15.454347994 +0100
+++ ko-depaquetage	2015-12-04 05:25:55.108452336 +0100
@@ -1,18 +1,16 @@
 acpi-modules-4.2.0-1-amd64-di (4.2.6-1)
-alsa-utils-udeb (1.0.29-1+b1)
 anna (1.54)
 archdetect (1.114)
-ata-modules-4.2.0-1-amd64-di (4.2.6-1)
 bogl-bterm-udeb (0.1.18-10)
 brltty-udeb (5.2~20141018-5+b2)
-busybox-udeb (1:1.22.0-15)
+busybox-udeb (1:1.22.0-15+b1)
 cdebconf-gtk-terminal (0.23)
-cdebconf-gtk-udeb (0.197)
+cdebconf-gtk-udeb (0.199)
 cdebconf-newt-terminal (0.23)
-cdebconf-newt-udeb (0.197)
-cdebconf-priority (0.197)
-cdebconf-text-udeb (0.197)
-cdebconf-udeb (0.197)
+cdebconf-newt-udeb (0.199)
+cdebconf-priority (0.199)
+cdebconf-text-udeb (0.199)
+cdebconf-udeb (0.199)
 cdrom-checker (1.31)
 cdrom-core-modules-4.2.0-1-amd64-di (4.2.6-1)
 cdrom-detect (1.59)
@@ -20,21 +18,16 @@
 console-setup-linux-fonts-udeb (1.134)
 console-setup-pc-ekmap (1.134)
 console-setup-udeb (1.134)
-core-modules-4.2.0-1-amd64-di (4.2.6-1)
-crc-modules-4.2.0-1-amd64-di (4.2.6-1)
 di-utils-reboot (1.112)
 di-utils-shell (1.112)
 di-utils-terminfo (1.112)
 di-utils (1.112)
 env-preseed (1.68)
-espeak-data-udeb (1.48.04+dfsg-1)
 espeakup-udeb (1:0.71-19)
-event-modules-4.2.0-1-amd64-di (4.2.6-1)
 fat-modules-4.2.0-1-amd64-di (4.2.6-1)
 fb-modules-4.2.0-1-amd64-di (4.2.6-1)
 file-preseed (1.68)
 firewire-core-modules-4.2.0-1-amd64-di (4.2.6-1)
-fontconfig-udeb (2.11.0-6.3)
 fonts-android-udeb (1:4.4.4r2-7)
 fonts-farsiweb-udeb (0.4.dfsg-12)
 fonts-khmeros-udeb (5.0-7)
@@ -53,63 +46,22 @@
 gtk2-engines-udeb (1:2.20.2-3)
 hw-detect (1.114)
 hyperv-modules-4.2.0-1-amd64-di (4.2.6-1)
-i2c-modules-4.2.0-1-amd64-di (4.2.6-1)
 initrd-preseed (1.68)
 input-modules-4.2.0-1-amd64-di (4.2.6-1)
 installation-locale (1.5)
-isofs-modules-4.2.0-1-amd64-di (4.2.6-1)
 kbd-udeb (1.15.5-2)
 kernel-image-4.2.0-1-amd64-di (4.2.6-1)
-libasound2-udeb (1.0.29-1)
-libatk1.0-udeb (2.18.0-1)
-libblkid1-udeb (2.27.1-1)
-libcairo2-udeb (1.14.4-1)
-libdebconfclient0-udeb (0.197)
+libdebconfclient0-udeb (0.199)
 libdebian-installer4-udeb (0.102)
-libdrm2-udeb (2.4.65-3)
-libevdev2-udeb (1.4.5+dfsg-1)
-libexpat1-udeb (2.1.0-7)
-libffi6-udeb (3.2.1-3)
-libfontenc1-udeb (1:1.1.3-1)
-libfreetype6-udeb (2.6.1-0.1)
 libfribidi0-udeb (0.19.7-1)
-libgdk-pixbuf2.0-0-udeb (2.32.2-1)
-libglib2.0-udeb (2.46.2-1)
-libgtk2.0-0-udeb (2.24.28-1)
-libharfbuzz0-udeb (1.0.1-1+b1)
 libkmod2-udeb (21-1)
-libmtdev1-udeb (1.1.5-1)
-libnss-dns-udeb (2.19-22)
-libnss-files-udeb (2.19-22)
-libpango1.0-udeb (1.38.1-1)
-libpciaccess0-udeb (0.13.4-1)
-libpcre3-udeb (2:8.35-8)
-libpixman-1-0-udeb (0.33.4-1)
-libpng12-0-udeb (1.2.54-1)
-libtextwrap1-udeb (0.1-14)
-libudev1-udeb (228-2)
-libuuid1-udeb (2.27.1-1)
-libvte9-udeb (1:0.28.2-5)
-libx11-6-udeb (2:1.6.3-1)
-libxau6-udeb (1:1.0.8-1)
-libxcb1-udeb (1.10-3+b1)
-libxcursor1-udeb (1:1.1.14-1+b1)
-libxdmcp6-udeb (1:1.1.2-1)
-libxext6-udeb (2:1.3.3-1)
-libxfixes3-udeb (1:5.0.1-2+b2)
-libxfont1-udeb (1:1.5.1-1)
-libxft2-udeb (2.3.2-1)
-libxi6-udeb (2:1.7.5-1)
-libxinerama1-udeb (2:1.1.3-1+b1)
-libxkbfile1-udeb (1:1.0.9-2)
-libxrender1-udeb (1:0.9.9-2)
-libxshmfence1-udeb (1.2-1)
+libnss-dns-udeb (2.21-1)
+libnss-files-udeb (2.21-1)
 load-cdrom (1.37)
 localechooser (2.67)
 lowmemcheck (1.43)
 main-menu (1.47)
 media-retriever (1.38)
-mmc-core-modules-4.2.0-1-amd64-di (4.2.6-1)
 mmc-modules-4.2.0-1-amd64-di (4.2.6-1)
 mountmedia (0.23)
 mouse-modules-4.2.0-1-amd64-di (4.2.6-1)
@@ -131,7 +83,6 @@
 serial-modules-4.2.0-1-amd64-di (4.2.6-1)
 sound-modules-4.2.0-1-amd64-di (4.2.6-1)
 speakup-modules-4.2.0-1-amd64-di (4.2.6-1)
-ttf-dejavu-mono-udeb (2.33-3)
 ttf-dejavu-udeb (2.33-3)
 ttf-freefont-udeb (20100919-1)
 udev-udeb (228-2)
@@ -140,10 +91,6 @@
 usb-modules-4.2.0-1-amd64-di (4.2.6-1)
 usb-serial-modules-4.2.0-1-amd64-di (4.2.6-1)
 usb-storage-modules-4.2.0-1-amd64-di (4.2.6-1)
-util-linux-udeb (2.27.1-1)
-x11-xkb-utils-udeb (7.7+2)
-xkb-data-udeb (2.16-1)
 xserver-xorg-core-udeb (2:1.17.3-2)
 xserver-xorg-input-evdev-udeb (1:2.9.2-1)
 xserver-xorg-video-fbdev-udeb (1:0.4.4-1+b3)
-zlib1g-udeb (1:1.2.8.dfsg-2+b1)


Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: