Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 639844

Summary: dev-embedded/scratchbox2-2.0-r1: removal (was: ld: -r and -pie may not be used together)
Product: Gentoo Linux Reporter: Nico Baggus <mlspamcb>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, mgorny, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard: Pending removal: 2018-12-11
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 642232    

Description Nico Baggus 2017-12-04 20:57:01 UTC
During emerge -e @world scratchbox2-2.0-r1 failes with:

[CC] preload/libsb2.o
In file included from preload/libsb2.h:79:0,
                 from preload/libsb2.c:35:
preload/libsb2.c: In function ‘sbox_find_next_symbol’:
preload/libsb2.c:868:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    fn_name, (int)fn_ptr);
             ^
/var/tmp/portage/dev-embedded/scratchbox2-2.0-r1/work/sbox2-2.0/include/sb2.h:109:32: note: in definition of macro ‘SB_LOG’
     __FILE__, __LINE__, level, __VA_ARGS__); \
                                ^~~~~~~~~~~
[CC] preload/sb_exec.o
[CC] preload/sb_l10n.o
[CC] utils/sb2-show.o
[LD] utils/sb2-monitor
[ARCHIVE] luaif/libluaif.a
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/dev-embedded/scratchbox2-2.0-r1/work/sbox2-2.0/llbuild/Makefile.include:85: luaif/libluaif.a] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-embedded/scratchbox2-2.0-r1/work/sbox2-2.0'

emerge -e @world BEFORE eselect profile for Gentoo 17 (2 weeks ago) was successful.
Comment 1 Nico Baggus 2017-12-04 20:58:06 UTC
-pie is enforced in Gentoo 17 according to related news article.
Comment 2 Pacho Ramos gentoo-dev 2018-07-13 10:38:31 UTC
still fails to build
Comment 3 Larry the Git Cow gentoo-dev 2018-12-11 13:45:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1153343b2b76dc5478c5db5d28542696162414c

commit b1153343b2b76dc5478c5db5d28542696162414c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-12-11 13:42:08 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-11 13:45:19 +0000

    dev-embedded/scratchbox2: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/639844
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-embedded/scratchbox2/Manifest                  |  1 -
 .../files/scratchbox2-2.0-as-needed.patch          | 22 ------
 .../scratchbox2/files/scratchbox2-2.0-gentoo.patch | 88 ----------------------
 .../files/scratchbox2-2.0-glibc-2.10.patch         | 39 ----------
 .../files/scratchbox2-2.0-use-system-lua.patch     | 77 -------------------
 dev-embedded/scratchbox2/metadata.xml              |  8 --
 dev-embedded/scratchbox2/scratchbox2-2.0-r1.ebuild | 60 ---------------
 profiles/package.mask                              |  4 -
 8 files changed, 299 deletions(-)