Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application hangs on macOS High Sierra #7

Closed
vikman90 opened this issue Sep 17, 2017 · 13 comments
Closed

Application hangs on macOS High Sierra #7

vikman90 opened this issue Sep 17, 2017 · 13 comments

Comments

@vikman90
Copy link

Hi,

I'm having issues when compiling a package on High Sierra:

  1. I can't open a package using the UI, just when I open it the program hangs, it responds nothing.
  2. If I create a new project, it hangs just after entering the new package name.
  3. If I try to compile a package using a terminal, I get this error:
$ packagesbuild agent.pkgproj
==============================================================================
ERROR:

Description:

goldin_64 returned error code '254'
Step:

Project > Distribution > Package 'agent' > Payload > Split Forks

Description:

Not enough memory to perform operation.
Step:

Project > Distribution > Package 'agent' > Payload > Split Forks

On the other hand, I can compile the same package on macOS Sierra with no problems.

This problem persists although I uninstalled the app (using uninstall.sh) and reinstalled it again.

Thanks in advance.
Best regards.

@packagesdev
Copy link
Owner

  1. Known issue.
  2. Related to 1.
  3. This is a different known issue related to APFS volume.

Mail me at dev.packages@gmail.com if you want to try the latest build of Packages 1.2 that solves these 2 issues.

@vikman90
Copy link
Author

Thank you very much for the prompt response!

@vikman90
Copy link
Author

Hi,

I have upgraded to Packages 1.2 and these problems didn't occur anymore as you said.

But I'm still not able to build the package, this new error appeared in the UI:

fail

If I run the command packagesbuild I get this error instead:

$ packagesbuild agent.pkgproj
==============================================================================
ERROR:

Description:

Unable to set attributes of item at path "/private/tmp/iJGSOYQm/501/agent/etc"
Step:

Project > Distribution > Package 'agent' > Payload > Assemble

==============================================================================
Build Failed

Is this also a known issue?

Thank you again.
Best regards.

@packagesdev
Copy link
Owner

Not a known issue in both cases (no explanation in the Build Window and set attributes error).

The issue in the Build window has been fixed in the latest build.

I've added a debug log for this error so the explanation provided by the NSFileManager API should be visible in system.log.

Is etc in your project the real /etc folder (which is a symbolic link)? This could be the explanation.

@packagesdev
Copy link
Owner

I'm able to reproduce a problem with adding /etc. So I should be able to fix this quickly.

packagesdev pushed a commit that referenced this issue Sep 26, 2017
The problem was not specific to version 1.2 but was also in previous
versions. It was related to absolute paths like /something
@packagesdev
Copy link
Owner

Problem solved as far as I can tell in the latest builds.

@Naesstrom
Copy link

Any idea when the new 1.2 build will be available that fixes this issue?

@ghost
Copy link

ghost commented Oct 4, 2017

Beta is temporary here.

@packagesdev
Copy link
Owner

Version 1.2 is now available (build 211). http://s.sudre.free.fr/Software/Packages/release_notes.html

@packagesdev packagesdev reopened this Oct 10, 2017
@packagesdev
Copy link
Owner

There is still a remaining issue when trying to build a package with the /etc symbolic link at the root of the payload. I'm not 100% sure the problem is in my code as this works fine with other symbolic links. Moving to NSFileManager API seems to address the problem but before I can confirm this is the solution, I have to make regression tests regarding resources forks, big files hierarchy, etc.

@packagesdev
Copy link
Owner

Problem fixed for 1.2.1.

packagesdev pushed a commit that referenced this issue Oct 17, 2017
Issue #10 : filter extra resources before copying them
Issue #7 : Move away from Carbon APIs.
@built2order
Copy link

built2order commented Oct 28, 2018

I've just experienced this issue using 1.2.4 on High Sierra 10.13.6.

$ /usr/local/bin/packagesbuild --package-version "2.2" mypackage.pkgproj
==============================================================================
ERROR:

Description:

goldin returned error code (254): "/private/tmp/TK2ti8gE/502/mypackage" is not on an hfs disk
 
Step:

Project > Package > Package "mypackage" > Payload > Split Forks

==============================================================================
Build Failed

@packagesdev
Copy link
Owner

It looks like that you do not have the latest version of goldin installed on this Mac (i.e. the version installed by version 1.2.4 of Packages) as this error string does not exist anymore and is replaced by:

"/the/path/" is neither on an hfs nor an apfs disk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants