Unable to compile regexxer in non-root mode

Matthias Moeller matthias.moeller at math.tu-dortmund.de
Wed Jan 20 05:55:34 PST 2010


Dear members of this mailinglist,

I have recently started to use macports in order to have some of my
'beloved' Unix applications on Mac OSX.

I have built it from source in non-root mode using these settings:

./configure --prefix=$HOME/MacPorts \
        --build=i686-apple-darwin10 \
        --enable-readline \
        --with-install-user=`id -un` \
        --with-install-group=`id -gn` \
        --with-macports-user=`id -un` \
        --x-includes=/usr/X11R6/include \
        --x-libraries=/usr/X11R6/lib \
        --with-tclpackage=$HOME/MacPorts/share/macports/Tcl \
        --with-no-root-privileges \
        --with-applications-dir=$HOME/MacPorts/Applications

My operating system is Mac OSX 1.6.2 on a Macbook Pro.

I have added +no_startupitem to ~/MacPorts/etc/macports/variants.conf
and set startupitem_type none in ~/MacPorts/etc/macports/macports.conf

Compilation works fine until it comes to policykit which fails to build.
Below is an excerpt from the output

$ port -d -v install regexxer

...

DEBUG: Searching for dependency: libglade2
DEBUG: Didn't find receipt, going to depspec regex for: libglade2
DEBUG: Found port in
file:///Users/mm/MacPorts/var/macports/sources/rsync.macports.org/release/ports/gnome/libglade2
DEBUG: Changing to port directory:
/Users/mm/MacPorts/var/macports/sources/rsync.macports.org/release/ports/gnome/libglade2
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a
pre-existing procedure. Target override will not be provided
DEBUG: Using group file
/Users/mm/MacPorts/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from
/Users/mm/MacPorts/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant no_root is not provided by port libglade2.
DEBUG: Requested variant darwin is not provided by port libglade2.
DEBUG: Requested variant i386 is not provided by port libglade2.
DEBUG: Requested variant no_startupitem is not provided by port libglade2.
DEBUG: Requested variant macosx is not provided by port libglade2.
DEBUG: Searching for dependency: gettext
DEBUG: Found Dependency: receipt exists for gettext
DEBUG: Searching for dependency: fontconfig
DEBUG: Found Dependency: receipt exists for fontconfig
DEBUG: Searching for dependency: libxml2
DEBUG: Found Dependency: receipt exists for libxml2
DEBUG: Searching for dependency: gtk2
DEBUG: Found Dependency: receipt exists for gtk2
DEBUG: Searching for dependency: pkgconfig
DEBUG: Found Dependency: receipt exists for pkgconfig
MacPorts running without privileges. You may be unable to complete
certain actions (eg install).
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Executing org.macports.main (policykit)
MacPorts running without privileges. You may be unable to complete
certain actions (eg install).
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.fetch (policykit)
MacPorts running without privileges. You may be unable to complete
certain actions (eg install).
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.checksum (policykit)
MacPorts running without privileges. You may be unable to complete
certain actions (eg install).
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.extract (policykit)
MacPorts running without privileges. You may be unable to complete
certain actions (eg install).
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.patch (policykit)
MacPorts running without privileges. You may be unable to complete
certain actions (eg install).
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.configure (policykit)
MacPorts running without privileges. You may be unable to complete
certain actions (eg install).
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.build (policykit)
MacPorts running without privileges. You may be unable to complete
certain actions (eg install).
DEBUG: Privilege de-escalation not attempted as not running as root.
--->  Staging policykit into destroot
. changed
        user expected 0 found 501 not modified: Operation not permitted
        gid expected 0 found 20 not modified: Operation not permitted
usr changed
        user expected 0 found 501 not modified: Operation not permitted
        gid expected 0 found 20 not modified: Operation not permitted
. missing (directory not created: File exists)
./Applications missing (directory not created: File exists)
./Developer missing (directory not created: File exists)
./Library missing (directory not created: File exists)
DEBUG: Executing proc-pre-org.macports.destroot-destroot-0
Error: Target org.macports.destroot returned: <main> attribute status:
eDSPermissionError
<dscl_cmd> DS Error: -14120 (eDSPermissionError)
DEBUG: Backtrace: <main> attribute status: eDSPermissionError
<dscl_cmd> DS Error: -14120 (eDSPermissionError)
    while executing
"$pre $targetname"
Warning: the following items did not execute (for policykit):
org.macports.activate org.macports.destroot org.macports.install
Error: The following dependencies failed to build: gconfmm gconf
policykit gtkmm cairomm libsigcxx2 glibmm pangomm libglademm libglade2
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>


Any help will be appreciated.

Best regards,
Matthias Moeller


More information about the macports-users mailing list