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

URL not present anymore #351131

Open
dwt opened this issue Oct 25, 2024 · 3 comments
Open

URL not present anymore #351131

dwt opened this issue Oct 25, 2024 · 3 comments
Labels
6.topic: darwin Running or building packages on Darwin

Comments

@dwt
Copy link

dwt commented Oct 25, 2024

Hi there, during a test, I found out that nix --offline build nixpkgs#.legacyPackages.x86_64-darwin.hello doesn't build anymore, because the url https://opensource.apple.com/source/developer_cmds/developer_cmds-63/mkdep/mkdep.sh doesn't seem to exist anymore.

As far as I can tell it's probably referenced from

mkdep-darwin-src = fetchurl {
- but I may be missing something.

@FliegendeWurst FliegendeWurst added the 6.topic: darwin Running or building packages on Darwin label Oct 25, 2024
@emilazy
Copy link
Member

emilazy commented Oct 25, 2024

Can you reproduce with github:NixOS/nixpkgs/staging-next#legacyPackages.x86_64-darwin.hello? I haven’t checked, but I expect that #346043 fixed this.

@dwt
Copy link
Author

dwt commented Oct 31, 2024

Not quite sure if that helps, as that build fails because of a different error:

❯ nix --offline build github:NixOS/nixpkgs/staging-next#legacyPackages.x86_64-darwin.hello
error: builder for '/nix/store/qr3dwl1f7bj9al055hj6m2bl82vx2411-source.drv' failed with exit code 1;
       last 12 log lines:
       >
       > trying https://github.com/att/ast/archive/2020.0.0.tar.gz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       > 100   105  100   105    0     0    229      0 --:--:-- --:--:-- --:--:--   229
       > unpacking source archive /private/tmp/nix-build-source.drv-6/2020.0.0.tar.gz
       > tar: This does not look like a tar archive
       >
       > gzip: stdin: not in gzip format
       > tar: Child returned status 1
       > tar: Error is not recoverable: exiting now
       > do not know how to unpack source archive /private/tmp/nix-build-source.drv-6/2020.0.0.tar.gz
       For full logs, run 'nix log /nix/store/qr3dwl1f7bj9al055hj6m2bl82vx2411-source.drv'.
error: 1 dependencies of derivation '/nix/store/8wkszh6d2qx35jpdchj30yi0km2jhsxk-ksh-2020.0.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fcy1z485ngcazwy4za3gifkadsrrpax3-ksh-2020.0.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1a409mb58mv7ai3ximkv627kvy9a47sp-bmake-20240808.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q0m8aqghv59jjbbcsp3zqpdwinyinhjh-bmake-20240808.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0mfx00vhdzv863xrnhg5gq5rxc2z0cha-locale-118.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bqgkgi6i86wv6dwxkxr5j2p7bdlbr9xf-locale-118.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hl20cf2k72nas1nbz12dgf6a9khjs9kx-locale-118.drv' failed to build
error: 1 dependencies of derivation '/nix/store/m052rlfz43c60bpbfgaf0nbgs2hqmvxb-locale-118.drv' failed to build
error: 1 dependencies of derivation '/nix/store/wwmr9hprcnqxkslyy8ff56qiannkqass-locale-118.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5w6jkgyy4wyn7gi4a8jlynwf33dfjzjd-bootstrap-stage-xclang-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dl5dw8ygi7s31629848dd6kdkm7ccb8h-bootstrap-stage-xclang-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nsld8jl4lfblsa9ih9m24ci4n2q364xy-bootstrap-stage-xclang-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/yf8l5zird3g9n7ssnvgxfnx3vj8kqjwf-bootstrap-stage-xclang-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3xn49hcj48p73z0vsfr4s690lkzvilcx-bootstrap-stage2-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9y7jv4c5idm3cbv50hf1x87mf91772xf-bootstrap-stage2-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k61l81q15d8709p1r7ag6k4zip0p1nip-bootstrap-stage2-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/z1ypvmqn7za6kadwxgr1vfbgx3rih77x-bootstrap-stage2-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sl5i7f9gp094lp03qbh2iygb36ja01nm-bootstrap-stage3-stdenv-darwin.drv' failed to build
error (ignored): error: cannot unlink '/private/tmp/nix-build-apple-llvm-src.drv-0/unpack/llvm-project-2b5ff47e44b059c03de5779479d01a133ab4d581/clang/test': Directory not empty
error: 1 dependencies of derivation '/nix/store/whq5xbf20zn3hzplr8z3jvz2mc22kll8-bootstrap-stage3-stdenv-darwin.drv' failed to build
error (ignored): error: cannot unlink '/private/tmp/nix-build-macOS-SDK-11.3.drv-0/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/share/man/man3': Directory not empty
error: 1 dependencies of derivation '/nix/store/xrbgfgi6g1kj13l9cqxahzb19w6ryf7m-bootstrap-stage3-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0yc8qwprfsm3kfqk0cbw5bddb9aa3l3x-bootstrap-stage4-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3b30xh9xzd5zqb7pk407jr10dcr6d55s-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bb73f0jdxlyy1k4mw80asd5ywidhp4i4-stdenv-darwin.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5daw7m74irfgsqk66a0dj1zxhbqpbz3x-hello-2.12.1.drv' failed to build

The url in question https://github.com/att/ast/archive/2020.0.0.tar.gz returns:

the given path has multiple possibilities: #<Git::Ref:0x00007f293003ee30>, #<Git::Ref:0x00007f293003e930>

@emilazy
Copy link
Member

emilazy commented Oct 31, 2024

Ah, a classic branch–tag confusion. I’ve opened #352641; please try again with github:NixOS/nixpkgs/pull/352641/merge? As you can probably tell we don’t try to do this very often (though we probably should).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

3 participants