[Bug 1875114] Re: freeipa-server package missing from Ubuntu 2x.04
Travis Bean
1875114 at bugs.launchpad.net
Mon Nov 10 02:08:12 UTC 2025
I used the following commands in an effort to build the FreeIPA server
packages for Ubuntu Server 24.04 LTS running on a Google Cloud virtual
machine.
# Clone the FreeIPA Git repository.
cd /usr/local/src
sudo git clone --recurse-submodules https://salsa.debian.org/freeipa-team/freeipa.git
cd freeipa
# Install dependencies to build Dogtag Public Key Infrastructure.
sudo apt install -y python3-nss
sudo wget http://launchpadlibrarian.net/443113900/python3-pki-base_10.7.3-4_all.deb \
-O python-pki-base*.deb && sudo dpkg -i python-pki-base*.deb && \
sudo rm -f python-pki-base*
sudo wget http://launchpadlibrarian.net/470507858/pki-base_10.8.3-1ubuntu1_all.deb \
-O pki-base*.deb && sudo dpkg -i pki-base*.deb && sudo rm -f pki-base*
# Automatically determine and install dependencies required to build FreeIPA packages.
sudo apt install -y devscripts equivs
sudo mk-build-deps -i
sudo apt -f install ./freeipa-build-deps*.deb
sudo rm -f *.deb
# Edit rules and control files for building FreeIPA server packages.
sudo sed -i "/ifneq/ s|^#||
/ONLY_CLIENT=0/ s|^#||
/else/ s|^#||
/endif/ s|^#||" /usr/local/src/freeipa/debian/rules
sudo sed -i "s|pki-base (>= 10.10.6~)|pki-base|" \
/usr/local/src/freeipa/debian/control.server-bdeps
# Build the FreeIPA packages.
sudo dpkg-buildpackage -us -uc -nc
I had to use python3-pki-base and pki-base from the Ubuntu Focal 20.04
repositories because these packages are not on the Ubuntu 24.04
repositories. Can someone please add these required build dependencies
to the Ubuntu 24.04 repositories? These packages are required to build
the Dogtag Public Key Infrastructure.
Why is ONLY_CLIENT=0 in the debian/rules file commented out? The comment
that precedes this commented-out variable is “build server only where
nodejs is available.” But even if the nodejs package is installed, the
FreeIPA server packages still will not build when uncommenting this
variable.
When I attempt to build the FreeIPA server packages, I receive the following errors:
configure: exit 1
dh_auto_configure: error: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --libexecdir=/usr/lib/ --with-ipaplatform=debian --with-sysconfenvdir=/etc/default --disable-pylint --without-ipa-join-xml --without-jslint --enable-server --with-ipatests returned exit code 1
make[1]: *** [debian/rules:68: override_dh_auto_configure] Error 255
make[1]: Leaving directory '/usr/local/src/freeipa'
make: *** [debian/rules:133: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libp11 in Ubuntu.
https://bugs.launchpad.net/bugs/1875114
Title:
freeipa-server package missing from Ubuntu 2x.04
Status in freeipa package in Ubuntu:
Triaged
Status in libp11 package in Ubuntu:
Fix Released
Status in softhsm2 package in Ubuntu:
Fix Released
Bug description:
previous releases of Ubuntu have freeipa-server package to install freeipa server
but on 20.04 only client part can be found
$ apt-cache search freeipa
libipa-hbac-dev - FreeIPA HBAC Evaluator library -- development files
libipa-hbac0 - FreeIPA HBAC Evaluator library
libnss-sss - Nss library for the System Security Services Daemon
libpam-sss - Pam module for the System Security Services Daemon
python3-sss - Python3 module for the System Security Services Daemon
sssd - System Security Services Daemon -- metapackage
sssd-common - System Security Services Daemon -- common files
sssd-tools - System Security Services Daemon -- tools
cockpit-ws - Cockpit Web Service
freeipa-client - FreeIPA centralized identity framework -- client
freeipa-client-samba - FreeIPA centralized identity framework -- Samba client
freeipa-common - FreeIPA centralized identity framework -- common files
puppet-module-joshuabaird-ipaclient - Puppet module for Joshuabaird IPAclient
python3-ipaclient - FreeIPA centralized identity framework -- Python3 modules for ipaclient
python3-ipalib - FreeIPA centralized identity framework -- shared Python3 modules
python3-libipa-hbac - Python3 bindings for the FreeIPA HBAC Evaluator library
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1875114/+subscriptions
More information about the foundations-bugs
mailing list