Copr package build fails on python-nocaselist package

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

 




Please consider reporting this against rpkg-util:
https://pagure.io/rpkg-util

I just created https://pagure.io/rpkg-util/issue/28

Andy

Begin forwarded message:

From: Pavel Raiskup <praiskup@xxxxxxxxxx>
Subject: Re: Fwd: Copr package build fails on python-nocaselist package
Date: 21. September 2020 at 10:26:42 CEST
Cc: clime <clime@xxxxxxxxxxxxxxxxx>, Robert-André Mauchin <zebob.m@xxxxxxxxx>, Andreas R Maier <andreas.r.maier@xxxxxx>
Reply-To: Development discussions related to Fedora <devel@xxxxxxxxxxxxxxxxxxxxxxx>

On Monday, September 21, 2020 9:07:32 AM CEST Andreas R Maier wrote:
Hello Robert,
I suspect the reason I get the python-%{srcname}-%{version} in the .tar.gz
file is that I was setting up COPR to use "rpkg". When using "copr-cli build"
as shown in your mail, it works on COPR. So I think we can ignore that issue.

Please consider reporting this against rpkg-util:
https://pagure.io/rpkg-util

Pavel

At this point, I can successfully build locally (with "rpmbuild -bb"), on Koji (with "koji build"), and on COPR (with "copr-cli build").

I cannot yet build locally with "fedpkg mockbuild" or on Koji with "fedpkg scratch-build", and I suspect this is because there is no repo for the package yet and/or because I have not set up the mock environment on my local Fedora.

What I still don't understand is the package name: "rpmbuild -bs" creates an SRPM with package name "python3-nocaselist" while "fedpkg srpm" creates an SRPM with package name "python-nocaselist". What will be the package name in Fedora at the end of the day?

Andy

Begin forwarded message:

From: Robert-André Mauchin <zebob.m@xxxxxxxxx>
Subject: Re: Copr package build fails on python-nocaselist package
Date: 18. September 2020 at 13:46:53 CEST
To: Development discussions related to Fedora <devel@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-To: Development discussions related to Fedora <devel@xxxxxxxxxxxxxxxxxxxxxxx>

The archives in your SRPM are different:
- on COPR the root directory of your archive is python-%{srcname}-%{version} 
- on Koji the root directory of your archive is %{srcname}-%{version}

Check that you have deleted python-%{srcname}-%{version}.tar.gz before 
regenerating the SRPM.

Also I never use rpmbuild anymore, I do everything in the same directory with 
fedpkg:

## Building the Fedora package

### Build the source RPM locally:

  rm *.tar.gz *src.rpm
  spectool -g *.spec && fedpkg --release f34 srpm

### Build the binary RPM locally in a mock chroot:

  fedpkg --release f34  mockbuild --mock-config fedora-rawhide-x86_64 -N

Build logs and RPMs (if any) are in the results subdirectory

### Build the binary RPM with the Koji build system:

  fedpkg  --release f34 scratch-build --srpm --fail-fast

### COPR:

  copr-cli build python-nocaselist *.src.rpm



No idea where python-%{srcname}-%{version} in the .tar.gz is coming from, 
neither pypi or github have that archive. Maybe it's an artifact of building 
the SRPM with rpkg?

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx





_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux