On Sun, 7 Apr 2013, Jack Howarth wrote:

> On Sun, Apr 07, 2013 at 11:22:08PM +0100, Viv Kendon wrote:
>> On Sun, 7 Apr 2013, Jack Howarth wrote:
>>
>>> On Sun, Apr 07, 2013 at 10:21:25PM +0100, Viv Kendon wrote:
>>>> ...but it worked on 10.7 client.  I tried to diff the two build logs, but
>>>> that's messy, and I'm still not sure what the failure actually is.
>>>> Ostensibly it is:
>>>>
>>>>  chmod -R a-x /sw/src/fink.build/root-atlas-3.10.1-1/sw/lib/*
>>>> chmod: cannot operate on dangling symlink
>>>> `/sw/src/fink.build/root-atlas-3.10.1-
>>>> 1/sw/lib/libcblas.dylib'
>>>> chmod: cannot operate on dangling symlink
>>>> `/sw/src/fink.build/root-atlas-3.10.1-
>>>> 1/sw/lib/libf77blas.dylib'
>>>> chmod: cannot operate on dangling symlink
>>>> `/sw/src/fink.build/root-atlas-3.10.1-
>>>> 1/sw/lib/liblapack.dylib'
>>>> chmod: cannot operate on dangling symlink
>>>> `/sw/src/fink.build/root-atlas-3.10.1-
>>>> 1/sw/lib/libptcblas.dylib'
>>>> chmod: cannot operate on dangling symlink
>>>> `/sw/src/fink.build/root-atlas-3.10.1-
>>>> 1/sw/lib/libptf77blas.dylib'
>>>> chmod: cannot operate on dangling symlink
>>>> `/sw/src/fink.build/root-atlas-3.10.1-
>>>> 1/sw/lib/libptlapack.dylib'
>>>> ### execution of /tmp/fink.zzyP6 failed, exit code 1
>>>> ### execution of /tmp/fink.JV6pj failed, exit code 1
>>>>
>>>> but obviously this means something went wrong earlier.

Actually, for once, this really is the error, not the 
symptom!

>> <irrelevant log excerpts snipped>
>>>>
>>>> I can supply the whole log if necessary, let me know.
>>>
>>> You will have to provide the full compressed log. The atlas build is quite
>>> ugly as it's makfiles often try compiles and copies that will fail until
>>> it the appropriate one succeeds. I suspect you will find some sort of
>>> error in the linkages of libsatlas.dylib and libtatlas.dylib. Afterwards
>>> you might also try removing the atlas package before you build the newer one
>>> and see if that helps.
>>>           Jack
>>>
>>>> Package manager version: 0.34.7
>>>> Distribution version: selfupdate-rsync Sun Apr  7 20:26:24 2013, 10.6,
>>>> x86_64
>>>> Trees: local/main local/crypto stable/main stable/crypto unstable/main
>>>> unstable/crypto
>>>> Xcode.app: 3.2.6
>>>> Xcode command-line tools: 3.2.6
>>>> atlas-3.10.1-1 is set to build with only one job.
>>
>> I already removed the atlas (but not atlas-shlibs) before running this
>> attempt: log attached.
>
> Do you happen to have coreutils installed on the machine 
> that completes the packaging but not on the other? If so, 
> does installing coreutils solve the problem? From your 
> log, the libstatlas.dylib and libtatlas.dylib files are 
> copied without complaint into destroot for packaging. 
> However when chomd is run on the symlinks (which point 
> these files in %p/lib), the chmod errors occur.

both had coreutils installed, the one that failed also had 
coreutils-default.  I removed coreutils-default, and it 
worked.  It then fails to install, but trying again works 
(because the offending file has been removed in the 
successful atlas-shlibs install):

Unpacking atlas (from .../atlas_3.10.1-1_darwin-x86_64.deb) 
...
/sw/bin/dpkg: error processing 
/sw/fink/dists/stable/main/binary-darwin-x86_64/sci/atlas_3.10.1-1_darwin-x86_64.deb
 
(--install):
  trying to overwrite `/sw/lib/libcblas.dylib', which is also 
in package atlas-shlibs
Preparing to replace atlas-shlibs 3.9.76-3 (using 
.../atlas-shlibs_3.10.1-1_darwin-x86_64.deb) ...
Unpacking replacement atlas-shlibs ...
Setting up atlas-shlibs (3.10.1-1) ...

many thanks,
-- Viv
________________________________________________
Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
tel: +44 113 343 4864      Physics and Astronomy
Quantum Information Group    University of Leeds


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
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