Trouble to package C++ extension
Hi @thiblahute,
This project looks cool, I tried to use it for a C++ python extension but without success. Here are the logs:
~/P3Venv/bin/python3 -m pep517.build .
ninja: Entering directory `/tmp/tmphqmf3fei'
[0/1] Creating source packages
WARNING: Repository has uncommitted changes that will not be included in the dist tarball
Clonage dans '/tmp/tmphqmf3fei/meson-dist/cdfpp-0.1'...
fait.
Testing distribution package /tmp/tmphqmf3fei/meson-dist/cdfpp-0.1.tar.xz
The Meson build system
Version: 0.53.0
Source dir: /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1
Build dir: /tmp/tmphqmf3fei/meson-private/dist-build
Build type: native build
WARNING: Unknown options: "c_args, c_link_args, cpp_args, cpp_debugstl, cpp_eh, cpp_link_args, cpp_rtti, cpp_std, fortran_args, fortran_link_args"
Project name: cdfpp
Project version: 0.1
C++ compiler for the host machine: ccache c++ (gcc 9.2.1 "c++ (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1)")
C++ linker for the host machine: c++ GNU ld.bfd 2.32-30
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Run-time dependency zlib found: YES 1.2.11
Run-time dependency catch2 found: YES 2.9.2
Build targets in project: 4
Found ninja-1.9.0 at /usr/bin/ninja
[8/8] Linking target simple_open.
[0/1] Running all tests.
1/3 endianness OK 0.01 s
2/3 simple_open OK 0.01 s
3/3 zlib OK 1.77 s
Ok: 3
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /tmp/tmphqmf3fei/meson-private/dist-build/meson-logs/testlog.txt
[0/1] Installing files.
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/attribute.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-endianness.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-enums.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/variable.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-data.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-file.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-io/cdf-io-buffers.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-io/cdf-io-attribute.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-io/cdf-io-zlib.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-io/cdf-io-desc-records.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-io/cdf-io-common.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-io/cdf-io.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf-io/cdf-io-variable.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-unpack/cdfpp-0.1/./include/cdf.hpp to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/include/cdfpp
Installing /tmp/tmphqmf3fei/meson-private/dist-build/meson-private/cdfpp.pc to /tmp/tmphqmf3fei/meson-private/dist-install/tmp/tmps0msook9/lib64/pkgconfig
Distribution package /tmp/tmphqmf3fei/meson-dist/cdfpp-0.1.tar.xz tested
ninja: Entering directory `/tmp/tmp7wxd6m32'
[10/11] Installing files.
Installing cdfpp.cpython-37m-x86_64-linux-gnu.so to /tmp/tmpvedj2dwe/lib
Installing /home/jeandet/Documents/prog/cdf++/./include/attribute.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-endianness.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-enums.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/variable.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-data.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-file.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-io/cdf-io-buffers.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-io/cdf-io-attribute.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-io/cdf-io-zlib.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-io/cdf-io-desc-records.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-io/cdf-io-common.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-io/cdf-io.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf-io/cdf-io-variable.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /home/jeandet/Documents/prog/cdf++/./include/cdf.hpp to /tmp/tmpvedj2dwe/include/cdfpp
Installing /tmp/tmp7wxd6m32/meson-private/cdfpp.pc to /tmp/tmpvedj2dwe/lib/pkgconfig
Is this supposed to work? Did I missed something?
Here is the project where I made my tests:
https://github.com/SciQLop/CDFpp
Alexis.