Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 142934
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: William Hubbs <williamh@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ryan Hill <dirtyepic@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
brltty-3.7.2-r1.ebuild brltty-3.7.2-r1.ebuild text/plain William Hubbs 2006-08-27 22:46 0000 1.08 KB Details
brltty-3.7.2-nostrip.patch brltty-3.7.2-nostrip.patch patch solar 2006-09-17 16:54 0000 324 bytes Details | Diff
brltty-3.7.2.ebuild brltty-3.7.2.ebuild text/plain solar 2006-09-17 16:55 0000 1.23 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 142934 depends on: Show dependency tree
Bug 142934 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-08-05 17:06 0000
QA Notice: pre-stripped files found:
/var/tmp/portage/brltty-3.7.2/image/bin/brltty
/var/tmp/portage/brltty-3.7.2/image/bin/xbrlapi
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttysfv.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybeu.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttyscb.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybfs.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttyses.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybvr.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybcb.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybbd.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybtn.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttysgs.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybvo.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybht.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybbn.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybmd.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttysal.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttyxsc.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybat.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybba.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybmn.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybbm.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybvd.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybxw.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybts.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybpm.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttyxlx.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybal.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybmb.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybvs.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybbl.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttyxas.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttyblt.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttysbl.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybec.so
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybtt.so
/var/tmp/portage/brltty-3.7.2/image/lib/libbrlapi.so.0.4.1
strip: i686-pc-linux-gnu-strip --strip-unneeded
   lib/libbrlapi.a

QA Notice: excessive files found in the / partition
/var/tmp/portage/brltty-3.7.2/image/lib/libbrlapi.a
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH
'../../Programs' in
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybba.so
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH
'../../Programs' in
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybba.so



root@kali ~ # emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4,
2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
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-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect digest distlocks fixpackages
metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/
ftp://cs.ubishops.ca/pub/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/home/dirtyepic/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa audiofile berkdb blas bzip2 cdparanoia cdr crypt
curl dbus dri dts dvd dvdr dvdread eds encode expat fam ffmpeg firefox flac
fortran gd gdbm gif glut gmp gnome gnutls gpm graphviz gstreamer gtk hal
imagemagick imlib java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms
logrotate mad mikmod mmap mmx mng mono mp3 mpeg mpi ncurses nptl nsplugin ogg
opengl pam pdf perl pic png python qt3 quicktime readline ruby sdl sndfile snmp
spell sqlite sse sse2 ssl svg symlink tcl tcltk tcpd theora threads tiff tk
truetype urandom usb vcd vorbis win32codecs wmf wxwindows xcomposite xine xml
xosd xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard
kernel_linux linguas_en linguas_en_US linguas_en_GB userland_GNU
video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From William Hubbs 2006-08-23 20:31:30 0000 -------
I am working on a revision bump to resolve these issues.  I have resolved the
pre-stripped files issue; however, I still get the following messages:

QA Notice: excessive files found in the / partition
/var/tmp/portage/brltty-3.7.2/image/lib/libbrlapi.a
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH
'../../Programs' in
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybba.so
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH
'../../Programs' in
/var/tmp/portage/brltty-3.7.2/image/lib/brltty/libbrlttybba.so

Can anyone suggest how to resolve these?

------- Comment #2 From William Hubbs 2006-08-27 22:46:10 0000 -------
Created an attachment (id=95243) [details]
brltty-3.7.2-r1.ebuild

This is the revision bump ebuild that I have so far.  It resolves the
pre-stripped binary issue, but I'm not sure how to resolve the others.  Can
someone please comment on the bug and point me in the right direction for this?

------- Comment #3 From solar 2006-09-17 16:54:10 0000 -------
Created an attachment (id=97288) [details]
brltty-3.7.2-nostrip.patch

Attached are how I work around the strip and rpath problem. 

This QA check is new to me. 
I have see/understand what it really means before I can attach a fix for it.
QA Notice: excessive files found in the / partition
/var/tmp/portage/brltty-3.7.2/image/lib/libbrlapi.a

------- Comment #4 From solar 2006-09-17 16:55:04 0000 -------
Created an attachment (id=97289) [details]
brltty-3.7.2.ebuild

And the ebuild part which fixes/works around the rpath problems.

------- Comment #5 From solar 2006-09-17 16:58:33 0000 -------
Note: for the rpath part. scanelf is now provided by the base system and is
required for portage for all but osx. 
Due to there being no osx keywords I did not add an explicit depend upon
scanelf.

------- Comment #6 From solar 2006-09-17 17:11:31 0000 -------
Here we go.. To fix the other QA problem add an inherit multilib

and in the src_install something like this after the make install/scanelf,

        libdir="$(get_libdir)"
        mkdir -p ${D}/usr/${libdir}/
        mv ${D}/${libdir}/*.a ${D}/usr/${libdir}/

------- Comment #7 From William Hubbs 2006-09-20 06:01:54 0000 -------
This is now resolved.  Thanks, Solar, for the patches.

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