Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34226 - [nmap] fails to build due to python3.

Attached to Project: Arch Linux
Opened by hi117 (hi117) - Saturday, 09 March 2013, 07:56 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 10 March 2013, 12:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Nmap fails to build with given PKGBUILD due to the python2/3 split.
Here is a patch to fix the issue:
--- a/PKGBUILD 2013-03-09 02:54:24.223387721 -0500
+++ b/PKGBUILD 2013-03-08 18:05:26.000000000 -0500
@@ -18,13 +18,12 @@

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' ndiff/setup.py zenmap/setup.py
+
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \

- sed -i 's|/usr/bin/python|/usr/bin/python2|' Makefile
make
}

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
Run makepkg in the package directory.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Sunday, 10 March 2013, 12:47 GMT
Reason for closing:  Works for me
Comment by Gaetan Bisson (vesath) - Sunday, 10 March 2013, 12:47 GMT
That was implemented a while ago; see: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/nmap

And since you didn't think it useful to tell us the version of your PKGBUILD although the report template explicitely mentions "Additional info: package version(s)", well, too bad for you.

Loading...