Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 160437

Summary: dev-ruby/redcloth-3.0.4 fails on qa check
Product: Gentoo Linux Reporter: Hanno Zysik (geki) <h.mth>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hanno Zysik (geki) 2007-01-06 12:51:05 UTC
Summary says it.

Reproducible: Always

Steps to Reproduce:
1. emerge =redcloth-3.0.4

Actual Results:  
>>> Emerging (10 of 14) dev-ruby/redcloth-3.0.4 to /
 * RedCloth-3.0.4.gem MD5 ;-) ...                                                                                                                                                                      [ ok ]
 * RedCloth-3.0.4.gem RMD160 ;-) ...                                                                                                                                                                   [ ok ]
 * RedCloth-3.0.4.gem SHA1 ;-) ...                                                                                                                                                                     [ ok ]
 * RedCloth-3.0.4.gem SHA256 ;-) ...                                                                                                                                                                   [ ok ]
 * RedCloth-3.0.4.gem size ;-) ...                                                                                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                 [ ok ]
 * checking RedCloth-3.0.4.gem ;-) ...                                                                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-ruby/redcloth-3.0.4 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/redcloth-3.0.4

>>> Install redcloth-3.0.4 into /var/tmp/portage/dev-ruby/redcloth-3.0.4/image/ category dev-ruby
Successfully installed RedCloth, version 3.0.4
>>> Completed installing redcloth-3.0.4 into /var/tmp/portage/dev-ruby/redcloth-3.0.4/image/

man:
scanelf: Nothing to scan !?
scanelf: Nothing to scan !?


QA Notice: excessive files found in the / partition\a
usr



!!! ERROR: dev-ruby/redcloth-3.0.4 failed.
Call stack:
  misc-functions.sh, line 525:   Called install_qa_check
  misc-functions.sh, line 266:   Called die

!!! static archives (*.a) and libtool library files (*.la) do not belong in /
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! install_qa_check failed; exiting.

Expected Results:  
... to emerge

# emerge --info
Portage 2.1.2_rc4-r5 (default-linux/x86/2006.1, gcc-4.1.1/vanilla, glibc-2.5-r0, 2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.8
Last Sync: Wed, 03 Jan 2007 20:00:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium4 -march=pentium4 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=pentium4 -march=pentium4 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="de ca"
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="/usr/local/portage /usr/local/gentoo-development/migrated-java-experimental-overlay /usr/local/gentoo-development/gcj-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 avi berkdb bitmap-fonts cairo cdr cups dts dvd dvdr dvdread firefox gcj gd gif glx gnome gpm hardenedphp imap imlib ipv6 java jpeg mad mmx mmxext mp3 mpeg mysql nls nvidia ogg oggvorbis opengl pam perl png quicktime readline samba sblive sse sse2 ssl truetype truetype-fonts type1-fonts unicode usb vhosts videos vorbis wmf x86 xface xinerama xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="de ca" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Hans de Graaff gentoo-dev Security 2007-01-06 13:33:29 UTC
I can't seem to reproduce this problem. It would be interesting to know what the contents of the image is when redcloth fails to emerge. Could you attach this info to the bug, e.g. using "cd /var/tmp/portage/redcloth-3.0.4/image/; find . -ls"
Comment 2 Hanno Zysik (geki) 2007-01-06 13:46:27 UTC
mmh, vi/vim 80 char linebreak is really annoying... so as comment, sorry:

Could this be caused by (buggy) ~x86 portage version?

anomalie ~ # cd /var/tmp/portage/dev-ruby/redcloth-3.0.4/image/
anomalie image # find . -ls
804136    4 drwxr-xr-x   3 root     root         4096 Jan  6 14:47 .
804137    4 drwxr-xr-x   4 root     root         4096 Jan  6 14:47 ./usr
804139    4 drwxr-xr-x   3 root     root         4096 Jan  6 14:47 ./usr/lib
804140    4 drwxr-xr-x   3 root     root         4096 Jan  6 14:47 ./usr/lib/ruby
804141    4 drwxr-xr-x   3 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems
804142    4 drwxr-xr-x   7 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8
1540386    4 drwxr-xr-x   2 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/cache
1540400   44 -rw-r--r--   1 root     root        41984 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/cache/RedCloth-3.0.4.gem
1540384    4 drwxr-xr-x   2 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/specifications
1540395    4 -rw-r--r--   1 root     root         1966 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/specifications/RedCloth-3.0.4.gemspec
1540378    4 drwxr-xr-x   2 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/bin
1540382    4 -rwxr-xr-x   1 root     root          412 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/bin/redcloth
1540097    4 drwxr-xr-x   3 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems
1540120    4 drwxr-xr-x   6 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4
1540295    4 drwxr-xr-x   2 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/lib
1540300   36 -rw-r--r--   1 root     root        35859 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/lib/redcloth.rb
1540308    4 drwxr-xr-x   2 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests
1540372    4 -rw-r--r--   1 root     root          423 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/hard_breaks.yml
1540341    8 -rw-r--r--   1 root     root         6754 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/links.yml
1540359    4 -rw-r--r--   1 root     root         4058 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/poignant.yml
1540335   12 -rw-r--r--   1 root     root        11349 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/images.yml
1540364    4 -rw-r--r--   1 root     root          980 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/lists.yml
1540325    4 -rw-r--r--   1 root     root         1804 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/code.yml
1540321   12 -rw-r--r--   1 root     root         9121 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/textism.yml
1540343    4 -rw-r--r--   1 root     root         1974 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/instiki.yml
1540370    8 -rw-r--r--   1 root     root         6341 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/table.yml
1540367    8 -rw-r--r--   1 root     root         5508 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/tests/markdown.yml
1540180    4 drwxr-xr-x   2 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/bin
1540186    4 -rw-r--r--   1 root     root           76 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/bin/redcloth
1540197    4 drwxr-xr-x   2 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/doc
1540286   12 -rw-r--r--   1 root     root        11094 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/doc/REFERENCE
1540252    4 -rw-r--r--   1 root     root         1428 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/doc/COPYING
1540242    8 -rw-r--r--   1 root     root         5659 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/doc/CHANGELOG
1540293   12 -rw-r--r--   1 root     root         9804 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/doc/make.rb
1540260    4 -rw-r--r--   1 root     root         3738 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/doc/README
1540174   32 -rw-r--r--   1 root     root        29666 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/setup.rb
1540176    4 -rw-r--r--   1 root     root          820 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/run-tests.rb
1540392    4 drwxr-xr-x   2 root     root         4096 Jan  6 14:47 ./usr/lib/ruby/gems/1.8/doc
1540403    4 drwxr-xr-x   2 root     root         4096 Jan  6 14:47 ./usr/bin
1540404    4 -rwxr-xr-x   1 root     root          412 Jan  6 14:47 ./usr/bin/redcloth
Comment 3 Hans de Graaff gentoo-dev Security 2007-01-06 14:37:12 UTC
As far as I can tell the image looks fine. 

The QA message you got should trigger when there are libraries located in /lib. Obviously that is not the case here as everything is installed in /usr.

I'm using portage 2.1.1-r2 myself. 

You may want to check the actual QA check (most likely located in /usr/lib/portage/bin/prepall) to see if there is a problem with it.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-06 15:35:10 UTC

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