You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While poking around testing out #2329, I discovered that macosx/Makefile is unable to build CKAN.app or CKAN.dmg on macOS. I know, the irony is fantastic.
The easy issue is that BSD cp does not support the -l flag for creating hard links. A simple cross-platform fix for that is s/cp -l/ln/.
The hard issue is that the Makefile uses genisoimage to build an ISO9660 disk image with the Apple extensions. Without getting too far down the rabbithole, genisoimage was created as a fork from mkisofs during a licensing squabble between the cdrtools author and Debian maintainer for cdrtools. It's been unmaintained for several years, and while in theory it'll probably build on FreeBSD, I'm not even sure if I've found the right repository for it.
The Debian folk recommend the xorriso package as a drop-in replacement for genisoimage and mkisofs, and it's something that's readily available of macOS through assorted package manages. It doesn't support the -apple flag, but does generate an image that I'm able to open and manipulate as expected.
So, I'd like to suggest switching to xorriso for building the macOS packages. Admittedly it's a minor change, and has a little overhead for the folks maintaining build agents (sorry!), but would make life easier for people actively working on CKAN.app on a supported platform.
Longer term, it would be amazing to generate a rich dmg using a tool like appdmg, but my brief research this evening has only found ones that rely on Darwin's hdiutil, so aren't portable.
The text was updated successfully, but these errors were encountered:
phardy
added a commit
to phardy/CKAN
that referenced
this issue
Mar 12, 2018
While poking around testing out #2329, I discovered that
macosx/Makefile
is unable to buildCKAN.app
orCKAN.dmg
on macOS. I know, the irony is fantastic.The easy issue is that BSD
cp
does not support the-l
flag for creating hard links. A simple cross-platform fix for that iss/cp -l/ln/
.The hard issue is that the Makefile uses
genisoimage
to build an ISO9660 disk image with the Apple extensions. Without getting too far down the rabbithole,genisoimage
was created as a fork from mkisofs during a licensing squabble between the cdrtools author and Debian maintainer for cdrtools. It's been unmaintained for several years, and while in theory it'll probably build on FreeBSD, I'm not even sure if I've found the right repository for it.The Debian folk recommend the
xorriso
package as a drop-in replacement for genisoimage and mkisofs, and it's something that's readily available of macOS through assorted package manages. It doesn't support the-apple
flag, but does generate an image that I'm able to open and manipulate as expected.So, I'd like to suggest switching to xorriso for building the macOS packages. Admittedly it's a minor change, and has a little overhead for the folks maintaining build agents (sorry!), but would make life easier for people actively working on
CKAN.app
on a supported platform.Longer term, it would be amazing to generate a rich dmg using a tool like appdmg, but my brief research this evening has only found ones that rely on Darwin's
hdiutil
, so aren't portable.The text was updated successfully, but these errors were encountered: