Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2014 17:13:03 +0200
From:      =?ISO-8859-1?Q?Lo=EFc?= Blot <loic.blot@unix-experience.fr>
To:        ports@freebsd.org
Subject:   Netdisco install broken
Message-ID:  <1397574783.7569.1.camel@iMac-LBlot.domain.iogs>

next in thread | raw e-mail | index | archive | help
Hi @ports
it seems since a recent port modification, netdisco is broken.

I don't know where does the sed comes from.

I also tried to use the 1.3.3 archive (but 1.3.2_1 archive has the same
problem).


Here is the log:

===>  Found saved configuration for netdisco-1.3.2_1
===>   netdisco-1.3.3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by netdisco-1.3.3 for building
===>  Extracting for netdisco-1.3.3
=> SHA256 Checksum OK for netdisco-1.3.3.tar.gz.
===>  Patching for netdisco-1.3.3
===>  Applying FreeBSD patches for netdisco-1.3.3
===>   netdisco-1.3.3 depends on
file: /usr/local/share/netdisco-mibs/mib_index.txt - found
===>   netdisco-1.3.3 depends on file: /usr/local/bin/perl5.16.3 - found
===>   netdisco-1.3.3 depends on shared library: pq.5 - found
===>  Configuring for netdisco-1.3.3
===>  Installing for netdisco-1.3.3
===>   netdisco-1.3.3 depends on package: p5-Net-SNMP>=0 - found
===>   netdisco-1.3.3 depends on package: p5-SNMP-Info>=3.01 - found
===>   netdisco-1.3.3 depends on package: p5-HTML-Mason>=0 - found
===>   netdisco-1.3.3 depends on package: p5-DB_File-Lock>=0 - found
===>   netdisco-1.3.3 depends on package: p5-Apache-Session>=0 - found
===>   netdisco-1.3.3 depends on package: p5-Net-NBName>=0 - found
===>   netdisco-1.3.3 depends on package: p5-DBD-Pg>=0 - found
===>   netdisco-1.3.3 depends on package: p5-HTML-Parser>=0 - found
===>   netdisco-1.3.3 depends on package: p5-Parallel-ForkManager>=0 -
found
===>   netdisco-1.3.3 depends on
file: /usr/local/share/netdisco-mibs/mib_index.txt - found
===>   netdisco-1.3.3 depends on package: p5-Graph>=0 - found
===>   netdisco-1.3.3 depends on package: p5-GraphViz>=0 - found
===>   netdisco-1.3.3 depends on file: /usr/local/bin/perl5.16.3 - found
cd /usr/ports/net-mgmt/netdisco/work/netdisco-1.3.3 &&  /usr/bin/sed
-i.bak -e 's#%%WWWDIR%%#"@comment "#g'		 -e 's#%%PREFIX%%#/usr/local#g'
-e 's#%%DATADIR%%#/usr/local/share/netdisco#g'		 -e 's#%%DOCSDIR%%
#/usr/local/share/doc/netdisco#g'		 -e 's#%%NETDISCO_RUNDIR%%
#/var/run#g'		 -e 's#%%NETDISCO_USER%%#netdisco#g'		 -e 's#%%
NETDISCO_GROUP%%#netdisco#g'		 -e 's#%%NETDISCO_DBDIR%%
#/var/db/netdisco#g'		 -e 's#%%ETCDIR%%#/usr/local/etc/netdisco#g'	 -e
's#%%SITE_PERL%%#/usr/local/lib/perl5/site_perl/5.16#g'	 -e 's#%%
LOCALBASE%%#/usr/local#g'	 -e 's#%%APACHEMODDIR%%##g'	 -e 's#%%
APACHEETCDIR%%##g'	 -e 's#%%MIBINCLUDES%%
#/share/netdisco-mibs/allied:/share/netdisco-mibs/alcatel:/share/netdisco-mibs/arista:/share/netdisco-mibs/aruba:/share/netdisco-mibs/asante:/share/netdisco-mibs/cabletron:/share/netdisco-mibs/cisco:/share/netdisco-mibs/cyclades:/share/netdisco-mibs/dell:/share/netdisco-mibs/enterasys:/share/netdisco-mibs/extreme:/share/netdisco-mibs/foundry:/share/netdisco-mibs/hp:/share/netdisco-mibs/juniper:/share/netdisco-mibs/mikrotik:/share/netdisco-mibs/net-snmp:/share/netdisco-mibs/netgear:/share/netdisco-mibs/netscreen:/share/netdisco-mibs/nortel:/share/netdisco-mibs/packetfront:/share/netdisco-mibs/rfc#g'	 netdisco netdisco.conf netdisco_apache.conf  netdisco_apache_dir.conf netdisco.crontab sql/pg
===>   Generating temporary packing list
sed: 1: "s!%%!g
": unescaped newline inside substitute pattern
*** [generate-plist] Error code 1

Stop in /usr/ports/net-mgmt/netdisco.
*** [install] Error code 1

Stop in /usr/ports/net-mgmt/netdisco.


======================

Have you got an idea ?

Thanks in advance.

-- 
Best regards, 

Loïc BLOT, Engineering
UNIX Systems, Security and Network Engineer
http://www.unix-experience.fr






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1397574783.7569.1.camel>