Debian Bug report logs -
#541984
nmap: Build process isn't thread safe
Reported by: "Nelson A. de Oliveira" <naoliv@debian.org>
Date: Mon, 17 Aug 2009 07:00:01 UTC
Severity: minor
Found in version nmap/5.00-1
Fixed in version nmap/5.00-2
Done: LaMont Jones <lamont@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, naoliv@debian.org, LaMont Jones <lamont@debian.org>:
Bug#541984; Package nmap.
(Mon, 17 Aug 2009 07:00:04 GMT) (full text, mbox, link).
Acknowledgement sent
to "Nelson A. de Oliveira" <naoliv@debian.org>:
New Bug report received and forwarded. Copy sent to naoliv@debian.org, LaMont Jones <lamont@debian.org>.
(Mon, 17 Aug 2009 07:00:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: nmap
Version: 5.00-1
Severity: minor
Hi!
nmap fails to build if built with more than one thread (using "-j2" in
DEB_BUILD_OPTIONS, for example).
See the attached pbuilder log for the errors when building the package with 2
threads.
Thank you!
Best regards,
Nelson
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30.1.naoliv1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nmap depends on:
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libgcc1 1:4.4.1-2 GCC support library
ii liblua5.1-0 5.1.4-3 Simple, extensible, embeddable pro
ii libpcap0.8 1.0.0-2 system interface for user-level pa
ii libpcre3 7.8-2+b1 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8k-4 SSL shared libraries
ii libstdc++6 4.4.1-2 The GNU Standard C++ Library v3
nmap recommends no packages.
nmap suggests no packages.
-- no debconf information
[log.txt.bz2 (application/x-bzip2, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#541984; Package nmap.
(Tue, 18 Aug 2009 01:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Fyodor <fyodor@insecure.org>:
Extra info received and forwarded to list. Copy sent to LaMont Jones <lamont@debian.org>.
(Tue, 18 Aug 2009 01:33:03 GMT) (full text, mbox, link).
Message #10 received at submit@bugs.debian.org (full text, mbox, reply):
On Mon, Aug 17, 2009 at 03:57:19AM -0300, Nelson A. de Oliveira wrote:
> Package: nmap
> Version: 5.00-1
> Severity: minor
>
> Hi!
>
> nmap fails to build if built with more than one thread (using "-j2" in
> DEB_BUILD_OPTIONS, for example).
>
> See the attached pbuilder log for the errors when building the package with 2
> threads.
Thanks for the report. Are you able to reproduce this with the
unmodified Nmap tarball (http://nmap.org/dist/nmap-5.00.tar.bz2) and
"make -j2" or -j4 or whatever? I've been using -j4 on almost all my
Nmap builds for years and haven't encountered problems.
I looked at your attached log.txt, but it doesn't seem to show the
exact error. It just finishes configure and then says:
Configuration complete. Type make (or gmake on some *BSD machines) to compile.
touch configure-stamp
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.24037
Cheers,
-F
Information forwarded
to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#541984; Package nmap.
(Tue, 18 Aug 2009 01:33:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Fyodor <fyodor@insecure.org>:
Extra info received and forwarded to list. Copy sent to LaMont Jones <lamont@debian.org>.
(Tue, 18 Aug 2009 01:33:08 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#541984; Package nmap.
(Tue, 18 Aug 2009 02:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "Nelson A. de Oliveira" <naoliv@debian.org>:
Extra info received and forwarded to list. Copy sent to LaMont Jones <lamont@debian.org>.
(Tue, 18 Aug 2009 02:27:03 GMT) (full text, mbox, link).
Message #20 received at 541984@bugs.debian.org (full text, mbox, reply):
Hi!
On Mon, Aug 17, 2009 at 10:29 PM, Fyodor<fyodor@insecure.org> wrote:
> On Mon, Aug 17, 2009 at 03:57:19AM -0300, Nelson A. de Oliveira wrote:
>> nmap fails to build if built with more than one thread (using "-j2" in
>> DEB_BUILD_OPTIONS, for example).
>>
>> See the attached pbuilder log for the errors when building the package with 2
>> threads.
>
> Thanks for the report. Are you able to reproduce this with the
> unmodified Nmap tarball (http://nmap.org/dist/nmap-5.00.tar.bz2) and
> "make -j2" or -j4 or whatever? I've been using -j4 on almost all my
> Nmap builds for years and haven't encountered problems.
It builds fine.
It seems to be some race condition in debian/rules.
Replacing it with a new one (using the template that dh_make
generates), the package is built properly (even with -j4, that I use
for all the packages that I build).
I will see if I can track what is the problem.
Best regards,
Nelson
Added tag(s) pending.
Request was from LaMont Jones <lamont@debian.org>
to control@bugs.debian.org.
(Tue, 18 Aug 2009 12:12:08 GMT) (full text, mbox, link).
Reply sent
to LaMont Jones <lamont@debian.org>:
You have taken responsibility.
(Tue, 18 Aug 2009 16:30:05 GMT) (full text, mbox, link).
Notification sent
to "Nelson A. de Oliveira" <naoliv@debian.org>:
Bug acknowledged by developer.
(Tue, 18 Aug 2009 16:30:05 GMT) (full text, mbox, link).
Message #27 received at 541984-close@bugs.debian.org (full text, mbox, reply):
Source: nmap
Source-Version: 5.00-2
We believe that the bug you reported is fixed in the latest version of
nmap, which is due to be installed in the Debian FTP archive:
nmap_5.00-2.diff.gz
to pool/main/n/nmap/nmap_5.00-2.diff.gz
nmap_5.00-2.dsc
to pool/main/n/nmap/nmap_5.00-2.dsc
nmap_5.00-2_amd64.deb
to pool/main/n/nmap/nmap_5.00-2_amd64.deb
zenmap_5.00-2_amd64.deb
to pool/main/n/nmap/zenmap_5.00-2_amd64.deb
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 541984@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
LaMont Jones <lamont@debian.org> (supplier of updated nmap 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 18 Aug 2009 06:48:52 -0600
Source: nmap
Binary: nmap zenmap
Architecture: amd64 source
Version: 5.00-2
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <lamont@debian.org>
Changed-By: LaMont Jones <lamont@debian.org>
Description:
nmap - The Network Mapper
zenmap - The Network Mapper Front End
Closes: 541984 542054 542079
Changes:
nmap (5.00-2) unstable; urgency=low
.
* rules: fix dependencies for -j. Closes: #541984
* Conflicts: ndiff. Different enough to not warrant Replaces.
Closes: #542054
* new config.guess, updated rules for same. Closes: #542079
Files:
6702989c456649a887889fc3d62a58e5 1607908 net extra nmap_5.00-2_amd64.deb
f5141ea6604c80b63916f07c26b37b54 842 net extra nmap_5.00-2.dsc
bbbedd055c41b001720d62f0aa3b3728 17373 net extra nmap_5.00-2.diff.gz
c820b7b7248e073a5cf3d6ed76df6cd7 616366 net extra zenmap_5.00-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFKirVJzN/kmwoKyScRAhCmAJ9egDzkZlDOgJd7lelcq8iaJr/vawCeNiAZ
l6RfXPPgp33iaoPxpuBbA1g=
=lGi2
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 19 Sep 2009 07:34:52 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jan 7 09:33:05 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.