On Tue, Jun 21, 2022 at 7:34 AM Sérgio Basto <sergio@xxxxxxxxxx> wrote:
On Tue, 2022-06-21 at 07:21 -0500, Richard Shaw wrote:This started happening a few days ago and I have no idea what's going on but all of a sudden the patch I created always fails[1].I even deleted the patch and started over:quilt setup emqx-nanomq.speccd nanomq-0.8.0quilt new nanomq-cmake.patchquilt edit CMakeLists.txtquilt edit nanolib/CMakeLists.txtquilt refreshcp patches/nanomq-cmake.patch ../I turn around and try to build the package with the patch:rpkg srpmmock -r fedora-rawhide-x86_64 --resultdir ./ /path/to/the/srpm/in/tmpAnd then I get something like this[2]:+ cd nanomq-0.8.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /builddir/build/SOURCES/nanomq-cmake.patch
+ /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
error: Bad exit status from /var/tmp/rpm-tmp.Lk7GGo (%prep)I even expanded the archive and applied the patch manually and it worked fine.WTF?!?!?you need remove %autosetupand do :%prep%setup -n %{project}-%{version}gzip -dc %{SOURCE1} | tar -xf - -C extern/l8w8jwtgzip -dc %{SOURCE2} | tar -xf - -C nng%patch0 -p1
Ok, so I kinda understand, but the areas I'm patching are not part of the two bundled libraries.
Thanks,
Richard
_______________________________________________ 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 on the list, report it: https://pagure.io/fedora-infrastructure