Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 27959
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Joerg Schaible <joerg.schaible@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 27959 depends on: Show dependency tree
Bug 27959 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-04 15:15 0000
Hi, 
 
after emerging qtparted I noticed that it created /share and /man. Looking at the installed files 
(etcat -f qtparted) it seems that all of them in these two directories should have been placed 
into /usr/share and /usr/man. And as expected the man page is not found after installation 
because of this location. 
 
Regards, 
J

------- Comment #1 From Joerg Schaible 2003-09-04 15:15:15 0000 -------
Hi, 
 
after emerging qtparted I noticed that it created /share and /man. Looking at the installed files 
(etcat -f qtparted) it seems that all of them in these two directories should have been placed 
into /usr/share and /usr/man. And as expected the man page is not found after installation 
because of this location. 
 
Regards, 
Jörg

------- Comment #2 From Carsten Lohrke 2003-09-06 18:04:17 0000 -------
On my PC all files are in the right place.

------- Comment #3 From Caleb Tennis 2003-09-07 19:17:01 0000 -------
Did you do something strange with your KDEDIRS environment variables before
emerging this 
ebuild?  That's hte only way I can think it would have gotten messed up. 

------- Comment #4 From Joerg Schaible 2003-09-08 10:07:42 0000 -------
Hi, 
 
no, I did not change any environment variable before emerging qtparted. 
 
=== snip === 
bash-2.05b# set | grep KDE 
KDEDIR=/usr/kde/3.1 
KDEDIRS=/usr 
KDE_MULTIHEAD=false 
bash-2.05b# 
=== snap === 
 
The funny thing is that the docs and the executables itself are placed properly. See the 
output below: 
 
=== snip === 
bash-2.05b# etcat -f qtparted 
[ Results for search key : qtparted ] 
[ Applications found : 1 ] 
 
 Only printing found installed programs. 
 
 
 * sys-apps/qtparted-0.3.2 
/sbin 
/sbin/qtparted 
/sbin/qtparted_df 
/share 
/share/applnk 
/share/applnk/System 
/share/applnk/System/qtparted.desktop 
/share/pixmaps 
/share/pixmaps/qtparted.xpm 
/share/qtparted 
/share/qtparted/pics 
/share/qtparted/pics/qtp_splash.png 
/share/qtparted/pics/qtparted_16.png 
/share/qtparted/pics/qtparted_32.png 
/share/qtparted/pics/qtparted_64.png 
/share/qtparted/locale 
/share/qtparted/locale/qtparted_cs.qm 
/share/qtparted/locale/qtparted_de.qm 
/share/qtparted/locale/qtparted_es.qm 
/share/qtparted/locale/qtparted_fr.qm 
/share/qtparted/locale/qtparted_it.qm 
/share/qtparted/locale/qtparted_pl.qm 
/man 
/man/man1 
/man/man1/qtparted.1 
/usr 
/usr/share 
/usr/share/doc 
/usr/share/doc/qtparted-0.3.2 
/usr/share/doc/qtparted-0.3.2/AUTHORS.gz 
/usr/share/doc/qtparted-0.3.2/README.gz 
/usr/share/doc/qtparted-0.3.2/COPYING.gz 
/usr/share/doc/qtparted-0.3.2/TODO.gz 
bash-2.05b# 
=== snap === 
 

------- Comment #5 From Matthias Langhammer 2003-10-15 04:10:11 0000 -------
I've got the same problem with this ebuild. Compiling it manually (./configure
; make ; make install) puts everything in the right place (/usr/share/, /usr/man/,
...)

------- Comment #6 From Caleb Tennis 2003-11-01 06:53:06 0000 -------
*** Bug 32127 has been marked as a duplicate of this bug. ***

------- Comment #7 From James Graham 2003-11-18 18:39:16 0000 -------
this bug is definetly repeatable, and seems to have been inherited by the
qtparted-0.4.0.ebuild as well.

------- Comment #8 From Joerg Schaible 2003-11-19 10:05:12 0000 -------
Strange. For me it worked now with the qtparted-0.4.0.ebuild:

====== snip ==========
$ etcat -f qtparted
[ Results for search key : qtparted ]
[ Applications found : 1 ]

 Only printing found installed programs.


 * sys-apps/qtparted-0.4.0
/sbin
/sbin/qtparted
/sbin/run_qtparted
/share
/share/applnk
/share/applnk/System
/share/applnk/System/qtparted.desktop
/share/pixmaps
/share/pixmaps/qtparted.xpm
/share/qtparted
/share/qtparted/pics
/share/qtparted/pics/qtp_splash.png
/share/qtparted/pics/qtparted_16.png
/share/qtparted/pics/qtparted_32.png
/share/qtparted/pics/qtparted_64.png
/share/qtparted/locale
/share/qtparted/locale/qtparted_cs.qm
/share/qtparted/locale/qtparted_de.qm
/share/qtparted/locale/qtparted_es.qm
/share/qtparted/locale/qtparted_fr.qm
/share/qtparted/locale/qtparted_it.qm
/share/qtparted/locale/qtparted_pl.qm
/usr
/usr/share
/usr/share/doc
/usr/share/doc/qtparted-0.4.0
/usr/share/doc/qtparted-0.4.0/AUTHORS.gz
/usr/share/doc/qtparted-0.4.0/README.gz
/usr/share/doc/qtparted-0.4.0/COPYING.gz
/usr/share/doc/qtparted-0.4.0/TODO.gz
====== snap ==========

------- Comment #9 From Joerg Schaible 2003-12-01 13:09:18 0000 -------
Uuups. I have to correct my last statement. Looking at the list, it definately
did not work. All the files /shared shoudl have been in /usr/shared ...

------- Comment #10 From Thomas R. (TRauMa) 2003-12-03 15:21:23 0000 -------
I think I found part of the problem while watching the output of emerge
qtparted:


[SNIP: qtparted gets configured and compiles nicely]
lupdate -verbose ../src/*.cpp ../src/*.h ../src/*.ui -ts qtparted_fr.ts
lupdate -verbose ../src/*.cpp ../src/*.h ../src/*.ui -ts qtparted_it.ts
lupdate -verbose ../src/*.cpp ../src/*.h ../src/*.ui -ts qtparted_pl.ts
Updating 'qtparted_pl.ts'...
 207 known, 2 new and 0 obsoleted messages
lrelease qtparted_pl.ts
Updating 'qtparted_it.ts'...
 207 known, 2 new and 0 obsoleted messages
lrelease qtparted_it.ts
Updating 'qtparted_fr.ts'...
 207 known, 2 new and 0 obsoleted messages
lrelease qtparted_fr.ts
make[2]: Leaving directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0/ts'
Making all in doc
make[2]: Entering directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0/doc'
cd .. \
  && CONFIG_FILES=doc/Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating doc/Makefile
config.status: executing default-1 commands
config.status: executing default-2 commands
make[2]: Leaving directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0/doc'
make[2]: Entering directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0/doc'
make[2]: Entering directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0'
make[2]: Leaving directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0'
make[1]: Leaving directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0'

>>> Install qtparted-0.4.0 into /var/tmp/portage/qtparted-0.4.0/image/ category sys-apps
Making install in src
make[1]: Entering directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0/src'
make[2]: Entering directory
`/var/tmp/portage/qtparted-0.4.0/work/qtparted-0.4.0/src'
cd .. && CONFIG_FILES=src/qp_options.h CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating src/qp_options.h
config.status: executing default-1 commands
config.status: executing default-2 commands
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/qt/3/include -I-I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -fexceptions  -Wall
-Wno-deprecated  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O2 -pipe
-fomit-frame-pointer -fno-exceptions -fno-check-new  -c main.cpp
distcc[28689] (dcc_build_somewhere) Warning: failed to distribute, running
locally instead
In file included from main.cpp:41:
qp_debug.h:26:31: Warnung: ISO C does not permit named variadic macros
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/qt/3/include -I-I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -fexceptions  -Wall
-Wno-deprecated  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O2 -pipe
-fomit-frame-pointer -fno-exceptions -fno-check-new  -c qp_dlgabout.cpp
distcc[28699] (dcc_build_somewhere) Warning: failed to distribute, running
locally instead
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/qt/3/include -I-I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -fexceptions  -Wall
-Wno-deprecated  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O2 -pipe
-fomit-frame-pointer -fno-exceptions -fno-check-new  -c qp_dlgconfig.cpp
[SNIP: qtparted gets compiled again??]

I'll check if it's because of -j3 in makeopts.

------- Comment #11 From Thomas R. (TRauMa) 2003-12-03 16:06:15 0000 -------
OK, this is very strange. Perhaps it's because I don't have KDE installed or in
use, but when emerging this configures summary shows no "/usr" prefix for files
an d tries to recompile on install to image dir.

When deleting the inherit kde part, it compiles just nicely, but install
doesn't do anything. I'm giving up, but I wonder why a plain program that
happens to use qt inherits a kde eclass... 

------- Comment #12 From Thomas R. (TRauMa) 2004-01-18 09:41:07 0000 -------
This still doesn't work, and it isn't "minor" for sure.

------- Comment #13 From Dominik Stadler (RETIRED) 2004-03-18 12:59:18 0000 -------
I have now added the current Version 0.4.3 to CVS, this Version did not have
this strange error any more for me, please test and report if the new ebuild
works.

------- Comment #14 From Thomas R. (TRauMa) 2004-03-19 10:00:17 0000 -------
WFM :-)

------- Comment #15 From Joerg Schaible 2004-03-22 14:38:55 0000 -------
Installation went fine this time.

------- Comment #16 From Dominik Stadler (RETIRED) 2004-03-22 15:27:45 0000 -------
Ok, enough success-stories, setting to Fixed.

------- Comment #17 From Paolo Pedroni 2005-08-11 08:54:20 0000 -------
Please reopen. QtParted-0.4.4-r1 still installed itself in wrong directories on 
my AMD64 system. See info below: 

>>> Merging sys-apps/qtparted-0.4.4-r1 to / 
--- /sbin/ 
>>> /sbin/qtparted 
>>> /sbin/run_qtparted 
>>> /share/ 
>>> /share/applnk/ 
>>> /share/applnk/System/ 
>>> /share/applnk/System/qtparted.desktop 
>>> /share/pixmaps/ 
>>> /share/pixmaps/qtparted.xpm 
>>> /share/qtparted/ 
>>> /share/qtparted/pics/ 
>>> /share/qtparted/pics/qtp_splash.png 
>>> /share/qtparted/pics/qtparted_16.png 
>>> /share/qtparted/pics/qtparted_32.png 
>>> /share/qtparted/pics/qtparted_64.png 
>>> /share/qtparted/locale/ 
>>> /share/qtparted/locale/qtparted_cs.qm 
>>> /share/qtparted/locale/qtparted_de.qm 
>>> /share/qtparted/locale/qtparted_es.qm 
>>> /share/qtparted/locale/qtparted_fr.qm 
>>> /share/qtparted/locale/qtparted_it.qm 
>>> /share/qtparted/locale/qtparted_pl.qm 
>>> /share/qtparted/locale/qtparted_ru.qm 
>>> /share/qtparted/locale/qtparted_ua.qm 
>>> /share/qtparted/locale/qtparted_ca.qm 
>>> /man/ 
>>> /man/man1/ 
>>> /man/man1/qtparted.1 
--- /usr/ 
--- /usr/share/ 
--- /usr/share/doc/ 
>>> /usr/share/doc/qtparted-0.4.4-r1/ 
>>> /usr/share/doc/qtparted-0.4.4-r1/README.gz 
>>> /usr/share/doc/qtparted-0.4.4-r1/TODO.txt.gz 
>>> /usr/share/doc/qtparted-0.4.4-r1/README.Debian.gz 
>>> /usr/share/doc/qtparted-0.4.4-r1/BUGS.gz 
>>> /usr/share/doc/qtparted-0.4.4-r1/DEVELOPER-FAQ.gz 
>>> Regenerating /etc/ld.so.cache... 
>>> sys-apps/qtparted-0.4.4-r1 merged. 
>>> Recording sys-apps/qtparted in "world" favorites file... 

emerge --info output: 
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 
2.6.12-gentoo-r6 x86_64) 
================================================================= 
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3800+ 
Gentoo Base System version 1.6.13 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/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/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv 
usersandbox" 
GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://gentoo.inode.at/ 
http://ft p-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/lin ux/gentoo http://ftp.du.se/pub/os/gentoo" 
LC_ALL="it_IT.utf8" 
LINGUAS="it" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="amd64 X Xaw3d aalib acpi alsa arts avi bash-completion berkdb bitmap-fonts 
bzip2 bzlib caps cdparanoia cdr crypt cups curl dga dio doc dvd dvdread eds 
encode evo exif fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gcj gd ggi 
gif gphoto2 gpm gstreamer gtk2 hal imagemagick java javascript joystick jpeg 
kde kdeenablefinal libcaca libwww lm_sensors lzw lzw-tiff mad maildir matroska 
mbox mng motif mozilla mp3 mpeg ncurses nls nptl offensive ogg oggvorbis openal 
opengl oss pam pdflib perl png posix ppds python qt quicktime readline sasl 
scanner sdl sockets sox speex spell ssl svg symlink sysvipc tcltk tcpd tetex 
theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales 
videos vorbis wmf xine xml2 xosd xpm xv xvid zlib linguas_it userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY 

Relevant KDE environment variables: 
KDEDIRS=/usr 
KDE_FULL_SESSION=true 
KDE_MALLOC=1 
KDE_MULTIHEAD=false 

------- Comment #18 From Gregorio Guidi (RETIRED) 2005-08-11 11:03:38 0000 -------
Should be fixed again now. 

------- Comment #19 From Paolo Pedroni 2005-08-11 22:39:36 0000 -------
OK, now it works. Thanks a lot. 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug