On Fri, Sep 27, 2013 at 06:41:38AM -0700, Alexander Hansen wrote:
> On 9/27/13 6:35 AM, Jack Howarth wrote:
>> On Thu, Sep 26, 2013 at 03:37:04PM -0700, Alexander Hansen wrote:
>>> On 9/26/13 2:16 PM, Alexander Hansen wrote:
>>>> On 9/26/13 1:22 PM, Werner Bäni wrote:
>>>>>
>>>>> Am 26.09.2013 um 20:57 schrieb Alexander Hansen
>>>>> <alexanderk.han...@gmail.com>:
>>>>>
>>>>>> On 9/26/13 8:27 AM, Werner Bäni wrote:
>>>>>>>
>>>>>>> Am 26.09.2013 um 16:34 schrieb Alexander Hansen
>>>>>>> <alexanderk.han...@gmail.com>:
>>>>>>>
>>>>>>>>>
>>>>>>>>> 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)
>>
>> Alexander,
>>      The actual error here has nothing to do with the wheel group but the 
>> fact that
>> llvm-gcc42 is currently hardcoded for darwin13.
>>
>>    ln -sf /usr/lib/libstdc++.6.dylib 
>> %i/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/libstdc++.6.dylib
>>
>>
>> in the info file. I can fix that line easily enough but don't know how to 
>> address the Files and Shlibs
>> entries...
>>
>>    lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/libllvmgcc.dylib
>>
>>    !%p/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/libllvmgcc.dylib
>>
>> short of creating separate variants for 10.8 and 10.9. Any suggestions?
>>               Jack
>> ps I am inclined to just comment out the lines that set...
>>
>> +chgrp -h -R wheel $DEST_DIR
>> +chgrp -R wheel $DEST_DIR
>>
>> in llvm-gcc42.patch. While Apple may use this approach internally, none of 
>> the other compiler
>> packages in fink have ever demanded that its files be of the wheel group.
>>
>>
>
> Having separate 10.8 and 10.9 packaging would probably be the best way  
> to go.  The only other obvious option would be to muck around with  
> install_name and and paths to have them be not darwin-versioned, but  
> that's probably more trouble than it's worth.

  There appears to be other instances of this issue in 10.7 tree. See 
gauche.info that has

ConfigureParams: --build=%m-apple-darwin`uname -r|sed 's/\..*//' ...

and

Shlibs: !%p/lib/gauche-0.9/%v/%m-apple-darwin11/libgauche-0.9.dylib

which seen unlikely to build on ML or later.

>
> Commenting out the chgrp probably makes sense.
>
> -- 
> 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
Fink-beginners@lists.sourceforge.net
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