ports/72121: make index fails

Igor ik at yourserveradmin.com
Mon Sep 27 01:40:29 UTC 2004


>Number:         72121
>Category:       ports
>Synopsis:       make index fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 27 01:40:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Igor
>Release:        4.9-STABLE and 4.10-RELEASE-p2
>Organization:
YourServerAdmin
>Environment:
FreeBSD ifelserv.localdomain 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Apr 19 16:16:02 EEST 2004     ifel at ifelserv.localdomain:/home/sys/obj/home/sys/src/src/sys/ifelserv  i386
>Description:
for first I want to tell you thanks for great work that you do.

Description:
I've fetch (using the cvsup command) the ports tree from the cvsup.freebsd.org several days ago (5 or may be 7). Please note, in the my sup file the line that describes ports fetching is the "doc-all tag=.", so I've fetched a full ports tree. Also cvsup has been finished with no errors or warning messages.
When I've tried to do make index in the ports directory it fails with the error meassages such as:
----
netsaint-plugins-1.2.9.4_4: "/usr/ports/net/net-snmp" non-existent -- dependency list incomplete
===> net-mgmt/netsaint-plugins failed
*** Error code 1
----

There were several messages I received, here I've mentioned only 1, other were a same, only the pathes and port names were different.
It looks like these port maintainers do not update their ports after breaking the net directory to the net and net-mgmt and removing the openldap12 port from the tree. This changes should be in the old, rare using ports so may be nobody maintain their already. 
>How-To-Repeat:
cd /usr/ports ; make index
>Fix:
After fixing this problem for my ports tree I've made the patch that will doing all changes automatically. I provide you with this patch, so you can investigate it, an if it will be useful for you, you can commit it in the ports tree to resolve this issue.

diff -aru ports.orig/net-mgmt/netsaint-plugins/Makefile.inc ports/net-mgmt/netsaint-plugins/Makefile.inc
--- ports.orig/net-mgmt/netsaint-plugins/Makefile.inc   Sun Sep 26 11:39:15 2004
+++ ports/net-mgmt/netsaint-plugins/Makefile.inc    Sun Sep 26 12:03:22 2004
@@ -4,8 +4,8 @@
 BUILD_DEPENDS+=    fping:${PORTSDIR}/net/fping
 RUN_DEPENDS+=  fping:${PORTSDIR}/net/fping
 CONFIGURE_ARGS+=   --enable-fping
-BUILD_DEPENDS+=    snmpcheck:${PORTSDIR}/net/net-snmp
-RUN_DEPENDS+=  snmpcheck:${PORTSDIR}/net/net-snmp
+BUILD_DEPENDS+=    snmpcheck:${PORTSDIR}/net-mgmt/net-snmp
+RUN_DEPENDS+=  snmpcheck:${PORTSDIR}/net-mgmt/net-snmp
 CONFIGURE_ARGS+=   --enable-snmp
 LIB_DEPENDS+=  radiusclient.0:${PORTSDIR}/net/radiusclient
 CONFIGURE_ARGS+=   --enable-radius
@@ -14,7 +14,7 @@
 POSTGRESQL_PORT?=  databases/postgresql7
 LIB_DEPENDS+=  pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
 CONFIGURE_ARGS+=   --with-pgsql=${LOCALBASE}
-LIB_DEPENDS+=  ldap.2:${PORTSDIR}/net/openldap20-client
+LIB_DEPENDS+=  ldap.2:${PORTSDIR}/net/openldap21-client
 CONFIGURE_ARGS+=   --enable-ldap
 PLIST_SUB+=    SUB_QSTAT=""
 PLIST_SUB+=    SUB_FPING=""
diff -aru ports.orig/www/mod_php3/Makefile.inc ports/www/mod_php3/Makefile.inc
--- ports.orig/www/mod_php3/Makefile.inc    Sun Sep 26 12:32:40 2004
+++ ports/www/mod_php3/Makefile.inc Sun Sep 26 13:46:37 2004
@@ -12,14 +12,14 @@
 POSTGRESQL_PORT?=  databases/postgresql7
 LIB_DEPENDS+=  pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
 CONFIGURE_ARGS+=--with-pgsql=${PREFIX}
-LIB_DEPENDS+=  ldap.1:${PORTSDIR}/net/openldap12
-LIB_DEPENDS+=  lber.1:${PORTSDIR}/net/openldap12
+LIB_DEPENDS+=  ldap.1:${PORTSDIR}/net/openldap21-client
+LIB_DEPENDS+=  lber.1:${PORTSDIR}/net/openldap21-client
 CONFIGURE_ARGS+=--with-ldap=${PREFIX}
-LIB_DEPENDS+=  snmp.4:${PORTSDIR}/net/net-snmp
+LIB_DEPENDS+=  snmp.4:${PORTSDIR}/net-mgmt/net-snmp
 CONFIGURE_ARGS+=--with-snmp=${PREFIX} --enable-ucd-snmp-hack
-BUILD_DEPENDS+=    ${PREFIX}/lib/libexpat.a:${PORTSDIR}/textproc/expat
-BUILD_DEPENDS+=    ${PREFIX}/include/xml/xmlparse.h:${PORTSDIR}/textproc/expat
-BUILD_DEPENDS+=    ${PREFIX}/include/xml/xmltok.h:${PORTSDIR}/textproc/expat
+BUILD_DEPENDS+=    ${PREFIX}/lib/libexpat.a:${PORTSDIR}/textproc/expat2
+BUILD_DEPENDS+=    ${PREFIX}/include/xml/xmlparse.h:${PORTSDIR}/textproc/expat2
+BUILD_DEPENDS+=    ${PREFIX}/include/xml/xmltok.h:${PORTSDIR}/textproc/expat2
 CONFIGURE_ARGS+=--with-xml=${PREFIX}
 CONFIGURE_ARGS+=--with-ftp
 LIB_DEPENDS+=  intl.5:${PORTSDIR}/devel/gettext

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list