In fedora 39 I am trying to build the RPM for a prior version of conky from its source RPM, namely version 1.11.5.
In order to satisfy the source RPM’s dependencies, I had to manually download and install one of the build dependencies, namely wireless-tools-devel.
I set up my build environment by running
$ sudo dnf install fedora-packager
$ rpmdev-setuptree
$ sudo dnf builddep ./conky-1.11.5-3.fc32.src.rpm
But when I run the rpm build command
rpmbuild --rebuild ./conky-1.11.5-3.fc32.src.rpm
I get the error
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_WEATHER_XOAP
CMAKE_Fortran_FLAGS_RELEASE
CMAKE_INSTALL_DO_STRIP
INCLUDE_INSTALL_DIR
LIB_SUFFIX
SHARE_INSTALL_PREFIX
SYSCONF_INSTALL_DIR
-- Build files have been written to: /home/ernesto/rpmbuild/BUILD/conky-1.11.5/redhat-linux-build
+ make -j2
make: *** No targets specified and no makefile found. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.uyS3sc (%build)
RPM build warnings:
user mockbuild does not exist - using root
user mockbuild does not exist - using root
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.uyS3sc (%build)
Am I missing a step in the setup?