On 9/26/13 1:22 PM, Werner Bäni wrote:
>
> Am 26.09.2013 um 20:57 schrieb Alexander Hansen <[email protected]>:
>
>> On 9/26/13 8:27 AM, Werner Bäni wrote:
>>>
>>> Am 26.09.2013 um 16:34 schrieb Alexander Hansen 
>>> <[email protected]>:
>>>
>>>>>
>>>>> The command "fink build transfig-graphicx" fails again.
>>>>>
>>>>> ??
>>>>>
>>>>
>>>> I assume that the failure is identical to before
>>>>
>>>
>>>
>>> Yes, exactly the same.
>>>
>>> Werner Bäni
>>
>> I just verified that "/usr/bin/llvm-cpp-4.2" is explicitly patched into the 
>> imake build, and so a rebuild won't remove that.
>>
>> Please try the following:
>>
>> 1) Copy the 10.9 package for xmkmf over:
>>
>> cp /sw/fink/10.7/stable/main/finkinfo/devel/xmkmf-10.9.info 
>> /sw/fink/10.7/stable/main/finkinfo/devel/xmkmf.info
>>
>> 2)  Edit the new xmkmf.info and remove the line that says "Distribution: 
>> 10.9"
>>
>> 3)  Use "fink rebuild xmkmf" and then "fink install transfig-graphicx"
>> --
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
>> My package updates: http://finkakh.wordpress.com/
>
> Now, 1) and 2) done, the "fink rebuild xmkmf" process ends up with the 
> following messages:
>
> + chgrp -h -R wheel /sw/src/fink.build/root-llvm-gcc42-2336.11-7
> chgrp: you are not a member of group wheel
> chgrp: /sw/src/fink.build/root-llvm-gcc42-2336.11-7/sw/bin/llvm-cpp-4.2: 
> Operation not permitted
> chgrp: /sw/src/fink.build/root-llvm-gcc42-2336.11-7/sw/bin/llvm-g++-4.2: 
> Operation not permitted
> ………..
> chgrp: /sw/src/fink.build/root-llvm-gcc42-2336.11-7: Operation not permitted
> + chgrp -R wheel /sw/src/fink.build/root-llvm-gcc42-2336.11-7
> chgrp: you are not a member of group wheel
> chgrp: /sw/src/fink.build/root-llvm-gcc42-2336.11-7/sw/bin/llvm-cpp-4.2: 
> Operation not permitted
> chgrp: /sw/src/fink.build/root-llvm-gcc42-2336.11-7/sw/bin/llvm-g++-4.2: 
> Operation not permitted
> ………..
> chgrp: /sw/src/fink.build/root-llvm-gcc42-2336.11-7: Operation not permitted
> + exit 0
>
>    # move directory structure with tar
>    cd 
> /sw/src/fink.build/llvm-gcc42-2336.11-7/llvmgcc42-2336.11/../objroot/dst-x86_64-x86_64
>    tar -cpf - sw | (cd /sw/src/fink.build/root-llvm-gcc42-2336.11-7 ; tar xpf 
> -)
>
>    # remove overlapping manpages with gcc48
>    rm -fr /sw/src/fink.build/root-llvm-gcc42-2336.11-7/sw/share/man/man7
>
>    # remove llvm-gcc-4.2 as gcc
>    rm /sw/src/fink.build/root-llvm-gcc42-2336.11-7/sw/bin/gcc 
> /sw/src/fink.build/root-llvm-gcc42-2336.11-7/sw/bin/x86_64-apple-darwin*-gcc
>
>    # add symlinks for as, ld and libstdc++.dylib
>    ln -sf /usr/bin/as 
> /sw/src/fink.build/root-llvm-gcc42-2336.11-7/sw/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/as
> ln: 
> /sw/src/fink.build/root-llvm-gcc42-2336.11-7/sw/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/as:
>  No such file or directory
> ### execution of /tmp/fink.yApIm failed, exit code 1
> ### execution of /tmp/fink.V_cih failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-llvm-gcc42-2336.11-7
> (Lese Datenbank ... 29647 Dateien und Verzeichnisse sind derzeit installiert.)
> Entferne fink-buildlock-llvm-gcc42-2336.11-7 ...
> Failed: phase installing: llvm-gcc42-2336.11-7 failed
>
> Package manager version: 0.35.1
> Distribution version: selfupdate-rsync Tue Sep 24 19:24:51 2013, 10.8, x86_64
> Trees: local/main stable/main
> Xcode.app: 5.0
> Xcode command-line tools: 5.0.0.0.1.1377666378
> llvm-gcc42-2336.11-7 is set to build with only one job.
>
> Werner Bäni

The llvm-gcc42 package needs to be modified either to

1) defer running chgrp until post-install (preferred)
-or-
2) build as root only

(maintainer CC'ed)

We hadn't seen a bug report for this package yet, since it was only 
available for 10.8 once Xcode 5 was released.

As a workaround, try "fink --no-build-as-nobody build llvm-gcc42", which 
overrides the default behavior and builds as root.  At that point you 
can try the

fink rebuild xmkmf
fink install transfig-graphicx

combination again.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to