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

Compilation error on alpine (missing sys/queue.h) #32

Open
matejsp opened this issue Aug 17, 2024 · 0 comments
Open

Compilation error on alpine (missing sys/queue.h) #32

matejsp opened this issue Aug 17, 2024 · 0 comments

Comments

@matejsp
Copy link

matejsp commented Aug 17, 2024

It seems that aioquic depends on sys/queue.h but this is not standard posix and not provided in musl.

Processing ./pylsqpack-0.3.18.tar.gz
  File was already downloaded /source/python311-pylsqpack-0.3.18/dist/pylsqpack-0.3.18.tar.gz
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: pylsqpack
  Building wheel for pylsqpack (pyproject.toml): started
  Building wheel for pylsqpack (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
 
  × Building wheel for pylsqpack (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [37 lines of output]
      No `packages` or `py_modules` configuration, performing automatic discovery.
      `src-layout` detected -- analysing ./src
      discovered packages -- ['pylsqpack']
      discovered py_modules -- []
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-aarch64-cpython-311
      creating build/lib.linux-aarch64-cpython-311/pylsqpack
      copying src/pylsqpack/__init__.py -> build/lib.linux-aarch64-cpython-311/pylsqpack
      running egg_info
      writing src/pylsqpack.egg-info/PKG-INFO
      writing dependency_links to src/pylsqpack.egg-info/dependency_links.txt
      writing top-level names to src/pylsqpack.egg-info/top_level.txt
      reading manifest file 'src/pylsqpack.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files found matching 'vendor/ls-qpack/.git'
      adding license file 'LICENSE'
      writing manifest file 'src/pylsqpack.egg-info/SOURCES.txt'
      copying src/pylsqpack/binding.c -> build/lib.linux-aarch64-cpython-311/pylsqpack
      running build_ext
      building 'pylsqpack._binding' extension
      creating build/temp.linux-aarch64-cpython-311
      creating build/temp.linux-aarch64-cpython-311/src
      creating build/temp.linux-aarch64-cpython-311/src/pylsqpack
      creating build/temp.linux-aarch64-cpython-311/vendor
      creating build/temp.linux-aarch64-cpython-311/vendor/ls-qpack
      creating build/temp.linux-aarch64-cpython-311/vendor/ls-qpack/deps
      creating build/temp.linux-aarch64-cpython-311/vendor/ls-qpack/deps/xxhash
      gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPy_LIMITED_API=0x03080000 -Ivendor/ls-qpack -Ivendor/ls-qpack/deps/xxhash -I/source/python311/include -I/usr/include/python3.11 -c src/pylsqpack/binding.c -o build/temp.linux-aarch64-cpython-311/src/pylsqpack/binding.o -std=c99
      In file included from src/pylsqpack/binding.c:4:
      vendor/ls-qpack/lsqpack.h:543:10: fatal error: sys/queue.h: No such file or directory
        543 | #include <sys/queue.h>
            |          ^~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
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

1 participant