Re: rawhide and f41 build errors.

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

 



Never mind...
  export LC_ALL="C.UTF-8"

took care of the failure...

steved.

On 11/11/24 1:02 PM, Steve Dickson wrote:


On 11/10/24 11:56 AM, Kevin Fenzi wrote:
On Sat, Nov 09, 2024 at 12:07:09PM -0600, Steve Dickson wrote:
Hello,

Out of the blue rawhide scratch builds [1]
are now failing and f41 builds [2] are failing
but f40 builds [3] are succeeding and they
are all the same code!

Late Oct I made a release so their repo
heads are all the same.

Does anybody know what has changed in the building
process? Or better does anybody know what I have
to change to make the builds work?
...snip...

I suspect the issue is that it's been broken, but due to a bug in
debugedit it never caused builds to fail before.

rawhide and f41 have debugedit 5.1, which has this fix:

https://sourceware.org/cgit/debugedit/commit/? id=dfe1f7ff30f4e0be538835fca1e6348723ea7aa7

TLDR: if find-debuginfo was run with threads, it would always exit 0,
even if there were errors.

The error in this case (even in f40):

objcopy: unable to copy file '/builddir/build/BUILDROOT/nfs- utils-2.8.1-0.fc40.x86_64/sbin/mount.nfs'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/nfs- utils-2.8.1-0.fc40.x86_64/sbin/mount.nfs'; reason: Permission denied

I think this is because it the install does a:
chmod 4511 mount.nfs
and it cannot read the file, but I am not sure why, as owner should
still have read, so perhaps it's some different related issue, but
debugedit 5.1 seems a likely place to look.
Yeah... Your correct the following patch

diff --git a/utils/mount/Makefile.am b/utils/mount/Makefile.am
index 5ff1148c..83a8ee1c 100644
--- a/utils/mount/Makefile.am
+++ b/utils/mount/Makefile.am
@@ -50,7 +50,7 @@ install-exec-hook:
       ln -sf mount.nfs mount.nfs4 && \
       ln -sf mount.nfs umount.nfs && \
       ln -sf mount.nfs umount.nfs4 && \
-     chmod 4511 mount.nfs )
+     chmod 4711 mount.nfs )

allowed the scratch build to work.... Thanks!!

But when I do a fedpkg local I'm getting
these errors

invalid utf-8 encoding in Classdict: ELF 64-bit LSB shared object, x86-64 [1]

I'm compiling on an update Fedora 41 box.

Any ideas?

tia,

steved.

[1] https://paste.centos.org/view/56056acb


--
_______________________________________________
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




[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