phase installing: mpv-0.27.0-1 fails with SplitForks not working with APFS on 10.13

Derek Homeier <[email protected]> Mon, 13 Nov 2017 15:48:40 +0100
Newsgroups gmane.os.apple.fink.devel
Message-ID <381071B5-A8A7-4E20-AF5A-53D26978DFB8@astro.physik.uni-goettingen.de>
Hi,

posting this to the dev list since it seems this can become a more general problem for packages with AppBundles.
I got this failure in the postinstall phase of the above package:

Waf: Leaving directory `/scratch.noindex/fink.build/mpv-0.27.0-1/mpv-0.27.0/build'
'install' finished successfully (0.900s)
sudo -u fink-bld [ENV] sh -c /tmp/fink.nbSSg
/usr/bin/install -d -m 700 /scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/share/doc/mpv
/bin/cp -r Copyright /scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/share/doc/mpv/
/bin/cp -r LICENSE /scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/share/doc/mpv/
/bin/cp -r README.md /scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/share/doc/mpv/
/bin/cp -r RELEASE_NOTES /scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/share/doc/mpv/
/bin/chmod -R go=u-w /scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/share/doc/mpv
/usr/bin/install -d -m 755 /scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/Applications
/bin/cp -pR 'build/mpv.app' '/scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/Applications/'
/bin/chmod -R o-w '/scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/Applications/'
if ; then ; fi
/scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/Applications/ is not on an hfs disk
### execution of if failed, exit code 1
### execution of /tmp/fink.nbSSg failed, exit code 1

The error message was a bit confusing to me, since  the system disk the build directory is on was partitioned
and always used as (case-sensitive) HFS+, but manually running 
/Applications/Xcode.app/Contents/Developer/Tools/SplitForks '/scratch.noindex/fink.build/root-mpv-0.27.0-1/sw/Applications/‘
reproduced the error.

Now diskutil info for the fs says:

   Partition Type:           41504653-0000-11AA-AA11-00306543ECAC
   File System Personality:  Case-sensitive APFS
   Type (Bundle):            apfs
   Name (User Visible):      APFS (Case-sensitive)
   Owners:                   Enabled
…

I was somehow under the impression that High Sierra would only upgrade filesystems on Fusion Drives
on install, however quite to the contrary this seem to happen by default on pure flash volumes.
I am pessimistic about getting SplitForks to work with APFS, as the manpage flags it as deprecated since Xcode 6.

For the record, I found this info on how to avoid the APFS conversion:
https://malcont.net/2017/09/how-to-upgrade-macos-to-high-sierra-without-filesystem-change-hfs-to-apfs/

Cheers,
					Derek





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel