Date: Mon, 16 Oct 2000 23:47:23 -0700 (PDT) From: jay.krell@cornell.edu To: freebsd-gnats-submit@FreeBSD.org Subject: ports/22039: /usr/ports/devel/commoncpp only builds as root Message-ID: <20001017064723.7146237B4C5@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 22039 >Category: ports >Synopsis: /usr/ports/devel/commoncpp only builds as root >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 16 23:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Jay Krell >Release: 4.1 >Organization: >Environment: FreeBSD jayk2.jaykhome 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Sun Oct 15 02:27:26 G MT 2000 jayk@jayk2.jaykhome:/usr/src/sys/compile/JAYK1 i386 >Description: ===> Building for CommonC++-1.2.1_1 Making all in posix gmake[1]: Entering directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1/posix' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1/posix' Making all in common gmake[1]: Entering directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1/common' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1/common' gmake[1]: Entering directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1' gmake prefix=/usr/ports/devel/commoncpp/work/CommonC++-1.2.1 install-exec install-data gmake[2]: Entering directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1' Making install-exec in posix gmake[3]: Entering directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1/posix' /bin/sh ../config/mkinstalldirs /usr/ports/devel/commoncpp/work/CommonC++-1.2.1/lib /bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g wheel libccxx.la /usr/ports/devel/commoncpp/work/CommonC++-1.2.1/lib/libccxx.la /usr/bin/install -c -o root -g wheel .libs/libccxx.so.0 /usr/ports/devel/commoncpp/work/CommonC++-1.2.1/lib/libccxx.so.0 install: /usr/ports/devel/commoncpp/work/CommonC++-1.2.1/lib/libccxx.so.0: chown/chgrp: Operation not permitted /bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g wheel libccio.la /usr/ports/devel/commoncpp/work/CommonC++-1.2.1/lib/libccio.la /usr/bin/install -c -o root -g wheel .libs/libccio.so.0 /usr/ports/devel/commoncpp/work/CommonC++-1.2.1/lib/libccio.so.0 install: /usr/ports/devel/commoncpp/work/CommonC++-1.2.1/lib/libccio.so.0: chown/chgrp: Operation not permitted gmake[3]: *** [install-libLTLIBRARIES] Error 71 gmake[3]: Leaving directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1/posix' gmake[2]: *** [install-exec-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1' gmake[1]: *** [all-local] Error 2 gmake[1]: Leaving directory `/usr/ports/devel/commoncpp/work/CommonC++-1.2.1' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/devel/commoncpp. *** Error code 1 Stop in /usr/ports/devel/commoncpp. *** Error code 1 Stop in /usr/ports/devel/commoncpp. >How-To-Repeat: cd /usr/ports/devel/commoncpp chown -R notroot:notroot * make >Fix: I haven't looked at many other ports to know if this is obvious, but if you cd work/C* grep root * you see they use install -o root -g wheel and I think the port, like, installs into the work dir during build, which judging by the path .libs, I think is normal. So the fix I think might be to patch their files to remove the -o root -g wheel. Then I don't know if real install works, if it requires those. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001017064723.7146237B4C5>