Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85597 - qtparted-0.4.4-r1 failed when installing
Summary: qtparted-0.4.4-r1 failed when installing
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Kevin F. Quinn (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 01:13 UTC by Jesus Gonzalez Alvarez
Modified: 2006-08-10 03:18 UTC (History)
2 users (show)

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


Attachments
ebuild patch to fix the problem (qtparted-0.4.4-r1.ebuild.patch,372 bytes, patch)
2005-03-17 01:41 UTC, Jesus Gonzalez Alvarez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesus Gonzalez Alvarez 2005-03-17 01:13:56 UTC
qtparted-0.4.4-r1 compiles, make the binary package and when try to install to the root filesystem it crashes with the following error:
>>> /sbin/run_qtparted
>>> /sbin/qtparted
--- /share/
--- /share/applnk/
--- /share/applnk/System/
!!! Failed to chown/chmod/unlink in movefile()
!!! /share/applnk/System/qtparted.desktop
!!! [Errno 1] Operation not permitted: '/share/applnk/System/qtparted.desktop'


As seen, it tries to put some staff on /share/ instead of in /usr/share on therefore it crashes.

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

Actual Results:  
Not installed

Expected Results:  
Install

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20050125-r1,
2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 12:31:52)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
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-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math"
CHOST="i686-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
/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 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer
-ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms
userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://www.gigaload.org/gentoo.org/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="es_ES@euro"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi4linux adns alsa apache2 apm arts avi berkdb bitmap-fonts
bonobo cdr crypt cups curl dbus dga directfb dvd dvdr eds emboss encode epiphany
esd evo fam fbcon flac font-server foomaticdb fortran gb gdbm gif gnome gphoto2
gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 jack java jpeg
junit kde ldap libg++ libwww mad maildir mikmod mmx mono motif mozilla mp3 mpeg
mysql nas ncurses nls oggvorbis opengl oss pam pcmcia pda perl png python qt
quicktime readline samba sdl see2 slang snmp speex spell sse ssl svga tcltk tcpd
tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib linguas_es"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Jesus Gonzalez Alvarez 2005-03-17 01:22:15 UTC
I forgot to say that it crashed because I have a Fat32 partition mounted on /share and therefore it can not set the correct permissions on it. Perhaps that is the reason why other hadn't have this problem before (to get the error you must have a non linux partition mounted on /share)
Comment 2 Jesus Gonzalez Alvarez 2005-03-17 01:41:12 UTC
Created attachment 53682 [details, diff]
ebuild patch to fix the problem
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-03-17 06:48:00 UTC
I don't think einstall should be put back, but I don't think that it should install out of /usr, carlo.

And for Jesus: shouldn't shares go into /mnt anyway?
Comment 4 SpanKY gentoo-dev 2005-03-17 06:50:46 UTC
agree with seemant here ... qtparted doesnt have a good reason (imho) to be in / instead of /usr, and `einstall` should not be used when `make install DESTDIR` is a viable option
Comment 5 Jesus Gonzalez Alvarez 2005-03-17 07:46:14 UTC
Not all the files inside share directory are putted on /share. For example, the docs are installed in the right place (/usr/share/doc).

For seemant: yes I agree to you. The best place to mount this kind of partitions is /mnt but if I do that nobody would find this kinds of bugs ;) 
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-02 06:46:14 UTC
Somehow, I got stuck with this package and I don't even use anything QT-based. 
Assigning to maintainer-needed.
Comment 7 SpanKY gentoo-dev 2005-09-02 07:46:52 UTC
livecd is the maintainer according to metadata
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-02 08:36:30 UTC
*I* am livecd@ and I just changed metadata... so umm... it needs to stay on
maintainer-needed@ as I have no intentions on maintaining this package...
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2006-07-31 05:05:04 UTC
masked and going away soon.

*** This bug has been marked as a duplicate of 140792 ***
Comment 10 Kevin F. Quinn (RETIRED) gentoo-dev 2006-08-10 02:16:51 UTC
I'm taking this package on.
Comment 11 Kevin F. Quinn (RETIRED) gentoo-dev 2006-08-10 02:19:38 UTC
Mine, all mine!
Comment 12 Kevin F. Quinn (RETIRED) gentoo-dev 2006-08-10 03:18:15 UTC
Please try the new qtparted-0.4.5, see if the problem persists, and report back here (and re-open the bug).