[Rpm-maint] [rpm-software-management/rpm] rpmtest not built on Debian (Issue #2262)

Neal H. Walfield notifications at github.com
Thu Nov 3 14:21:41 UTC 2022


I'm splitting [this comment](https://github.com/rpm-software-management/rpm/issues/2258#issuecomment-1301807221) into a separate issue.

```
$ make check VERBOSE=1
/usr/bin/cmake -S/home/us/neal/work/pep/rpm -B/home/us/neal/work/pep/rpm/_build --check-build-system CMakeFiles/Makefile.cmake 0
make  -f CMakeFiles/Makefile2 check
...
-- Installing: /home/us/neal/work/pep/rpm/_build/tests/testing/usr/local/lib/rpm/rpm.supp
gmake[4]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
cd /home/us/neal/work/pep/rpm/_build/tests && chmod -R u-w testing
make[3]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
Built target populate_testing
make  -f rpmio/CMakeFiles/librpmio.dir/build.make rpmio/CMakeFiles/librpmio.dir/depend
make[3]: Entering directory '/home/us/neal/work/pep/rpm/_build'
cd /home/us/neal/work/pep/rpm/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/us/neal/work/pep/rpm /home/us/neal/work/pep/rpm/rpmio /home/us/neal/work/pep/rpm/_build /home/us/neal/work/pep/rpm/_build/rpmio /home/us/neal/work/pep/rpm/_build/rpmio/CMakeFiles/librpmio.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
make  -f rpmio/CMakeFiles/librpmio.dir/build.make rpmio/CMakeFiles/librpmio.dir/build
make[3]: Entering directory '/home/us/neal/work/pep/rpm/_build'
make[3]: Nothing to be done for 'rpmio/CMakeFiles/librpmio.dir/build'.
make[3]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
Built target librpmio
make  -f tests/CMakeFiles/rpmpgppubkeyfingerprint.dir/build.make tests/CMakeFiles/rpmpgppubkeyfingerprint.dir/depend
make[3]: Entering directory '/home/us/neal/work/pep/rpm/_build'
cd /home/us/neal/work/pep/rpm/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/us/neal/work/pep/rpm /home/us/neal/work/pep/rpm/tests /home/us/neal/work/pep/rpm/_build /home/us/neal/work/pep/rpm/_build/tests /home/us/neal/work/pep/rpm/_build/tests/CMakeFiles/rpmpgppubkeyfingerprint.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
make  -f tests/CMakeFiles/rpmpgppubkeyfingerprint.dir/build.make tests/CMakeFiles/rpmpgppubkeyfingerprint.dir/build
make[3]: Entering directory '/home/us/neal/work/pep/rpm/_build'
make[3]: Nothing to be done for 'tests/CMakeFiles/rpmpgppubkeyfingerprint.dir/build'.
make[3]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
Built target rpmpgppubkeyfingerprint
make  -f tests/CMakeFiles/rpmpgpcheck.dir/build.make tests/CMakeFiles/rpmpgpcheck.dir/depend
make[3]: Entering directory '/home/us/neal/work/pep/rpm/_build'
cd /home/us/neal/work/pep/rpm/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/us/neal/work/pep/rpm /home/us/neal/work/pep/rpm/tests /home/us/neal/work/pep/rpm/_build /home/us/neal/work/pep/rpm/_build/tests /home/us/neal/work/pep/rpm/_build/tests/CMakeFiles/rpmpgpcheck.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
make  -f tests/CMakeFiles/rpmpgpcheck.dir/build.make tests/CMakeFiles/rpmpgpcheck.dir/build
make[3]: Entering directory '/home/us/neal/work/pep/rpm/_build'
make[3]: Nothing to be done for 'tests/CMakeFiles/rpmpgpcheck.dir/build'.
make[3]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
Built target rpmpgpcheck
make  -f tests/CMakeFiles/check.dir/build.make tests/CMakeFiles/check.dir/depend
make[3]: Entering directory '/home/us/neal/work/pep/rpm/_build'
cd /home/us/neal/work/pep/rpm/_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/us/neal/work/pep/rpm /home/us/neal/work/pep/rpm/tests /home/us/neal/work/pep/rpm/_build /home/us/neal/work/pep/rpm/_build/tests /home/us/neal/work/pep/rpm/_build/tests/CMakeFiles/check.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
make  -f tests/CMakeFiles/check.dir/build.make tests/CMakeFiles/check.dir/build
make[3]: Entering directory '/home/us/neal/work/pep/rpm/_build'
cd /home/us/neal/work/pep/rpm/_build/tests && ./rpmtests -j8 
/bin/sh: 1: ./rpmtests: not found
make[3]: *** [tests/CMakeFiles/check.dir/build.make:78: tests/CMakeFiles/check] Error 127
make[3]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
make[2]: *** [CMakeFiles/Makefile2:1243: tests/CMakeFiles/check.dir/all] Error 2
make[2]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
make[1]: *** [CMakeFiles/Makefile2:1250: tests/CMakeFiles/check.dir/rule] Error 2
make[1]: Leaving directory '/home/us/neal/work/pep/rpm/_build'
make: *** [Makefile:573: check] Error 2
```

@pmatilai [asks]:

> Maybe we need to start with the "obvious": does rpmtests script exist in tests/ of the build tree? It sounds as if it's not, but the other alternative is some current dir based mixup.

```
.../rpm/_build$ ls tests/
atconfig  atlocal  CMakeFiles  cmake_install.cmake  Makefile  package.m4  rpmpgpcheck  rpmpgppubkeyfingerprint  testing
```

Unfortunately, it doesn't exist there.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2262
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2262 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221103/d87182d3/attachment-0001.html>


More information about the Rpm-maint mailing list