Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69693 - winesetuptk 0.7 can`t emerge, seems to be some permission problem on file copy
Summary: winesetuptk 0.7 can`t emerge, seems to be some permission problem on file copy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 102586 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-01 00:21 UTC by Rene Petro
Modified: 2005-08-15 20:50 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 Rene Petro 2004-11-01 00:21:33 UTC
Can`t emerge winesetuptk-0.7 trying it on two different PCs (P4 and P3 based).
Error is the same on both:
rm -f           libimg1.2.a
ar cr libimg1.2.a imgInit.o imgObj.o imgUtil.o imgPmap.o imgUnixPmap.o imgWindow.o imgXPM.o /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/img1.2.4/compat/tclLoadNone.o
ranlib  libimg1.2.a
mkdir /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/Img1.2
mkdir /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/Img1.2/msgs
Installing libimg1.2.a
ranlib: unable to copy file '/tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/Img1.2/libimg1.2.a' reason: Permission denied
gmake: *** [install] Error 1
[Error] Static img library build failed
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/tclConfig.sh... found
checking for /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/bin/tclsh8.3... found
checking for /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/libtcl8.3.a... found
checking for dir /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/tcl8.3.2/generic... found
checking for /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/tkConfig.sh... found
checking for /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/libtk8.3.a... found
checking for dir /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/tk8.3.2/generic... found
checking for /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/itclConfig.sh... found
checking for /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/libitcl3.1.a... found
checking for dir /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/itcl3.1.0/itcl/generic... found
checking for /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/libitk3.1.a... found
checking for dir /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/itcl3.1.0/itk/generic... found
checking for mktclapp... no

warning: configuration NOT complete

updating cache ./config.cache
creating ./config.status
creating Makefile
creating auto_path.tcl
creating gen_mta.sh

************************************************************************
Executable (target "install")     --> /usr/bin
Launcher   (target "cw-install")  --> /usr/bin
Doc        (target "doc-install") --> /usr/share/doc/winesetuptk-0.7

Use --prefix, --with-launcher and --with-doc switches or edit
generated Makefile to alter these values.

winesetuptk error: can't compile because "configure" wasn't completed successfuly.
make: *** [test_requirements] Error 1

!!! ERROR: app-emulation/winesetuptk-0.7 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


problem with copying file to /tmp/portage/winesetuptk-0.7/work/winesetuptk0.7/tcltk-winesetuptk-0.7/local/lib/Img1.2


P3 box setup:
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.4.20040808-r1, 2.6.8-ck6 i686)

P4 box setup:
Portage 2.0.51-r2 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9-ck2 i686)

Reproducible: Always
Steps to Reproduce:
1.emerge winesetuptk
2.
3.

Actual Results:  
ERROR: app-emulation/winesetuptk-0.7 failed. 


P4: 
Portage 2.0.51-r2 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2, 
glibc-2.3.4.20041021-r0, 2.6.9-ck2 i686) 
================================================================= 
System uname: 2.6.9-ck2 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz 
Gentoo Base System version 1.6.4 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache cvs digest distlocks sandbox sfperms 
userpriv usersandbox" 
GENTOO_MIRRORS="ftp://localhost/ ftp://81.88.130.8/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/uportage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib acl acpi acpi4linux alsa apache2 aper apm arts artswrappersuid avi 
berkdb bitmap-fonts bluetooth cddb cdparanoia cdr cdrom clearpasswd cross crypt 
cups directfb divx4linux dv dvd dvdr dvdread encode escreen esd f77 fam fbcon 
flac foomaticdb foreign-sysvinit ftp gd gif gnokii gpm graphviz gtk gtk2 icc 
icc-pgo imagemagick imap imlib innodb ipalias ithreads java javascript jikes 
jpeg jpeg2k kde libg++ libwww lm_sensors ltsp mad maildir mime mmx mmx2 motif 
mpeg multipleip mysql nas ncurses nls nptl oci8 odbc oggvorbis opengl opens 
orathreads oss pam parse-clocks pdflib pear-db perl php pie png pthreads 
pwdbpython qt quicktime readline rtc samba sasl scanner sdl skey slang slp sms 
socks5 softquota spamassassin spell sse sse2 ssl svga tcltk tcpd threads tiff 
truetype usb virus-scan wmf x86 xchatnogtk xine xinerama xml xml2 xmms xosd xv 
xvid xvmc zlib linguas_sk" 
 
P3: 
root@sarge pts/0: emerge info 
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.4.20040808-r1, 
2.6.8-ck6 i686) 
================================================================= 
System uname: 2.6.8-ck6 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.5.3 
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache digest distlocks keepwork sandbox userpriv 
usersandbox" 
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/uportage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X acl acpi acpi4linux alsa apache2 apm arts avi berkdb bitmap-fonts 
clearpasswd crypt cups directfb esd f77 fbcon foomaticdb gd gif gpm icc icc-pgo 
imagemagick imap imlib ipalias java javascript jpeg kde libg++ libwww mad 
maildir mmx mozilla multipleip mysql ncurses nls nptl oci8 odbc opengl openssh 
orathreads pam pdflib pear-db perl php php4 png pthreads pwdb python qt 
readline samba sasl sdl shaper slang socks5 sse sse2 ssl svga tcltk tcpd 
threads tiff truetype x86 xml2 zlib linguas_sk linguas_en"
Comment 1 David Guembel (RETIRED) gentoo-dev 2004-11-04 09:20:42 UTC
Sorry, I can't reproduce the error on my system (P4 as well, having a not-too-different setup from yours, as it appears). I don't really see an obvious reason for your problems inside the emerge info output you posted. 

I noticed, however, that you don't set CFLAGS at all on your P3, but you have set a use flag "sse2", of which I am a) pretty certain it doesn't exist and b) a P3 doesn't have sse2 instructions anyway. 

My guess is that you are having a permission problem with the default umask for portage, or too strict permissions applied during the compilation process. Do you set umask's somewhere in a system-wide manner, or have some access restrictions applied to /tmp/portage? What are the permissions of that directory, BTW?

It would be nice if you could try some precision on the error you encountered, or provide some mor fine-graines info how to reproduce it. Thanks.


This is my "emerge info":

Portage 2.0.51-r2 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-ck2 i686)
=================================================================
System uname: 2.6.9-ck2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -pipe -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirrorhttp://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm arts artswrappersuid avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups dga divx4linux dvd encode esd f77 fam fbcon flac foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imagemagick imlib jabber java jpeg junit kde libg++ libwww live mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nptl oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt qtmt quicktime readline rtc samba sdl slang speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype usb vim-with-x wifi x86 xface xine xml xml2 xmms xv xvid zlib"

Comment 2 Dion Sole 2004-11-10 01:42:35 UTC
I get the same error.
The file in question, libimg1.2.a has permissions of 0555, or (r-xr-xr-x), which would make copying it rather hard...


This is my `emerge info`:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.6
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -ftracer -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 -march=athlon-xp -pipe -ftracer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://linux.jetstreamgames.co.nz/gentoo ftp://mirror.pacific.net.au/linux/Gentoo                 ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi aim alsa apache2 audiofile avi bcmath bidi bitmap-fonts bmp bzlib caps cdr cjk crypt cups curl curlwrappers dedicated dga dio directfb divx4linux doc dvd emacs encode exif f77 fam fbcon fftw flac foomaticdb fortran freewnn ftp ggi gif ginac gmp gnutls gpm gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imap imlib jabber jack java jikes jpeg kerberos krb4 lcms ldap leim lesstif libwww mad mailwrapper mbox mcal memlimit mikmod milter mime mmap mmx mng motif mpeg msn mule ncurses nls nocd nptl offensive oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl pic png posix ppds python quicktime readline recode ruby samba sasl sdl shared sharedmem slp sndfile snmp sockets socks5 spell sse ssl svg svga sysvipc tcltk tcpd theora tiff truetype unicode usb videos wmf wxwindows x86 xine xml2 xmlrpc xosd xpm xsl xv xvid yahoo zlib"
Comment 3 Jan Jitse Venselaar 2004-12-03 02:13:10 UTC
I had the same problem, I found a workaround:
FEATURES="-userpriv" emerge winesetuptk
but it's still a bug of course...
Comment 4 Steffen Jobbagy-Felso 2005-05-15 14:02:53 UTC
Is it trying to copy to or from that file?
Anyways, same bug on amd64 (mostly stable, but somehow about 30 ~amd64 managed to creap in slowly..). Apart from some major (unrelated, I pressume?) java problems I've got everything on today's sync.

emerge info
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  7 2005, 08:39:11)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks multilib-strict sandbox strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acpi alsa apache2 avi bash-completion berkdb bitmap-fonts cdr crypt dba dga directfb dvd dvdr dvdread emul-linux-x86 fam flac font-server fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib java javascript jp2 jpeg junit kde lzw lzw-tiff mad memlimit motif mozilla mp3 mpeg mysql ncurses nls nptl offensive ogg openssl pam pcre pdflib perl php plotutils png python qt readline sdl sharedext sharedmem slang spell ssl symlink tcltk tcpd test tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml xml2 xmms xpm xrandr xvid zlib video_cards_tdfx linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 5 Alexander Skwar 2005-08-15 06:26:49 UTC
*** Bug 102586 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2005-08-15 20:50:48 UTC
grabbed fix from Debian and added to 0.7