You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build fails: meson-python: error: The dftd4 package is split between purelib and platlib: 'purelib/dftd4/__init__.py' and 'platlib/dftd4/_libdftd4.cpython-39.so', a "pure: false" argument may be missing in meson.build. It is recommended to set it in "import('python').find_installation()"
#212
Closed
yurivict opened this issue
Aug 15, 2023
· 1 comment
===> Building for py39-dftd4-3.5.0
* Getting build dependencies for wheel...
* Building wheel...
+ meson setup /wrkdirs/usr/ports/science/py-dftd4/work-py39/dftd4-3.5.0 /wrkdirs/usr/ports/science/py-dftd4/work-py39/dftd4-3.5.0/.mesonpy-vzpex62q/build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/wrkdirs/usr/ports/science/py-dftd4/work-py39/dftd4-3.5.0/.mesonpy-vzpex62q/build/meson-python-native-file.ini
The Meson build system
Version: 1.2.0
Source dir: /wrkdirs/usr/ports/science/py-dftd4/work-py39/dftd4-3.5.0
Build dir: /wrkdirs/usr/ports/science/py-dftd4/work-py39/dftd4-3.5.0/.mesonpy-vzpex62q/build
Build type: native build
Project name: dftd4
Project version: 3.5.0
C compiler for the host machine: cc (clang 16.0.6 "FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)")
C linker for the host machine: cc ld.lld 16.0.6
Host machine cpu family: x86
Host machine cpu: i386
Found pkg-config: /usr/local/bin/pkg-config (1.8.1)
Run-time dependency dftd4 found: YES 3.5.0
Program python3 (cffi) found: YES (/usr/local/bin/python3.9) modules: cffi
Run-time dependency python found: YES 3.9
Configuring _libdftd4.h with command
Configuring _libdftd4.c with command
Build targets in project: 2
dftd4 3.5.0
User defined options
Native files: /wrkdirs/usr/ports/science/py-dftd4/work-py39/dftd4-3.5.0/.mesonpy-vzpex62q/build/meson-python-native-file.ini
buildtype : release
b_ndebug : if-release
b_vscrt : md
Found ninja-1.11.1 at /usr/local/bin/ninja
+ /usr/local/bin/ninja
[1/3] Compiling C object dftd4/lib_libdftd4.a.p/meson-generated_..__libdftd4.c.o
[2/3] Linking static target dftd4/lib_libdftd4.a
[3/3] Linking target dftd4/_libdftd4.cpython-39.so
+ meson install --quiet --no-rebuild --destdir /wrkdirs/usr/ports/science/py-dftd4/work-py39/dftd4-3.5.0/.mesonpy-vzpex62q/install
meson-python: error: The dftd4 package is split between purelib and platlib: 'purelib/dftd4/__init__.py' and 'platlib/dftd4/_libdftd4.cpython-39.so', a "pure: false" argument may be missing in meson.build. It is recommended to set it in "import('python').find_installation()"
ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1
Describe the bug
To Reproduce
Regular build.
Additional context
Version: 3.5.0
meson-1.2.0
FreeBSD 13.2
It looks like the problem occurred after this commit:
The text was updated successfully, but these errors were encountered: