> On Oct 3, 2015, at 13:29, Gary K. Olson <garykol...@mac.com> wrote: > > I refurbished an old MacBookPro with more memory and an ssd that is running > 10.10.5. I installed a clean version of fink which I have updated to fink > 0.39.0. I downloaded apples’ Java for OS X 2015-001, which is the current > legacy download from Apple, and installed it. However, fink does not > recognize that this java 1.6 package is installed and no octave packages can > be built!! Here is my build script: > >> [MacBookPro:~]:-bash:520$: fink install octave >> Information about 9763 packages read in 2 seconds. >> >> fink needs help picking an alternative to satisfy a virtual dependency. The >> candidates: >> >> (1) transfig-graphicx: Convert xfig objects >> (2) transfig-epsfig: Convert xfig objects >> >> Pick one: [1] >> The following package will be installed or updated: >> octave >> The following 3 additional packages will be installed: >> octave382 system-java16-dev transfig-graphicx >> The following package might be temporarily removed: >> fort77 >> Default answer will be chosen in 60 seconds... >> Do you want to continue? [Y/n] y >> Setting runtime build-lock... >> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-system-java16-dev-1.6.0-1 >> /sw/src/fink.build >> dpkg-deb: building package `fink-buildlock-system-java16-dev-1.6.0-1' in >> `/sw/src/fink.build/fink-buildlock-system-java16-dev-1.6.0-1_2015.10.03-13.37.01_darwin-x86_64.deb'. >> Installing build-lock package... >> /sw/bin/dpkg-lockwait -i >> /sw/src/fink.build/fink-buildlock-system-java16-dev-1.6.0-1_2015.10.03-13.37.01_darwin-x86_64.deb >> Selecting previously deselected package >> fink-buildlock-system-java16-dev-1.6.0-1. >> (Reading database ... 438828 files and directories currently installed.) >> Unpacking fink-buildlock-system-java16-dev-1.6.0-1 (from >> .../fink-buildlock-system-java16-dev-1.6.0-1_2015.10.03-13.37.01_darwin-x86_64.deb) >> ... >> Setting up fink-buildlock-system-java16-dev-1.6.0-1 (2015.10.03-13.37.01) ... >> >> sudo -u fink-bld [ENV] sh -c /tmp/fink.9p5ww >> /tmp/fink.1oiNf >> >> +---------- >> | >> | Attention! >> | >> | Package system-java16-dev is an autogenerated virtual package. >> | >> | You cannot manipulate this type of package using the usual Fink tools. >> | A detailed description of this package follows... >> | >> | This package represents the development headers for >> | Java 1.6.0. If this package shows as not being installed, >> | you must download and install Java for OS X 2014-001 from Apple: >> | >> | http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2014-001.dmg >> <http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2014-001.dmg> >> | >> | Web site: http://www.finkproject.org/faq/usage-general.php#virtpackage >> <http://www.finkproject.org/faq/usage-general.php#virtpackage> >> | >> +---------- >> >> ### execution of /tmp/fink.1oiNf failed, exit code 1 >> ### execution of /tmp/fink.9p5ww failed, exit code 1 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-system-java16-dev-1.6.0-1 >> (Reading database ... 438829 files and directories currently installed.) >> Removing fink-buildlock-system-java16-dev-1.6.0-1 ... >> Failed: phase compiling: system-java16-dev-1.6.0-1 failed > > fink list system-java shows: > > [MacBookPro:~]:-bash:502$: fink list system-java > Information about 9763 packages read in 6 seconds. > i system-java 1.8.0-1 [virtual package > representing Java 1.8.0] > i system-java-dev 1.8.0-1 [virtual package > representing Java SDK 1.8.0] > i system-java14 1.4.2-1 [virtual package > representing Java 1.4.2] > i system-java14-dev 1.4.2-1 [virtual package > representing Java 1.4.2 development headers] > i system-java15 1.5.0-1 [virtual package > representing Java 1.5.0] > i system-java15-dev 1.5.0-1 [virtual package > representing Java 1.5.0 development headers] > i system-java16 1.6.0-1 [virtual package > representing Java 1.6.0] > system-java16-dev 1.6.0-1 [virtual package > representing Java 1.6.0 development headers] > system-java17 1.7.0-1 [virtual package > representing Java 1.7.0] > system-java17-dev 1.7.0-1 [virtual package > representing Java 1.7.0 development headers] > i system-java18 1.8.0-1 [virtual package > representing Java 1.8.0] > i system-java18-dev 1.8.0-1 [virtual package > representing Java 1.8.0 development headers] > i system-java3d 0-1 [virtual package > representing Java3D] > i system-javaai 0-1 [virtual package > representing Java Advanced Imaging] > > This shows that java16 was installed and fink does not seem to recognize > system-java-dev. > > My kit is: > Package manager version: 0.39.0 > Distribution version: selfupdate-rsync Sat Oct 3 13:13:06 2015, 10.10, x86_64 > Trees: local/main stable/main stable/crypto > Xcode.app: 7.0.1 > Xcode command-line tools: 7.0.0.0.1.1441394355 > Max. Fink build jobs: 2 > > Any help would be appreciated. Thank you. > Gary K Olson >
You’ve got a couple of options. 1) You can edit /sw/fink/perl5/VirtPackage.pm and replace if $javadir =~ /System/ by if ($javadir =~ /System/ or $ver =~ /1.6.0/) at line 438. 2) You can install a pre-release update to fink which has this fix installed by downloading the branch_0_39 branch (yeah, it’s redundant): https://github.com/fink/fink/tree/branch_0_39 <https://github.com/fink/fink/tree/branch_0_39> and using “./inject.pl” from within that source directory to update fink. 3) I’m going to do a quick bug fix release either today or tomorrow to address this and other pressing issues. -- Alexander Hansen, Ph.D. Fink User Liaison
------------------------------------------------------------------------------
_______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users