Skip to content

lxml build failure #24

Closed
Closed

Description

@noraj

Building fails because of lxml and the -Wincompatible-pointer-types compilation flag.

➜ pipx install wsuks --system-site-packages
⣟ installing wsuksFatal error from pip prevented installation. Full pip output in file:
    /home/noraj/.local/state/pipx/log/cmd_2026-10-06_16.31.35_pip_errors.log

pip failed to build package:
    lxml

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    src/lxml/etree.c:28111:49: error: passage de l'argument 1 de « __pyx_f_4lxml_5etree__fixThreadDictPtr » depuis un type pointeur incompatible [-Wincompatible-pointer-types]
    error: Command '['gcc', '-fno-strict-overflow', '-Wsign-compare', '-DNDEBUG', '-g', '-O3', '-Wall', '-march=x86-64', '-mtune=generic', '-O3', '-pipe', '-fno-plt', '-fexceptions', '-Wp,-D_FORTIFY_SOURCE=3', '-W
format', '-Werror=format-security', '-fstack-clash-protection', '-fcf-protection', '-fno-omit-frame-pointer', '-mno-omit-leaf-frame-pointer', '-g', '-ffile-prefix-map=/build/python/src=/usr/src/debug/python', '-fl
to=auto', '-ffat-lto-objects', '-march=x86-64', '-mtune=generic', '-O3', '-pipe', '-fno-plt', '-fexceptions', '-Wp,-D_FORTIFY_SOURCE=3', '-Wformat', '-Werror=format-security', '-fstack-clash-protection', '-fcf-pro
tection', '-fno-omit-frame-pointer', '-mno-omit-leaf-frame-pointer', '-g', '-ffile-prefix-map=/build/python/src=/usr/src/debug/python', '-flto=auto', '-march=x86-64', '-mtune=generic', '-O3', '-pipe', '-fno-plt', 
'-fexceptions', '-Wp,-D_FORTIFY_SOURCE=3', '-Wformat', '-Werror=format-security', '-fstack-clash-protection', '-fcf-protection', '-fno-omit-frame-pointer', '-mno-omit-leaf-frame-pointer', '-g', '-ffile-prefix-map=
/build/python/src=/usr/src/debug/python', '-flto=auto', '-fPIC', '-DCYTHON_CLINE_IN_TRACEBACK=0', '-I/usr/include/libxml2', '-Isrc', '-Isrc/lxml/includes', '-I/home/noraj/.local/share/pipx/venvs/wsuks/include', '-
I/usr/include/python3.14', '-c', 'src/lxml/etree.c', '-o', 'build/temp.linux-x86_64-cpython-314/src/lxml/etree.o', '-w']' returned non-zero exit status 1.
    error: failed-wheel-build-for-install

Error installing wsuks.

To install, I'm forced to enable it.

➜ CFLAGS="-Wno-error=incompatible-pointer-types" pipx install wsuks --system-site-packages
  installed package wsuks 1.2.1, installed using Python 3.14.7
  These apps are now available
    - wsuks
done! ✨ 🌟 ✨

--system-site-packages won't use already installed python-lxml.

Activity

  1. NeffIsBack commented on Oct 6, 2026

    @NeffIsBack
    Owner

    Thanks for the report!

    Can you test if it works by manually installing it from github? This was probably solved by #22, but I just haven't released a new version and published it to pypi. If you confirm that a direct install works ima push the fix to pypi.

    Works at least on my system using the version from github:

    Image
  2. added
    bugSomething isn't working
    dependenciesPull requests that update a dependency file
    on Oct 6, 2026
  3. NeffIsBack commented on Oct 6, 2026

    @NeffIsBack
    Owner

    Ah w/e, I have just released v1.2.2 and published it to pypi that should hopefully fix the issue. Can you recheck?

  4. noraj commented on Oct 10, 2026

    @noraj
    Author

    3. Ah w/e, I have just released v1.2.2 and published it to pypi that should hopefully fix the issue. Can you recheck?

    Yeah it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions