Package Details: vmware-unlocker 4.2.5-2

Git Clone URL: https://aur.archlinux.org/vmware-unlocker.git (read-only, click to copy)
Package Base: vmware-unlocker
Description: VMware macOS utilities
Upstream URL: https://github.com/DrDonk/unlocker
Licenses: MIT
Conflicts: vmware-unlocker-bin, vmware-unlocker-git
Submitter: SimPilotAdamT
Maintainer: SimPilotAdamT
Last Packager: SimPilotAdamT
Votes: 2
Popularity: 0.007714
First Submitted: 2022-05-27 21:19 (UTC)
Last Updated: 2023-02-06 20:56 (UTC)

Pinned Comments

SimPilotAdamT commented on 2023-03-07 21:54 (UTC)

So, the upstream repo has been archived. I will be updating this and the other packages to use Auto Unlocker instead, hopefully will be migrated within the next week or so, depending on uni work.

SimPilotAdamT commented on 2023-02-06 20:58 (UTC)

As of version 4.2.5, building is borked again. Use the -bin package or the -git package for now.

Latest Comments

SimPilotAdamT commented on 2023-03-07 21:54 (UTC)

So, the upstream repo has been archived. I will be updating this and the other packages to use Auto Unlocker instead, hopefully will be migrated within the next week or so, depending on uni work.

SimPilotAdamT commented on 2023-02-06 20:58 (UTC)

As of version 4.2.5, building is borked again. Use the -bin package or the -git package for now.

SimPilotAdamT commented on 2022-08-20 19:05 (UTC)

As of version 4.2.2, all previously reported building issues have been resolved.

SimPilotAdamT commented on 2022-07-27 16:13 (UTC) (edited on 2022-07-27 16:16 (UTC) by SimPilotAdamT)

@korimitsu

Read the pinned comment. There is nothing I can do until DrDonk releases a new version of the program. Use the -bin version instead, or -git works fine.

korimitsu commented on 2022-07-27 16:11 (UTC)

Error when building:

pamac build vmware-unlocker
Preparing...
Checking vmware-unlocker dependencies...
Resolving dependencies...
Checking inter-conflicts...

To install (1):
  go               2:1.18.4-1  (Required By: vmware-unlocker)  community  76.0 MB
To build (1):
  vmware-unlocker  4.2.1-21                                    AUR

Total download size: 76.0 MB
Total installed size: 429.1 MB

Edit build files : [e] 
Apply transaction ? [e/y/N] y

Download of go (2:1.18.4-1) started                                                                                                                                        
Download of go (2:1.18.4-1) finished                                                                                                                                       
Checking keyring...                                                                                                                                                   [1/1]
Checking integrity...                                                                                                                                                 [1/1]
Loading packages files...                                                                                                                                             [1/1]
Checking file conflicts...                                                                                                                                            [1/1]
Checking available disk space...                                                                                                                                      [1/1]
Installing go (2:1.18.4-1)...                                                                                                                                         [1/1]
Cloning vmware-unlocker build files...
Generating vmware-unlocker information...

Building vmware-unlocker...
==> Making package: vmware-unlocker 4.2.1-25
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning vmware-unlocker git repo...
Cloning into bare repository '/var/tmp/pamac-build-user/vmware-unlocker/vmware-unlocker'...
remote: Enumerating objects: 895, done.
remote: Counting objects: 100% (65/65), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 895 (delta 42), reused 42 (delta 31), pack-reused 830
Receiving objects: 100% (895/895), 71.38 MiB | 5.27 MiB/s, done.
Resolving deltas: 100% (495/495), done.
  -> Found vmware-unlocker-post.hook
  -> Found vmware-unlocker-pre.hook
==> Validating source files with sha512sums...
    vmware-unlocker ... Skipped
    vmware-unlocker-post.hook ... Passed
    vmware-unlocker-pre.hook ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of vmware-unlocker git repo...
Cloning into 'vmware-unlocker'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
Building check
go: downloading github.com/djherbis/times v1.5.0
go: downloading github.com/mitchellh/go-ps v1.0.0
go: downloading golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c
go: downloading github.com/canhlinh/go-binary-pack v0.0.0-20181203110405-72348cf47f32
Building relock
Building unlock
'LICENSE' -> './dist/LICENSE'
'CHANGELOG.md' -> './dist/CHANGELOG.md'
'README.md' -> './dist/README.md'
'TROUBLESHOOTING.md' -> './dist/TROUBLESHOOTING.md'
'CHANGELOG.pdf' -> './dist/CHANGELOG.pdf'
'README.pdf' -> './dist/README.pdf'
'TROUBLESHOOTING.pdf' -> './dist/TROUBLESHOOTING.pdf'
'./iso' -> './dist/iso'
'./iso/darwin.iso' -> './dist/iso/darwin.iso'
'./iso/darwinPre15.iso' -> './dist/iso/darwinPre15.iso'
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '/var/tmp/pamac-build-user/vmware-unlocker/src/vmware-unlocker/dist/linux/*': Not a directory
==> ERROR: A failure occurred in package().
    Aborting...

SimPilotAdamT commented on 2022-06-09 14:30 (UTC) (edited on 2022-07-27 16:30 (UTC) by SimPilotAdamT)

If you cannot build this package, it is an issue upstream. I have already made a pull request to the upstream git repo to try to get it working again. The -bin version is unaffected.

EDIT: I feel I should explain what is going on. This package git pulls from the latest tagged release in the upstream repo. In that tag there was a bug in the build script which caused erroneous builds. The pull request I made was accepted into the main branch, but those do not affect past tags for obvious reasons. Until version 4.3.0 or 4.2.2 or whatever is tagged by DrDonk in the upstream repo, I can't so anything to stop build errors.

EDIT 2: For those curious, the build error in the upstream repo builds the binaries into $srcdir/$pkgname/dist/, naming the binary linux. The way it's supposed to work is that it needs to build to $srcdir/$pkgname/dist/linux/, naming the binaries after each of their respective actions. This is not an issue for the -bin version because that is precompiled and it's not an issue for the -git version because that pulls from the master branch.

DO NOT FLAG THIS PACKAGE OUT OF DATE OR COMMENT ABOUT YOUR BUILD ERRORS, I ALREADY KNOW OF THEM AND THERE IS NOTHING I CAN DO.

SimPilotAdamT commented on 2022-05-28 00:01 (UTC)

@FabioLolix sure I'll get on that. I've already made a few iterations but my mains electricity is down. Waiting for that to go back up and I'll make those changes, including creating a new -bin repo (will also see if I can get it to compile properly).

Thanks.

FabioLolix commented on 2022-05-27 23:59 (UTC)

Hello,

  • this is a disguised -bin pkgbuild, you can both correct this to build from source and upload vmware-unlocker-bin; but it can't stay as it is
  • git not used as makedepends
  • no need to add as makedepends packages of base-devel group (libarchive)
  • the MIT license need to be installed
  • no need to to add developer credits
  • please use sha256 or higher for hash check