It seems I am running into troubles with my fink installation on a 
case-sensitive volume again,
but I don't quite understand the issue. perl5162-core builds ok so far, but the 
package fails to
install with 

Validating package file 
/sw/fink/dists/stable/main/finkinfo/languages/perl5162.info...
Package looks good!
The package 'perl5162-core' will be installed.
Reading dependency for perl5162-core-5.16.2-102...
Reading runtime dependency for perl5162-core-5.16.2-102...
The following package will be installed or updated:
 perl5162-core
Reading buildlock packages...
        All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i 
/sw/fink/dists/stable/main/binary-darwin-x86_64/languages/perl5162-core_5.16.2-102_darwin-x86_64.deb
(Reading database ... 438260 files and directories currently installed.)
Unpacking perl5162-core (from .../perl5162-core_5.16.2-102_darwin-x86_64.deb) 
...
/sw/bin/dpkg: error processing 
/sw/fink/dists/stable/main/binary-darwin-x86_64/languages/perl5162-core_5.16.2-102_darwin-x86_64.deb
 (--install):
 unable to create `./sw/lib/perl5-core/5.16.2/version/Internals.pod': No such 
file or directory
Errors were encountered while processing:
 
/sw/fink/dists/stable/main/binary-darwin-x86_64/languages/perl5162-core_5.16.2-102_darwin-x86_64.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Updating the list of locally available binary packages.
Scanning dists/stable/main/binary-darwin-x86_64
New package: 
dists/stable/main/binary-darwin-x86_64/libs/perlmods/package-generator-pm_1.105-1_darwin-x86_64.deb
Failed: can't install package perl5162-core-5.16.2-102

> dpkg-deb -c 
> /sw/fink/dists/stable/main/binary-darwin-x86_64/languages/perl5162-core_5.16.2-102_darwin-x86_64.deb|grep
>  -i version/                                                                  
>                        
drwxr-xr-x root/admin        0 2013-11-12 16:02 
./sw/lib/perl5-core/5.16.2/Version/
-r--r--r-- root/admin    14605 2013-11-12 16:02 
./sw/lib/perl5-core/5.16.2/Version/Requirements.pm
drwxr-xr-x root/admin        0 2013-11-12 16:02 
./sw/lib/perl5-core/5.16.2/version/
-r--r--r-- root/admin    25001 2013-11-12 16:02 
./sw/lib/perl5-core/5.16.2/version/Internals.pod

Building the package in maintainer mode however results in an error in the 
validation phase:

Validating .deb dir 
/Volumes/Oberon/scratch.noindex/fink.build/root-perl5162-5.16.2-102...
Package looks good!
env LANG=C LC_ALL=C dpkg-deb -b root-perl5162-5.16.2-102 
/sw/fink/10.8/stable/main/binary-darwin-x86_64/languages
dpkg-deb: building package `perl5162' in 
`/sw/fink/10.8/stable/main/binary-darwin-x86_64/languages/perl5162_5.16.2-102_darwin-x86_64.deb'.
Reverting ownership of install dir to root
- Depends line is: darwin (>= 12-1)
Writing control file...
Writing md5sums file...
Validating .deb dir 
/Volumes/Oberon/scratch.noindex/fink.build/root-perl5162-core-5.16.2-102...
Error: Pathname collision on case-insensitive filesystems
        Offending file: /sw/lib/perl5-core/5.16.2/version/
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-perl5162-5.16.2-102
(Reading database ... 438261 files and directories currently installed.)
Removing fink-buildlock-perl5162-5.16.2-102 ...
Failed: phase .deb validation: perl5162-core-5.16.2-102 failed

It would seem, since the .deb contains both the lower- and uppercase version 
dirs with their content,
it should install just fine on a case-sensitive filesystem, but apparently 
dpkg-deb is still refusing to
install it (even in non-maintainer mode), because the package would be broken 
on a case-insensitive fs.

I suppose the proper fix would be to manually rename either "version" or 
"Version" before/during/after
the build process to have Requirements.pm and Internals.pod coexist in the same 
subdir?

Cheers,
                                Derek


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
fink-core mailing list
fink-core@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core

Reply via email to