Hi, Florian Weimer wrote: > I don't see what spec file aspect is causing this failure: > > $ fedpkg clone -a cups-bjnp > Cloning into 'cups-bjnp'... > remote: Enumerating objects: 278, done. > remote: Counting objects: 100% (278/278), done. > remote: Compressing objects: 100% (222/222), done. > remote: Total 278 (delta 112), reused 96 (delta 47), pack-reused 0 > Receiving objects: 100% (278/278), 158.64 KiB | 752.00 KiB/s, done. > Resolving deltas: 100% (112/112), done. > $ cd cups-bjnp > $ fedpkg srpm > Not downloading unused cups-bjnp-2.0.3.tar.gz > > setting SOURCE_DATE_EPOCH=1669852800 > error: Bad file: /home/fweimer/cups-bjnp/cups-bjnp-2.0.3.tar.gz: No such file or directory > > RPM build errors: > Bad file: /home/fweimer/cups-bjnp/cups-bjnp-2.0.3.tar.gz: No such file or directory > Could not execute srpm: Failed to execute command. > > fedpkg-simple doesn't have this problem (presumably because it downloads > whatever is in the sources file, whether used or not), so the package > builds fine in Koji. > > Any ideas? Removing the tabs between 'Source' and ':' resolves the issue: $ sed -Ei 's/(Source)\t+/\1/' cups-bjnp.spec ; fedpkg srpm Downloading cups-bjnp-2.0.3.tar.gz ######################################################################## 100.0% setting SOURCE_DATE_EPOCH=1669852800 Wrote: /tmp/cups-bjnp/cups-bjnp-2.0.3-7.fc38.src.rpm I didn't look into how fedpkg parses the spec file, but that rather unusual whitespace is the cause here, AFAICT. I leave it to others to debate where the fix belongs (in rpkg/fedpkg and/or cups-bjnp.spec). -- Todd
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ 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 Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue