Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 15:52:34 +0200
From:      Roman Neuhauser <neuhauser@sigpipe.cz>
To:        Eric van Gyzen <vangyzen@stat.duke.edu>, freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: math/R: non-root build fails with "cp: chmod: (...): Operation not permitted
Message-ID:  <20050711135234.GE96073@isis.sigpipe.cz>
In-Reply-To: <20050711064003.GB45613@isis.sigpipe.cz>
References:  <20050710225841.GA28668@isis.sigpipe.cz> <42D1B45B.5080701@stat.duke.edu> <20050711064003.GB45613@isis.sigpipe.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
# 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



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