Your message dated Fri, 12 Apr 2013 16:02:34 +0000
with message-id <[email protected]>
and subject line Bug#566026: fixed in fakeroot-ng 0.18-1
has caused the Debian Bug report #566026,
regarding debhelper: dh_fixperms fails when it tries to run chmod
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
566026: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566026
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 7.4.10
Severity: important

Any package using dh_fixperms (pretty-much all of them) fails to build
because I get this error:
chmod: changing permissions of debian/build-tools/usr/share/doc/build-tools': 
Invalid argument
dh_fixperms: find debian/build-tools/usr/share/doc -type d  -print0 2>/dev/null 
| xargs -0r chmod 755 returned exit code 123

If the offending command is run manually it works fine:
find debian/build-tools/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r 
chmod 755

I really don't understand what is going wrong -there isn't much to go wrong 
with 
chmod 755

I suspect it it is running the 'wrong' chmod - but I can't see how any version 
could
find '755' an 'Invalid argument'

This definately broke when I upgraded to current squeeze from mostly-lenny (so 
a huge
pile of stuff changed, including the default /bin/sh.).
I guess it may not really be a debhelper problem but it is manfesting here and I
haven't noticed anything else broken.

I've tried running dash as the shell and then doing 
find debian/build-tools/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r 
chmod 755
and it still works fine.

If I run dh_fixperms on it's own as myself I get:
$ DH_VERBOSE=1 dh_fixperms
        find debian/build-tools  -print0 2>/dev/null | xargs -0r chown 
--no-dereference 0:0 
chown: changing ownership of debian/build-tools': Operation not permitted
chown: changing ownership of debian/build-tools/usr': Operation not permitted
chown: changing ownership of debian/build-tools/usr/share': Operation not 
permitted
chown: changing ownership of debian/build-tools/usr/share/doc': Operation not 
permitted
chown: changing ownership of debian/build-tools/usr/share/doc/build-tools': 
Operation not permitted
chown: changing ownership of 
debian/build-tools/usr/share/doc/build-tools/changelog': Operation not permitted
chown: changing ownership of debian/build-tools/usr/bin': Operation not 
permitted
chown: changing ownership of debian/build-tools/usr/bin/build': Operation not 
permitted
chown: changing ownership of debian/build-tools/usr/bin/repo-fixownerships': 
Operation not permitted
chown: changing ownership of debian/build-tools/usr/bin/repo-ipkg-reindex': 
Operation not permitted
chown: changing ownership of debian/build-tools/usr/bin/repo-insert-ipkg': 
Operation not permitted
chown: changing ownership of debian/build-tools/usr/bin/repo-processuploads': 
Operation not permitted
chown: changing ownership of debian/build-tools/usr/bin/repo-reprocess': 
Operation not permitted
chown: changing ownership of debian/build-tools/usr/bin/repo-listvoices': 
Operation not permitted
chown: changing ownership of debian/build-tools/usr/bin/tcl-listversions': 
Operation not permitted
dh_fixperms: find debian/build-tools  -print0 2>/dev/null | xargs -0r chown 
--no-dereference 0:0 returned exit code 123

which is fair enough (no fakeroot)

With fakeroot we get the dh_fixperms error:
$ DH_VERBOSE=1 fakeroot dh_fixperms
        find debian/build-tools  -print0 2>/dev/null | xargs -0r chown 
--no-dereference 0:0
        find debian/build-tools ! -type l  -print0 2>/dev/null | xargs -0r 
chmod go=rX,u+rw,a-s
        find debian/build-tools/usr/share/doc -type f  ! -regex 
'debian/build-tools/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | 
xargs -0r chmod 644
        find debian/build-tools/usr/share/doc -type d  -print0 2>/dev/null | 
xargs -0r chmod 755
chmod: changing permissions of debian/build-tools/usr/share/doc/build-tools': 
Invalid argument
dh_fixperms: find debian/build-tools/usr/share/doc -type d  -print0 2>/dev/null 
| xargs -0r chmod 755 returned exit code 123

Running as root it works fine:
# DH_VERBOSE=1 dh_fixperms
        find debian/build-tools  -print0 2>/dev/null | xargs -0r chown 
--no-dereference 0:0
        find debian/build-tools ! -type l  -print0 2>/dev/null | xargs -0r 
chmod go=rX,u+rw,a-s
        find debian/build-tools/usr/share/doc -type f  ! -regex 
'debian/build-tools/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | 
xargs -0r chmod 644
        find debian/build-tools/usr/share/doc -type d  -print0 2>/dev/null | 
xargs -0r chmod 755
        find debian/build-tools/usr/share/man debian/build-tools/usr/man/ 
debian/build-tools/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 
644
        find debian/build-tools -perm -5 -type f \( -name '*.so*' -or -name 
'*.la' -or -name '*.a' \)  -print0 2>/dev/null | xargs -0r chmod 644
        find debian/build-tools/usr/include -type f  -print0 2>/dev/null | 
xargs -0r chmod 644
        find debian/build-tools/usr/share/applications -type f -print0 
2>/dev/null | xargs -0r chmod 644
        find debian/build-tools -perm -5 -type f \( -name '*.cmxs' \) -print0 
2>/dev/null | xargs -0r chmod 644
        find debian/build-tools/usr/lib/perl5 
debian/build-tools/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 
2>/dev/null | xargs -0r chmod a-X
        find debian/build-tools/usr/bin -type f  -print0 2>/dev/null | xargs 
-0r chmod a+x

Running it as root via fakeroot we get the dh_fixperms problem again. That loks 
like a clue.
Perhaps it is a fakeroot problem really?

# DH_VERBOSE=1 fakeroot dh_fixperms
        find debian/build-tools  -print0 2>/dev/null | xargs -0r chown 
--no-dereference 0:0
        find debian/build-tools ! -type l  -print0 2>/dev/null | xargs -0r 
chmod go=rX,u+rw,a-s
        find debian/build-tools/usr/share/doc -type f  ! -regex 
'debian/build-tools/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | 
xargs -0r chmod 644
        find debian/build-tools/usr/share/doc -type d  -print0 2>/dev/null | 
xargs -0r chmod 755
chmod: changing permissions of debian/build-tools/usr/share/doc/build-tools': 
Invalid argument
dh_fixperms: find debian/build-tools/usr/share/doc -type d  -print0 2>/dev/null 
| xargs -0r chmod 755 returned exit code 123


Any other ideas? It is entirely repeatable, and is quite serious because I 
can't build
any packages on this machine!

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (700, 'stable'), (300, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils                      2.20-4     The GNU assembler, linker and bina
ii  dpkg-dev                      1.14.25    Debian package development tools
ii  file                          5.03-5     Determines file type using "magic"
ii  html2text                     1.3.2a-14  advanced HTML to text converter
ii  man-db                        2.5.6-4    on-line manual pager
ii  perl                          5.10.1-8   Larry Wall's Practical Extraction 
ii  perl-base                     5.10.1-8   minimal Perl system
ii  po-debconf                    1.0.16     tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.50       tool that converts source archives

-- no debconf information
Wookey
-- 
Principal hats:  iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/

----- End forwarded message -----
Wookey
-- 
Principal hats:  iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/



--- End Message ---
--- Begin Message ---
Source: fakeroot-ng
Source-Version: 0.18-1

We believe that the bug you reported is fixed in the latest version of
fakeroot-ng, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Shachar Shemesh <[email protected]> (supplier of updated fakeroot-ng package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 12 Apr 2013 13:14:05 +0000
Source: fakeroot-ng
Binary: fakeroot-ng
Architecture: source amd64
Version: 0.18-1
Distribution: unstable
Urgency: low
Maintainer: Shachar Shemesh <[email protected]>
Changed-By: Shachar Shemesh <[email protected]>
Description: 
 fakeroot-ng - Gives a fake root environment
Closes: 566026 701451
Changes: 
 fakeroot-ng (0.18-1) unstable; urgency=low
 .
   * New upstream version
   * Fix "debhelper: dh_fixperms fails when it tries to run chmod"
     fixed bug in fchmodat implementation (Closes: #566026)
   * Fix "ftbfs with eglibc-2.17" Problem was probably with gcc 4.8 rather than
     eglibc itself. (Closes: #701451)
   * Fixed problem with threads support
Checksums-Sha1: 
 24603b65c0ff899ff82dbe626397f096c34ad15c 1388 fakeroot-ng_0.18-1.dsc
 288dadbd50ff36a9eb11d4bc14213c6d1beaafaa 207870 fakeroot-ng_0.18.orig.tar.gz
 c9fa6ce8faff6f2e9686606ea3580eb7ea35bff4 4037 fakeroot-ng_0.18-1.debian.tar.gz
 a9afe815264b149db101a6e9d5a019335d861903 70344 fakeroot-ng_0.18-1_amd64.deb
Checksums-Sha256: 
 ce27ee158944b0d7bc863b2f01bc154015446263b703b35ad6b83956390685fc 1388 
fakeroot-ng_0.18-1.dsc
 189eacda630752980d40e34b2c01ce23d839daab3d691a4706bb9eac79f7e144 207870 
fakeroot-ng_0.18.orig.tar.gz
 3eb76f0ee7b8ae423aadabf1618d7c005b8f3f4cfafd5290148e8c3b3d5a733e 4037 
fakeroot-ng_0.18-1.debian.tar.gz
 e2889de1848e853b1c669e837df654910aa7e56003ab7798dda5dcdc809a2d81 70344 
fakeroot-ng_0.18-1_amd64.deb
Files: 
 e6310f1c80fd4c87495413a11cbfd17f 1388 utils extra fakeroot-ng_0.18-1.dsc
 7bdfd3a72d00b4847e2023d922c289fa 207870 utils extra 
fakeroot-ng_0.18.orig.tar.gz
 9f5a7d4d6d5a9ff2dbf85e1df20532fb 4037 utils extra 
fakeroot-ng_0.18-1.debian.tar.gz
 7aad4cd296c1f6eb24b08b616c9966f0 70344 utils extra fakeroot-ng_0.18-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJRaCwcAAoJEKDFrRNZzTZTvt4H/2x5tzICc/O2SMbUJ6Q0LFEN
XxrbHifbQFKY/1p04uYDG9wAdajSXvTl8Kz7KVIUeVFjycu3SpUOUXw4Og0lO5we
sibAoFULjnWTdDuOXXUuiJnXW4IzPInf4JlDVt2cXQ3jtBwEdU9HeoBo1OG+R0Dm
GLod/jKvuOoIaMOAKDn6Sx1LaD5Bl/crzuuMYLkTx/m2uPpvgigIPdWohJktGypJ
+9VoszVZlWcVYJsjOetEtNHcWeWMhJXJhi3qLcLoyQWJwVAXbAS+W1andxYvjH0f
PcUPCviXiZFRiwUVU88Gq/HaQ2rXHHtOHhSJMD8gYPKHRM1Ri9MRUv7e9CroNis=
=f8rU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to