Bug 171507 - sys-devel/distcc-2.18.3-r10 doesn't compile GUI w/ USE="gnome -gtk"
|
Bug#:
171507
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: maintainer-needed@gentoo.org
|
Reported By: krinn@chez.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: sys-devel/distcc-2.18.3-r10 doesn't compile GUI w/ USE="gnome -gtk"
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-03-20 00:42 0000
|
When installing distcc v 2.18.3-r10 i think a typo prevent the installation of
distccmon-gnome (or distccmon-gui)
* Renaming /usr/bin/distccmon-gnome to /usr/bin/distccmon-gui
* This is to have a little sensability in naming schemes between distccmon
programs
mv: ne peut évaluer
`/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image//usr/bin/distccmon-gnome':
Aucun fichier ou répertoire de ce type
(Aucun fichier... = No file...)
must be because of the extra / in image//usr/bin typo
Reproducible: Always
Steps to Reproduce:
1.emerge distcc
2.i hope you try the 2.18.3-r10 ebuild :D
3.try find distccmon-gnome or distccmon-gui
Actual Results:
distccmon-gui or gnome not present
Expected Results:
should be present
>>> Install distcc-2.18.3-r10 into /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/ category sys-devel
'make install' will install distcc as follows:
man pages
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/man/man1
documents
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/doc/distcc
programs
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/bin
system configuration /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/etc
shared data files
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/distcc
/bin/sh ./mkinstalldirs
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/doc/distcc
mkdir /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr
mkdir /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share
mkdir /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/doc
mkdir /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/doc/distcc
for p in AUTHORS COPYING NEWS README INSTALL TODO doc/protocol-1.txt
doc/status-1.txt doc/protocol-2.txt doc/reporting-bugs.txt survey.txt; do
\
/usr/bin/install -c -m 644 $p
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/doc/distcc || exit
1; \
done
/bin/sh ./mkinstalldirs
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/man/man1
mkdir /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/man
mkdir /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/man/man1
for p in man/distcc.1 man/distccd.1 man/distccmon-text.1; do
\
/usr/bin/install -c -m 644 $p
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/man/man1 || exit
1; \
done
/bin/sh ./mkinstalldirs
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/bin
mkdir /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/bin
for p in distcc distccd distccmon-text; do \
/usr/bin/install -c $p
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/bin || exit 1; \
done
/bin/sh ./mkinstalldirs
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/doc/distcc/example
mkdir
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/doc/distcc/example
for p in doc/example/init doc/example/init-suse doc/example/logrotate
doc/example/xinetd; do \
/usr/bin/install -c -m 644 $p
/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/usr/share/doc/distcc/example
|| exit 1; \
done
* Renaming /usr/bin/distccmon-gnome to /usr/bin/distccmon-gui
* This is to have a little sensability in naming schemes between distccmon
programs
mv: ne peut évaluer
`/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image//usr/bin/distccmon-gnome':
Aucun fichier ou répertoire de ce type
>>> Completed installing distcc-2.18.3-r10 into /var/tmp/portage/sys-devel/distcc-2.18.3-r10/image/
*** Bug 171505 has been marked as a duplicate of this bug. ***
ok seems it's because of that finally :D (i try dig the error to get my
distccmon-gnome back)
#Here we use the built in parse-options package. saves a dependancy
#not taking any chances here, guessing which takes precedence in the
#configure script, so we'll just make the distinction here:
#gnome takes precedence over gtk if both are specified (gnome pulls
#in gtk anyways...)
use gtk && ! use gnome && myconf="${myconf} --with-gtk"
use gtk && use gnome && myconf="${myconf} --with-gnome"
+
if use gnome || use gtk; then
einfo "Renaming /usr/bin/distccmon-gnome to /usr/bin/distccmon-gui"
einfo "This is to have a little sensability in naming schemes
between$
mv ${D}/usr/bin/distccmon-gnome ${D}/usr/bin/distccmon-gui
but in my case i have the "gnome" flag in my use but not the "gtk" one
so -> distccmon-gui will be build only if "gtk" && "gnome" flags are set
and the test try to move distccmon-gnome if "gtk" OR "gnome" is set
i suggest then a change to
use gtk && ! use gnome && myconf="${myconf} --with-gtk"
use gnome && myconf="${myconf} --with-gnome"
this will respect the statment that gnome takes precedence over gtk, and should
stop that bug
thank you
Frankly I don't get what's USE=gtk about in the ebuild, I'd suggest to drop it.
(In reply to comment #3)
> Frankly I don't get what's USE=gtk about in the ebuild, I'd suggest to drop it.
>
I would think it'd be straightfoward based on what the gtk USE flag does.
(In reply to comment #0)
> When installing distcc v 2.18.3-r10 i think a typo prevent the installation of
> distccmon-gnome (or distccmon-gui)
> * Renaming /usr/bin/distccmon-gnome to /usr/bin/distccmon-gui
> * This is to have a little sensability in naming schemes between distccmon
> programs
> mv: ne peut évaluer
> `/var/tmp/portage/sys-devel/distcc-2.18.3-r10/image//usr/bin/distccmon-gnome':
> Aucun fichier ou répertoire de ce type
>
I'll have to investigate this more closely when I have time.
(In reply to comment #4)
> (In reply to comment #0)
>
> I'll have to investigate this more closely when I have time.
>
heu, hmm, sorry lisa, but did you read my comment #2 ?
(if this could saved you some time)
Fixed in 2.18.3-r12. Thanks for reporting.