Unusual Error while compiling from Portstree
jhelfman at e-e.com
Thu May 26 18:14:19 UTC 2011
On Thu, May 26, 2011 at 04:44:16PM +0200, herbert langhans thus spake:
>recently some of the ports get stuck when I compile from the portstree
>with #make install - it says '1 out of 1 hunks failed--saving rejects to
>The portstree is updated, FreeBSD 7.2 on this laptop, many other ports
>I had such trouble with ports/graphics/xv, with ImageMagick and now with
>nmap too. Here is the output:
>sandcat# cd /usr/ports/security/nmap
>sandcat# make install
>===> Vulnerability check disabled, database not found
>===> License GPLv2 accepted by the user
>=> nmap-5.51.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
>=> Attempting to fetch http://nmap.org/dist/nmap-5.51.tar.bz2
>nmap-5.51.tar.bz2 100% of 16 MB 99 kBps
>===> Extracting for nmap-5.51_1
>=> SHA256 Checksum OK for nmap-5.51.tar.bz2.
>===> Patching for nmap-5.51_1
>===> Applying FreeBSD patches for nmap-5.51_1
>1 out of 1 hunks failed--saving rejects to nbase/configure.rej
>=> Patch patch-nbase__configure failed to apply cleanly.
>=> Patch(es) patch-Makefile.in patch-TargetGroup.cc patch-configure
>*** Error code 1
>Stop in /usr/ports/security/nmap.
>Anybody has an idea whats wrong there? I have no clue what it is about
>failed hunks and such!
You may want to run a 'make clean' and also a 'portsnap fetch update', as I
have a updated ports tree, as of this morning, and running 'make patch'
exits with no issue.
[jhelfman at eggman /usr/ports/security/nmap]$ sudo make patch
===> License GPLv2 accepted by the user
=> nmap-5.51.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://nmap.org/dist/nmap-5.51.tar.bz2
nmap-5.51.tar.bz2 100% of 16 MB 184 kBps
===> Extracting for nmap-5.51_1
=> SHA256 Checksum OK for nmap-5.51.tar.bz2.
===> Patching for nmap-5.51_1
===> Applying FreeBSD patches for nmap-5.51_1
[jhelfman at eggman /usr/ports/security/nmap]$
E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5
More information about the freebsd-questions