Date: Tue, 14 Jul 2009 12:41:15 GMT From: Kouki Hashimoto <hsmtkk@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/136751: Update port: databases/ruby-bdb fix "make install" problem Message-ID: <200907141241.n6ECfFmJ072831@www.freebsd.org> Resent-Message-ID: <200907141250.n6ECo3HA089120@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136751 >Category: ports >Synopsis: Update port: databases/ruby-bdb fix "make install" problem >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 14 12:50:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Kouki Hashimoto >Release: 7.2-RELEASE >Organization: >Environment: FreeBSD fb.localdomain 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Sun Jul 12 19:21:12 JST 2009 root@fb.localdomain:/usr/obj/usr/src/sys/GENERIC i386 >Description: Update port: databases/ruby-bdb To fix "make install" problem, I disabled document installation. >How-To-Repeat: # cd /usr/ports/databases/ruby-bdb # make install 1. 1st Problem ( cd /usr/ports/databases/ruby-bdb/work/bdb-0.6.5; /usr/bin/env SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/lib -lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -fno-strict-a liasing -pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe" MANPREFIX="/ usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTAL L_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f Ma kefile rdoc ) rdoc: not found *** Error code 127 (ignored) 2. 2nd Problem (cd /usr/ports/databases/ruby-bdb/work/bdb-0.6.5/docs/doc && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/sbin/chown -R root:wheel $1 && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- \* /usr/local/share/doc/ruby18/bdb/doc) cd: can't cd to /usr/ports/databases/ruby-bdb/work/bdb-0.6.5/docs/doc *** Error code 2 >Fix: --- Makefile.orig 2009-07-14 21:31:35.000000000 +0900 +++ Makefile 2009-07-14 21:33:37.000000000 +0900 @@ -54,14 +54,13 @@ post-build: .if !defined(NOPORTDOCS) ( cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} \ - ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc ) + ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ) .endif post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR}/doc (cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${DOCSDIR}) - (cd ${WRKSRC}/docs/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}/doc) .endif .if !defined(NOPORTEXAMPLES) ${MKDIR} ${EXAMPLESDIR}/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907141241.n6ECfFmJ072831>