Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Motif compile fails
Date: Tue, 31 Aug 2021 11:58:54
Message-Id: YS4ZcNLS6M5CTHKP@ca.inter.net
In Reply to: [gentoo-user] Re: Motif compile fails by nunojsilva@ist.utl.pt
1 210831 Nuno Silva wrote:
2 > On 2021-08-28, Philip Webb wrote:
3 >> As part of updating to the latest stable Xscreensaver,
4 >> I tried to emerge its requirement Motif, which failed with this message :
5 >[...]
6 >> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
7 >> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libfl.a(libmain.o):
8 >> relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be
9 >> used when making a PIE object; recompile with -fPIE
10 >> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
11 >> final link failed: bad value
12 >> collect2: error: ld returned 1 exit status
13 >> make: *** [Makefile:502: wmluiltok] Error 1
14 >> make: Leaving directory
15 >> '/var/tmp/portage/portage/x11-libs/motif-2.3.8-r2/work/motif-2.3.8-abi_x86_64.amd64/tools/wml'
16 >> * ERROR: x11-libs/motif-2.3.8-r2::gentoo failed (compile phase):
17 >> * emake failed
18 >> -- end of Portage output --
19 > As the error involves libfl.a, from sys-devel/flex,
20 > I'd try rebuilding that package.
21 > See bug https://bugs.gentoo.org/show_bug.cgi?id=583842
22
23 Thanks a lot : I was afraid no-one would reply.
24
25 Yes, that worked & I've gone on to emerge the latest Xscreensaver-6.01-r3 ,
26 which has restored 'xscreensaver-settings' (was '-demo'),
27 so I can finally suppress a couple of really ugly screensavers !
28
29 I did check Bugs for 'motif',
30 but the bug above dates from 2016, so it didn't turn up in my search.
31
32 --
33 ========================,,============================================
34 SUPPORT ___________//___, Philip Webb
35 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
36 TRANSIT `-O----------O---' purslowatchassdotutorontodotca