Hello list, I was unable to build the package sysutil/nut from ports. I tried to compile with flavor no_cgi. Here was my error :
------------------------------ ===> Building package for nut-2.0.5-main Create /usr/ports/packages/i386/all/nut-2.0.5-main.tgz Error in package: /usr/ports/sysutils/nut/w-nut-2.0.5-no_cgi/fake-i386-no_cgi//usr/local/html/nut-banner.png does not exist ===> Cleaning for nut-2.0.5-main rm -f /usr/ports/packages/i386/all/nut-2.0.5-main.tgz /usr/ports/packages/i386/ftp/nut-2.0.5-main.tgz /usr/ports/packages/i386/cdrom/nut-2.0.5-main.tgz *** Error code 1 Stop in /usr/ports/sysutils/nut (line 1373 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/sysutils/nut (line 1861 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/sysutils/nut (line 1403 of /usr/ports/infrastructure/mk/bsd.port.mk). ------------------------------ As /usr/local/html/nut-banner.png file is not installed with "make install", I think it's an error in the file pkg/PLIST-main. Here is a small diff that correct the problem : =================================================================== RCS file: /cvs/openbsd/ports/sysutils/nut/pkg/PLIST-main,v retrieving revision 1.2 diff -u -r1.2 PLIST-main --- sysutils/nut/pkg/PLIST-main 18 May 2007 12:22:46 -0000 1.2 +++ sysutils/nut/pkg/PLIST-main 29 Nov 2007 15:32:16 -0000 @@ -53,7 +53,7 @@ @comment html/bottom.html @comment html/header.html @comment html/index.html -html/nut-banner.png [EMAIL PROTECTED] html/nut-banner.png @man man/man5/hosts.conf.5 @man man/man5/ups.conf.5 @man man/man5/upsd.conf.5