Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#35740 - [nmap] thinks '/usr/bin/python' is Python 2 during build

Attached to Project: Arch Linux
Opened by Evan Teitelman (paradoxial) - Sunday, 09 June 2013, 21:16 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 10 June 2013, 00:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Nmap's build system thinks '/usr/bin/python' is Python 2, when it is actually
Python 3. This results in several build errors.

Additional info:
* Line 27 looks like this: ./configure \
* It should look like this: PYTHON=/usr/bin/python2 ./configure \
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 10 June 2013, 00:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  SVN repos updated to trunk
Comment by Gaetan Bisson (vesath) - Monday, 10 June 2013, 00:02 GMT
There should be a line reading `export PYTHON=python2` just above `./configure`. It is in our SVN trunk directory but not in the released directories (extra-x86_64 and extra-i686) which are exported by ABS. I assume you are talking about the latter. I have no idea how this happened but I just fixed it. Thanks for noticing!