Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
thunderbird-60.0 fails to compile - compiler errors
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
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Wed Aug 15, 2018 12:09 pm    Post subject: thunderbird-60.0 fails to compile - compiler errors Reply with quote

on my up-to-date ~amd64 system mail-client/thunderbird-60.0 fails to compile; end of log:
Code:
 5:14.71 gmake[1]: *** [/var/tmp/portage/mail-client/thunderbird-60.0/work/thunderbird-60.0/config/rules.mk:434: default] Error 2
 5:14.71 gmake[1]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-60.0/work/thunderbird-60.0/tbird'
 5:14.71 gmake: *** [client.mk:168: build] Error 2
 5:14.74 0 compiler warnings present.

full build.log: https://paste.pound-python.org/show/3IiuF8VVtvq3selb7MP9/
emerge --info: https://paste.pound-python.org/show/zol26eUMW4Of6xBdIQ6T/
i re-emerged binutils and gcc, checked bugs.gentoo.org but did not find anything.

i tried to emerge it like this (though i do not think this is related to the compiler errors):
Code:
mail-client/thunderbird-60.0::gentoo [52.9.0::gentoo] USE="crypt minimal startup-notification system-icu system-jpeg system-sqlite -bindist -custom-cflags -custom-optimization -dbus -debug -hardened -lightning -mozdom (-neon) -pulseaudio (-rust) (-selinux) -system-harfbuzz -system-libevent -system-libvpx -wifi (-gtk2%) (-jemalloc%*) (-ldap%) (-system-cairo%)" L10N="de -ar -ast -be -bg -br -ca -cs -cy -da -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -tr -uk -vi -zh-CN -zh-TW (-bn-BD%) (-pa%) (-ta-LK%)"


any ideas how to fix this?
THX.
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


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

PostPosted: Wed Aug 15, 2018 12:26 pm    Post subject: Reply with quote

The error message is in line 3231 of your build.log:
Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: symbol lookup error: []: undefined symbol: rx_additional_link_map_text
collect2: error: ld returned 127 exit status

Could not compile `libloading`.
warning: build failed, waiting for other jobs to finish...

But I don't know how to fix it...
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4555
Location: Germany

PostPosted: Wed Aug 15, 2018 3:03 pm    Post subject: thunderbird-60.0 fails to compile - compiler errors Reply with quote

Hm, builds here successful.

Not sure, but I think
Code:
KiB Mem:     8114400 total,   4608344 free
KiB Swap:          0 total,         0 free
is probably not enough memory for building with MAKEOPTS="-j9"
Please give it a shot with reduced make jobs (I think -j4 should work), or add more swap.

/edit:
DawgG wrote:
DUMM KLICKT GUT.
Na dann klick mal schön in deinem Thunderbird :P
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Wed Aug 15, 2018 3:54 pm    Post subject: Reply with quote

THX for looking so closely!
Quote:
But I don't know how to fix it...

neither do i.
@Josef.95
i am certain it was not OOM, but iLll try with just four makes -j4 anyway (tomorrow).
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Aug 15, 2018 3:57 pm    Post subject: Reply with quote

Actually, I recommend -j1 for troubleshooting, easier to read log.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Wed Aug 15, 2018 6:23 pm    Post subject: Reply with quote

See this topic
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Thu Aug 16, 2018 3:42 pm    Post subject: Reply with quote

THX for all your replies!
@fedeliallalinea: this topic solved it!
binutils-libs was compiled w/out USE="multitarget" while binutils was, so i recompiled binutils-libs with USE="multitarget"
the same error occurred with thunderbird-60.0-r1 but was resolved as stated above.
_________________
DUMM KLICKT GUT.
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