From owner-freebsd-ports@FreeBSD.ORG Mon Jul 11 13:52:36 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8792516A41C for ; Mon, 11 Jul 2005 13:52:36 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: from isis.sigpipe.cz (fw.sigpipe.cz [62.245.70.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1862943D49 for ; Mon, 11 Jul 2005 13:52:35 +0000 (GMT) (envelope-from neuhauser@sigpipe.cz) Received: by isis.sigpipe.cz (Postfix, from userid 1001) id 35C1F1F87BED; Mon, 11 Jul 2005 15:52:34 +0200 (CEST) Date: Mon, 11 Jul 2005 15:52:34 +0200 From: Roman Neuhauser To: Eric van Gyzen , freebsd-ports Message-ID: <20050711135234.GE96073@isis.sigpipe.cz> Mail-Followup-To: Eric van Gyzen , freebsd-ports References: <20050710225841.GA28668@isis.sigpipe.cz> <42D1B45B.5080701@stat.duke.edu> <20050711064003.GB45613@isis.sigpipe.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050711064003.GB45613@isis.sigpipe.cz> User-Agent: Mutt/1.5.9i Cc: Subject: Re: math/R: non-root build fails with "cp: chmod: (...): Operation not permitted X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 13:52:36 -0000 # neuhauser@sigpipe.cz / 2005-07-11 08:40:03 +0200: > # vangyzen@stat.duke.edu / 2005-07-10 18:50:51 -0500: > > Roman Neuhauser wrote: > > >I'm trying to build math/R on 4.10-STABLE. After fixing two bugs in > > >the port Makefile[1], I got stuck in ${WRKSRC}/src/library/base, where > > >in the all target, this block: > > > > > > @if test -d $(srcdir)/inst/po; then \ > > > $(MKINSTALLDIRS) $(top_builddir)/library/$(pkg)/po; \ > > > cp -pr $(srcdir)/inst/po/* $(top_builddir)/library/$(pkg)/po; \ > > > find "$(top_builddir)/library/$(pkg)/po" -name .svn -type d -prune > > > \ > > > -exec rm -rf \{\} \; 2>/dev/null; \ > > > fi > > > > > >blows up with: > > > > > >building package 'base' > > >mkdir -p -- ../../../library/base/demo > > >mkdir -p -- ../../../library/base/po > > >cp: chmod: ../../../library/base/po/de/LC_MESSAGES: Operation not permitted > > >cp: chmod: ../../../library/base/po/de: Operation not permitted > > >*** Error code 1 > > > I'm afraid I don't see the problem. You should be able to build the > > port as a normal user (not root). > > My thoughts exactly. BTW, it does build when I prepend the original > command, which was "make PAPERSIZE=A4 clean build" with sudo. Hm, I just passed that spot on a 4.11-STABLE #0: Mon May 30 13:35:47 CEST 2005 > > >[1] First, readline: I'm not sure what OSVERSION this should be, and > > > don't feel like crawling the CVS history to find out. > > > > > .if ${OSVERSION} < 500000 > > >-CONFIGURE_ARGS+= --disable-mbcs > > >+CONFIGURE_ARGS+= --disable-mbcs --with-readline=${LOCALBASE} > > >+LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline > > > .endif > > > > I don't have a problem with this. I'm curious: why is it necessary? Is > > the readline in 4.x too old? (I haven't run 4.x in a long time.) > > Without devel/readline, the ./configure script failes with: > checking for history_truncate_file... no > configure: error: --with-readline=yes (default) and headers/libs are not available And curiously enough, ./configure was satisfied with /usr/lib/libreadline.so.4 (same version as on the 4.10-STABLE!) Obviously, I'll need to double check a few things. Sorry for the noise... (thanks god the makeinfo fix was valid, otherwise I'd feel like a *complete* jerk by now). -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991