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

Macport install fails #468

Open
x572b opened this issue Jan 20, 2024 · 1 comment
Open

Macport install fails #468

x572b opened this issue Jan 20, 2024 · 1 comment

Comments

@x572b
Copy link

x572b commented Jan 20, 2024

Expected Behavior

Should work: port install cryfs

Actual Behavior

Macport is looking for the wrong file.

Macport is looking for

cryfs-0.11.2_0.darwin_23.x86_64.tbz2

but the file available at the link is ....darwin_13.x86_64.tbz2

`
:debug:main Starting logging for cryfs @0.11.2_0

:debug:sysinfo macOS 14.2.1 (darwin/23.2.0) arch i386

:debug:sysinfo MacPorts 2.8.1

:debug:sysinfo Xcode 15.2, CLT 15.1.0.0.1.1700200546

:debug:sysinfo SDK 14

:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0

:debug:main Executing org.macports.main (cryfs)

:debug:main dropping privileges: euid changed to 501, egid changed to 505.

:debug:archivefetch archivefetch phase started at Fri Jan 19 12:40:53 CST 2024

:msg:archivefetch ---> Fetching archive for cryfs

:debug:archivefetch Executing org.macports.archivefetch (cryfs)

:debug:archivefetch euid/egid changed to: 0/0

:debug:archivefetch chowned /opt/local/var/macports/incoming to macports

:debug:archivefetch euid/egid changed to: 501/505
:info:archivefetch ---> cryfs-0.11.2_0.darwin_23.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified

:msg:archivefetch ---> Attempting to fetch cryfs-0.11.2_0.darwin_23.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/cryfs

:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

:msg:archivefetch ---> Attempting to fetch cryfs-0.11.2_0.darwin_23.x86_64.tbz2 from https://packages.macports.org/cryfs

:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

:msg:archivefetch ---> Attempting to fetch cryfs-0.11.2_0.darwin_23.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/cryfs

:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

:debug:archivefetch Fetching cryfs-0.11.2_0.darwin_23.x86_64.tbz2 archive size version:1

:debug:archivefetch Starting logging for cryfs @0.11.2_0

:debug:sysinfo macOS 14.2.1 (darwin/23.2.0) arch i386

:debug:sysinfo MacPorts 2.8.1

:debug:sysinfo Xcode 15.2, CLT 15.1.0.0.1.1700200546

:debug:sysinfo SDK 14

:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0
`

Steps to Reproduce the Problem

Specifications

@ryandesign
Copy link

Macport is looking for the wrong file.

Macport is looking for

cryfs-0.11.2_0.darwin_23.x86_64.tbz2

but the file available at the link is ....darwin_13.x86_64.tbz2

No. Precompiled archives are usually specific to the OS version. Here, you are on macOS 14, aka Darwin 23, so MacPorts is correctly trying to download a Darwin 23 archive. The Darwin 13 archive is for OS X 10.9 so it is not appropriate for your system. Precompiled archives of cryfs are not available for newer systems due to licensing restrictions:

% ./port_binary_distributable.tcl -v cryfs
"cryfs" is not distributable because its dependency "macfuse" has license "restrictive" which is not known to be distributable

Failure to fetch a precompiled archive is not a bug. When no precompiled archive can be fetched, MacPorts builds from source. If that fails, that could be a bug; you would have to show the contents of the main.log file to make that determination.

Your above output is from MacPorts 2.8.1 installing cryfs 0.11.2. Since you filed this report, MacPorts has been updated to 2.9.1 and cryfs in MacPorts has been updated to 0.11.4 so please sudo port selfupdate and try again.

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

2 participants