Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2006 16:28:46 GMT
From:      Igor Roshchin<str@komkon.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/105149: devel/cdk does not install man pages: Argument list too long
Message-ID:  <200611041628.kA4GSk9k022300@www.freebsd.org>
Resent-Message-ID: <200611041753.kA4HreDf018734@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105149
>Category:       ports
>Synopsis:       devel/cdk does not install man pages: Argument list too long
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 04 17:53:40 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Igor Roshchin
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
FreeBSD MYHOST 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Tue Jul 1
2 16:03:42 EDT 2005 root@MYHOST:/usr/obj/usr/src/sys/NEW i386
>Description:
When trying to install the port using "portupgrade cdk" (from sources):

===>   Compressing manual pages for cdk-5.0.20050424,1
/bin/sh:Argument list too long
*** Error code 1

Stop in /usr/ports/devel/cdk.
*** Error code 1

Stop in /usr/ports/devel/cdk.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.30763.0 env PORT_UPGRADE=yes make -DFORCE_PKG_REGISTER reinstall
--->  Restoring the old version
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 218 packages found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
        ! devel/cdk (cdk-5.0.20050424,1)        (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
** Could not clean up temporary directory: Directory not empty - /var/tmp/portupgrade3sKhJUvT

Also, but the port doesn't seem to react to these variables:
NO_INSTALL_MANPAGES=yes
NOMANCOMPRESS=yes
It still tries to install and compress manpages.

The side effect of the absent manpages: annoying error messages in the output of "weekly":
Rebuilding whatis database:
makewhatis: /usr/local/man/man3/Beep.3: No such file or directory
makewhatis: /usr/local/man/man3/CDKallocStrings.3: No such file or directory
.. etc


>How-To-Repeat:
portupgrade -f cdk on a FreeBSD-5.x branch (I am not sure about 6.x)
>Fix:
I contacted the maintainer (MrL0Lz _at_ gmail.com) back in April 2006.
According to him - "This a known issue with the 5.X branch"
The patch suggested by him (replacing -pdm with -pdmu in post-install section of the Makefile) does not work. I did not have any further response.
>Release-Note:
>Audit-Trail:
>Unformatted:



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