Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141759 - gawk-3.1.5-r1 (and all other versions as well!) emerge fails
Summary: gawk-3.1.5-r1 (and all other versions as well!) emerge fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 00:13 UTC by Vasilij K. Savin
Modified: 2007-01-17 19:45 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 Vasilij K. Savin 2006-07-26 00:13:07 UTC
>>> Emerging (1 of 5) sys-apps/gawk-3.1.5-r1 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking gawk-3.1.5.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking gawk-3.1.5.tar.gz to /var/tmp/portage/gawk-3.1.5-r1/work
cp: setting attribute `security.selinux' for `/var/tmp/portage/gawk-3.1.5-r1/work/filefuncs': Operation not permitted

!!! ERROR: sys-apps/gawk-3.1.5-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_unpack
  ebuild.sh, line 711:   Called src_unpack
  gawk-3.1.5-r1.ebuild, line 26:   Called die

!!! cp failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

I tried to compile with and without ~x86 mask, rsync'ed portage, run revdep-rebuild, recompiled coreutils - without success!

My emerge --info:

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4ws i686)
=================================================================
System uname: 2.6.17-gentoo-r4ws i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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-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="-mtune=pentium4 -march=pentium4 -O2 -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -pipe -DHAVE_SNPRINTF=1"
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/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=pentium4 -march=pentium4 -O2 -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -pipe -DHAVE_SNPRINTF=1 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en lt ru"
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 /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X X509 aac acl acpi alsa apache2 apm arts asf atm audiofile avi berkdb bitmap-fonts bluetooth bzip2 caps cdparanoia cdr chroot cli crypt cups curl dba dga divx4linux dmx dri dts dv dvd dvdread eds emboss encode esd exif fam ffmpeg flac flash font-server foomaticdb fpx gdbm gif gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 idn imlib ipv6 irda isdnlog ithreads jack java jbig jpeg kde lcms libg++ libwww lirc live lm_sensors logrotate lzo mad mailbox mailwrapper mbox md5sum mikmod milter mmx motif mozilla mp3 mpeg mythtv nas ncurses netboot nethack network nls nptl nsplugin nvidia ogg oggvorbis opengl oss pam pcre pda pdflib perl png pnp ppds pppd pthreads python qt qt3 qt4 quicktime readline real reflection rtc samba scanner sdl serial session skey slp sms sndfile snmp socks5 speex spell spl sse sse2 ssh ssl svg svga sysfs tcltk tcpd tga theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vidix vorbis win32codecs wmf xanim xine xinerama xinetd xml xml2 xmms xorg xprint xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_lt linguas_ru userland_GNU video_cards_mach64 video_cards_nv video_cards_nvidia video_cards_r128 video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-26 02:47:43 UTC
Eh, are you using selinux? (You definitely should not, according to your profile/use flags).
Comment 2 Vasilij K. Savin 2006-07-26 03:49:02 UTC
(In reply to comment #1)
> Eh, are you using selinux? (You definitely should not, according to your
> profile/use flags).
> 

No, I don't! 
BWT: I can't understand why it mentioned about the selinux!

P.S. As a temporary workaround I copied gawk binary from another x86 box.
Comment 3 SpanKY gentoo-dev 2006-07-30 16:26:49 UTC
not gawk specific
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 09:11:03 UTC
Post the output of mount.
Comment 5 Vasilij K. Savin 2006-07-31 22:31:52 UTC
(In reply to comment #4)
> Post the output of mount.
> 
Here you are:

/dev/md/0 on / type ext3 (rw,noatime)
none on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/mapper/sys-usr on /usr type ext3 (rw,noatime)
/dev/mapper/sys-var on /var type ext3 (rw,noatime)
/dev/mapper/sys-log on /var/log type reiserfs (rw,noatime)
/dev/mapper/sys-opt on /opt type ext3 (rw,noatime)
/dev/mapper/sys-tmp on /tmp type ext2 (rw,noatime)
/dev/mapper/sys-home on /home type ext3 (rw,noatime)
/dev/mapper/sys-portage on /var/tmp/portage type reiserfs (rw,noatime)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 23:16:16 UTC
If you unmount /var/tmp/portage and place PORTAGE_TMPDIR on /var partition - can you still reproduce the problem? And, what if you reformat /var/tmp/portage to ext3?
Comment 7 Vasilij K. Savin 2006-07-31 23:48:35 UTC
(In reply to comment #6)
> If you unmount /var/tmp/portage and place PORTAGE_TMPDIR on /var partition -
> can you still reproduce the problem? And, what if you reformat /var/tmp/portage
> to ext3?
> 
1. /var do not have enough space
2. maybe I'll try to move /usr/portage to /var/tmp with symlink instead. Do you have something against reiserfs?
3. In any case I have to wait for firefox compilation completion.

BTW: Do you have any ideas why other packages install/updates without any problems? I'm sure that the problem is in the box (since all other Gentoo boxes (I have 20+ of its) work fine) but I can't catch the bug.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 23:51:40 UTC
(In reply to comment #7)
> BTW: Do you have any ideas why other packages install/updates without any
> problems? I'm sure that the problem is in the box (since all other Gentoo boxes
> (I have 20+ of its) work fine) but I can't catch the bug.

Any ebuild that does cp -pPR from ${FILESDIR} will very likely fail for you.
Comment 9 Torsten Kaiser 2007-01-17 19:45:52 UTC
I also hit this bug:
>>> Unpacking gawk-3.1.5.tar.gz to /tmp/var/portage/sys-apps/gawk-3.1.5-r3/work
cp: setting attributes for `/tmp/var/portage/sys-apps/gawk-3.1.5-r3/work/filefuncs': Operation not supported

!!! ERROR: sys-apps/gawk-3.1.5-r3 failed.

I tried just coping this files to above directory with this result:
ariolc filefuncs # cp -vvr /usr/portage/sys-apps/gawk/files/filefuncs/ .
`/usr/portage/sys-apps/gawk/files/filefuncs/' -> `./filefuncs'
`/usr/portage/sys-apps/gawk/files/filefuncs/Makefile' -> `./filefuncs/Makefile'
`/usr/portage/sys-apps/gawk/files/filefuncs/filefuncs.c' -> `./filefuncs/filefuncs.c'
cp: setting attributes for `./filefuncs': Operation not supported

I do not know what attribute cp wants to set, I did not find any on the source directory. I am not using selinux, but my /usr/portage on this box is an NFS share from another gentoo installation.

Output from mount:
/dev/sdb6 on / type xfs (rw,noatime,nobarrier)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,noexec,nosuid)
/dev/sdb1 on /boot type ext2 (rw,noatime)
/dev/sdb3 on /mnt/a_c type vfat (rw,noatime,umask=000,uid=99,gid=99)
/dev/sda1 on /mnt/k_c type vfat (rw,noatime,umask=000,uid=99,gid=99)
/dev/sda5 on /mnt/k_d type vfat (rw,noatime,umask=000,uid=99,gid=99)
/dev/sdb2 on /tmp type ext3 (rw,noatime)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.0.4:/portage on /usr/portage type nfs4 (rw,noatime,intr,addr=192.168.0.4)

/var/tmp is a symlink to /tmp/var so it is an the ext3 on sdb2.

emerge --info:
Portage 2.1.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-rc3-mm1x i686)
=================================================================
System uname: 2.6.20-rc3-mm1x i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.8
Timestamp of tree: Wed, 17 Jan 2007 08:00:01 +0000
distcc 2.18.3 i686-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.31-r3
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.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon -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="-O3 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.cs.lewisu.edu/gentoo/"
LINGUAS="en en_GB en_US de"
MAKEOPTS="-j2"
PKGDIR="/var/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="/root/ebuilds /usr/portage/local/layman/nouveau"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acpi aiglx aio alsa amarok amr apache2 arts asf async audiofile bash-completion beagle berkdb bigpatch binfilter bitmap-fonts bl boost bzip2 cairo ccache cdda cdparanoia cdr cgi chm chroot cli cracklib crypt css cups curl dba dbus dga dio dlloader dmx doc dri dv dvd dvdr dvdread ecc editor eds emboss encode esd exif expat fam fastbuild fat ffmpeg firefox flac font-server fortran fping ftp fuse gcj gd gdbm gif gimp gimpprint glibc-omitfp glitz glut gmp gnutls gphoto2 gpm gs gstreamer gtk gzip hal hddtemp iconv icq id3 idea idn ieee1394 imagemagick imap imlib inkjar insecure-drivers insecure-savers ipv6 isdnlog ithreads jabber jack java jce john jpeg jpeg2k kde kexi lame libcaca libg++ libnotify libsamplerate lirc live lm_sensors logrotate lzo lzw mad matroska mbox memlimit mhash mikmod mime mjpeg mmap mmx mmxext mng mod mono motif mozcalendar mozdevelop mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mplayer musicbrainz mysql mysqli ncurses nfs nls no-old-linux noamazon nptl nptlonly ntfs ntlm nvidia nvtv nxclient offensive ogg opengl oscar pam pcre pda pdf pear-db perl php physfs player plib plugin png posix postfix povray ppds pppd python qt3 qt3support qt4 quicktime rar rc5 rdesktop readline real reflection samba scanner screen sdl seamonkey sensord session sftp shorten shout simplexml smime smtp soap sockets sox spell spl sql sqlite ssl stream subversion svg svgz swat sysfs syslog sysvipc szip tcpd tetex theora threads tidy tiff timidity tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vdr vim visualization vlm vorbis wifi win32codecs wireshark wma wmf wxgtk1 x264 x86 xcomposite xext xfs xine xinerama xml xmlreader xorg xpm xprint xrandr xscreensaver xsl xv xvid xvmc yv12 zip 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="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US de" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nv v4l vesa vga via nouveau"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS