Hi Viktor, thank you for pointing me to that bugzilla. Finally i have downloaded and manually installed argparse-manpage from FC28 archives (wget [ https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/x86_64/os/Packages/p/python3-argparse-manpage-1.0.0-1.fc28.noarch.rpm) | https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/x86_64/os/Packages/p/python3-argparse-manpage-1.0.0-1.fc28.noarch.rpm) ] . It has permitted me to build the source rpm including lib389 and cockpit plugin. I still have not tested if that rpm installs ds and cockpit plugin works correctly. Concerning bugzilla ticket, it's a pity indeed that we do not нуе have a dedicated 389ds cockpit plugin in CentOS 8.
Regards, Andrey > De: "Viktor Ashirov" <vashi...@redhat.com> > À: "General discussion list for the 389 Directory server, project." > <389-users@lists.fedoraproject.org> > Envoyé: Mercredi 30 Octobre 2019 15:22:00 > Objet: [389-users] Re: Building 389 rpm on CentOS 8 from source rpm > Hi Andrey, > argparse-manpage is missing in EPEL8: > [ https://bugzilla.redhat.com/show_bug.cgi?id=1763246 | > https://bugzilla.redhat.com/show_bug.cgi?id=1763246 ] > I was able to rebuild fedora srpm in my copr: [ > https://copr.fedorainfracloud.org/coprs/vashirov/389ds/packages/ | > https://copr.fedorainfracloud.org/coprs/vashirov/389ds/packages/ ] > But 389-ds-base build fails further down due to other missing dependencies, > please see the following message for more details: [ > https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org/message/FWYW3MM2NBGGCEK2FKM73Z3PCA7D4HCL/ > | > https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org/message/FWYW3MM2NBGGCEK2FKM73Z3PCA7D4HCL/ > ] > Thanks, > On Wed, Oct 30, 2019 at 3:12 PM Ivanov Andrey (M.) < [ > mailto:andrey.iva...@polytechnique.fr | andrey.iva...@polytechnique.fr ] > > wrote: >> 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 >> _______________________________________________ >> 389-users mailing list -- [ mailto:389-users@lists.fedoraproject.org | >> 389-users@lists.fedoraproject.org ] >> To unsubscribe send an email to [ >> mailto:389-users-le...@lists.fedoraproject.org >> | 389-users-le...@lists.fedoraproject.org ] >> Fedora Code of Conduct: [ >> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ | >> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ ] >> List Guidelines: [ https://fedoraproject.org/wiki/Mailing_list_guidelines | >> https://fedoraproject.org/wiki/Mailing_list_guidelines ] >> List Archives: [ >> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org >> | >> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org >> ] > -- > Viktor > _______________________________________________ > 389-users mailing list -- 389-users@lists.fedoraproject.org > To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
_______________________________________________ 389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org