[Freeipa-devel] Build issues with IPA Server 4.1.99.201502010530GIT782ad36

William william at firstyear.id.au
Sun Feb 1 22:31:22 UTC 2015


> > Checking if I have all the needed dependencies: with the command:
> >
> > sudo yum install rpm-build `grep "^BuildRequires" freeipa.spec.in | awk
> > '{ print $2 }' | grep -v "^/"`
> >
> >
> > No package python-pytest-multihost available.
> > No package python-pytest-sourceorder available.

> 
> you may need to enable copr repo mkosek/freeipa-master  to have proper 
> dependencies for git master branch.
> 


Yes it does. However, the copr seems to more generally not play with
multilib properly.



Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.x86_64 1:1.0.1k-1.fc21 will be updated
---> Package openssl-devel.x86_64 1:1.0.1k-1pspacek20150126T1356.fc21
will be an update
--> Processing Dependency: openssl-libs(x86-64) =
1:1.0.1k-1pspacek20150126T1356.fc21 for package:
1:openssl-devel-1.0.1k-1pspacek20150126T1356.fc21.x86_64
---> Package pki-base.noarch 0:10.2.0-5.fc21 will be updated
---> Package pki-base.noarch 0:10.2.1-0.1.fc21 will be an update
---> Package python-pytest-multihost.noarch 0:0.5-1.fc21 will be
installed
--> Processing Dependency: pytest >= 2.4.0 for package:
python-pytest-multihost-0.5-1.fc21.noarch
--> Processing Dependency: PyYAML for package:
python-pytest-multihost-0.5-1.fc21.noarch
---> Package python-pytest-sourceorder.noarch 0:0.1-1.fc21 will be
installed
--> Running transaction check
---> Package PyYAML.x86_64 0:3.11-6.fc21 will be installed
---> Package openssl-libs.x86_64 1:1.0.1k-1.fc21 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1k-1.fc21 for
package: 1:openssl-1.0.1k-1.fc21.x86_64
---> Package openssl-libs.x86_64 1:1.0.1k-1pspacek20150126T1356.fc21
will be an update
---> Package pytest.noarch 0:2.6.4-1.fc21 will be installed
--> Processing Dependency: python-py >= 1.4.26 for package:
pytest-2.6.4-1.fc21.noarch
--> Running transaction check
---> Package openssl.x86_64 1:1.0.1k-1.fc21 will be updated
---> Package openssl.x86_64 1:1.0.1k-1pspacek20150126T1356.fc21 will be
an update
---> Package python-py.noarch 0:1.4.26-2.fc21 will be installed
--> Finished Dependency Resolution


It looks like it doesn't provide i686 and x86_64 properly. I assume this
is because the i686 packages in copr actually need to be in the x86_64
repo also .... 

A replacement of the copr repo file to be:

[mkosek-freeipa-master-x86_64]
name=Copr repo for freeipa-master owned by mkosek
baseurl=https://copr-be.cloud.fedoraproject.org/results/mkosek/freeipa-master/fedora-$releasever-x86_64/
skip_if_unavailable=True
gpgcheck=0
gpgkey=https://copr-be.cloud.fedoraproject.org/results/mkosek/freeipa-master/fedora-$releasever-x86_64/pubkey.gpg
enabled=1

[mkosek-freeipa-master-x86]
name=Copr repo for freeipa-master owned by mkosek
baseurl=https://copr-be.cloud.fedoraproject.org/results/mkosek/freeipa-master/fedora-$releasever-i386/
skip_if_unavailable=True
gpgcheck=0
gpgkey=https://copr-be.cloud.fedoraproject.org/results/mkosek/freeipa-master/fedora-$releasever-i386/pubkey.gpg
enabled=1


Seems to have done the trick. 

Now I can successfully build freeipa once more it would seem. Thanks for
your help.

Sincerely,

William




More information about the Freeipa-devel mailing list