On Mon, 18 Nov 2013 18:11:50 +0100, Derek Homeier 
<de...@astro.physik.uni-goettingen.de> wrote:
It seems I am running into troubles with my fink installation on a 
case-sensitive volume again,
> > 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-core-5.16.2-102... 
> Error: Pathname collision on case-insensitive filesystems
>  Offending file: /sw/lib/perl5-core/5.16.2/version/

>

> 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?

It's broken in several ways, including .deb portability and (in this 
case) perl functionality relating to filename<->namespace mapping. Perl 
has fought with this issue for years, and even this specific instance 
of it. Apparently the .pod is the remnant documentation regarding the 
actual perl-module fix (maybe there had been a version/Internals.pm 
that was renamed). See:

http://www.nntp.perl.org/group/perl.perl5.porters/2011/06/msg173951.html

that mentions the idea of moving the contents of the .pod into the 
documentation for another module. That thread talks about it being 
finally fixed by perl5.18ish, I wonder if perl more recent than 5.16.2 
has any improvements in this regard. 

dan

--
Daniel Macks
dma...@netspace.org



------------------------------------------------------------------------------
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-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to