Processed: reopen Hurd bug closed by spam

2016-11-06 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> package hurd
Limiting to bugs with field 'package' containing at least one of 'hurd'
Limit currently set to 'package':'hurd'

> reopen 190367
Bug #190367 {Done: "FedEx 2Day" } [hurd] 
libc0.3-dev: fcntl F_GETLK not implemented (ENOSYS)
Bug #748943 {Done: "FedEx 2Day" } [hurd] Add 
support for record file locks
Bug reopened
Ignoring request to alter fixed versions of bug #190367 to the same values 
previously set
Ignoring request to alter fixed versions of bug #748943 to the same values 
previously set
> quit
Stopping processing here.

Please contact me if you need assistance.
-- 
190367: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=190367
748943: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748943
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#843436: dpkg: FTBFS on !linux

2016-11-06 Thread Samuel Thibault
Package: dpkg
Version: 1.18.11
Severity: important
User: debian-hurd@lists.debian.org
Usertags: hurd

Hello,

dpkg currently FTBFS on !linux:

../../scripts/t/Dpkg_Source_Package.t .. ok
Dpkg_Dist_Files.t: error: badly formed line in files list file, line 1
# Looks like you planned 26 tests but ran 22.
# Looks like your test exited with 255 just after 22.
../../scripts/t/Dpkg_Dist_Files.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/26 subtests

This is because when looking through files in the directory, load_dir
also looks at "." and "..", and it happens that on kfreebsd & hurd, one
can open a directory as a file (and we get the content of the directory
inode), so dpkg should explicitly test against directories, here is a
patch proposal.

This is quite bad since libdpkg-perl depends on dpkg:hurd-i386 (>=
1.18.11), so all packages using debhelper are currently non-buildable.

Samuel
--- ./scripts/Dpkg/Dist/Files.pm.original   2016-11-06 17:32:31.0 
+
+++ ./scripts/Dpkg/Dist/Files.pm2016-11-06 17:33:16.0 +
@@ -111,6 +111,7 @@
 my $dh = IO::Dir->new($dir) or syserr(g_('cannot open directory %s'), 
$dir);
 
 while (defined(my $file = $dh->read)) {
+next if (-d $file);
 $count += $self->load("$dir/$file");
 }