Hello Osama, On pondělí 30. října 2023 18:44:39 CET Osama Albahrani wrote: > I following > https://docs.fedoraproject.org/en-US/quick-docs/publish-rpm-on-copr/#_step_1_creating_the_package_using_tito > and got the error below when running `tito build --rpm --test`. Any ideas > what I might be missing?
Nice, thank you for the reference! > ... > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1a8Sp6 > + umask 022 > + cd /tmp/tito/rpmbuild-hellocoprxgamrmkk/BUILD > + cd hellocopr-git-2.92e675f > ... > + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g > -grecord-gcc-switches -pipe -Wall -Werror=format-security > -Werror=implicit-function-declaration -Werror=implicit-int > -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS > -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong > -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic > -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection > -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' > + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now > -specs=/usr/lib/rpm/redhat/redhat-hardened-ld > -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 > -specs=/usr/lib/rpm/redhat/redhat-package-notes ' > + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' > /usr/bin/python3: can't open file > '/tmp/tito/rpmbuild-hellocoprxgamrmkk/BUILD/hellocopr-git-2.92e675f/setup.py': > [Errno 2] No such file or directory This indicates that `setup.py` is missing in the SourceN: tarball. Which in turn means that `setup.py` is missing in the source git repository (because `tito` generates the tarball from git). Pavel
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ copr-devel mailing list -- copr-devel@lists.fedorahosted.org To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org 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.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue