Package: ognibuild Version: 0.0.4-1 Severity: normal The ognibuild blog post mentions cmake support but `ogni build` seems to detect that as make rather than cmake, which means that the build fails because there is no Makefile before cmake is run and creates it.
$ git clone -q https://github.com/jameskbride/cmake-hello-world.git $ cd cmake-hello-world/ cmake-hello-world (master=) $ git ls-tree --name-only -r @ .gitignore CMakeLists.txt Hello/CMakeLists.txt Hello/Speaker.cpp Hello/Speaker.h HelloWorld.cpp LICENSE README.md cmake-hello-world (master=) $ ogni build Preparing directory . Using requirement resolver: [cpan, ctan, pypi, npm, go, hackage, cran, cran, octave-forge] Detected buildsystems: make Checking that declared requirements are present Unable to determine declared dependencies from Make('.') make: *** No rule to make target 'all'. Stop. Build failed and unable to find cause. Giving up. cmake-hello-world (master=) $ (mkdir build ; cd build ; cmake .. ; make) -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: cmake-hello-world/build Scanning dependencies of target Hello [ 25%] Building CXX object Hello/CMakeFiles/Hello.dir/Speaker.cpp.o [ 50%] Linking CXX static library libHello.a [ 50%] Built target Hello Scanning dependencies of target CMakeHelloWorld [ 75%] Building CXX object CMakeFiles/CMakeHelloWorld.dir/HelloWorld.cpp.o [100%] Linking CXX executable CMakeHelloWorld [100%] Built target CMakeHelloWorld -- System Information: Debian Release: bullseye/sid APT prefers testing-debug APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental'), (500, 'testing-security') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ognibuild depends on: ii python3 3.9.2-3 ii python3-apt 2.2.0 ii python3-breezy 3.1.0-8 ii python3-buildlog-consultant 0.0.9-1 ii python3-lz4 3.1.3+dfsg-1 ii python3-requirement-parser 0.2.0-1.1 ii python3-toml 0.10.1-1 Versions of packages ognibuild recommends: pn brz-debian <none> ii python3-debmutate 0.20 ognibuild suggests no packages. -- no debconf information -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part