On Sat, Nov 15, 2008 at 09:38:54PM -0200, Martin Pieuchot wrote:
> Hi,
> 
> On Sat, 2008-11-15 at 23:11 +0000, Jacob Meuser wrote:
> > On Sat, Nov 15, 2008 at 05:39:54PM -0200, Martin Pieuchot wrote:
> > > Hello ports,
> > > 
> > > I tried to install gstreamer-plugins-good from port today and I
> > > encountered a problem during "make configure", see the log below.
> > > 
> > > The problem is that the autogen.sh script calls autopoint, that
> > > try to initiate a cvs checkout forbidden by the systrace policy. I
> > > wonder if this issue is related to my system, see my mk.conf below, or
> > > if anyone had already encountered this problem?
> > > 
> > > I fixed it by commenting the autopoint call. Is it really necessary for
> > > the package creation? Here is the little patch...
> > > 
> > > Thanks for your explanations,
> > 
> > the patch is needed, autopoint maybe not.  I've never seen this
> > happen and I always use systrace.  are you building ports as
> > root?
> 
> No I am not, I am using a wheel/operator/wsrc user... Can you reproduce
> that problem? Any clue?

cannot reproduce.  CVSROOT is set to a remote host, so it'd try to
use ssh.  not sure what's going on here yet.

> 
> 
> > 
> > > 
> > > Martin
> > > 
> > > 
> > > Index: patches/patch-autogen_sh
> > > ===================================================================
> > > RCS file: patches/patch-autogen_sh
> > > diff -N patches/patch-autogen_sh
> > > --- /dev/null     1 Jan 1970 00:00:00 -0000
> > > +++ patches/patch-autogen_sh      15 Nov 2008 20:19:44 -0000
> > > @@ -0,0 +1,24 @@
> > > +--- autogen.sh.orig      Sat Nov 15 17:12:33 2008
> > > ++++ autogen.sh   Sat Nov 15 17:12:51 2008
> > > +@@ -63,14 +63,14 @@
> > > + 
> > > + # autopoint
> > > + #    older autopoint (< 0.12) has a tendency to complain about 
> > > mkinstalldirs
> > > +-if test -x mkinstalldirs; then rm mkinstalldirs; fi
> > > ++#if test -x mkinstalldirs; then rm mkinstalldirs; fi
> > > + #    first remove patch if necessary, then run autopoint, then reapply
> > > +-if test -f po/Makefile.in.in;
> > > +-then
> > > +-  patch -p0 -R < common/gettext.patch
> > > +-fi
> > > +-tool_run "$autopoint --force"
> > > +-patch -p0 < common/gettext.patch
> > > ++#if test -f po/Makefile.in.in;
> > > ++#then
> > > ++#  patch -p0 -R < common/gettext.patch
> > > ++#fi
> > > ++#tool_run "$autopoint --force"
> > > ++#patch -p0 < common/gettext.patch
> > > + 
> > > + tool_run "$aclocal" "-I m4 -I common/m4 $ACLOCAL_FLAGS"
> > > + tool_run "$libtoolize" "--copy --force"
> > > 
> > > 
> > > 
> > > #
> > > # /etc/mk.conf - Aer
> > > #
> > > 
> > > PIPE=             -pipe
> > > SUDO=             /usr/bin/sudo
> > > CLEANDEPENDS=     No      
> > > PLIST_DB= ${PORTSDIR}/plist
> > > WRKOBJDIR=        /usr/obj/ports
> > > USE_SYSTRACE=     Yes
> > > #INSTALL_STRIP=   -s
> > > 
> > > XENOCARA_BUILD_DRI=Yes
> > > 
> > > KERBEROS5=        Yes     
> > > #DEBUG=Yes
> > > #DEBUGLIBS=Yes
> > > #WARNINGS=Yes
> > > 
> > > 
> > > 
> > > ===>  Patching for gst-plugins-good-0.10.8
> > > ===>  Configuring for gst-plugins-good-0.10.8
> > > cd /usr/obj/ports/gst-plugins-good-0.10.8/gst-plugins-good-0.10.8 && 
> > > AUTOCONF_VERSION=2.61  AUTOMAKE_VERSION=1.9 NOCONFIGURE="true" 
> > > ./autogen.sh
> > > + check for build tools
> > >   checking for autoconf >= 2.52 ... found 2.61, ok.
> > >   checking for automake >= 1.7 ... found 1.9.6, ok.
> > >   checking for autopoint >= 0.11.5 ... found 0.17, ok.
> > >   checking for libtoolize >= 1.5.0 ... found 1.5.26, ok.
> > >   checking for pkg-config >= 0.8.0 ... found 0.21, ok.
> > > + checking for autogen.sh options
> > >   This autogen script will automatically run ./configure as:
> > >   ./configure --enable-maintainer-mode --enable-gtk-doc 
> > > --enable-plugin-docs
> > >   To pass any additional options, please specify them on the ./autogen.sh
> > >   command line.
> > > Hmm...  Looks like a unified diff to me...
> > > The text leading up to this was:
> > > --------------------------
> > > |--- po/Makefile.in.in.orig       2006-01-07 12:03:45.000000000 +0100
> > > |+++ po/Makefile.in.in    2006-01-07 12:04:23.000000000 +0100
> > > --------------------------
> > > Patching file po/Makefile.in.in using Plan A...
> > > Hunk #1 succeeded at 11.
> > > Hunk #2 succeeded at 305.
> > > done
> > > + running autopoint --force ...
> > > systrace: deny user: aer, prog: /usr/bin/ssh, pid: 586(0)[1815], policy: 
> > > /usr/bin/make, filters: 194, syscall: native-seteuid(183), uid: 1000, 
> > > uname: aer
> > > PRIV_END: seteuid: Operation not permitted
> > > cvs [checkout aborted]: end of file from server (consult above messages 
> > > if any)
> > > find: archive: No such file or directory
> > > find: archive: No such file or directory
> > > autopoint: *** infrastructure files for version 0.11.5 not found; this is 
> > > autopoint from GNU gettext-tools 0.17
> > > autopoint: *** Stop.
> > > 
> > > autopoint --force failed
> > > *** Error code 1
> > > 
> > > Stop in /usr/ports/multimedia/gstreamer-0.10/plugins-good (line 173 of 
> > > Makefile).
> > > *** Error code 1
> > > 
> > > Stop in /usr/ports/multimedia/gstreamer-0.10/plugins-good (line 2144 of 
> > > /usr/ports/infrastructure/mk/bsd.port.mk).
> > > 
> > 
> 

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to