Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 123736
Alias:
Product:
Component:
Status: CLOSED
Resolution: DUPLICATE of bug 114722
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sandro Bonazzola (RETIRED) <sanchan@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
5306-man-1.6c.log portage-log text/plain Sandro Bonazzola (RETIRED) 2006-02-23 10:48 0000 15.65 KB Details
log log text/plain Sandro Bonazzola (RETIRED) 2006-02-25 10:17 0000 15.91 KB Details
log debug log text/plain Sandro Bonazzola (RETIRED) 2006-02-26 01:13 0000 28.63 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 123736 depends on: Show dependency tree
Bug 123736 blocks:
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-02-22 12:16 0000
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 man
LAZY usr/bin/man

LDFLAGS='-Wl,-z,now' emerge man seems to solve the problem, but the ebuild
could be updated to append the LDFLAGS.

------- Comment #1 From SpanKY 2006-02-22 19:29:39 0000 -------
you neglected to post any real info ... this issue was fixed quite a while ago
in the ebuild:
    # use non-lazy binds for man
    append-ldflags $(bindnow-flags)

------- Comment #2 From Sandro Bonazzola (RETIRED) 2006-02-23 10:46:41 0000 -------
# emerge --info
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3,
2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer
-m3dnow "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/java-config/vms/
/etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=" -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer
-m3dnow "
DISTDIR="/home/ftp/distfiles"
FEATURES="autoconfig ccache collision-protect confcache cvs distlocks elog
multilib-strict parallel-fetch sandbox sfperms sign strict stricter test
userpriv"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.osuosl.org/
http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.heanet.ie/pub/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gentoo.ngi.it
http://mirror.switch.ch/ftp/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.utf8"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/migration-overlay
/usr/local/overlays/tinyos /usr/local/overlays/gentoo-java-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib acl acpi alsa apache2 arts asf audiofile avi
berkdb bitmap-fonts bzip2 cairo canvas ccache cdb cdparanoia cdr chroot
cpudetection crypt css cups curl dba dbus dga directfb dlloader dri dts dv dvd
dvdr dvdread dynagraph emboss encode erandom esd exif expat extrafilters fame
ffmpeg firefox flac foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut
gmp gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile
hal idn ieee1394 imagemagick imlib ipv6 ithreads java jbig jikes jpeg jpeg2k
justify kde kdeenablefinal lcms ldap libcaca linuxthreads-tls lm_sensors
logitech-mouse logrotate lzo lzw lzw-tiff mad mailwrapper mbox mdb mhash mikmod
mjpeg mmap mng motif mozsvg mp3 mpeg mpm-worker musicbrainz mysql ncurses nls
nptl nptlonly numeric nvidia odbc offensive ogg on-the-fly-crypt openexr opengl
oss pam pcre pcsc-lite pdf pdflib perl php png povray ppds python qt quicktime
rdesktop readline rtc samba scanner sdl slang smp snmp speex spell ssl
subversion svg sysfs tcltk tcpd test tetex tga theora threads tidy tiff
timidity truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l
v4l2 vcd vda vorbis wmf xcomposite xine xinerama xml2 xmms xpm xscreensaver xv
xvid yv12 zlib elibc_glibc input_devices_mouse input_devices_evdev
input_devices_keyboard kernel_linux linguas_it userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, MAKEOPTS

------- Comment #3 From Sandro Bonazzola (RETIRED) 2006-02-23 10:48:33 0000 -------
Created an attachment (id=80534) [details]
portage-log

if you need any other info feel free to ask.

------- Comment #4 From SpanKY 2006-02-23 11:02:05 0000 -------
looks like you have a broken version of pax-utils ... is it the latest version
?

------- Comment #5 From Sandro Bonazzola (RETIRED) 2006-02-23 11:21:39 0000 -------
# emerge -av pax-utils

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-misc/pax-utils-0.1.10  USE="-caps" 0 kB

It seems to be something related with amd64. In my 32bit chroot with the
following emerge --info there is no trace of the LAZY issue:

# emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r2,
2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -msse2 -fomit-frame-pointer -pipe -fforce-addr
-ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -msse2 -fomit-frame-pointer -pipe -fforce-addr
-ftracer"
DISTDIR="/home/ftp/distfiles"
FEATURES="autoconfig collision-protect confcache cvs distlocks elog
multilib-strict parallel-fetch sandbox sfperms sign strict stricter test
userpriv"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.osuosl.org/
http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.heanet.ie/pub/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gentoo.ngi.it
http://mirror.switch.ch/ftp/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.utf8"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/migration-overlay
/usr/local/overlays/tinyos /usr/local/overlays/gentoo-java-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib acl acpi alsa apache2 apm arts asf audiofile avi
berkdb bitmap-fonts bzip2 cairo canvas ccache cdb cdparanoia cdr chroot
cpudetection crypt css cups curl dba dbus dga directfb dlloader dri dts dv dvd
dvdr dvdread dynagraph emboss encode erandom esd exif expat extrafilters fame
ffmpeg firefox flac foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut
gmp gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile
hal idn ieee1394 imagemagick imlib ipv6 ithreads java jbig jikes jpeg jpeg2k
justify kde kdeenablefinal lcms ldap libcaca libg++ libwww linuxthreads-tls
lm_sensors logitech-mouse logrotate lzo mad mailwrapper mbox mdb mhash mikmod
mjpeg mmap mng motif mozsvg mp3 mpeg mpm-worker musicbrainz mysql ncurses nls
nptl nptlonly numeric nvidia odbc offensive ogg oggvorbis on-the-fly-crypt
openexr opengl oss pam pcre pcsc-lite pdf pdflib perl php png povray ppds
python qt quicktime rdesktop readline rtc samba scanner sdl slang smp snmp
speex spell ssl subversion svg sysfs tcltk tcpd test tetex tga theora threads
tidy timidity truetype truetype-fonts type1-fonts unicode userlocales utf8 v4l
v4l2 vcd vda vorbis wmf xcomposite xine xinerama xml2 xmms xscreensaver xv xvid
yv12 zlib elibc_glibc input_devices_mouse input_devices_evdev
input_devices_keyboard kernel_linux linguas_it userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, MAKEOPTS

------- Comment #6 From SpanKY 2006-02-23 11:33:36 0000 -------
what is the output of:
readelf -d /usr/bin/man
ls -l /usr/bin/man

------- Comment #7 From Sandro Bonazzola (RETIRED) 2006-02-24 11:13:49 0000 -------
(In reply to comment #6)
> what is the output of:
> readelf -d /usr/bin/man

# readelf -d /usr/bin/man

Dynamic section at offset 0xb028 contains 22 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000c (INIT)               0x401568
 0x000000000000000d (FINI)               0x408368
 0x0000000000000004 (HASH)               0x400278
 0x0000000000000005 (STRTAB)             0x400ba8
 0x0000000000000006 (SYMTAB)             0x4004b8
 0x000000000000000a (STRSZ)              593 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x50b1e0
 0x0000000000000002 (PLTRELSZ)           1560 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x400f50
 0x0000000000000007 (RELA)               0x400ec0
 0x0000000000000008 (RELASZ)             144 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW
 0x000000006ffffffe (VERNEED)            0x400e90
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x400dfa
 0x0000000000000000 (NULL)               0x0

> ls -l /usr/bin/man

# ls -l /usr/bin/man
-r-xr-s--x 1 root man 50352  7 feb 20:24 /usr/bin/man

------- Comment #8 From SpanKY 2006-02-24 12:40:41 0000 -------
mmm and what about `scanelf -a /usr/bin/man`

------- Comment #9 From Sandro Bonazzola (RETIRED) 2006-02-25 03:00:03 0000 -------
I'm sorry the previous output comes from a LDFLAGS='-Wl,-z,now' emerge man.
without forcing LDFLAGS I have:

# scanelf -a /usr/bin/man
 TYPE    PAX   STK/REL/PTL TEXTREL RPATH BIND FILE
ET_EXEC ---xe- RW- --- RW-    -      -   LAZY /usr/bin/man

# readelf -d /usr/bin/man

Dynamic section at offset 0xb028 contains 20 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000c (INIT)               0x401568
 0x000000000000000d (FINI)               0x408368
 0x0000000000000004 (HASH)               0x400278
 0x0000000000000005 (STRTAB)             0x400ba8
 0x0000000000000006 (SYMTAB)             0x4004b8
 0x000000000000000a (STRSZ)              593 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x50b1c0
 0x0000000000000002 (PLTRELSZ)           1560 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x400f50
 0x0000000000000007 (RELA)               0x400ec0
 0x0000000000000008 (RELASZ)             144 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x400e90
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x400dfa
 0x0000000000000000 (NULL)               0x0

# ls -l /usr/bin/man
-r-xr-s--x 1 root man 50320 25 feb 11:49 /usr/bin/man


Forcing LDFLAGS I have:

# LDFLAGS='-Wl,-z,now' emerge man

# ls -l /usr/bin/man
-r-xr-s--x 1 root man 50352 25 feb 11:52 /usr/bin/man

# readelf -d /usr/bin/man

Dynamic section at offset 0xb028 contains 22 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000c (INIT)               0x401568
 0x000000000000000d (FINI)               0x408368
 0x0000000000000004 (HASH)               0x400278
 0x0000000000000005 (STRTAB)             0x400ba8
 0x0000000000000006 (SYMTAB)             0x4004b8
 0x000000000000000a (STRSZ)              593 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x50b1e0
 0x0000000000000002 (PLTRELSZ)           1560 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x400f50
 0x0000000000000007 (RELA)               0x400ec0
 0x0000000000000008 (RELASZ)             144 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW
 0x000000006ffffffe (VERNEED)            0x400e90
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x400dfa
 0x0000000000000000 (NULL)               0x0

# scanelf -a /usr/bin/man
 TYPE    PAX   STK/REL/PTL TEXTREL RPATH BIND FILE
ET_EXEC ---xe- RW- --- RW-    -      -   NOW /usr/bin/man

------- Comment #10 From SpanKY 2006-02-25 06:44:48 0000 -------
post the output of `emerge man >& log` then where you *arent* forcing LDFLAGS

------- Comment #11 From Sandro Bonazzola (RETIRED) 2006-02-25 10:17:53 0000 -------
Created an attachment (id=80714) [details]
log

output of `emerge man >& log`.
Should it differ from the portage log I already have attached?

------- Comment #12 From solar 2006-02-25 11:13:05 0000 -------
Looks like it's getting relinked in the instal phase.

>>> Install man-1.6c into /var/tmp/portage/man-1.6c/image/ category sys-apps
cd src; make install
make[1]: Entering directory `/var/tmp/portage/man-1.6c/work/man-1.6c/src'
x86_64-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes 
-march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow  -I.
-DSTDC_HEADERS -DPOSIX -DDO_COMPRESS man-config.c
x86_64-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes 
-march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow  -I.
-DSTDC_HEADERS -DPOSIX -DDO_COMPRESS man-getopt.c
x86_64-pc-linux-gnu-gcc  -o man man.o manfile.o manpath.o man-config.o
man-getopt.o man-iconv.o to_cat.o different.o gripes.o glob.o util.o msg.o  

------- Comment #13 From Sandro Bonazzola (RETIRED) 2006-02-25 12:35:09 0000 -------
It seems so.just adding export BINDNOW_FLAGS=$(bindnow-flags) in src_install
solve the problem for me.

------- Comment #14 From SpanKY 2006-02-25 20:45:25 0000 -------
run this:
MAKEOPTS=-j1 MAKEFLAGS=--debug=b emerge man >& log

------- Comment #15 From Sandro Bonazzola (RETIRED) 2006-02-26 01:13:45 0000 -------
Created an attachment (id=80742) [details]
debug log

output of `MAKEOPTS=-j1 MAKEFLAGS=--debug=b emerge man >& log`

------- Comment #16 From Sandro Bonazzola (RETIRED) 2006-02-26 04:28:34 0000 -------
I have the same issue with kdebase-3.5.1-r2.
in src_compile is present export BINDNOW_FLAGS="$(bindnow-flags)", but I have
the following message:

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 kdebase
LAZY usr/kde/3.5/bin/kcheckpass
LAZY usr/kde/3.5/bin/kdesud

------- Comment #17 From SpanKY 2006-02-26 11:54:30 0000 -------
is your clock screwed up ?

------- Comment #18 From Sandro Bonazzola (RETIRED) 2006-02-27 11:02:59 0000 -------
(In reply to comment #17)
> is your clock screwed up ?
> 

Mmm I don't think so. Maybe there could be issues with AMD64 Cool n Quiet
support that I don't know, but it shouldn't interfere with make.

------- Comment #19 From SpanKY 2006-04-24 22:56:17 0000 -------
do you have tmpfs mounted on /var/tmp/portage ?

------- Comment #20 From Sandro Bonazzola (RETIRED) 2006-04-25 06:14:45 0000 -------
(In reply to comment #19)
> do you have tmpfs mounted on /var/tmp/portage ?
> 

Yes

------- Comment #21 From SpanKY 2006-04-25 06:19:53 0000 -------
thats your answer then

------- Comment #22 From SpanKY 2006-04-25 06:22:25 0000 -------

*** This bug has been marked as a duplicate of 114722 ***

------- Comment #23 From Sandro Bonazzola (RETIRED) 2006-06-30 12:12:09 0000 -------
The resolution of bug #114722 solve this issue. Verfied, works for me.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug