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

2017-02-03 Thread Cyril Brulebois
Control: retitle -1 debian-installer: ftbfs because d-i needs network to build…

Holger Levsen <hol...@layer-acht.org> (2016-11-20):
> retitle -1 debian-installer: ftbfs because d-i needs network to build…
> thanks
> 
> On Sun, Nov 20, 2016 at 11:10:11AM +0100, Cyril Brulebois wrote:
> > This isn't a locale issue at all:
> [...]
> > FTBFS due to 4.7 vs. 4.8 kernel udebs is expected to be an issue (fixed
> > in master where the ABI bump happened; but failing to download any udebs
> > is a no-go, d-i needs to access a mirror during its build.
> 
> ah, ic, retitling the bug accordingly. Thanks.

Let's try again without forgetting the “Control:” bit.


KiBi.


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

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

2016-11-20 Thread Cyril Brulebois
Hi,

Holger Levsen <hol...@layer-acht.org> (2016-11-20):
> On Sun, Nov 20, 2016 at 03:42:15AM +0100, Cyril Brulebois wrote:
> > Looking at your A02_user hook, I don't see anything locale-related (now or
> > in previous commits). I've tried setting LANG=fr_CH.UTF-8 and I don't see
> > debian-installer's master fail to build in a sid chroot.
> 
> when possible we don't modify the environment with pbuilder hooks but
> rather directly with our build script
> https://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_build.sh
> 
> have a look at lines 591-600 for the 1st build and 637-660 for the 2nd
> build.

This isn't a locale issue at all:
| I: pbuilder: network access will be disabled during build
[…]
| WARNING: mirror 'http://ftp.de.debian.org/debian' appears to be invalid; 
skipping
| WARNING: mirror 'http://ftp.de.debian.org/debian' appears to be invalid; 
skipping
| Using generated sources.list.udeb:
|deb [trusted=yes] copy:/build/1st/debian-installer-20161031/build/ 
localudebs/

> Upon replying I've scheduled rebuilds of src:debian-installer for
> (amd64|i386|armhf) on unstable+testing and the rebuilds have all already
> happened, all ftbfs…

FTBFS due to 4.7 vs. 4.8 kernel udebs is expected to be an issue (fixed
in master where the ABI bump happened; but failing to download any udebs
is a no-go, d-i needs to access a mirror during its build.


KiBi.


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: misleading timestamps in binnmus

2016-11-09 Thread Cyril Brulebois
Ian Jackson  (2016-11-09):
> What version of sbuild do buildds run ?  Ie, supposing that this is
> fixed in sbuild in stretch, will this be fixed on the buildds ?  Or do
> we need to update jessie, or what ?

sbuild on buildds uses a specific version of sbuild, for reasons I'm not
going to summarize. The base version is close to what's in jessie (see the
first lines of any build log which has “sbuild (Debian sbuild) 0.65.2”).

dsa-puppet.git has:
,---[ modules/debian-org/files/apt.preferences ]---
| …
| Package: sbuild
| Pin: release o=buildd.debian.org
| Pin-Priority: 500
| 
| Package: buildd
| Pin: release o=buildd.debian.org
| Pin-Priority: 500
| 
| Package: libsbuild-perl
| Pin: release o=buildd.debian.org
| Pin-Priority: 500
`---

Repository seems to live under:
  https://apt.buildd.debian.org/


KiBi.


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] Bug#806984: debian-installer: FTBFS: File not found:libtextwrap.so.1

2015-12-03 Thread Cyril Brulebois
Hi,

Val Lorentz  (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`; \
>   

Re: [Reproducible-builds] Bug#805321: Bug#805321: debian-installer: builds unreproducible netboot images

2015-11-25 Thread Cyril Brulebois
Hi,

Steven Chamberlain  (2015-11-22):
> I rewrote the patches according to KiBi's feedback and they are
> now uploaded to our jessie-kfreebsd suite, and this Git branch:
> https://anonscm.debian.org/cgit/d-i/debian-installer.git/log/?h=jessie-kfreebsd

I've cherry-picked 3 patches from there onto master locally and I'm
currently running diffoscope to see how that goes (and it's taking
ages…):
  c182491b05fec16497f2bf1290cac16773d175f9
  5d59fd1813e794d0821c00757dd56fd9ca25ed16
  d126622567cfbe10d7f8a207a292eaab622ef73e

> In my own testing on ZFS, file ordering was still an issue for the
> makefs tool that builds the initrd.  But if I were to try again
> on UFS, I hope to be able to reproduce the entire
> netboot-installer-images tarball as built by the buildds.
> 
> This tarball includes bits that are bundled onto the official release
> images by debian-cd tools.  Making this reproducible is a prerequisite
> for someday having reproducibly-built official release images.
> 
> I could merge these patches into sid if they seem okay?  The only
> commit that should not be merged is this one, which is specific to
> jessie-kfreebsd and must be slightly changed for sid:
>   kfreebsd: use makefs -T to clamp timestamps

I suppose your time is better spent actually working on kfreebsd so
that's why I decided to cherry-pick the patches myself.

FWIW, I'm not exactly entirely convinced by the exporting of the
SOURCE_DATE_EPOCH variable from debian/rules; all other variables have
been passed without exporting so I'm wondering if we shouldn't adapt
this to behave like other variables, reducing possible surprise for
users.

I don't think that's a showstopper for a push to master though; just
thinking out loud.

> I expect that Linux d-i builds will have some reproducibility issues
> in whatever generates the initrd or ISOs, but I may look into that
> after the jessie-kfreebsd release is done.

Sure thing, thanks again!

Mraw,
KiBi.


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] Bug#805321: Bug#805321: debian-installer: builds unreproducible netboot images

2015-11-25 Thread Cyril Brulebois
Cyril Brulebois <k...@debian.org> (2015-11-26):
> I've cherry-picked 3 patches from there onto master locally and I'm
> currently running diffoscope to see how that goes (and it's taking
> ages…):
>   c182491b05fec16497f2bf1290cac16773d175f9
>   5d59fd1813e794d0821c00757dd56fd9ca25ed16
>   d126622567cfbe10d7f8a207a292eaab622ef73e

The following files are different after two builds with debuild -b once
the 3 commits are applied:
./installer-amd64/20151024/images/cdrom/gtk/debian-cd_info.tar.gz
./installer-amd64/20151024/images/cdrom/gtk/initrd.gz
./installer-amd64/20151024/images/cdrom/initrd.gz
./installer-amd64/20151024/images/hd-media/boot.img.gz
./installer-amd64/20151024/images/hd-media/gtk/initrd.gz
./installer-amd64/20151024/images/hd-media/initrd.gz
./installer-amd64/20151024/images/netboot/debian-installer/amd64/initrd.gz
./installer-amd64/20151024/images/netboot/gtk/debian-installer/amd64/initrd.gz
./installer-amd64/20151024/images/netboot/gtk/netboot.tar.gz
./installer-amd64/20151024/images/netboot/netboot.tar.gz

I see at least timestamp issues in initramfses; this might be due to the
fact that pigz (installed in my development chroots) seems to need both
-n and -T to behave like gzip's -n.

I might poke a bit more around this before pushing.

Mraw,
KiBi.


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] Bug#805321: debian-installer: builds unreproducible netboot images

2015-11-16 Thread Cyril Brulebois
(Keeping everyone initially x-d-cc'd in the loop.)

Hi,

Steven Chamberlain  (2015-11-16):
> Package: debian-installer
> Version: 20150422
> Severity: wishlist
> Tags: patch

Where's the patch? :p

> The debian-installer package build produces netboot.tar.gz and
> the mini.iso netboot install media.  It doesn't do this in an easily
> reproducible way:
> 
>   * the d-i initrd/mfsroot is a filesystem image, having variable
> mtime/ctime/atime timestamps from package build time;
>   * likewise in the generated mini.iso;
>   * netboot.tar.gz also has varying timestamps;  the order of files
> may also vary depending on the filesystem;
>   * likewise in the cd info tarball;
>   * likewise in the debian-installer-images tarball;
>   * all gzipped outfile files have a timestamp in the header.
> 
> I have a patch aimed at jessie-kfreebsd that should fix all of the
> above.  It should be possible to do the same in sid with much less
> code, due to new GNU tar features and other reproducible builds work.

Please make sure not to depend on features which are not found in stable
(I'm not entirely sure about oldstable at this point), which might hinder
our ability to cherry-pick bits and pieces from master to jessie.

I know this might sound a bit silly since you're talking about targetting
jessie-kfreebsd anyway, but I'd like to point that out anyway, just in
case someone wants to rework/“simplify” your work later on.

> I've 'clamped' timestamps to be no later than the most recent
> debian/changelog entry date.  That way, the non-useful timestamps
> from during the build are adjusted to a constant value.  Older
> timestamps, actually indicating how old a file is, are untouched.
> The BUILD_DATE, actually the package version number, is unchanged.
> 
> Specifically on kfreebsd, the generated mfsroot is a ffs filesystem
> having file atimes, and another timestamp in the filesystem superblock.
> I intend to patch makefs so that it can clamp timestamps to a given
> SOURCE_DATE_EPOCH.
> 
> Besides a file ordering issue in makefs, all output files including
> netboot.tar.gz and mini.iso then seem to be reproducible for
> jessie-kfreebsd, at least.  :)

I don't have much knowledge in this area (or time to investigate right
away), so I'll probably let reproducible people comment on this once they
see your patch.

Mraw,
KiBi.


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] Bug#805321: debian-installer: builds unreproducible netboot images

2015-11-16 Thread Cyril Brulebois
Hi,

Steven Chamberlain  (2015-11-17):
> Attached is my jessie-kfreebsd implementation.  As I said, it should be
> much cleaner to implement this in sid with newer GNU tar.
> 
> Regards,
> -- 
> Steven Chamberlain
> ste...@pyro.eu.org

> diff --git a/build/Makefile b/build/Makefile
> index ec5a084..6261a4d 100644
> --- a/build/Makefile
> +++ b/build/Makefile
> @@ -56,7 +56,7 @@
>  # Add to PATH so dpkg will always work, and so local programs will be found.
>  PATH := util:$(PATH):/usr/sbin:/sbin
>  EATMYDATA = $(shell which eatmydata 2>/dev/null)
> -GZIP = $(shell which pigz gzip | head -1)
> +GZIP = $(shell which pigz gzip | head -1) -n

I think I already added -n to a bunch of calls. Not sure whether adding
it here once and for all would be better than adding it where it's
missing though. Anyway, not my biggest question/comment/concern here.

>  # We don't want this to be run each time we re-enter.
>  ifndef DEB_HOST_ARCH
> @@ -149,7 +149,7 @@ MFSROOT_LIMIT := 68m
>  endif
>  
>  define mkfs.ufs1
> -  sh -c 'makefs -t ffs -s $(MFSROOT_LIMIT) -f 3000 -o minfree=0,version=1 
> $$0 ${TREE}'
> +  sh -c 'makefs -t ffs -T $(SOURCE_DATE_EPOCH) -s $(MFSROOT_LIMIT) -f 3000 
> -o minfree=0,version=1 $$0 ${TREE}'

Straightforward enough.

>  define e2fsck
> @@ -803,7 +803,14 @@ $(TEMP_MINIISO): $(TEMP_BOOT_SCREENS) arch_miniiso
>  
>  # various kinds of information, for use on debian-cd isos
>  $(DEBIAN_CD_INFO): $(TEMP_BOOT_SCREENS) $(TEMP_CD_INFO_DIR)
> - (cd $(TEMP_CD_INFO_DIR); tar czf - .) > $@
> + # Clamp timestamps to be no newer than last changelog entry, see
> + # https://wiki.debian.org/ReproducibleBuilds/TimestampsInTarball
> + find $(TEMP_CD_INFO_DIR) -newermt "@$(SOURCE_DATE_EPOCH)" -print0 | 
> xargs -0r touch --no-dereference --date="@$(SOURCE_DATE_EPOCH)"
> + # Create tarball with files sorted in a stable order, see
> + # https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs
> + # and without timestamp in the gzip header, see
> + # https://wiki.debian.org/ReproducibleBuilds/TimestampsInGzipHeaders
> + ( cd $(TEMP_CD_INFO_DIR) && find . -print0 | LC_ALL=C sort -z | GZIP=-n 
> tar --no-recursion --null -T - -czf -) > $@
>   update-manifest $@ $(MANIFEST-DEBIAN_CD_INFO)

Once.

>  # a directory full of files for netbooting
> @@ -822,7 +829,14 @@ $(NETBOOT_TAR): $(TEMP_NETBOOT_DIR)
>   # Create an version info file.
>   echo 'Debian version:  $(DEBIAN_VERSION)' > 
> $(TEMP_NETBOOT_DIR)/version.info
>   echo 'Installer build: $(BUILD_DATE)' >> 
> $(TEMP_NETBOOT_DIR)/version.info
> - (cd $(TEMP_NETBOOT_DIR); tar czf - .) > $@
> + # Clamp timestamps to be no newer than last changelog entry, see
> + # https://wiki.debian.org/ReproducibleBuilds/TimestampsInTarball
> + find $(TEMP_NETBOOT_DIR) -newermt "@$(SOURCE_DATE_EPOCH)" -print0 | 
> xargs -0r touch --no-dereference --date="@$(SOURCE_DATE_EPOCH)"
> + # Create tarball with files sorted in a stable order, see
> + # https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs
> + # and without timestamp in the gzip header, see
> + # https://wiki.debian.org/ReproducibleBuilds/TimestampsInGzipHeaders
> + ( cd $(TEMP_NETBOOT_DIR) && find . -print0 | LC_ALL=C sort -z | GZIP=-n 
> tar --no-recursion --null -T - -czf -) > $@

Twice.

>   update-manifest $@ $(MANIFEST-NETBOOT_TAR) $(UDEB_LISTS)
>  
>  $(TEMP_BOOT_SCREENS): arch_boot_screens
> diff --git a/build/config/x86.cfg b/build/config/x86.cfg
> index 3caadd2..b0fc9a2 100644
> --- a/build/config/x86.cfg
> +++ b/build/config/x86.cfg
> @@ -332,6 +332,11 @@ arch_miniiso: x86_syslinux x86_grub_efi
>   | todos > $(TEMP_CD_TREE)/win32-loader.ini; \
>   fi
>  
> + # Clamp timestamps to be no newer than last changelog entry, see
> + # https://wiki.debian.org/ReproducibleBuilds/TimestampsInTarball
> + find $(TEMP_CD_TREE) -newermt "$(SOURCE_DATE)" -print0 \
> +  | xargs -0r touch --no-dereference --date="$(SOURCE_DATE)"
> +

Refraining from writing “almost thrice”. [XXX]

>   if [ "$(GRUB_EFI)" = y ]; then \
>   xorriso -as mkisofs -r -J -b isolinux.bin -c boot.cat \
>   -no-emul-boot -boot-load-size 4 -boot-info-table \
> diff --git a/debian/changelog b/debian/changelog
> index 42aed37..09c8a02 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -1,3 +1,21 @@
> +debian-installer (20150422+kbsd8u2) jessie-kfreebsd; urgency=medium
> +
> +  * Improve reproducibility of debian-installer netboot images:
> +(Closes: #805321)
> +- clamp timestamps in the d-i ramdisk to be no later than
> +  the most recent debian/changelog entry of this package
> +  - raise makefs dependency on >= 20100306-5+kbsd8u1
> +- clamp timestamps in the mini.iso similarly
> +- clamp timestamps in the netboot tarball;  store files in a
> +  stable order
> +- clamp timestamps in the cd info tarball;  store files 

Re: [Reproducible-builds] Reproducible Builds — proof of concept successful for 83% of all sources in main

2015-05-05 Thread Cyril Brulebois
Reproducible builds folks reproducible-builds@lists.alioth.debian.org 
(2015-02-13):
 Bug filing with patches
 ===
 
 We have started to propose patches to make packages build reproducibly
 and tagged them with appropriate usertags and the user
 reproducible-builds@lists.alioth.debian.org [BUGS].
 
 And the number [GRAPH] got quite high quite fast. As more than 400 have
 already been sent, please consider this email as an overdue announcement
 for the mass bug filing.

This is all \o/. Might be worth getting those added on UDD's bug search
page to make it easier for people to have a look at the big picture?

  http://udd.debian.org/bugs/

Mraw,
KiBi.

PS: Please cc me, not subscribed.


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#782551: debbindiff: please implement graceful failure when /dev/shm is missing

2015-04-13 Thread Cyril Brulebois
Package: debbindiff
Version: 15
Severity: normal

Hi people,

since debbindiff isn't shipped in jessie, I've switched to a sid devel
schroot, installed it, and got that:

(sid-amd64-devel)kibi@wodi:~/debian-installer/packages$ debbindiff 
apt-setup-udeb_0.9[67]_amd64.udeb
Traceback (most recent call last):
  File /usr/bin/debbindiff, line 120, in module
sys.exit(main())
  File /usr/bin/debbindiff, line 106, in main
parsed_args.file1, parsed_args.file2)
  File /usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py, 
line 123, in compare_files
return comparator(path1, path2, source)
  File /usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py, line 
60, in with_fallback
inside_differences = original_function(path1, path2, source)
  File /usr/lib/python2.7/dist-packages/debbindiff/comparators/deb.py, line 
52, in compare_deb_files
in_path1, in_path2, source=name))
  File /usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py, 
line 123, in compare_files
return comparator(path1, path2, source)
  File /usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py, line 
60, in with_fallback
inside_differences = original_function(path1, path2, source)
  File /usr/lib/python2.7/dist-packages/debbindiff/comparators/gzip.py, line 
56, in compare_gzip_files
metadata1, metadata2, path1, path2, source='metadata')
  File /usr/lib/python2.7/dist-packages/debbindiff/difference.py, line 303, 
in from_unicode
*args, **kwargs)
  File /usr/lib/python2.7/dist-packages/debbindiff/difference.py, line 290, 
in from_feeder
unified_diff = diff(feeder1, feeder2)
  File /usr/lib/python2.7/dist-packages/debbindiff/difference.py, line 260, 
in diff
end_nl_q1 = Queue()
  File /usr/lib/python2.7/multiprocessing/__init__.py, line 218, in Queue
return Queue(maxsize)
  File /usr/lib/python2.7/multiprocessing/queues.py, line 63, in __init__
self._rlock = Lock()
  File /usr/lib/python2.7/multiprocessing/synchronize.py, line 147, in 
__init__
SemLock.__init__(self, SEMAPHORE, 1, 1)
  File /usr/lib/python2.7/multiprocessing/synchronize.py, line 75, in __init__
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied


The fact is: /dev/shm isn't bind-mounted into this chroot, and the python
multiprocessing module is quite unhappy about it. It might be worth
catching this issue and printing a message hinting at a possibly missing
mount.

Mraw,
KiBi.

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds