Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-devel/automake failing to emerge [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
prestige787
n00b
n00b


Joined: 18 Sep 2021
Posts: 37

PostPosted: Tue Oct 19, 2021 8:00 pm    Post subject: sys-devel/automake failing to emerge [solved] Reply with quote

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
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Oct 20, 2021 2:09 am    Post subject: Reply with quote

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
View user's profile Send private message
prestige787
n00b
n00b


Joined: 18 Sep 2021
Posts: 37

PostPosted: Thu Oct 21, 2021 1:35 am    Post subject: Reply with quote

Ok, so for some reason I had an @ in my kernel name, removing that fixes the problem, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum