Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267739 - app-arch/rpm-4.4.6-r6 writes to /usr/src!
Summary: app-arch/rpm-4.4.6-r6 writes to /usr/src!
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 07:30 UTC by Manfred Knick
Modified: 2009-04-28 20:22 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 Manfred Knick 2009-04-28 07:30:21 UTC
app-arch/rpm-4.4.6-r6  writes into /usr/src:

# ll -R /usr/src/rpm/
/usr/src/rpm/:
insgesamt 20K
drwxr-xr-x 2 root root 4,0K 27. Apr 14:51 BUILD
drwxr-xr-x 2 root root 4,0K 27. Apr 14:51 RPMS
drwxr-xr-x 2 root root 4,0K 27. Apr 14:51 SOURCES
drwxr-xr-x 2 root root 4,0K 27. Apr 14:51 SPECS
drwxr-xr-x 2 root root 4,0K 27. Apr 14:51 SRPMS

/usr/src/rpm/BUILD:
insgesamt 0

/usr/src/rpm/RPMS:
insgesamt 0

/usr/src/rpm/SOURCES:
insgesamt 0

/usr/src/rpm/SPECS:
insgesamt 0

/usr/src/rpm/SRPMS:
insgesamt 0


# equery list rpm
[I--] [  ] app-arch/rpm-4.4.6-r6 (0)
[I--] [  ] app-arch/rpm2targz-9.0-r7 (0)



Reproducible: Always

Steps to Reproduce:
Comment 1 Manfred Knick 2009-04-28 07:31:15 UTC
(ADDENDUM to comment #0)

$ emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-glibc2.2.5
Timestamp of tree: Tue, 28 Apr 2009 06:45:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native        -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/lib64/fax /usr/share/config /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native        -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LANG="de_DE.UTF8"
LC_ALL="de_DE.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Storage-B/Portage_tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local-overlay"
SYNC="rsync://c3-4-7.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dvb dvd dvdr dvdread eds emboss encode esd evo examples fam ffmpeg firefox firefox3 foomaticdb fortran gdbm gif gimp gnome gphoto2 gpm gstreamer gtk hal hbci htmlhandbook iconv ipv6 isdnlog jadetex java jce jpeg kde ldap libnotify mad maildir mbox midi mikmod mmx mng mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl scanner sdl session spell spl sse sse2 sse3 sse4.1 sse4.2 sse4a sse5 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vorbis webkit xcomposite xml xorg xulrunner xv zlib zvbi" 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FRITZCAPI_CARDS="fcpci" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" MISDN_CARDS="avmfritz" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Manfred Knick 2009-04-28 07:34:45 UTC
> (ADDENDUM to comment #0)

They are _not_ empty:

# lla /usr/src/rpm/*

/usr/src/rpm/BUILD:
-rw-r--r-- 1 root root    0 27. Apr 14:51 .keep_app-arch_rpm-0

/usr/src/rpm/RPMS:
-rw-r--r-- 1 root root    0 27. Apr 14:51 .keep_app-arch_rpm-0

/usr/src/rpm/SOURCES:
-rw-r--r-- 1 root root    0 27. Apr 14:51 .keep_app-arch_rpm-0

/usr/src/rpm/SPECS:
-rw-r--r-- 1 root root    0 27. Apr 14:51 .keep_app-arch_rpm-0

/usr/src/rpm/SRPMS:
-rw-r--r-- 1 root root    0 27. Apr 14:51 .keep_app-arch_rpm-0
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-28 20:22:04 UTC
The ebuild is doing that by intention. I don't know rpm well enough but I guess when you create a package with rpm, it will be put into one of the directories under /usr/src/rpm
So unless you can raise a really good point against the ebuild writing into /usr/src I'd say this bug is INVALID.