Thanks - running

fink install fink

from a non-root account was a success. However I also tried to run

fink selfupdate

afterwards from the same non-root account and ran into these errors:


Unpacking fink-buildlock-debianutils-4.3.2-2 (from
.../fink-buildlock-debianutils-4.3.2-2_2012.08.10-18.26.22_darwin-x86_64.deb)
...
Setting up fink-buildlock-debianutils-4.3.2-2 (2012.08.10-18.26.22) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.GdMZd
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
/sw/bin/tar  --no-same-owner --no-same-permissions -xvf
/sw/src/debianutils_4.3.2.tar.gz
debianutils-4.3.2/
debianutils-4.3.2/missing
debianutils-4.3.2/run-parts.c
:
:
:
sudo -u fink-bld [ENV] sh -c /tmp/fink.fyNpB
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
perl -pi -e 's,chown --reference=\$file,chown root:admin,g' add-shell
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
perl -pi -e 's,chmod --reference=\$file,chmod 644,g' add-shell
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
perl -pi -e 's,SUBDIRS = po4a,SUBDIRS = ,g' Makefile.in
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
perl -pi -e 's,Makefile po4a/Makefile po4a/fr/Makefile
po4a/sl/Makefile po4a/de/Makefile po4a/es/Makefile,Makefile,g'
configure
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
sudo -u fink-bld [ENV] sh -c /tmp/fink.dcKiL
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
DEBIANUTILS_VERSION="4.3.2" ./configure --prefix=/sw --mandir=/sw/share/man
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
pwd: error retrieving current directory: getcwd: cannot access parent
directories: Permission denied
pwd: error retrieving current directory: getcwd: cannot access parent
directories: Permission denied
configure: error: working directory cannot be determined
### execution of DEBIANUTILS_VERSION="4.3.2" failed, exit code 1
### execution of /tmp/fink.dcKiL failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-debianutils-4.3.2-2
(Reading database ... 154830 files and directories currently installed.)
Removing fink-buildlock-debianutils-4.3.2-2 ...
Failed: phase compiling: debianutils-4.3.2-2 failed


Running the same command under root froze after this line

sudo -u fink-bld [ENV] sh -c /tmp/fink.2DUlI
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
/sw/bin/tar  --no-same-owner --no-same-permissions -xvf
/sw/src/debianutils_4.3.2.tar.gz



More insights? Thanks a lot!

On Fri, Aug 10, 2012 at 6:16 PM, Alexander Hansen
<[email protected]> wrote:
> On 8/10/12 3:04 PM, Fortepianissimo wrote:
>> Do you mean running
>>
>> fink install fink
>>
>> as a non-root user? I tried that but the first thing it did was asking
>> my password - probably to sudo.
>>
>> Could you elaborate a bit? Thanks a lot!
>>
>
> Right.  Fink runs sudo for itself, so the environment can potentially be
> slightly different than when you do that yourself.
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to