#5915 Package set used in Koji for epel7 not complete for building many packages
Closed: Invalid None Opened 9 years ago by slaanesh.

I was looking to build a package on epel7 that is relying on jansson-devel.

The -devel subpackage is generated as normally from the main jansson package, but in case of epel7 the resulting rpm is included in the Workstation-optional channel:

http://ftp.redhat.com/redhat/rhel/rc/7/Workstation-optional/x86_64/os/Packages/

And Koji uses only the "server" and "server-optional" channel:

http://koji.fedoraproject.org/koji/taginfo?tagID=258

It is quite strange actually. Normally, if a package is not included in the base distribution, we can add it. If it is already included we never replace the upstream package.

By using only server and server-optional we have the weird case where only half of the package can be used. Jansson specific, I cannot add jansson to epel because it is already included, but I cannot use it because the jansson-devel is omitted and only half of the resulting binary rpms are used.

This makes package building for epel7 very complicated. At a minimum, all Redhat provided channels should be included for building in Koji. This also avoids people adding packages in EPEL that are actually overlapping with upstream packages. The current binary provided repositories I can find are here:

http://ftp.redhat.com/redhat/rhel/rc/7/

Please reconsider the package selection used in epel7.

I'm not sure if this is rel-eng or infrastructure related, I will reopen where correct if necessary.

Thanks & regards,
--Simone


So, for Redhat the fact that subpackages are split in different channels is normal (debatable, but that's it):

https://bugzilla.redhat.com/show_bug.cgi?id=1104099#c2

So apparently the only chance for building some packages in epel7 is to add the missing rhel 7 channels.

This, plus the fact that rhel7 (and thus epel7) is missing the i686 tree adds lots of complexity for building.

Package dispersion aside, the jansson-devel package is in rhel7-server-optional already:

http://ftp.redhat.com/redhat/rhel/rc/7/Server-optional/x86_64/os/Packages/jansson-devel-2.4-6.el7.x86_64.rpm

but for some reason it is not available in Koji even if it includes the server-optional channel.

Do you happen to have a link to a build that needs that package, but cannot find it?

That would help us track down whats going wrong...

This one (GPL) is looking for jansson-devel if you try to build it in mock/koji but can't find it:

http://negativo17.org/repos/nvidia/fedora-21/SRPMS/nvidia-settings-340.17-1.fc21.src.rpm

btw, have the buildroot been updated with the final rhel 7 packages?

Thanks,

--Simone

Final rhel7 content is now in place.

Can you try and see if the jansson-devel package is correctly showing up? If not, can you provide the link to the failed build so we can investigate?

nvidia-settings does not appear to be in Fedora. Also there was no response in 2 months. Please re-open this, if there is still an issue and provide details about how to reproduce your error, e.g. details about how you built something with build logs from koji.

Metadata Update from @slaanesh:
- Issue set to the milestone: Fedora 20 Final

7 years ago

Login to comment on this ticket.

Metadata