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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875114 Title: freeipa-server package missing from Ubuntu 2x.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freeipa/+bug/1875114/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
