Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153974 - rpm-4.4.6-r2 and rpm-4.4.7 are broken.
Summary: rpm-4.4.6-r2 and rpm-4.4.7 are broken.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sandro Bonazzola (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-03 16:20 UTC by arohner
Modified: 2007-01-22 09:21 UTC (History)
2 users (show)

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 arohner 2006-11-03 16:20:20 UTC
rpm-4.4.6-r2 and rpm-4.4.7 are broken. 

arohner@positron /work6/arohner/tscale/tarballs $ sudo rpm -ivh jdk-1_5_0_07-linux-amd64.rpm
rpm: rpmds.c:154: rpmdsDupArgv: Assertion `argv[ac] != ((void *)0)' failed.
Aborted

arohner@positron $ rpm -q --filesbypkg -l -p jdk-1_5_0_07-linux-amd64.rpm
(contains no files)
arohner@positron $ rpm --version
RPM version 4.4.7

the jdk rpm came from sun's official website. The same rpm on an older version of gentoo works just fine:

arohner@electron /tmp $ rpm -q --filesbypkg -l -p jdk-1_5_0_07-linux-amd64.rpm
jdk                       /usr/java/jdk1.5.0_07/COPYRIGHT
jdk                       /usr/java/jdk1.5.0_07/LICENSE
jdk                       /usr/java/jdk1.5.0_07/README.html
jdk                       /usr/java/jdk1.5.0_07/THIRDPARTYLICENSEREADME.txt
jdk                       /usr/java/jdk1.5.0_07/bin
jdk                       /usr/java/jdk1.5.0_07/bin/appletviewer
jdk                       /usr/java/jdk1.5.0_07/bin/apt
jdk                       /usr/java/jdk1.5.0_07/bin/extcheck
jdk                       /usr/java/jdk1.5.0_07/bin/idlj
jdk                       /usr/java/jdk1.5.0_07/bin/jar
jdk                       /usr/java/jdk1.5.0_07/bin/jarsigner
jdk                       /usr/java/jdk1.5.0_07/bin/java
jdk                       /usr/java/jdk1.5.0_07/bin/javac
<snip>
Comment 1 arohner 2006-11-06 08:34:41 UTC
arohner@positron /work6 $ sudo emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.19 x86_64)
=================================================================
System uname: 2.6.16.19 x86_64 AMD Opteron(tm) Processor 265
Gentoo Base System version 1.12.5
Last Sync: Tue, 31 Oct 2006 19:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-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/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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip X alsa apache2 apm arts automount avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cgi cli cracklib crosscompile crypt cups dbus dlloader doc dri dvd dvdr eds elibc_glibc emacs emacs-w3 emboss encode esd examples fam firefox fortran gcj gdbm gif gnome gpm gstreamer gtk gtk2 hal hardened iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg kde kerberos kernel_linux ldap libg++ logrotate mad mail mikmod mime mp3 mpeg mysql ncurses nls nptl nptlonly ogg openssl oss pam pcre pdflib perl png postgres ppds pppd python qt3 qt4 quicktime readline reflection samba sdl server session spell spl ssl subversion svg svgz swat syslog tcpd threads truetype truetype-fonts type1-fonts udev unicode unzip userland_GNU 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_i810 video_cards_mga video_cards_neomagic 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 vim vnc vncviewer vorbis web xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2006-11-06 11:53:46 UTC
It seems that rpm is broken more than I thought. Let me try to have at least one version working.
Comment 3 Steve Bishop 2006-11-21 18:18:49 UTC
Seeing same behavior here, with all of the RPMs included with Sun's StarOffice 8 release and patches(120184-07). Same behavior as originally described:
#rpm -q --filesbypkg -l -p staroffice-core01-8.0.4-5.i586.rpm
(contains no files)
#rpm --version
RPM version 4.4.6
Issuing same commands with rpm v4.2, also Gentoo, gives a correct listing with the same RPMs. I've reproduced the problem on 2 separate systems.
Comment 4 Sandro Bonazzola (RETIRED) gentoo-dev 2006-11-22 10:47:10 UTC
It works fine fo me with app-arch/rpm-4.4.7-r1. I'll try to reproduce your errors but I need some time. Steve, can you attach your emerge --info for your 2 separate systems?

$ emerge -pv rpm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-arch/rpm-4.4.7-r1  USE="nls perl python -doc -sqlite" 0 kB

$ rpm --version
RPM version 4.4.7

$ rpm -q --filesbypkg -l -p tinyos-2.0.0-2.noarch.rpm |head -n 10
tinyos                    /opt/tinyos-2.x
tinyos                    /opt/tinyos-2.x/README
tinyos                    /opt/tinyos-2.x/apps
tinyos                    /opt/tinyos-2.x/apps/BaseStation
tinyos                    /opt/tinyos-2.x/apps/BaseStation/BaseStationC.nc
tinyos                    /opt/tinyos-2.x/apps/BaseStation/BaseStationP.nc
tinyos                    /opt/tinyos-2.x/apps/BaseStation/Makefile
tinyos                    /opt/tinyos-2.x/apps/BaseStation/README
tinyos                    /opt/tinyos-2.x/apps/BaseStation/README.txt
tinyos                    /opt/tinyos-2.x/apps/BaseStationCC2420

$ emerge --info
Portage 2.1.2_rc2-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.6
Last Sync: Wed, 22 Nov 2006 17:50:02 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -march=athlon64 -Os -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS=" -march=athlon64 -Os -pipe "
DISTDIR="/home/ftp/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="autoconfig ccache collision-protect cvs distlocks elog java-strict metadata-transfer multilib-strict sandbox sfperms sign strict stricter test userfetch userpriv"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LINGUAS="it"
PKGDIR="/home/ftp/packages"
PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=400 --progress "
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/overlays/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac acl acpi alsa amr aoss apache2 arts asf audiofile avahi bash-completion berkdb bitmap-fonts bl bzip2 cairo canvas caps ccache cdb cddb cdparanoia cdr chroot cli cpudetection cracklib crypt css cups curl dba dbus devhelp dga directfb djvu dlloader dmi dri dts dv dvd dvdr dvdread dynagraph elibc_glibc encode erandom esd exif expat extrafilters fame ffmpeg firefox flac fltk foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gtk gtkhtml guile hal howl-compat iconv idn ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads java javacomm jbig jikes jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility kernel_linux lcms ldap libcaca libg++ libnotify linguas_it linuxthreads-tls lm_sensors logitech-mouse logrotate lzo mad mailwrapper matroska mbox mdb mhash mikmod mjpeg mmap mng motif mozdevelop mozsvg mp3 mpeg mpm-worker msn musepack musicbrainz mysql ncurses nfs nls nptl nptlonly nsplugin numeric nvidia odbc offensive ogg on-the-fly-crypt openexr opengl oss pam pcre pdf perl php png povray ppds pppd pulseaudio python qa qt3 qt4 quicktime rdesktop readline reflection restrict-javascript rtc samba scanner sdl session slang smime smp sndfile snmp speex spell spl ssl startup-notification subversion svg sysfs syslog tcltk tcpd test tetex tga theora threads tidy tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utempter utf8 v4l v4l2 vcd vda video_cards_nv video_cards_nvidia vorbis vorbis-psy wma wmf wmp xcomposite xforms xine xinerama xml xml2 xorg xpm xscreensaver xv xvid xvmc yv12 zeroconf zlib"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS
Comment 5 Steve Bishop 2006-11-22 13:01:22 UTC
System 1:
# rpm --version
RPM version 4.4.7
# rpm -q --filesbypkg -l -p staroffice-writer-8.0.3-7.i586.rpm
rpm: --filesbypkg: unknown option
# rpm -q -l -p staroffice-writer-8.0.3-7.i586.rpm
(contains no files)
# emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 21 Nov 2006 17:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer"
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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aim alsa apache2 apm arts berkdb bitmap-fonts bluetooth cdr cli cracklib crypt cups dlloader dri dvd dvdr eds elibc_glibc emboss encode esd flac foomaticdb fortran freetype gdbm gif gpm gstreamer gtk gtk2 iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kerberos kernel_linux ldap libg++ libwww mad mikmod mmx motif mp3 mpeg musicbrainz mysql ncurses nls nodrm nptl nptlonly ogg opengl oss pam pcre pda perl png ppds pppd python qt qt3 qt4 quicktime readline reflection reiserfs samba sdl session smime spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev usb userland_GNU v4l video_cards_i810 video_cards_nvidia visualization vorbis wifi win32codecs xine xinerama xml xorg xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Steve Bishop 2006-11-22 13:08:39 UTC
Note the different behavior w/r/t the filesbypkg option. On system 1, rpm v4.4.7, it was an unknown option. Here, it is a valid option but returns no files.

System 2:
# rpm --version
RPM version 4.4.6
# rpm -q --filesbypkg -l -p staroffice-writer-8.0.4-5.i586.rpm
(contains no files)
# rpm -q -l -p staroffice-writer-8.0.4-5.i586.rpm
(contains no files)
# emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: 2.6.16-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 11 Nov 2006 19:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
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 /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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aim alsa apache2 apm arts asf audiofile berkdb bitmap-fonts bluetooth cdparanoia cli cracklib crypt cups dga dlloader dri dvd dvdr eds elibc_glibc emboss encode esd flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ libwww lirc lirc_devices_hauppauge mad mikmod mjpeg motif mp3 mpeg musicbrainz mysql ncurses nls nodrm nptl ogg oggvorbis opengl oss pam pcre pda perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection scanner sdl session speex spell spl ssl tcpd theora threads timidity truetype truetype-fonts type1-fonts udev usb userland_GNU v4l video_cards_i810 video_cards_nvidia visualizations vorbis wifi win32codecs xine xml xorg xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Sandro Bonazzola (RETIRED) gentoo-dev 2006-11-23 12:14:44 UTC
(In reply to comment #5)
> System 1:
> # rpm --version
> RPM version 4.4.7
> # rpm -q --filesbypkg -l -p staroffice-writer-8.0.3-7.i586.rpm
> rpm: --filesbypkg: unknown option
> # rpm -q -l -p staroffice-writer-8.0.3-7.i586.rpm
> (contains no files)

> ACCEPT_KEYWORDS="x86"

Mmmm 4.4.7 is ~x86 if you're running x86 I can suppose you're using x86 popt and beecrypt.

In that case, can you try keywording ~x86 popt and beecrypt and reemerge those packages and rpm itself?

Comment 8 Sandro Bonazzola (RETIRED) gentoo-dev 2006-11-23 12:16:11 UTC
(In reply to comment #1)


> ACCEPT_KEYWORDS="amd64"

Same test here please, try keywording ~amd64 popt, beecrypt and rpm and reemerge them.
Comment 9 Steve Bishop 2006-11-27 13:49:14 UTC
(In reply to comment #7)

After updating popt,beecrypt,rpm to ~x86, still seeing odd behaviour:

triton RPMS # emerge -pv popt beecrypt rpm

to comment #7,

System 1:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/popt-1.10.4-r3  USE="nls" 0 kB
[ebuild   R   ] dev-libs/beecrypt-4.1.2-r1  USE="java python -nocxx -threads" 0 kB
[ebuild   R   ] app-arch/rpm-4.4.7-r1  USE="nls perl python -doc -sqlite" 0 kB

# rpm -q --filesbypkg -l -p staroffice-core01-8.0.0-124.i586.rpm
rpm: --filesbypkg: unknown option
# rpm -q  -l -p staroffice-core01-8.0.0-124.i586.rpm
(contains no files)
Comment 10 Sandro Bonazzola (RETIRED) gentoo-dev 2007-01-16 22:14:11 UTC
Please unmask =app-arch/rpm-4.4.7-r2 and test it on your system.
Comment 11 Steve Bishop 2007-01-18 22:04:35 UTC
(In reply to comment #10)

Done, same results:
rpm -q --filesbypkg -l -p staroffice-base-8.0.3-7.i586.rpm
(contains no files)

It occurs to me that both the Java and StarOffice packages showing this problem were packaged by Sun. I grabbed an rpm from freshrpms, that worked fine:
rpm -q --filesbypkg -l -p gaim-encryption-2.38-2.fc4.i386.rpm
warning: gaim-encryption-2.38-2.fc4.i386.rpm: Header V3 DSA signature: NOKEY, key ID e42d547b
gaim-encryption           /usr/lib/gaim
gaim-encryption           /usr/lib/gaim/encrypt.so
gaim-encryption           /usr/share/doc/gaim-encryption-2.38
gaim-encryption           /usr/share/doc/gaim-encryption-2.38/CHANGELOG
gaim-encryption           /usr/share/doc/gaim-encryption-2.38/COPYING

So I guess the real question is, what it is about Sun's rpms that isn't compatible with this build? rpm2targz works fine against Sun's rpms....
Comment 12 Sandro Bonazzola (RETIRED) gentoo-dev 2007-01-22 09:21:37 UTC
(In reply to comment #11)

> So I guess the real question is, what it is about Sun's rpms that isn't
> compatible with this build? rpm2targz works fine against Sun's rpms....

Quoting Jeff Johnson <n3npq.jbj@gmail.com> in Rpm-devel mailing list:
[quote]
Sun is still packaging with rpm-3.0.4, rpm-4.4.7 has dropped (after like 4 years)
support for *.rpm packages produced by rpm-3.0.x for many reasons, not the
least of which is that header+payload signature verification is extremely expensive
and unsigned *.rpm packages produced by rpm-3.0.x are exploitable.

A converter can be written, re-adding a couple of routines will resurrect the functionality
in rpm-4.4.7, or use rpm-4.4.6 as a starting point 
[/quote]

So if you want to use sun's rpm with rpm-4.4.x you need to convert them to the new format or use an older version of rpm. It's not a rpm 4.4.x bug.