View previous topic :: View next topic |
Author |
Message |
prestige787 n00b
Joined: 18 Sep 2021 Posts: 37
|
Posted: Tue Oct 19, 2021 8:00 pm Post subject: sys-devel/automake failing to emerge [solved] |
|
|
I'm trying to do an upgrade and am getting the error in the link below when trying to emerge the newest version sys-devel/automake, which is being pulled in by x11-misc/compose-tables. I can't find anything useful in the error message. I could mask compose-tables but that's probably not the best solution.
Output of emerge: https://pastebin.com/gZKDJFW1
Build log: https://pastebin.com/uPPLhGrg
Output of emerge --info '=sys-devel/automake-1.16.5::gentoo': https://pastebin.com/y3DMP3Vw
Last edited by prestige787 on Thu Oct 21, 2021 1:35 am; edited 1 time in total |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Wed Oct 20, 2021 2:09 am Post subject: |
|
|
The output of "emerge --info" shows a strange uname:
Code: | System uname: Linux-5.14.6-zen1-hubert@prestige-zen-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.33 |
Your uname contains an "@". Where does "@prestige" come from? And why does it contain an "@"?
When you emerged Perl, ext/Errno/Errno_pm.PL was executed to create the file "/usr/lib64/perl5/5.34/x86_64-linux/Errno.pm". Errno_pm.PL writes the "archname" to lines 13 and 14 of Errno.pm.
Lines 13 and 14 of Errno.pm on my machine are:
Code: | "x86_64-linux-5.14.13+" or
die "Errno architecture (x86_64-linux-5.14.13+) does not match executable architecture ($Config{'archname'}-$Config{'osvers'})"; |
Look at lines 13 and 14 of that file on your machine. Do they contain "@prestige"?
Since Perl interprets "@prestige" as an array that needs to be expanded and since @prestige has not been defined earlier, it prints the error messages you posted:
Code: | Global symbol "@prestige" requires explicit package name (did you forget to declare "my @prestige"?) at /usr/lib64/perl5/5.34/x86_64-linux/Errno.pm line 13.
Global symbol "@prestige" requires explicit package name (did you forget to declare "my @prestige"?) at /usr/lib64/perl5/5.34/x86_64-linux/Errno.pm line 14.
Execution of /usr/lib64/perl5/5.34/x86_64-linux/Errno.pm aborted due to compilation errors. |
Fix your archname/uname (remove the @) and reinstall Perl. |
|
Back to top |
|
|
prestige787 n00b
Joined: 18 Sep 2021 Posts: 37
|
Posted: Thu Oct 21, 2021 1:35 am Post subject: |
|
|
Ok, so for some reason I had an @ in my kernel name, removing that fixes the problem, thanks. |
|
Back to top |
|
|
|