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
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)
Created attachment 53682 [details, diff] ebuild patch to fix the problem
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?
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
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 ;)
Somehow, I got stuck with this package and I don't even use anything QT-based. Assigning to maintainer-needed.
livecd is the maintainer according to metadata
*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...
masked and going away soon. *** This bug has been marked as a duplicate of 140792 ***
I'm taking this package on.
Mine, all mine!
Please try the new qtparted-0.4.5, see if the problem persists, and report back here (and re-open the bug).