Packaging DMG with Ant fails on OS-X 10.13.3

Tom Schindl tom.schindl at bestsolution.at
Wed Feb 14 08:41:40 UTC 2018


Hi,

I'm on 162 and the process and I have an old machine without the latest
OS-X version and running the build there works.

Running the completely same bits on the latest and greatest OS-X and the
same Java version on my main work machine it fails with exactly the line
given by Michael.

Tom

On 14.02.18 08:45, Michael Paus wrote:
> Hi,
> I can reproduce this error with the example already given in
> https://bugs.openjdk.java.net/browse/JDK-8188763
> But as I said, it does not break the build completely.
> Michael
> 
> Am 14.02.18 um 02:06 schrieb victor.drozdov at oracle.com:
>> Hi, Michael.
>>
>> Could you provide more details about your system and steps to
>> reproduce the problem(at least, a command line)? We will investigate
>> this issue about SetFile failure.
>>
>> --Victor
>>
>> On 2/13/18 2:36 PM, Michael Paus wrote:
>>> The bug you mentioned is indeed fixed in JDK 10 but since I upgraded my
>>> Mac to Hight Sierra there seems to be a new one. I always get something
>>> like:
>>>
>>> Exec failed with code 2 command [[/usr/bin/SetFile, -c, icnC,
>>> /var/folders/0q/r4k4hbd13_s0p0thlz2hs8b80000gn/T/fxbundler10792917345996316721/images/myApp/.VolumeIcon.icns]
>>> in unspecified directory
>>>
>>> My Mac now uses APFS and I wonder whether SetFile can cope with that.
>>> According to the docs it has long been deprecated and should not be used
>>> anymore anyway. The build as a whole succeeds though. It just cannot
>>> handle the volume icon although it exists and has always worked before.
>>>
>>> Michael
>>>
>>> Am 13.02.18 um 22:41 schrieb Kevin Rushforth:
>>>> Have you tried with JDK 10 yet? The bug you reference is fixed in 10.
>>>>
>>>> -- Kevin
>>>>
>>>>
>>>> Steve Hannah wrote:
>>>>> I ran into this bug a couple months ago with javafx packager on
>>>>> High Sierra.
>>>>> https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8190758
>>>>>
>>>>> The problem is basically that hdiutil changed its default file
>>>>> system to
>>>>> APFS, which breaks many things.   Ultimately I wasn't able to get
>>>>> javafx
>>>>> packager to work even with the workarounds listed on that bug so just
>>>>> generated the DMG using a 3rd party script (
>>>>> https://github.com/andreyvit/create-dmg) to work around it.
>>>>>
>>>>> Steve
>>>>>
>>>>> On Tue, Feb 13, 2018 at 12:05 PM, Tom Schindl
>>>>> <tom.schindl at bestsolution.at>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> It looks like the packaging of JavaFX-DMGs is broken on the latest
>>>>>> OS-X
>>>>>> System. Has anyone ancountered the same?
>>>>>>
>>>>>> Tom
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>
> 


More information about the openjfx-dev mailing list