Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148459 - QA error when emerging php-5.1.4-r6
Summary: QA error when emerging php-5.1.4-r6
Status: RESOLVED DUPLICATE of bug 92776
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 00:01 UTC by Philipp Riegger
Modified: 2006-09-21 00:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Riegger 2006-09-21 00:01:10 UTC
When i emerge php i get the following error:

<quote>
QA Notice: the following files contain runtime text relocations
 Text relocations force the dynamic linker to perform extra
 work at startup, waste system resources, and may pose a security
 risk.  On some architectures, the code may not even function
 properly, if at all.
 For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 Please include this file in your report:
 /var/tmp/portage/php-5.1.4-r6/temp/scanelf-textrel.log
TEXTREL usr/lib/apache2/modules/libphp5.so


!!! ERROR: dev-lang/php-5.1.4-r6 failed.
Call stack:
  misc-functions.sh, line 407:   Called install_qa_check
  misc-functions.sh, line 164:   Called die

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

!!! install_qa_check failed; exiting.
</quote>

chris ~ # ls -lh  /var/tmp/portage/php-5.1.4-r6/temp/scanelf-textrel.log
-rw-r--r-- 1 root portage 13M 2006-09-20 15:42 /var/tmp/portage/php-5.1.4-r6/temp/scanelf-textrel.log

Please tell me if i should upload this file, since it's very big.


emerge --info:
<quote>
Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r10 i686)
=================================================================
System uname: 2.6.16-hardened-r10 i686 Pentium II (Klamath)
Gentoo Base System version 1.12.4
Last Sync: Sat, 16 Sep 2006 01:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks fixpackages parallel-fetch sandbox sfperms strict stricter test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.inode.at/"
LC_ALL="en_US.UTF-8"
LINGUAS=""
MAKEOPTS="-j1 -s"
PKGDIR="/usr/portage/packages/pentium2"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 acl apache2 bash-completion berkdb bzip2 crypt doc elibc_glibc fastcgi gd gdbm howl idn input_devices_evdev input_devices_keyboard input_devices_mouse java jce jpeg kernel_linux maildir mmx mysql ncurses nls nptl pam pcre perl png postgres python readline ruby samba session sqlite3 ssl svg swig tcpd test tetex threads tiff unicode userland_GNU vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xml2 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
</quote>
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 00:08:02 UTC
Recompile with USE="pic" if you care.


*** This bug has been marked as a duplicate of 92776 ***
Comment 2 Philipp Riegger 2006-09-21 00:57:25 UTC
Thanks, sorry for the duplicate