Hi Fedora legal and packaging,
I'm cross-posting this, as I think it's relevant to both groups.
The current policy for filling out the license field of the spec file
(as described at
https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelin…
) states, "The License: field refers to the licenses of the contents of
the binary rpm. When in doubt, ask."
As we consider how to improve documentation related to Fedora licensing,
it would be helpful to hear people's thoughts on the following:
1) how do you (package maintainers) interpret this policy in practice?
2) what further information/documentation about this policy would be
helpful?
3) should this policy be different, and if so, how?
4) any other related thoughts or observations
Thanks!
Jilayne
Replying to the list. Please don't reply to me directly.
On Tuesday, 09 January 2024 at 10:54, Brad Bell wrote:
> I guess I did not make myself clear. I will try again.
>
> The over all build that failed is
> https://koji.fedoraproject.org/koji/taskinfo?taskID=111475888
>
> The only descendant that failed is
> https://koji.fedoraproject.org/koji/taskinfo?taskID=111475973
This is the i686 build.
> The log for the test that failed is
> https://kojipkgs.fedoraproject.org//work/tasks/5973/111475973/build.log
> In the log, you will find the actual assertion that caused the failure:
> Error detected by false result for
> i_ptr % sizeof(double) == 0
> at line 831 in the file
> /builddir/build/BUILD/cppad-20240000.1/CppAD-20240000.1/include/cppad/utility/thread_alloc.hpp
Looks like the code makes an incorrect assumption about pointer size and
double variable size.
> I would like to know which fedora test machine I should use so that I
> can reproduce this failure and test fixing it.
You can use any of the x86_64 test machines, but I'm pretty sure you
own a x86_64 machine yourself. You can build the package using
fedpkg srpm
mock -r fedora-rawhide-i386 cppad-20240000.1-1.fc40.src.rpm
to reproduce this issue locally on either your or Fedora test machine.
This is almost exactly what koji uses to build packages.
Regards,
Dominik
--
Fedora https://fedoraproject.org
Deep in the human unconscious is a pervasive need for a logical universe that
makes sense. But the real universe is always one step beyond logic.
-- from "The Sayings of Muad'Dib" by the Princess Irulan
Merry Christmas everyone
I have an application that can either work with legacy iptables
(`iptables-legacy` and `ebtables-legacy`) or `nftables`. So I'm trying
to specify this as a dependency in a spec file. If a user has not
installed any of it (or `iptables-nft`) then `nftables` should be
preferred.
I thought this would be easy with a RPM boolean dependency [1]:
Requires: (ebtables-legacy if iptables-legacy else nftables)
When installing the RPM with this expression and no `iptables-legacy`
nor `nftables` already installed then `dnf` will want to install
`ebtables-legacy` and `iptables-legacy`.
Only when I include `nftables` in the `dnf install` command it will
ignore the legacy package dependencies.
Is there a way to express that I want `nftables` by default except a
user has already `iptables-legacy` installed?
Cheers,
Reto
[1]:
https://rpm-software-management.github.io/rpm/manual/boolean_dependencies.h…