Monipol,
   Try the revised info file I uploaded to fink tracking.
If this doesn't solve the problem, one of the core fink
developers will have to look at it to explain why fink
shows a validation (but not a packaging error).
                   Jack

On Tue, Jul 07, 2009 at 07:35:42AM -0300, monipol wrote:
> On 06/07/2009, at 21:56, Jack Howarth wrote:
>> I have posted test packaging for openmpi-1.3.2-1003...
>>
>> https://sourceforge.net/tracker/?func=detail&aid=2817726&group_id=17203&atid=414256
>>
>> which should solve the problems with case-sensitive filesystems. The  
>> approach
>> I adopted was to use...
>>
>> mv %i/bin/mpicc %i/bin/om-mpicc
>> if [ -f %i/bin/mpiCC ]; then
>>  rm %i/bin/mpiCC
>> fi
>>
>> in the InstallScript and to add...
>>
>> PostInstScript: <<
>> if [ ! -h %p/bin/mpiCC ]; then
>>    ln -s %p/bin/mpicc %p/bin/mpiCC
>> fi
>> <<
>> PostRmScript: <<
>> if [ -h %p/bin/mpiCC ]; then
>>    rm %p/bin/mpiCC
>> fi
>> <<
>>
>> to the -dev splitoff. This should create and destroy
>> a symlink called mpiCC on case-sensitive filesystems
>> only. We could eliminate the mpiCC file entirely but
>> this will likely break the usage of openmpi on
>> case-sensitive filesystems since some software built
>> against openmpi will likely be coded to use mpiCC
>> rather than mpicc. So we really need to provide access
>> to a file by that name on case-sensitive filesystems.
>
> FWIW, I like this solution.
>
>>           Jack
>> ps Let me know if anyone has problems with this on
>> case-sensitive filesystems.
>
> Validator complains:
>
> $ fink -V | head -n 1
> Package manager version: 0.29.7
>
> $ diskutil info /Volumes/ajdext | grep Case
>    File System:              Case-sensitive HFS+
>
> $ fink -m --build-as-nobody rebuild openmpi
>
> (...)
>
> /bin/cp -r VERSION /Volumes/ajdext/build.build/root-openmpi- 
> dev-1.3.2-1003/sw/share/doc/openmpi-dev/
> /bin/chmod -R go=u-w /Volumes/ajdext/build.build/root-openmpi- 
> dev-1.3.2-1003/sw/share/doc/openmpi-dev
> /bin/rm -f /Volumes/ajdext/build.build/root-openmpi-dev-1.3.2-1003/sw/ 
> info/dir /Volumes/ajdext/build.build/root-openmpi-dev-1.3.2-1003/sw/ 
> info/dir.old /Volumes/ajdext/build.build/root-openmpi-dev-1.3.2-1003/ 
> sw/share/info/dir /Volumes/ajdext/build.build/root-openmpi- 
> dev-1.3.2-1003/sw/share/info/dir.old
> Reverting ownership of install dir to root
> - Depends line is: openmpi-shlibs (= 1.3.2-1003), darwin (>= 9-1)
> Writing control file...
> Validating .deb dir /Volumes/ajdext/build.build/root- 
> openmpi-1.3.2-1003...
> Error: Pathname collision on case-insensitive filesystems
>       Offending file: /sw/bin/mpicc-vt
>       Offending file: /sw/share/doc/openmpi/openmpi/mpicc-vt-wrapper-data.txt
>       Offending file: /sw/share/doc/openmpi/openmpi/mpicc-wrapper-data.txt
>       Offending file: /sw/share/man/openmpi/man1/mpicc.1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-openmpi-1.3.2-1003
> Removing fink-buildlock-openmpi-1.3.2-1003 ...
> Failed: Please correct the above problems and try again!
>
> --
> monipol
> http://finkers.wordpress.com

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to