Hi,
m trying to build the 389 on CentOS 8 from rpm source package. When i do
yum-builddep SPECS/389-ds-base.spec
i have a missong component - "No matching package to install:
'python3-argparse-manpage'". I could not find a corresponding package in any
of the repositories of CentOS 8 (AppStream/BaseOS/PowerTools/epel/extras). If i try to
disable this requirement in spec by cpommenting the following line:
BuildRequires: python%{python3_pkgversion}-argparse-manpage
the "rpmbuild -ba SPECS/389-ds-base.spec" stops at the same package requirement
when it starts to build lib389:
+ pushd ./src/lib389
~/rpmbuild/BUILD/389-ds-base-1.4.0.20-10/src/lib389
~/rpmbuild/BUILD/389-ds-base-1.4.0.20-10
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ /usr/libexec/platform-python setup.py build
'--executable=/usr/libexec/platform-python -s'
Traceback (most recent call last):
File "setup.py", line 17, in <module>
from build_manpages import build_manpages
ModuleNotFoundError: No module named 'build_manpages'
error: Bad exit status from /var/tmp/rpm-tmp.OOJPV1 (%build)
RPM build errors:
Macro expanded in comment on line 117: %{python3_pkgversion}-argparse-manpage
Bad exit status from /var/tmp/rpm-tmp.OOJPV1 (%build)
Where do i obtain the corresponding package ( python3-argparse-manpage ) for CentOS8? I
have not tried to build on RHEL8, maybe that package exists in RHEL8 vut not CentOS 8?
Thank you!
Regards,
Andrey
Show replies by date