Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87319 - dev-libs/boost-1.31.0 have over 50MB of debugging info (which I don't want)
Summary: dev-libs/boost-1.31.0 have over 50MB of debugging info (which I don't want)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Disenchanted (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 12:15 UTC by Honza
Modified: 2005-04-20 09:28 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 Honza 2005-03-30 12:15:33 UTC
dev-libs/boost-1.31.0 install over 60MB of libraries. While most shared libraries are stripped, most or all static libraries is not. Applying strip --strip-debug to them reduced libraries size to 13MB.

Reproducible: Always
Steps to Reproduce:
1. emerge boost


Actual Results:  
All space on hardisk is filled and install fail ... ok, thats not reproducible. 

/usr/lib/*boost* have over 60MB, because static libraries is not debugstripped.

Expected Results:  
/usr/lib/*boost* should have around 13MB.

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.2, glibc-2.3.2-r9,
2.6.10-gentoo-r6-32 i686)
=================================================================
System uname: 2.6.10-gentoo-r6-32 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.3 [2.3.3 (#1, May  5 2004, 21:35:16)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.4.3-r3, 1.5.2-r7
virtual/os-headers:  2.4.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/Gentoo64/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X Xaw3d aalib alsa apache2 apm arts avi berkdb bitmap-fonts
caps cdr crypt cups curl dga directfb doc dvd encode esd f77 fbcon flac
font-server foomaticdb fortran gd gdbm ggi gif gnome gpm gtk gtk2 imagemagick
imlib innodb ipv6 java jpeg lcms lesstif libcaca libg++ libwww lirc mad
mailwrapper mbox mcal memlimit mikmod mmx mmx2 mng motif mozilla mpeg multislot
mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba sdl slang snmp spell sqlite sse ssl svga tcpd tetex theora tiff
truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vhosts videos wmf x86
xml xml2 xmms xosd xv xvid zlib"
Unset:  LDFLAGS
Comment 1 Disenchanted (RETIRED) gentoo-dev 2005-03-31 18:15:56 UTC
merge boost-1.32.0-r1 please, im not planning on fixing the ebuild i inherited, sorry, 1.32.0 is current on boost.org, rather try that, thank you for your understanding
Comment 2 Honza 2005-04-01 07:10:08 UTC
That's even WORSE - 148,439,947b of /usr/lib/*boost* before strip, 44,955,153 after strip --strip-debug. You think I can get free HDD's in breakfast cereal box ? Can you make for example serialization (biggest of new libraries) USE-dependent ? After you repair this static_libraries_not_stripped bug, of course.
Comment 3 Disenchanted (RETIRED) gentoo-dev 2005-04-13 16:39:17 UTC
while i work on USE=debug, i would appreciate it if you could provide me with your 'emerge info'

thanks in advance
Comment 4 Honza 2005-04-13 17:07:57 UTC
Eh ? I already filled it when I reported this bug and it's still on this page ... but if you wish ...

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.2, glibc-2.3.4.20040808-r1, 2.4.28-gentoo-r5 i686)
=================================================================
System uname: 2.4.28-gentoo-r5 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 21:46:28)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.5, 1.9.4, 1.6.3, 1.4_p6
sys-devel/binutils:  2.14.90.0.8-r1, 2.15.92.0.2-r7
sys-devel/libtool:   1.4.3-r4, 1.5.2-r7
virtual/os-headers:  2.4.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /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/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X Xaw3d aalib afs alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts caps cdr crypt cups curl dga divx4linux doc dvd emboss encode erandom esd flac foomaticdb fortran fpx gcj gd gdbm ggi gif gpm graphviz gtk gtk2 imagemagick imlib innodb ipv6 java jbig jpeg lcms lesstif libcaca libg++ libwww live lzo mad mailwrapper mbox mcal memlimit mikmod mmx mng motif mozilla mp3 mpeg multislot multitarget mysql ncurses network nls ogg oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline real samba sdl slang snmp spell sqlite sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vhosts videos vorbis wmf xml xml2 xmms xosd xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

... hmmm ... I see my first info is from another computer, that one where I workarounded it by stripping libraries by hand in middle of emerge. This is that one where I tried boost-1.32.0-r1.
Comment 5 Disenchanted (RETIRED) gentoo-dev 2005-04-13 17:51:43 UTC
default-linux/x86/2004.0 also wouldnt be supported in anyway, on a amd64 even more so
Comment 6 Honza 2005-04-14 03:49:33 UTC
I have 2004.3 on amd64 x86_64.

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.10-gentoo-r6-32 i686) is i386 partition. That is meaning of that i686, you know ?

Anyway, I see NO relation between profile and this bug. At least 2004.* and 2005.0 is not that different. Upgrade from 2004.0 to 2005.0 on that Duron was only change of symlink, no package upgrade was nessesary.
Comment 7 Disenchanted (RETIRED) gentoo-dev 2005-04-14 17:18:46 UTC
ok, im working towards something that installs about 6.2MB libs here, no debug libs, no threading, then via USE flags add debug libs and threaded libs as needed
give me a little while and this should certainly suit any need

Comment 8 Disenchanted (RETIRED) gentoo-dev 2005-04-14 17:30:57 UTC
http://dev.gentoo.org/~morfic/boost-1.32.0-r1.ebuild if you would be so kind to test this on your system, total work in progress -sBUILD="release" hardcoded later done per USE flags
Comment 9 Honza 2005-04-15 15:03:20 UTC
OK, downloaded and tried ... result:

Ranlib bin/boost/libs/test/build/libboost_unit_test_framework.a/gcc/release/libboost_unit_test_framework.a
...updated 299 targets...
...patience...
...patience...
...found 6914 targets...
>>> Test phase [not enabled]: dev-libs/boost-1.32.0-r1

>>> Install boost-1.32.0-r1 into /var/tmp/portage/boost-1.32.0-r1/image/ category dev-libs
cp: cannot stat `c*': No such file or directory

!!! ERROR: dev-libs/boost-1.32.0-r1 failed.
!!! Function src_install, Line 123, Exitcode 1
!!! failed to
                install docs
!!! If you need support, post the topmost build error, NOT this status message.
Comment 10 Disenchanted (RETIRED) gentoo-dev 2005-04-15 16:47:08 UTC
ok funtionally im near done, from here on out there will be only minor cleanups
sorry you caught the one with the added || die before the c* was removed from the cp line

this one used with 'emerge boost' should certainly suit your size needs

everyone else will have to make use of addin USE flags till they get their threaded and or debug libraries to work with

Comment 11 Disenchanted (RETIRED) gentoo-dev 2005-04-19 21:17:22 UTC
boost-1.32.0-r2 is in portage
the result shoud please

wait 35 minutes then sync
USE=-debug emerge boost
Comment 12 Honza 2005-04-20 09:28:07 UTC
Much better & monotone still work.