'make dist-brew' failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

On F33 'make dist-brew DIST=.eln' fails on the os-build branch with

Wrote:
/home/prarit/git-kernel/kernel-ark/redhat/rpm/SRPMS/kernel-5.11.0-0.rc2.114.test.eln.src.rpm
brew build   --scratch rhel-8.99.0-test-pesign
/home/prarit/git-kernel/kernel-ark/redhat/rpm/SRPMS/kernel-5.11.0-0.rc2.114.test.eln.src.rpm

Usage: brew build [options] <target> <srpm path or scm url>

The first option is the build target, not to be confused with the destination
tag (where the build eventually lands) or build tag (where the buildroot
contents are pulled from).

You can list all available build targets using the 'brew list-targets' command.
More detail can be found in the documentation.
https://docs.pagure.org/koji/HOWTO/#package-organization
(Specify the --help global option for a list of other help options)

brew: error: Unknown build target: rhel-8.99.0-test-pesign
make[1]: *** [Makefile:360: dist-brew] Error 2
make[1]: Leaving directory '/home/prarit/git-kernel/kernel-ark/redhat'
make: *** [makefile:12: dist-brew] Error 2

The brew target is generated in redhat/Makefile.common as

ifeq ("$(DIST)", ".elrdy")
  BUILD_SCRATCH_TARGET ?= temp-ark-rhel-8-test
else ifeq ("$(IS_FEDORA)", "1")
  BUILD_SCRATCH_TARGET ?= temp-ark-rhel-8-test
else
  BUILD_SCRATCH_TARGET ?= rhel-$(RHEL_MAJOR).$(RHEL_MINOR).0-test-pesign
endif

and RHEL_MAJOR and RHEL_MINOR are defined in Makefile.rhelver as

RHEL_MAJOR = 8
RHEL_MINOR = 99

Is there a better option for the BUILD_SCRATCH_TARGET for .eln?  Perhaps, like
fedora, the target should also be temp-ark-rhel-8-test?

P.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux