Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17981 - "emerge poedit" stops when trying to install /usr/kde/3.1/share/icons/poedit.xpm
Summary: "emerge poedit" stops when trying to install /usr/kde/3.1/share/icons/poedit.xpm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-22 02:16 UTC by Per-Anders Fisk
Modified: 2003-03-26 18:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
As requested: full "emerge poedit" output (poedit.output,35.68 KB, text/plain)
2003-03-24 14:50 UTC, Per-Anders Fisk
Details
And here's what got printed in the console window (poedit.error,582 bytes, text/x-diff)
2003-03-24 15:00 UTC, Per-Anders Fisk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Per-Anders Fisk 2003-03-22 02:16:05 UTC
When I try to emerge poEdit 1.2.1 the installation halts with an error message 
(see below) and the install fails. There seems to be a problem accessing or 
creating the file /usr/kde/share/icons/poedit.xpm. 

Reproducible: Always
Steps to Reproduce:
1. Run "emerge poedit" 
2. 
3. 
Actual Results:  
Portage fails to create the file /usr/kde/share/icons/poedit.xpm and stops the 
installation. 

Expected Results:  
Completed the merge. 

I get the same results whether I run X/KDE or not when emerging. 
 
"emerge info" output: 
 
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) 
================================================================= 
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine) 
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo 
ftp://mirrors.sunsite.dk/mirrors/gentoo http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/:/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss avi crypt encode gif jpeg libg++ mikmod mmx mpeg ncurses nls 
pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline 
arts tetex svga tcltk java X sdl gpm tcpd pam libwww ssl perl python esd imlib 
oggvorbis qt kde motif opengl snmp -3dnow aalib apache2 -apm cdr -cups dga 
dvd ethereal evo flash -gnome -gtk mozilla mule nocardbus samba sse usb" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
 
Error message from "emerge poedit": 
 
if test -w //usr/kde/3.1/share/icons ; then \ 
  install -m 644 ../src/appicon.xpm //usr/kde/3.1/share/icons/poedit.xpm; \ 
fi 
ACCESS DENIED  open_wr:   /usr/kde/3.1/share/icons/poedit.xpm 
install: kan inte skapa normal fil "//usr/kde/3.1/share/icons/poedit.xpm": 
Comment 1 Per-Anders Fisk 2003-03-22 02:16:05 UTC
When I try to emerge poEdit 1.2.1 the installation halts with an error message 
(see below) and the install fails. There seems to be a problem accessing or 
creating the file /usr/kde/share/icons/poedit.xpm. 

Reproducible: Always
Steps to Reproduce:
1. Run "emerge poedit" 
2. 
3. 
Actual Results:  
Portage fails to create the file /usr/kde/share/icons/poedit.xpm and stops the 
installation. 

Expected Results:  
Completed the merge. 

I get the same results whether I run X/KDE or not when emerging. 
 
"emerge info" output: 
 
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) 
================================================================= 
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine) 
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo 
ftp://mirrors.sunsite.dk/mirrors/gentoo http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/:/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss avi crypt encode gif jpeg libg++ mikmod mmx mpeg ncurses nls 
pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline 
arts tetex svga tcltk java X sdl gpm tcpd pam libwww ssl perl python esd imlib 
oggvorbis qt kde motif opengl snmp -3dnow aalib apache2 -apm cdr -cups dga 
dvd ethereal evo flash -gnome -gtk mozilla mule nocardbus samba sse usb" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
 
Error message from "emerge poedit": 
 
if test -w //usr/kde/3.1/share/icons ; then \ 
  install -m 644 ../src/appicon.xpm //usr/kde/3.1/share/icons/poedit.xpm; \ 
fi 
ACCESS DENIED  open_wr:   /usr/kde/3.1/share/icons/poedit.xpm 
install: kan inte skapa normal fil "//usr/kde/3.1/share/icons/poedit.xpm": Åtkomst 
nekas 
make[2]: *** [install-kde] Fel 1 
make[2]: Leaving directory 
`/var/tmp/portage/poedit-1.2.1/work/poedit-1.2.1/install' 
make[1]: *** [install-am] Fel 2 
make[1]: Leaving directory 
`/var/tmp/portage/poedit-1.2.1/work/poedit-1.2.1/install' 
make: *** [install-recursive] Fel 1 
 
!!! ERROR: dev-util/poedit-1.2.1 failed. 
!!! Function einstall, Line 287, Exitcode 2 
!!! einstall failed 
 
--------------------------- ACCESS VIOLATION SUMMARY 
--------------------------- 
LOG FILE = "/tmp/sandbox-poedit-1.2.1-13719.log" 
 
open_wr:   /usr/kde/3.1/share/icons/poedit.xpm 
--------------------------------------------------------------------------------
Comment 2 Mariusz Smykula 2003-03-22 12:10:04 UTC
I have this same bug and cant merge poedit!

#cat /tmp/sandbox-poedit-1.2.1-16788.log
open_wr:   /usr/kde/3.1/share/icons/poedit.xpm
Comment 3 foser (RETIRED) gentoo-dev 2003-03-22 18:59:54 UTC
can you attach the full emerge output ?
Comment 4 Mariusz Smykula 2003-03-22 19:35:14 UTC
My emerge output

<start>
#emerge poedit
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/poedit-1.2.1 to /
>>> md5 ;-) poedit-1.2.1.tar.bz2
>>> Unpacking source...
>>> Unpacking poedit-1.2.1.tar.bz2 to /var/tmp/portage/poedit-1.2.1/work
 * Applying poedit-1.2.1-gentoo_make_paths.patch...                       [ ok ]
>>> Source unpacked.

[...]

mkdir -p //usr/kde/3.1/share/icons
mkdir -p //usr/kde/3.1/share/mimelnk/application
mkdir -p //usr/kde/3.1/share/applnk/Development
if test -w //usr/kde/3.1/share/icons ; then \
  install -m 644 ../src/appicon.xpm //usr/kde/3.1/share/icons/poedit.xpm; \
fi
ACCESS DENIED  open_wr:   /usr/kde/3.1/share/icons/poedit.xpm
install: nie mo&#380;na utworzy&#263; zwyk&#322;ego pliku `//usr/kde/3.1/share/icons/poedit.xpm': Brak dost&#281;pu
make[2]: *** [install-kde] B&#322;&#261;d 1
make[2]: Leaving directory `/var/tmp/portage/poedit-1.2.1/work/poedit-1.2.1/install'
make[1]: *** [install-am] B&#322;&#261;d 2
make[1]: Leaving directory `/var/tmp/portage/poedit-1.2.1/work/poedit-1.2.1/install'
make: *** [install-recursive] B&#322;&#261;d 1

!!! ERROR: dev-util/poedit-1.2.1 failed.
!!! Function einstall, Line 287, Exitcode 2
!!! einstall failed

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-poedit-1.2.1-7172.log"

open_wr:   /usr/kde/3.1/share/icons/poedit.xpm
--------------------------------------------------------------------------------

<end>

Maybe this is bad?
  install -m 644 ../src/appicon.xpm <b>//</b>usr/kde/3.1/share/icons/poedit.xpm; \
Comment 5 Mariusz Smykula 2003-03-22 19:37:18 UTC
My system:
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
Comment 6 Per-Anders Fisk 2003-03-24 14:50:21 UTC
Created attachment 9767 [details]
As requested: full "emerge poedit" output
Comment 7 Per-Anders Fisk 2003-03-24 15:00:33 UTC
Created attachment 9768 [details]
And here's what got printed in the console window

When I did "emerge poedit > poedit.output", there was some output that still
got printed to the console (stderr?). Anyway here it is.
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2003-03-24 21:15:06 UTC
i just committed some additions to poedit-1.2.1 which should fix this. can you try emerge sync then emerge poedit again?
Comment 9 foser (RETIRED) gentoo-dev 2003-03-25 07:37:35 UTC
what if you add 'DESTDIR=${D}' (without quotes) to the einstall line in the 1.2.1 ebuild ? If that works can you attach the output of 'qpkg -l poedit' ?
Comment 10 Per-Anders Fisk 2003-03-25 16:28:12 UTC
Did the emerge sync; still get the same error. 
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2003-03-25 19:57:15 UTC
sorry, there was a typo in my initial fix. please try again.

foser, don't think DESTDIR=${D} works in this case, but I think the KDE_DATA_DIR should be sufficient.
Comment 12 Per-Anders Fisk 2003-03-26 12:17:43 UTC
Yes! It works now.  
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2003-03-26 14:37:28 UTC
should be fixed then
Comment 14 foser (RETIRED) gentoo-dev 2003-03-26 18:01:41 UTC
on #10, worked before it seems.. didn't ran into it becuase i didnt have a kde only install i guess. Thats why i asked him to test it himself (aka, syncing ofcourse didnt help since i didnt change anything in the tree at that time).