-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tools: curve_keygen not built when building with cmake, ninja #4675
Comments
Could one add a couple of separate questions, towards clarification about the outcomes of the cmake build? I'm not an official maintainer for the openSUSE RPM or anything similar of course, just curious:
|
Update: The following is not an issue. I'd not in fact taken a look at the list of files from the source archive, where the manual pages are already available. With the rpm build using cmake under openSUSE build tools, the manual pages as denoted in the original spec file are (were) missing (at the installation pathnames from the Makefile build. The files are already available without further processing, however) [...]
[ 17s] RPM build errors:
[ 17s] File not found: /home/abuild/rpmbuild/BUILDROOT/zeromq-4.3.5-0.x86_64/usr/share/man/man3/zmq*.3.gz
[ 17s] File not found: /home/abuild/rpmbuild/BUILDROOT/zeromq-4.3.5-0.x86_64/usr/share/man/man7/zmq*.7.gz
[...]
$ find /var/tmp/build-root/pool-x86_64/home/abuild/rpmbuild/BUILDROOT/zeromq-4.3.5-0.x86_64/usr/share/man
find: ‘/var/tmp/build-root/pool-x86_64/home/abuild/rpmbuild/BUILDROOT/zeromq-4.3.5-0.x86_64/usr/share/man’: No such file or directory
$ find /var/tmp/build-root/pool-x86_64/home/abuild/rpmbuild/BUILDROOT/zeromq-4.3.5-0.x86_64/usr/include/
/var/tmp/build-root/pool-x86_64/home/abuild/rpmbuild/BUILDROOT/zeromq-4.3.5-0.x86_64/usr/include/
/var/tmp/build-root/pool-x86_64/home/abuild/rpmbuild/BUILDROOT/zeromq-4.3.5-0.x86_64/usr/include/zmq.h
/var/tmp/build-root/pool-x86_64/home/abuild/rpmbuild/BUILDROOT/zeromq-4.3.5-0.x86_64/usr/include/zmq_utils.h The autoconf/GNU make tooclhain might be preferred at present? |
Issue description
When building with cmake using the ninja builder, the
curve_keygen
tool is not compiled or installed.This tool is built when using the autoconf toolchain and GNU Make.
Environment
Minimal test code / Steps to reproduce the issue
spec file for an RPM build using cmake and ninja, tentatively to be contributed as a patch for a user branch of the current zeromq RPM source package in OpenSUSE LEAP 15.5.
This would provide something of an update to the latest ZeroMQ release, for OpenSUSE LEAP 15.5. This uses cmake for the build, while the official RPM uses the traditional autoconf and GNU make toolchain.
Supplemental to the 'pgm' option in the OpenSUSE base RPM, this also adds a 'drafts' option for the RPM build with openSUSE build tools. It might be similar to the spec file in the libzmq source tree?
What's the actual result? (include assertion message & call stack if applicable)
The
%{_bindir}/curve_keygen
tool is not built or installed, when using the cmake build defs and ninja.Of course, it would be possible to build this manually with a post-cmake compiler in the RPM spec file.
Otherwise:
{inproc, local, remote}_{lat, thr}
andproxy_thr
drafts
build option enabled for the RPM build, the build works out though.What's the expected result?
Ideally, the
%{_bindir}/curve_keygen
runtime tool would be built and installed with the cmake build, similar to the build with GNU MakeI'll try to build this with the GNU Make builder in cmake. I'm not certain if that would use autoconf toolchain however.
The text was updated successfully, but these errors were encountered: