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

Update nix pin with make nixpkgs #8526

Merged

Conversation

hswong3i
Copy link
Collaborator

@hswong3i hswong3i commented Dec 1, 2020

Regular monthly update; BTW, it is now failing as below:

$ nix build -f nix/
builder for '/nix/store/4dd7a34bv0sx18wa10r1mknjfknabrnb-fontforge-20200314.drv' failed with exit code 2; last 10 log lines:
  /nix/store/cqxfi2q7d7k6y0q91wcx2cbkj4xsak63-binutils-2.31.1/bin/ld: ../../lib/libfontforge.so.4: undefined reference to `g_variant_type_get_gtype'
  /nix/store/cqxfi2q7d7k6y0q91wcx2cbkj4xsak63-binutils-2.31.1/bin/ld: ../../lib/libfontforge.so.4: undefined reference to `g_signal_emit_by_name'
  /nix/store/cqxfi2q7d7k6y0q91wcx2cbkj4xsak63-binutils-2.31.1/bin/ld: ../../lib/libfontforge.so.4: undefined reference to `mnt_new_iter'
  /nix/store/cqxfi2q7d7k6y0q91wcx2cbkj4xsak63-binutils-2.31.1/bin/ld: ../../lib/libfontforge.so.4: undefined reference to `g_value_get_schar'
  /nix/store/cqxfi2q7d7k6y0q91wcx2cbkj4xsak63-binutils-2.31.1/bin/ld: ../../lib/libfontforge.so.4: undefined reference to `g_signal_connect_object'
  /nix/store/cqxfi2q7d7k6y0q91wcx2cbkj4xsak63-binutils-2.31.1/bin/ld: ../../lib/libfontforge.so.4: undefined reference to `g_enum_get_value_by_nick'
  collect2: error: ld returned 1 exit status
  make[2]: *** [contrib/fonttools/CMakeFiles/acorn2sfd.dir/build.make:111: bin/acorn2sfd] Error 1
  make[1]: *** [CMakeFiles/Makefile2:647: contrib/fonttools/CMakeFiles/acorn2sfd.dir/all] Error 2
  make: *** [Makefile:171: all] Error 2
cannot build derivation '/nix/store/xyw4lgpcpavwfhq1myaw4mvf7pmvxmd8-dejavu-fonts-full-2.37.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/7lrm28jwxkgdma6ir6i6b1ks7laj900v-dejavu-fonts-minimal-2.37.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n44c4ncpna4csmvmf6c91dbhl0ck20a5-fontconfig-2.13.92.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zw3r5raw35p63xwbr7bfxqqf3r0kkcz0-fonts.conf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/d5nmji8lw80skxz3szd7mrab8aqwpgi6-cairo-1.16.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jnv8rklccj07w787ir6y658p6c3qgb9v-pango-1.47.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/d6mvckwy2i2gsry6kxnlbxf7qmw21wqm-ruby2.6.6-mathematical-1.6.12.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4gvrvagafg0y92frjhyrnyh2q6cs24d1-asciidoctor-2.0.10.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/2wj33m7l7gxam92z4prv72q6n9zvr860-asciidoctor-2.0.10.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/z6jc188ckfrfqpqwr8zzg0rpjfhwn2li-git-2.29.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qcgc87yqrdmyp31k44jgfqnd3b06v4z4-podman.drv': 1 dependencies couldn't be built
[0 built (1 failed), 0.0 MiB DL]
error: build of '/nix/store/qcgc87yqrdmyp31k44jgfqnd3b06v4z4-podman.drv' failed

@rhatdan
Copy link
Member

rhatdan commented Dec 1, 2020

Hopefully @hswong3i can figure this out.

@hswong3i
Copy link
Collaborator Author

hswong3i commented Dec 3, 2020

Hopefully @hswong3i can figure this out.

containers/conmon#218 (comment)

@hswong3i hswong3i force-pushed the master-linux-amd64 branch 2 times, most recently from 1fca028 to db13e1f Compare December 20, 2020 09:54
hswong3i added a commit to alvistack/containers-crun that referenced this pull request Dec 20, 2020
This PR introduce 3 changes:

  - Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    <https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09>
    for more information.

  - Replace `git` with `gitMinimal`.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having `git` as dependency for failsafe during bootstrap. BTW
    <NixOS/nixpkgs#104896> replace `asciidoc`
    with `asciidoctor` so trigger the dependency chain to `glib` and so
    failed (see below). Switching to `gitMinimal` skip this dependency
    chain to `glib`, which also speed up overall build process.

  - Adding `-pthread` for `glib`

    Since `glib` trigger error message "undefined reference to
    'pthread\_create'", therefore adding `pthread` to `CFLAGS` could
    solve the problem.

Also see:

  - <containers#550>
  - <containers/conmon#218>
  - <containers/skopeo#1120>
  - <containers/buildah#2831>
  - <containers/podman#8526>
  - <cri-o/cri-o#4395>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
hswong3i added a commit to alvistack/containers-crun that referenced this pull request Dec 20, 2020
This PR introduce 3 changes:

  - Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    <https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09>
    for more information.

  - Replace `git` with `gitMinimal`.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having `git` as dependency for failsafe during bootstrap. BTW
    <NixOS/nixpkgs#104896> replace `asciidoc`
    with `asciidoctor` so trigger the dependency chain to `glib` and so
    failed (see below). Switching to `gitMinimal` skip this dependency
    chain to `glib`, which also speed up overall build process.

  - Adding `-pthread` for `glib`

    `conmon` couldn't skip the error by replacing `git` with
    `gitMinimal` since it do depend on `glib`. Since `glib` trigger
    error message "undefined reference to 'pthread\_create'", therefore
    adding `pthread` to `CFLAGS` could solve the problem.

Also see:

  - <containers#550>
  - <containers/conmon#218>
  - <containers/skopeo#1120>
  - <containers/buildah#2831>
  - <containers/podman#8526>
  - <cri-o/cri-o#4395>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
hswong3i added a commit to alvistack/containers-conmon that referenced this pull request Dec 20, 2020
This PR introduce 3 changes:

  - Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    <https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09>
    for more information.

  - Replace `git` with `gitMinimal`.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having `git` as dependency for failsafe during bootstrap. BTW
    <NixOS/nixpkgs#104896> replace `asciidoc`
    with `asciidoctor` so trigger the dependency chain to `glib` and so
    failed (see below). Switching to `gitMinimal` skip this dependency
    chain to `glib`, which also speed up overall build process.

  - Adding `-pthread` for `glib`

    `conmon` couldn't skip the error by replacing `git` with
    `gitMinimal` since it do depend on `glib`. Since `glib` trigger
    error message "undefined reference to 'pthread\_create'", therefore
    adding `pthread` to `CFLAGS` could solve the problem.

Also see:

  - <containers/crun#550>
  - <containers#218>
  - <containers/skopeo#1120>
  - <containers/buildah#2831>
  - <containers/podman#8526>
  - <cri-o/cri-o#4395>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
hswong3i added a commit to alvistack/containers-skopeo that referenced this pull request Dec 20, 2020
This PR introduce 3 changes:

  - Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    <https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09>
    for more information.

  - Replace `git` with `gitMinimal`.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having `git` as dependency for failsafe during bootstrap. BTW
    <NixOS/nixpkgs#104896> replace `asciidoc`
    with `asciidoctor` so trigger the dependency chain to `glib` and so
    failed (see below). Switching to `gitMinimal` skip this dependency
    chain to `glib`, which also speed up overall build process.

  - Adding `-pthread` for `glib`

    `conmon` couldn't skip the error by replacing `git` with
    `gitMinimal` since it do depend on `glib`. Since `glib` trigger
    error message "undefined reference to 'pthread\_create'", therefore
    adding `pthread` to `CFLAGS` could solve the problem.

Also see:

  - <containers/crun#550>
  - <containers/conmon#218>
  - <containers#1120>
  - <containers/buildah#2831>
  - <containers/podman#8526>
  - <cri-o/cri-o#4395>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
hswong3i added a commit to alvistack/containers-buildah that referenced this pull request Dec 20, 2020
This PR introduce 3 changes:

  - Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    <https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09>
    for more information.

  - Replace `git` with `gitMinimal`.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having `git` as dependency for failsafe during bootstrap. BTW
    <NixOS/nixpkgs#104896> replace `asciidoc`
    with `asciidoctor` so trigger the dependency chain to `glib` and so
    failed (see below). Switching to `gitMinimal` skip this dependency
    chain to `glib`, which also speed up overall build process.

  - Adding `-pthread` for `glib`

    `conmon` couldn't skip the error by replacing `git` with
    `gitMinimal` since it do depend on `glib`. Since `glib` trigger
    error message "undefined reference to 'pthread\_create'", therefore
    adding `pthread` to `CFLAGS` could solve the problem.

Also see:

  - <containers/crun#550>
  - <containers/conmon#218>
  - <containers/skopeo#1120>
  - <containers#2831>
  - <containers/podman#8526>
  - <cri-o/cri-o#4395>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
This PR introduce 3 changes:

  - Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    <https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09>
    for more information.

  - Replace `git` with `gitMinimal`.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having `git` as dependency for failsafe during bootstrap. BTW
    <NixOS/nixpkgs#104896> replace `asciidoc`
    with `asciidoctor` so trigger the dependency chain to `glib` and so
    failed (see below). Switching to `gitMinimal` skip this dependency
    chain to `glib`, which also speed up overall build process.

  - Adding `-pthread` for `glib`

    `conmon` couldn't skip the error by replacing `git` with
    `gitMinimal` since it do depend on `glib`. Since `glib` trigger
    error message "undefined reference to 'pthread\_create'", therefore
    adding `pthread` to `CFLAGS` could solve the problem.

Also see:

  - <containers/crun#550>
  - <containers/conmon#218>
  - <containers/skopeo#1120>
  - <containers/buildah#2831>
  - <containers#8526>
  - <cri-o/cri-o#4395>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
hswong3i added a commit to alvistack/cri-o-cri-o that referenced this pull request Dec 20, 2020
This PR introduce 3 changes:

  - Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    <https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09>
    for more information.

  - Replace `git` with `gitMinimal`.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having `git` as dependency for failsafe during bootstrap. BTW
    <NixOS/nixpkgs#104896> replace `asciidoc`
    with `asciidoctor` so trigger the dependency chain to `glib` and so
    failed (see below). Switching to `gitMinimal` skip this dependency
    chain to `glib`, which also speed up overall build process.

  - Adding `-pthread` for `glib`

    `conmon` couldn't skip the error by replacing `git` with
    `gitMinimal` since it do depend on `glib`. Since `glib` trigger
    error message "undefined reference to 'pthread\_create'", therefore
    adding `pthread` to `CFLAGS` could solve the problem.

Also see:

  - <containers/crun#550>
  - <containers/conmon#218>
  - <containers/skopeo#1120>
  - <containers/buildah#2831>
  - <containers/podman#8526>
  - <cri-o#4395>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
@hswong3i
Copy link
Collaborator Author

This PR introduce 3 changes:

  • Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09
    for more information.

  • Replace git with gitMinimal.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having git as dependency for failsafe during bootstrap. BTW
    [20.09] git: 2.28.0 -> 2.29.2 NixOS/nixpkgs#104896 replace asciidoc
    with asciidoctor so trigger the dependency chain to glib and so
    failed (see below). Switching to gitMinimal skip this dependency
    chain to glib, which also speed up overall build process.

  • Adding -pthread for glib

    conmon couldn't skip the error by replacing git with
    gitMinimal since it do depend on glib. Since glib trigger
    error message "undefined reference to 'pthread_create'", therefore
    adding pthread to CFLAGS could solve the problem.

Also see:

hswong3i added a commit to alvistack/ansible-role-podman that referenced this pull request Dec 20, 2020
@hswong3i
Copy link
Collaborator Author

@rhatdan now it should be good again ;-)

@rhatdan
Copy link
Member

rhatdan commented Dec 20, 2020

As long as we can get it to pass tests.

LGTM
/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hswong3i, rhatdan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 20, 2020
@hswong3i
Copy link
Collaborator Author

As long as we can get it to pass tests.

LGTM
/approve

@rhatdan the fail most likely related to outdated cache; BTW, the static build procedure in .cirrus.yml had been revamped since my original contribution, so I have no idea about how to expire the existing cache now :-S

@rhatdan
Copy link
Member

rhatdan commented Dec 21, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 21, 2020
@openshift-merge-robot openshift-merge-robot merged commit d692518 into containers:master Dec 21, 2020
hswong3i added a commit to alvistack/cri-o-cri-o that referenced this pull request Dec 29, 2020
This PR introduce 3 changes:

  - Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    <https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09>
    for more information.

  - Replace `git` with `gitMinimal`.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having `git` as dependency for failsafe during bootstrap. BTW
    <NixOS/nixpkgs#104896> replace `asciidoc`
    with `asciidoctor` so trigger the dependency chain to `glib` and so
    failed (see below). Switching to `gitMinimal` skip this dependency
    chain to `glib`, which also speed up overall build process.

  - Adding `-pthread` for `glib`

    `conmon` couldn't skip the error by replacing `git` with
    `gitMinimal` since it do depend on `glib`. Since `glib` trigger
    error message "undefined reference to 'pthread\_create'", therefore
    adding `pthread` to `CFLAGS` could solve the problem.

Also see:

  - <containers/crun#550>
  - <containers/conmon#218>
  - <containers/skopeo#1120>
  - <containers/buildah#2831>
  - <containers/podman#8526>
  - <cri-o#4395>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
hswong3i added a commit to alvistack/cri-o-cri-o that referenced this pull request Jan 5, 2021
This PR introduce 3 changes:

  - Upgrade Nix stable channel from 20.03 to 20.09.

    NixOS 20.09 released at 2020-10-27, see
    <https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09>
    for more information.

  - Replace `git` with `gitMinimal`.

    All 6 projects (i.e. crun/conmon/skopeo/buildah/podman/cri-o) are
    having `git` as dependency for failsafe during bootstrap. BTW
    <NixOS/nixpkgs#104896> replace `asciidoc`
    with `asciidoctor` so trigger the dependency chain to `glib` and so
    failed (see below). Switching to `gitMinimal` skip this dependency
    chain to `glib`, which also speed up overall build process.

  - Adding `-pthread` for `glib`

    `conmon` couldn't skip the error by replacing `git` with
    `gitMinimal` since it do depend on `glib`. Since `glib` trigger
    error message "undefined reference to 'pthread\_create'", therefore
    adding `pthread` to `CFLAGS` could solve the problem.

Also see:

  - <containers/crun#550>
  - <containers/conmon#218>
  - <containers/skopeo#1120>
  - <containers/buildah#2831>
  - <containers/podman#8526>
  - <cri-o#4395>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants