Your message dated Wed, 09 May 2018 17:35:32 +0000
with message-id <e1fgt00-000dmu...@fasolo.debian.org>
and subject line Bug#897592: fixed in ebtables 2.0.10.4-5
has caused the Debian Bug report #897592,
regarding ebtables: randomly FTBFS - makefile is not parallel safe
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 ow...@bugs.debian.org
immediately.)


-- 
897592: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897592
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ebtables
Version: 2.0.10.4-4
Severity: serious
Tags: sid buster

Hi,

ebtables randomly FTBFS during the install stage. Example on ppc64el:
>       make -j8 -Oline install DESTDIR=/<<PKGBUILDDIR>>/debian/ebtables 
> AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p /<<PKGBUILDDIR>>/debian/ebtables/etc
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> sed -e 's/$(VERSION)/2.0.10-4/' -e 's/$(DATE)/December\ 2011/' -e 
> 's/$(LOCKFILE)/\/run\/ebtables.lock/' ebtables.8 > ebtables.8_
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> install -m 0644 -o root -g root ethertypes 
> /<<PKGBUILDDIR>>/debian/ebtables/etc/ethertypes
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p /<<PKGBUILDDIR>>/debian/ebtables/lib/ebtables 
> /<<PKGBUILDDIR>>/debian/ebtables/etc/init.d 
> /<<PKGBUILDDIR>>/debian/ebtables/etc/default 
> /<<PKGBUILDDIR>>/debian/ebtables/usr/share/man/man8
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cat ebtables-save | sed 's/__EXEC_PATH__/\/sbin/g' > ebtables-save_
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p /<<PKGBUILDDIR>>/debian/ebtables/sbin
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> install -m 0755 -o root -g root ebtables /<<PKGBUILDDIR>>/debian/ebtables/sbin
> install: cannot overwrite directory '/<<PKGBUILDDIR>>/debian/ebtables/sbin' 
> with non-directory
> make[1]: *** [Makefile:176: exec] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cat ebtables.sysv | sed 's/__EXEC_PATH__/\/sbin/g' | sed 
> 's/__SYSCONFIG__/\/etc\/default/g' > ebtables.sysv_
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> if [ "/<<PKGBUILDDIR>>/debian/ebtables" != "" ]; then mkdir -p 
> /<<PKGBUILDDIR>>/debian/ebtables/etc/init.d; fi
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cat ebtables-config | sed 's/__SYSCONFIG__/\/etc\/default/g' > 
> ebtables-config_
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> if [ "/<<PKGBUILDDIR>>/debian/ebtables" != "" ]; then mkdir -p 
> /<<PKGBUILDDIR>>/debian/ebtables/etc/default; fi
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_install: make -j8 -Oline install 
> DESTDIR=/<<PKGBUILDDIR>>/debian/ebtables AM_UPDATE_INFO_DIR=no 
> "INSTALL=install --strip-program=true" returned exit code 2
> make: *** [debian/rules:4: binary-arch] Error 25

This happens because 2.0.10.4-4 enabled parallel builds (by virtue of
using dh compat 11), but the install part of the makefile is not safe to
run in parallel.

For example, in this case we have something like this (trimmed slightly):
> .PHONY: scripts
> scripts: ebtables-save ebtables.sysv ebtables-config
>       cat ebtables-save | sed 's/__EXEC_PATH__/$(tmp1)/g' > ebtables-save_
>       mkdir -p $(DESTDIR)$(BINDIR)
[...]
> .PHONY: exec
> exec: ebtables ebtables-restore
>       mkdir -p $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INITDIR) 
> $(DESTDIR)$(SYSCONFIGDIR) $(DESTDIR)$(MANDIR)/man8
>       install -m 0755 -o root -g root $(PROGNAME) $(DESTDIR)$(BINDIR)
>       install -m 0755 -o root -g root ebtables-restore 
> $(DESTDIR)$(BINDIR)/ebtables-restore
>       install -m 0755 -o root -g root ebtables-save_ 
> $(DESTDIR)$(BINDIR)/ebtables-save
[...]
> .PHONY: install
> install: $(MANDIR)/man8/ebtables.8 $(DESTDIR)$(ETHERTYPESFILE) scripts exec

When parallel builds are enabled, the "scripts" and "exec" targets will
be run in parallel which fails because:
- exec does not create $(DESTDIR)$(BINDIR) so will fail if scripts has
not created it yet.
- exec copies ebtables-save_ which will also fail if scripts has not
created it yet.

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: ebtables
Source-Version: 2.0.10.4-5

We believe that the bug you reported is fixed in the latest version of
ebtables, 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 897...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alberto Molina Coballes <alb.mol...@gmail.com> (supplier of updated ebtables 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 09 May 2018 15:58:13 +0000
Source: ebtables
Binary: ebtables
Architecture: source amd64
Version: 2.0.10.4-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Netfilter Packaging Team 
<pkg-netfilter-t...@lists.alioth.debian.org>
Changed-By: Alberto Molina Coballes <alb.mol...@gmail.com>
Description:
 ebtables   - Ethernet bridge frame table administration
Closes: 897592
Changes:
 ebtables (2.0.10.4-5) unstable; urgency=medium
 .
   * [3681e23] d/patches: Add dpkg-buildflags
   * [2663aba] d/patches: Modify makefile allowing parallel build
     (Closes: #897592)
   * [e30fe91] manpages: Add ebtables-save.8 and ebtables-restore.8
Checksums-Sha1:
 279404b01d972b85f73fcbdd99533eed4fee0d96 1972 ebtables_2.0.10.4-5.dsc
 907d3b82329e8fbb7aaaa98049732bd8dab022f9 103764 ebtables_2.0.10.4.orig.tar.gz
 9eee15b3a878dfc368a88e36d9427d37a09fdd22 9412 ebtables_2.0.10.4-5.debian.tar.xz
 bdc1cf828f8a48b7972290424ceb9e4307aef2df 213664 
ebtables-dbgsym_2.0.10.4-5_amd64.deb
 cc85d1913cb4ee253cde1cb903c7bd7b85c80696 5716 
ebtables_2.0.10.4-5_amd64.buildinfo
 4f907ee83cf61f397d8f53965f426532e961cc68 87608 ebtables_2.0.10.4-5_amd64.deb
Checksums-Sha256:
 6982b8b699aa4d5debc09cd3974dd6fecfd53bf9e2408ea48254f5e42bc9e728 1972 
ebtables_2.0.10.4-5.dsc
 dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d 103764 
ebtables_2.0.10.4.orig.tar.gz
 9b10b03b67bdd9282c2fb2c3b36e1acdf11298eddbfacce7bc6ac6e0eda5a672 9412 
ebtables_2.0.10.4-5.debian.tar.xz
 369549e8fc8f57e38a438b758ca427324a2538d123413cb4b41e4c36a25a1e72 213664 
ebtables-dbgsym_2.0.10.4-5_amd64.deb
 c48189c400aa42c6e3d37849110278378641fcae7698e67b6e6499a4af606ebf 5716 
ebtables_2.0.10.4-5_amd64.buildinfo
 9e2004769c030538f3414013943973105e5f3c763f5b68904838a3dcf3528864 87608 
ebtables_2.0.10.4-5_amd64.deb
Files:
 eefad3b53269d76edba2eadc206e9e5f 1972 net optional ebtables_2.0.10.4-5.dsc
 506742a3d44b9925955425a659c1a8d0 103764 net optional 
ebtables_2.0.10.4.orig.tar.gz
 ef0c005e95fdbf6734b957c2a8bb5636 9412 net optional 
ebtables_2.0.10.4-5.debian.tar.xz
 d1efb6bf056b59efe7cd6041560cd746 213664 debug optional 
ebtables-dbgsym_2.0.10.4-5_amd64.deb
 e70c5ea517b1f6a03dadf1a1e4cc8870 5716 net optional 
ebtables_2.0.10.4-5_amd64.buildinfo
 88f13842b7bfc1c03e96f6c30ab5fc69 87608 net optional 
ebtables_2.0.10.4-5_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3ZhhqyPcMzOJLgepaOcTmB0VFfgFAlrzLPUACgkQaOcTmB0V
Ffj0Uw/9GjR2L9LJYt6/I0BxvqwbAwWm0Q99NSmyQzi96/LprcsP0pPiH6XmvYgQ
yD028f2HBvUAM6XJ4P1HdvlOfhWZ5n8dMBHfnLgMy4uy2HN0hziZJxSHSvvnNAXO
j5Kookf5wLfQbrzw+rtmGGyyOL5tKa5nngdSAbKWiLWRdYHyWFk3zyOZv2zC7+Dn
VPYd5cIbhz663CTbwAqNcyVObwfEZqRcr32bHRLlN5zrJSwj5qziFbZt5cYAKQp5
f4t5TgNIefWeDdvcN+Yj70OXbqjc0AnXaMevPNaTU8+D/lzr5EkWCNbdrvQPhmIW
YN3b47aokhTBGBr6fcbJRsZYTIb4HlfmYh9Nq0g+Yzk0VUwekTZ7DB+kLGd/1Iv8
ROkgEDjXXc/WwS+CGBTdRON05kkqe6jjv/UW15aOgnMDJ4OMkyjzYEq5ZLmWufZf
Pgv/CExZmuCqoFp2QhZ6Y19Q8B3om1i2geW1qObma6mOkTcNXqKKtkzOlJO3DBWM
9HSQhsSkWz89l/gTyKxqwQoxwZtS3WlOJWe4ypF+8rMIHC2lI7cHSLyeA3MiGDHl
wLY1/bmgfixkKl96IGmcbqhSPtDlX4VvT85tfsuq+dKhVN2Vswd7qLn0K+qGVxi2
dnSjUKfqOsDONuusb9aE0m4ZtJTf4nwUr1IiY/McJeoyq9yrLaM=
=wRZF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to