you are right, calling fink from my user prompt works...
So I'll do that...
The only thing that does not work is becoming root (su -) and then calling fink 
directly...
thanks again for looking into this.
alessio
On 28/mar/2013, at 15:52, Alexander Hansen <[email protected]> wrote:

> Thanks again.  I'll see what I get out of my own 10.8 system.
> 
> Since you have RootMethod set, you might check what happens if you just use 
> "fink install " without using su or sudo first so that fink runs su itself.
> 
> On 3/28/13 7:42 AM, Alessio Sarti wrote:
>> RootMethod: su
>> Alessio
>> On 28/mar/2013, at 15:33, Alexander Hansen <[email protected]> 
>> wrote:
>> 
>>> Thanks.  What is the value of the RootMethod field in /sw/etc/fink.conf ?
>>> 
>>> On 3/28/13 7:27 AM, Alessio Sarti wrote:
>>>> Dear all.
>>>> It seems that I can overcome this problem if instead of loggin as root and 
>>>> then running the fink commands, I execute fink trough sudo....
>>>> So:
>>>> sudo fink install perl5123-core
>>>> do the job
>>>> while
>>>> su -
>>>> followed by
>>>> fink install perl5123-core
>>>> is stuck....
>>>> alessio
>>>> 
>>>> On 28/mar/2013, at 15:11, Alexander Hansen <[email protected]> 
>>>> wrote:
>>>> 
>>>>> On 3/27/13 11:58 PM, Alessio Sarti wrote:
>>>>>> Dear all.
>>>>>> Yesterday I upgraded my OS to Mountain Lion.
>>>>>> Then I followed the instruction from the fink webpage:
>>>>>> -> fink reinstall fink
>>>>>> -> fink configure
>>>>>> (to check that the build's user was setup properly)
>>>>>> 
>>>>>> then i tried  a
>>>>>> fink selfupdate
>>>>>> and everything warked without errors.
>>>>>> 
>>>>>> Then I tried a
>>>>>> fink install perl5123-core
>>>>>> 
>>>>>> The package is downloaded but the tar process goes on forever...
>>>>>> 
>>>>>> [output]
>>>>>> canning package description files..........
>>>>>> Information about 7111 packages read in 2 seconds.
>>>>>> The package 'perl5123-core' will be built and installed.
>>>>>> Reading build dependency for perl5123-5.12.3-2...
>>>>>> Reading dependency for perl5123-5.12.3-2...
>>>>>> Reading dependency for perl5123-core-5.12.3-2...
>>>>>> Reading build dependency for perl5123-core-5.12.3-2...
>>>>>> Reading dependency for perl5123-core-5.12.3-2...
>>>>>> Reading runtime dependency for perl5123-core-5.12.3-2...
>>>>>> Reading build conflict for perl5123-5.12.3-2...
>>>>>> Reading build conflict for perl5123-core-5.12.3-2...
>>>>>> The following package will be installed or updated:
>>>>>>  perl5123-core
>>>>>> Setting runtime build-lock...
>>>>>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-perl5123-5.12.3-2 
>>>>>> /sw/src/fink.build
>>>>>> dpkg-deb: building package `fink-buildlock-perl5123-5.12.3-2' in 
>>>>>> `/sw/src/fink.build/fink-buildlock-perl5123-5.12.3-2_2013.03.28-07.56.01_darwin-x86_64.deb'.
>>>>>> Installing build-lock package...
>>>>>> /sw/bin/dpkg-lockwait -i 
>>>>>> /sw/src/fink.build/fink-buildlock-perl5123-5.12.3-2_2013.03.28-07.56.01_darwin-x86_64.deb
>>>>>> Selecting previously deselected package fink-buildlock-perl5123-5.12.3-2.
>>>>>> (Reading database ... 178586 files and directories currently installed.)
>>>>>> Unpacking fink-buildlock-perl5123-5.12.3-2 (from 
>>>>>> .../fink-buildlock-perl5123-5.12.3-2_2013.03.28-07.56.01_darwin-x86_64.deb)
>>>>>>  ...
>>>>>> Setting up fink-buildlock-perl5123-5.12.3-2 (2013.03.28-07.56.01) ...
>>>>>> 
>>>>>> sudo -u fink-bld [ENV] sh -c /tmp/fink.Op3Bh
>>>>>> /sw/bin/tar  --no-same-owner --no-same-permissions -xvf 
>>>>>> /sw/src/perl-5.12.3.tar.gz
>>>>>> [output end]
>>>>>> 
>>>>>> I have tried to execute the command
>>>>>> /sw/bin/tar  --no-same-owner --no-same-permissions -xvf 
>>>>>> /sw/src/perl-5.12.3.tar.gz
>>>>>> from command line and it works without problems (as root)....
>>>>>> 
>>>>>> If I kill the process by ^C I see:
>>>>>> ^C
>>>>>> ### execution of /sw/bin/tar failed, exit code 2
>>>>>> 
>>>>>> So it really seems that fink is unable to use tar....
>>>>>> How can i fix this?
>>>>>> 
>>>>>> Alessio Sarti
>>>>>> 
>>>>>> "Rispondi... livato" (Da "L'uomo che non capiva troppo", 610, Lillo e 
>>>>>> Greg)
>>>>>> 
>>>>>> 
>>>>> 
>>>>> This issue has been reported before, but I haven't been able to trigger 
>>>>> it on my own machines yet.
>>>>> 
>>>>> What method are you using to give fink root access?  su? 'su -'? sudo 
>>>>> with extra flags?  If you can let us know if you did anything special 
>>>>> before the "fink install" command that might help us isolate the problem 
>>>>> more easily.
>>>>> 
>>>>> As a workaround, you can use "fink --no-build-as-nobody "
>>>>> --
>>>>> Alexander Hansen, Ph.D.
>>>>> Fink User Liaison
>>>>> My package updates: http://finkakh.wordpress.com/
>>>> 
>>>> Alessio Sarti
>>>> 
>>>> "Rispondi... livato" (Da "L'uomo che non capiva troppo", 610, Lillo e Greg)
>>>> 
>>>> 
>>>> 
>>> 
>>> 
>> 
>> Alessio Sarti
>> 
>> "Rispondi... livato" (Da "L'uomo che non capiva troppo", 610, Lillo e Greg)
>> 
>> 
>> 
> 
> 

Alessio Sarti

"Rispondi... livato" (Da "L'uomo che non capiva troppo", 610, Lillo e Greg)




------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
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