First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 135009
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrej Kacian (RETIRED) <ticho@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 135009 depends on: Show dependency tree
Bug 135009 blocks: 122768
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-31 02:37 0000
Emerge of midnight commander bombs out with "stricter" in FEATURES:

make[2]: Leaving directory `/var/tmp/portage/mc-4.6.1-r1/work/mc-4.6.1/syntax'
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.1-r1/work/mc-4.6.1/syntax'
make[1]: Entering directory `/var/tmp/portage/mc-4.6.1-r1/work/mc-4.6.1'
make[2]: Entering directory `/var/tmp/portage/mc-4.6.1-r1/work/mc-4.6.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/mc-4.6.1-r1/work/mc-4.6.1'
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.1-r1/work/mc-4.6.1'
 * Applying mc-4.6.0-ebuild-syntax.patch ...                                   
  [ ok ]
>>> Completed installing mc-4.6.1-r1 into /var/tmp/portage/mc-4.6.1-r1/image/

man:
gzipping man page: mc.1
gzipping man page: mcedit.1
gzipping man page: mcview.1
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/bin/mc
   usr/bin/mcmfmt
   usr/lib/mc/cons.saver

QA Notice: the following files are setXid, dyn linked, and using lazy bindings
 This combination is generally discouraged.  Try re-emerging the package:
 LDFLAGS='-Wl,-z,now' emerge mc
LAZY usr/lib/mc/cons.saver


!!! ERROR: app-misc/mc-4.6.1-r1 failed.
Call stack:
  misc-functions.sh, line 411:   Called install_qa_check
  misc-functions.sh, line 166:   Called die

!!! Aborting due to QA concerns:  setXid lazy bindings,
!!! If you need support, post the topmost build error, and the call stack if
relevant.

!!! install_qa_check failed; exiting.

------- Comment #1 From Andrej Kacian (RETIRED) 2006-05-31 15:03:17 0000 -------
After poking in bugzilla for bugs for similar issues, I came up with this patch
to fix this:

--- mc-4.6.1-r1.ebuild  3 May 2006 14:47:46 -0000       1.1
+++ mc-4.6.1-r1.ebuild  31 May 2006 22:02:18 -0000
@@ -64,6 +64,9 @@
 src_compile() {
        append-flags -I/usr/include/gssapi

+       # Prevent lazy bindings for +s binary cons.saver (bug #135009)
+       append-ldflags $(bindnow-flags)
+
        filter-flags -malign-double

        local myconf=""

------- Comment #2 From Andrej Kacian (RETIRED) 2006-05-31 15:23:16 0000 -------
Ok, another patch - this time we force necessary LDFLAGS only for cons.saver
binary.

--- mc-4.6.1-r1.ebuild  3 May 2006 14:47:46 -0000       1.1
+++ mc-4.6.1-r1.ebuild  31 May 2006 22:22:34 -0000
@@ -59,6 +59,10 @@
                epatch ${DISTDIR}/${P}-utf8.patch.bz2
        fi
        epatch ${FILESDIR}/${P}-nonblock.patch
+
+       # Prevent lazy bindings in cons.saver binary (bug #135009)
+       sed -i -e "s:^\(cons_saver_LDADD = .*\):\1 $(bindnow-flags):" \
+               src/Makefile.in
 }

 src_compile() {

------- Comment #3 From Emanuele Giaquinta (RETIRED) 2006-06-27 14:33:21 0000 -------
Closing, Ticho fixed it himself a while ago.

First Last Prev Next    No search results available      Search page      Enter new bug