Re: [Fink-devel] perl5162-core build/install problem on case-sensitiveFS
Hi Dan, thanks for the pointer, this seems to be a bigger can of worms than I've thought! 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. Indeed, so renaming the directories in the source tree does not help, as perl immediately complains at the beginning of the build. So I tried the less nice approach of fixing things up afterwards, hoping, as the list mail above indicated, that this would not mess up namespace things, but I am certainly a bit over my head into this… With the following changes @@ -68,6 +68,7 @@ InstallScript: +#! /bin/sh -ev make install DESTDIR=%d mkdir -p %i/etc/profile.d @@ -77,6 +78,9 @@ echo append_path MANPATH %p/lib/perl5/5.16.2/man %i/etc/profile.d/%N-core.sh echo export MANPATH %i/etc/profile.d/%N-core.sh chmod 755 %i/etc/profile.d/%N-core.* + if [ ! -f %i/lib/perl5-core/%v/Version/Internals.pod ]; then + mv %i/lib/perl5-core/%v/version/Internals.pod %i/lib/perl5-core/%v/Version rmdir %i/lib/perl5-core/%v/version + fi SplitOff: perl5162-core and perl5162 build and install in maintainer mode (though the latter has a name conflict with json-pp-pm - is that package unversioned on purpose?). But building any of the modules (e.g. test-harness-pm5162) fails at the step ARCHFLAGS= /usr/bin/arch -x86_64 perl5.16 Makefile.PL PERL=/usr/bin/arch -x86_64 perl5.16 PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.16.2 INSTALLARCHLIB=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.16.2 INSTALLSITEARCH=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin arch: Can't find perl5.16 in PATH (there is /sw/bin/perl5.16.2 in PATH, and the equivalent works for arch -x86_64 perl5.12 vs. /sw/bin/perl5.12.3; /usr/bin/arch -x86_64 perl5.16.2 apparently works as well, but here not without the full versioned name). I don't know if this is somehow due to Internals.pod now possibly not being found - it seems to contain some versioning information, but I really don't know anything about perl internals at this level… 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=63431311iu=/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
Re: [Fink-devel] perl5162-core build/install problem on case-sensitiveFS
ARCHFLAGS= /usr/bin/arch -x86_64 perl5.16 Makefile.PL PERL=/usr/bin/arch -x86_64 perl5.16 PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.16.2 INSTALLARCHLIB=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.16.2 INSTALLSITEARCH=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin arch: Can't find perl5.16 in PATH (there is /sw/bin/perl5.16.2 in PATH, and the equivalent works for arch -x86_64 perl5.12 vs. /sw/bin/perl5.12.3; /usr/bin/arch -x86_64 perl5.16.2 apparently works as well, but here not without the full versioned name). I don't know if this is somehow due to Internals.pod now possibly not being found - it seems to contain some versioning information, but I really don't know anything about perl internals at this level… The 'missing' perl5.16 should be fixed in fink-0.36.1, released two days ago. Fink was incorrectly assuming that all perls were perlX.Y, but this is only the case for system-perl, while fink's perls have always been perlX.Y.Z. Hanspeter -- 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=63431311iu=/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
Re: [Fink-devel] perl5162-core build/install problem on case-sensitiveFS
On 11/19/2013 1:55 PM, Derek Homeier wrote: On 19.11.2013, at 7:47PM, Hanspeter Niederstrasser f...@snaggledworks.com wrote: The 'missing' perl5.16 should be fixed in fink-0.36.1, released two days ago. Fink was incorrectly assuming that all perls were perlX.Y, but this is only the case for system-perl, while fink's perls have always been perlX.Y.Z. Hmm, could there be any delays with selfupdate-rsync? I did several over the weekend and another one just now, I've already been wondering about a bzr-git update that did not seem to show up: /usr/bin/rsync -az -v rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp receiving file list ... done TIMESTAMP Currently, the only mirror that happens to be updating is this one: rsync://hnd.jp.asi.finkmirrors.net/finkinfo/ You can edit the Mirror-rsync field in /sw/etc/fink.conf to use that. Hanspeter -- 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=63431311iu=/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
Re: [Fink-devel] perl5162-core build/install problem on case-sensitiveFS
On 19.11.2013, at 7:47PM, Hanspeter Niederstrasser f...@snaggledworks.com wrote: The 'missing' perl5.16 should be fixed in fink-0.36.1, released two days ago. Fink was incorrectly assuming that all perls were perlX.Y, but this is only the case for system-perl, while fink's perls have always been perlX.Y.Z. Hmm, could there be any delays with selfupdate-rsync? I did several over the weekend and another one just now, I've already been wondering about a bzr-git update that did not seem to show up: /usr/bin/rsync -az -v rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp receiving file list ... done TIMESTAMP sent 59 bytes received 140 bytes 30.62 bytes/sec total size is 11 speedup is 0.06 I will now run the rsync command to retrieve the latest package descriptions. /usr/bin/rsync -rtz --delete-after --delete -v --include='10.7/' --include='10.7/stable/' --include='10.7/stable/main/' --include='10.7/stable/main/finkinfo/' --include='10.7/stable/main/finkinfo/*/' --include='10.7/stable/main/finkinfo/*' --include='10.7/stable/main/finkinfo/**/*' --include='VERSION' --include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/' receiving file list ... done ./ 10.7/ sent 287 bytes received 128161 bytes 15111.53 bytes/sec total size is 13522177 speedup is 105.27 Scanning package description files.. Information about 8932 packages read in 2 seconds. No packages to install. The core packages have been updated. You should now update the other packages using commands like 'fink update-all'. miranda:3306 fink list fink Information about 8932 packages read in 2 seconds. i fink0.36.0-71Open-source software package manager fink-buildenv-modules 0.1.0-4 Script for getting common buildtime values i fink-mirrors0.34.4.1-1 Mirror infrastructure i fink-obsolete-packages 0.1-1Base package for obsolete packages fink-octave-scripts 0.2.0-2 Convenience scripts for Octave add-ons i fink-package-precedence 0.17-1 Check fink masking of system libs i passwd-fink-bld 20131113-1 OBSOLETE User/group for fink build system miranda:3307 fink list bzr-git Information about 8932 packages read in 2 seconds. bzr-git-py260.6.11-1 Clone git repositories with Bazaar i bzr-git-py270.6.11-1 Clone git repositories with Bazaar Thanks, 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=63431311iu=/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
Re: [Fink-devel] perl5162-core build/install problem on case-sensitiveFS
On 19.11.2013, at 8:36PM, Hanspeter Niederstrasser f...@snaggledworks.com wrote: On 11/19/2013 1:55 PM, Derek Homeier wrote: On 19.11.2013, at 7:47PM, Hanspeter Niederstrasser f...@snaggledworks.com wrote: The 'missing' perl5.16 should be fixed in fink-0.36.1, released two days ago. Fink was incorrectly assuming that all perls were perlX.Y, but this is only the case for system-perl, while fink's perls have always been perlX.Y.Z. Hmm, could there be any delays with selfupdate-rsync? I did several over the weekend and another one just now, I've already been wondering about a bzr-git update that did not seem to show up: /usr/bin/rsync -az -v rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp receiving file list ... done TIMESTAMP Currently, the only mirror that happens to be updating is this one: rsync://hnd.jp.asi.finkmirrors.net/finkinfo/ You can edit the Mirror-rsync field in /sw/etc/fink.conf to use that. I really got to go out g my way here ;-) - OK, that did it, after waiting for an extended time for http://downloads.sourceforge.net/fink which seems also to be only one to have updated the fink source! A lot of the modules build now, though perl5162, which also includes /sw/bin/json-pp, still conflicts with json-pp-pm. But a lot of modules fail to build with this missing dependency on cc_runtime.h. There is no cc_runtime.h of either capitalisation in /sw/lib/perl5-core/5.16.2/darwin-thread-multi-2level/CORE nor anywhere in the perl-5.16.2 source. Thanks for the help so far! Derek ARCHFLAGS= /usr/bin/arch -x86_64 perl5.16.2 Makefile.PL PERL=/usr/bin/arch -x86_64 perl5.16.2 PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.16.2 INSTALLARCHLIB=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.16.2 INSTALLSITEARCH=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin Use of qw(...) as parentheses is deprecated at /sw/lib/perl5/ExtUtils/MM_Any.pm line 987. Testing if you have a C compiler Checking if your kit is complete... Looks good Writing Makefile for version::vxs Writing Makefile for version make CC=gcc CXX=g++ make[1]: Entering directory `/scratch.noindex/fink.build/version-pm5162-0.99.04-1/version-0.9904/vutil' cp lib/version/Internals.pod blib/lib/version/Internals.pod cp lib/version.pm blib/lib/version.pm cp lib/version.pod blib/lib/version.pod cp vperl/vpp.pm blib/lib/version/vpp.pm make[1]: *** No rule to make target `/sw/lib/perl5-core/5.16.2/darwin-thread-multi-2level/CORE/cc_runtime.h', needed by `vutil.o'. Stop. make[1]: *** Waiting for unfinished jobs cp lib/version/vxs.pm ../blib/lib/version/vxs.pm make[1]: Leaving directory `/scratch.noindex/fink.build/version-pm5162-0.99.04-1/version-0.9904/vutil' make: *** [subdirs] Error 2 ### execution of make failed, exit code 2 ### execution of /tmp/fink.RTgvH failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-version-pm5162-0.99.04-1 (Reading database ... 438233 files and directories currently installed.) Removing fink-buildlock-version-pm5162-0.99.04-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/sub-install-pm5162_0.926-1_darwin-x86_64.deb New package: dists/stable/main/binary-darwin-x86_64/libs/perlmods/test-simple-pm5162_1.001002-1_darwin-x86_64.deb Failed: phase compiling: version-pm5162-0.99.04-1 failed -- 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=63431311iu=/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
Re: [Fink-devel] perl5162-core build/install problem on case-sensitiveFS
On 11/19/2013 8:04 PM, Derek Homeier wrote: But a lot of modules fail to build with this missing dependency on cc_runtime.h. There is no cc_runtime.h of either capitalisation in /sw/lib/perl5-core/5.16.2/darwin-thread-multi-2level/CORE nor anywhere in the perl-5.16.2 source. Thanks for the help so far! Derek ARCHFLAGS= /usr/bin/arch -x86_64 perl5.16.2 Makefile.PL PERL=/usr/bin/arch -x86_64 perl5.16.2 PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.16.2 INSTALLARCHLIB=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.16.2 INSTALLSITEARCH=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin Use of qw(...) as parentheses is deprecated at /sw/lib/perl5/ExtUtils/MM_Any.pm line 987. Testing if you have a C compiler Checking if your kit is complete... Looks good Writing Makefile for version::vxs Writing Makefile for version make CC=gcc CXX=g++ make[1]: Entering directory `/scratch.noindex/fink.build/version-pm5162-0.99.04-1/version-0.9904/vutil' cp lib/version/Internals.pod blib/lib/version/Internals.pod cp lib/version.pm blib/lib/version.pm cp lib/version.pod blib/lib/version.pod cp vperl/vpp.pm blib/lib/version/vpp.pm make[1]: *** No rule to make target `/sw/lib/perl5-core/5.16.2/darwin-thread-multi-2level/CORE/cc_runtime.h', needed by `vutil.o'. Stop. make[1]: *** Waiting for unfinished jobs Do you have extutils-makemaker-pm [1] installed? If yes, remove it and try to rebuild your failing perlmods. Apparently the old unvarianted extutils-makemaker-pm conflicts with the EU::MM that comes with perl5.16.2. Hanspeter [1] http://www.perlmonks.org/?node_id=906346 -- 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=63431311iu=/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
Re: [Fink-devel] perl5162-core build/install problem on case-sensitiveFS
On 20.11.2013, at 2:29AM, Hanspeter Niederstrasser f...@snaggledworks.com wrote: On 11/19/2013 8:04 PM, Derek Homeier wrote: But a lot of modules fail to build with this missing dependency on cc_runtime.h. There is no cc_runtime.h of either capitalisation in /sw/lib/perl5-core/5.16.2/darwin-thread-multi-2level/CORE nor anywhere in the perl-5.16.2 source. Thanks for the help so far! Derek ARCHFLAGS= /usr/bin/arch -x86_64 perl5.16.2 Makefile.PL PERL=/usr/bin/arch -x86_64 perl5.16.2 PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.16.2 INSTALLARCHLIB=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.16.2 INSTALLSITEARCH=/sw/lib/perl5/5.16.2/darwin-thread-multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin Use of qw(...) as parentheses is deprecated at /sw/lib/perl5/ExtUtils/MM_Any.pm line 987. Testing if you have a C compiler Checking if your kit is complete... Looks good Writing Makefile for version::vxs Writing Makefile for version make CC=gcc CXX=g++ make[1]: Entering directory `/scratch.noindex/fink.build/version-pm5162-0.99.04-1/version-0.9904/vutil' cp lib/version/Internals.pod blib/lib/version/Internals.pod cp lib/version.pm blib/lib/version.pm cp lib/version.pod blib/lib/version.pod cp vperl/vpp.pm blib/lib/version/vpp.pm make[1]: *** No rule to make target `/sw/lib/perl5-core/5.16.2/darwin-thread-multi-2level/CORE/cc_runtime.h', needed by `vutil.o'. Stop. make[1]: *** Waiting for unfinished jobs Do you have extutils-makemaker-pm [1] installed? If yes, remove it and try to rebuild your failing perlmods. Apparently the old unvarianted extutils-makemaker-pm conflicts with the EU::MM that comes with perl5.16.2. Yep, worked! Thanks again, 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=63431311iu=/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
[Fink-devel] Mass migration of python setuptools/distribute
At various times, we've have setuptools-pyXX and distribute-pyXX forking and developing and re-merging and whatnot. It all settled down a few months ago, with the single modern setuptools-tng-pyXX package. It also supplies (via a SplitOff wrapper packages tagged as fink-obsolete-packages and a Provides thereof) the old-named ones, and many other -pyXX packages still use those. But the f-o-p triggers a warning (or error in -m mode). The old-named packages really don't exist except as a fink packaging game for other packages' dependencies. Unless I hear any objections, tomorrow I plan to mass migrate all packages to use the new dependency. 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=63431311iu=/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