On 22/02/17 18:07, Fabian Arrotin wrote:
Just to add that for the build part (so not including the patches to allow ipa server to start), I launched a test build that should appear here (when finished) : https://armv7.dev.centos.org/rpmbuild/c71611-updates-1/17474-ipa-4.4.0-14.el... (and so https://armv7.dev.centos.org/repodir/c71611-updates-1/ipa/)
It would be good if you could confirm that those would work for you
Hi,
I have installed IPA Server now but there were some problems to solve.
But 1st thanks for that speedy build and providing of the IPA server packages for ARM32!!!
To explain how I have installed:
- yum-plugin-priorities installed and configured (default repositories like base & updates pro 1)
- c71611-updates.repo added:
[c71611-updates] name=IPA rebuild for armhfp baseurl=https://armv7.dev.centos.org/repodir/c71611-updates-1/ includepkgs=ipa* python2-ipa* enabled=1 priority=2 gpgcheck=0
- yum clean all
- yum makecache fast
- yum install spa-server …
--> Finished Dependency Resolution Error: Package: pki-server-10.3.3-16.el7_3.noarch (updates) Requires: velocity You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
This means ipa-server depend on package pki-server-10.3.3-16.el7_3.noarch which is available but its requires the package velocity which is not available. Because it is „noarch"
I have downloaded it from upstream
# wget http://mirror.centos.org/centos/7.3.1611/os/x86_64/Packages/velocity-1.7-10.... # yum deplist velocity-1.7-10.el7.noarch.rpm
Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostile 503 packages excluded due to repository priority protections package: velocity.noarch 1.7-10.el7 dependency: apache-commons-collections provider: apache-commons-collections.noarch 3.2.1-22.el7_2 dependency: apache-commons-lang provider: apache-commons-lang.noarch 2.6-15.el7 dependency: apache-commons-logging provider: apache-commons-logging.noarch 1.1.2-7.el7 dependency: bel provider: bcel.noarch 5.2-18.el7 dependency: hsqldb
provider: hsqldb.noarch 1:1.8.1.3-14.el7
dependency: jakarta-oro
provider: jakarta-oro.noarch 2.0.8-16.el7
dependency: jaxen
Unsatisfied dependency
dependency: jdom
Unsatisfied dependency
dependency: jpackage-utils
provider: javapackages-tools.noarch 3.4.1-11.el7
dependency: junit
Unsatisfied dependency
dependency: log4j
provider: log4j.noarch 1.2.17-15.el7
dependency: servlet3
provider: tomcat-servlet-3.0-api.noarch 7.0.69-10.el7
There are again 3 packages missing which I have also downloaded from upstream and these again misses packages. So I have decided to add the upstream base, update etc. repositories for noarch only:
[base-upstream]
name=CentOS-$releasever-Upstream - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=x86_64&repo=o...
#baseurl=http://mirror.centos.org/centos/$releasever/os/x86_64/
includepkgs=*.noarch
enabled=1
priority=3
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates-upstream]
name=CentOS-$releasever-Upstream - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=x86_64&repo=u...
#baseurl=http://mirror.centos.org/centos/$releasever/updates/x86_64/
includepkgs=*.noarch
enabled=1
priority=3
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
…
After that I was able to install the software and setup the replica on the Banana PI. Of course, I must change the timeout as described in the mentioned thread but the information there are from the official FreeIPA site https://www.freeipa.org/page/HowTo/FreeIPA_on_banana_pi and some additional search shows that this is not a problem of FreeIPA instead it is a workaround for this OpenJDK bug: https://bugzilla.redhat.com/show_bug.cgi?id=1400462. I will now also switch to Oracle Java, but IMO should we not generally patch the timer value.
I have one additional request. In my first tries the upstream repositories had a heifer prio as c71611-updates-1 and I got error messages like these:
Error: Package: ipa-server-4.4.0-14.el7.armv7hl (c71611-updates)
Requires: ipa-server-common = 4.4.0-14.el7
Available: ipa-server-common-4.4.0-12.el7.centos.noarch (base-upstream)
ipa-server-common = 4.4.0-12.el7.centos
Available: ipa-server-common-4.4.0-14.el7.centos.noarch (updates-upstream)
ipa-server-common = 4.4.0-14.el7.centos
Available: ipa-server-common-4.4.0-14.el7.centos.1.1.noarch (updates-upstream)
ipa-server-common = 4.4.0-14.el7.centos.1.1
Available: ipa-server-common-4.4.0-14.el7.centos.4.noarch (updates-upstream)
ipa-server-common = 4.4.0-14.el7.centos.4
The I have checked and „yum info spa-server“ on CentOS 7.3 x86_64 returns:
Name : ipa-server
Arch : x86_64
Version : 4.4.0
Release : 14.el7.centos.4
Otherwise if I look into https://armv7.dev.centos.org/rpmbuild/c71611-updates-1/ there are 3 IPA directories
[16302-ipa-4.4.0-14.el7.centos/](https://armv7.dev.centos.org/rpmbuild/c71611-updates-1/16302-ipa-4.4.0-14.el...)
[17021-ipa-4.4.0-14.el7.centos.4/](https://armv7.dev.centos.org/rpmbuild/c71611-updates-1/17021-ipa-4.4.0-14.el...)
[17474-ipa-4.4.0-14.el7.centos/](https://armv7.dev.centos.org/rpmbuild/c71611-updates-1/17474-ipa-4.4.0-14.el...)
The last is your working build. Otherwise there was already started with the current release 14.el7.centos.4 but if I look into [build.log](https://armv7.dev.centos.org/rpmbuild/c71611-updates-1/17021-ipa-4.4.0-14.el...) only source RPM was written, nothing more.
Can you please redo the full IPA build with this release?
TIA,
Silvio