Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171507 - sys-devel/distcc-2.18.3-r10 doesn't compile GUI w/ USE="gnome -gtk"
Summary: sys-devel/distcc-2.18.3-r10 doesn't compile GUI w/ USE="gnome -gtk"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 171505 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-20 00:42 UTC by nobody
Modified: 2008-01-04 05:53 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nobody 2007-03-20 00:42:49 UTC
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/
Comment 1 nobody 2007-03-20 01:00:20 UTC
*** Bug 171505 has been marked as a duplicate of this bug. ***
Comment 2 nobody 2007-03-20 01:39:53 UTC
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
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-20 06:56:19 UTC
Frankly I don't get what's USE=gtk about in the ebuild, I'd suggest to drop it.
Comment 4 Lisa Seelye (RETIRED) gentoo-dev 2007-03-21 22:19:00 UTC
(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.
Comment 5 nobody 2007-03-22 22:37:08 UTC
(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)
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2008-01-04 05:53:42 UTC
Fixed in 2.18.3-r12. Thanks for reporting.