Skip to content

Commit

Permalink
Trac #33059: conda-forge-macos-standard: pyzmq build fails
Browse files Browse the repository at this point in the history
https://github.com/mkoeppe/sage/runs/4590622905?check_suite_focus=true

{{{
  [pyzmq-22.3.0] error installing, exit status 1. End of log file:
  [pyzmq-22.3.0]     {'libraries': ['zmq'], 'include_dirs':
['/Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/local-conda-
forge-standard/local/include'], 'library_dirs': ['/Users/mkoeppe/s/sage
/sage-rebasing/worktree-gcc11/.tox/local-conda-forge-
standard/local/lib'], 'runtime_library_dirs': [], 'extra_link_args':
['-Wl,-rpath', '-Wl,/Users/mkoeppe/s/sage/sage-rebasing/worktree-
gcc11/.tox/local-conda-forge-standard/local/lib']}
  [pyzmq-22.3.0]     x86_64-apple-darwin13.4.0-clang -Wno-unused-result
-Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall
-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE
-fstack-protector-strong -O2 -pipe -isystem /Users/mkoeppe/s/sage/sage-
rebasing/worktree-gcc11/.tox/local-conda-forge-standard/conda/include
-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE
-fstack-protector-strong -O2 -pipe -isystem /Users/mkoeppe/s/sage/sage-
rebasing/worktree-gcc11/.tox/local-conda-forge-standard/conda/include
-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE
-fstack-protector-strong -O2 -pipe -isystem /Users/mkoeppe/s/sage/sage-
rebasing/worktree-gcc11/.tox/local-conda-forge-standard/conda/include
-D_FORTIFY_SOURCE=2 -isystem /Users/mkoeppe/s/sage/sage-rebasing
/worktree-gcc11/.tox/local-conda-forge-standard/conda/include
-I/Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/local-conda-
forge-standard/local/include -c
build/temp.macosx-10.9-x86_64-3.9/scratch/check_sys_un.c -o
build/temp.macosx-10.9-x86_64-3.9/scratch/check_sys_un.o
  [pyzmq-22.3.0]     x86_64-apple-darwin13.4.0-clang -arch x86_64
-undefined dynamic_lookup -Wl,-rpath -Wl,/Users/mkoeppe/s/sage/sage-
rebasing/worktree-gcc11/.tox/local-conda-forge-standard/local/lib
build/temp.macosx-10.9-x86_64-3.9/scratch/check_sys_un.o
-L/Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/local-conda-
forge-standard/local/lib -o
build/temp.macosx-10.9-x86_64-3.9/scratch/check_sys_un
  [pyzmq-22.3.0]     Configure: Autodetecting ZMQ settings...
  [pyzmq-22.3.0]         Custom ZMQ dir:       /Users/mkoeppe/s/sage
/sage-rebasing/worktree-gcc11/.tox/local-conda-forge-standard/local
  [pyzmq-22.3.0]     ************************************************
  [pyzmq-22.3.0]     x86_64-apple-darwin13.4.0-clang -Wno-unused-result
-Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall
-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE
-fstack-protector-strong -O2 -pipe -isystem /Users/mkoeppe/s/sage/sage-
rebasing/worktree-gcc11/.tox/local-conda-forge-standard/conda/include
-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE
-fstack-protector-strong -O2 -pipe -isystem /Users/mkoeppe/s/sage/sage-
rebasing/worktree-gcc11/.tox/local-conda-forge-standard/conda/include
-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE
-fstack-protector-strong -O2 -pipe -isystem /Users/mkoeppe/s/sage/sage-
rebasing/worktree-gcc11/.tox/local-conda-forge-standard/conda/include
-D_FORTIFY_SOURCE=2 -isystem /Users/mkoeppe/s/sage/sage-rebasing
/worktree-gcc11/.tox/local-conda-forge-standard/conda/include
-I/Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/local-conda-
forge-standard/local/include -Izmq/utils -c
build/temp.macosx-10.9-x86_64-3.9/scratch/vers.c -o
build/temp.macosx-10.9-x86_64-3.9/scratch/vers.o
  [pyzmq-22.3.0]     x86_64-apple-darwin13.4.0-clang -arch x86_64
-undefined dynamic_lookup -Wl,-rpath -Wl,/Users/mkoeppe/s/sage/sage-
rebasing/worktree-gcc11/.tox/local-conda-forge-standard/local/lib
build/temp.macosx-10.9-x86_64-3.9/scratch/vers.o -L/Users/mkoeppe/s/sage
/sage-rebasing/worktree-gcc11/.tox/local-conda-forge-standard/local/lib
-lzmq -o build/temp.macosx-10.9-x86_64-3.9/scratch/vers
  [pyzmq-22.3.0]     ld: library not found for -lzmq
  [pyzmq-22.3.0]     clang-11: error: linker command failed with exit
code 1 (use -v to see invocation)
  [pyzmq-22.3.0]
  [pyzmq-22.3.0]     error: command '/Users/mkoeppe/s/sage/sage-rebasing
/worktree-gcc11/.tox/local-conda-forge-standard/conda/bin/x86_64-apple-
darwin13.4.0-clang' failed with exit code 1
  [pyzmq-22.3.0]
  [pyzmq-22.3.0]     Fatal: Falling back on bundled libzmq, but config
has explicitly prohibited building the libzmq extension.
  [pyzmq-22.3.0]     Preparing metadata (pyproject.toml): finished with
status 'error'
}}}

URL: https://trac.sagemath.org/33059
Reported by: mkoeppe
Ticket author(s): Matthias Koeppe
Reviewer(s): Isuru Fernando
  • Loading branch information
Release Manager committed Dec 23, 2021
2 parents 13a6210 + 8d32af2 commit 599ced4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build/pkgs/pyzmq/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ cd src
# Generate setup.cfg
cat > setup.cfg <<EOF
[global]
zmq_prefix = $SAGE_LOCAL
no_libzmq_extension = True
EOF

Expand Down

0 comments on commit 599ced4

Please sign in to comment.