Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 16051
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Seemant Kulleen (RETIRED) <seemant@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Richard M. Ferko <rmferko@columbus.rr.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gkrellm-2.1.7a.ebuild.patch Patch to make gkrellm-2.1.7a.ebuild only install gkrellmd on machines without gtk patch Richard M. Ferko 2003-02-20 00:20 0000 2.01 KB Details | Diff
gkrellm.ebuild.diff alternate patch patch Andy Dustman 2003-02-20 20:06 0000 1.05 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 16051 depends on: Show dependency tree
Bug 16051 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-02-20 00:17 0000
I have a gateway with Gentoo 1.4_rc2 installed. I also run it on my main
machine
behind the gateway. The internal machine has X/Gnome/gtk installed, the gateway
does not. I like to use gkrellm to monitor both boxes, running gkrellm on the
internal machine and using gkrellmd on the gateway.

Emerging gkrellm-2.1.5.ebuild worked perfectly on both boxes, installing
everything on my main machine and only gkrellmd on the gateway.

gkrellm-2.1.7a.ebuild fails to build on the gateway, works fine on my main box.


Reproducible: Always
Steps to Reproduce:
1.USE=-gtk emerge gkrellm
2.
3.

Actual Results:  
the build runs fine up to this point:

make[1]: Leaving directory
`/var/tmp/portage/gkrellm-2.1.7a/work/gkrellm-2.1.7a/po'
(cd src && make install)
make[1]: Entering directory
`/var/tmp/portage/gkrellm-2.1.7a/work/gkrellm-2.1.7a/src'
install -c -s -m 755 gkrellm
/var/tmp/portage/gkrellm-2.1.7a/image//usr/bin/gkrellm
install: cannot stat `gkrellm': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gkrellm-2.1.7a/work/gkrellm-2.1.7a/src'
make: *** [install] Error 2

!!! ERROR: app-admin/gkrellm-2.1.7a failed.
!!! Function src_install, Line 43, Exitcode 2
!!! (no error message)

Expected Results:  
It should not attempt to build/install gkrellm on a system without gtk. In that
case, it should just install gkrellmd.

Proposed patch attached. Not real familiar with the ebuild format (yet) and
haven't done many patches, so there may be a more elegant solution, but this
one
worked for me. It installs only gkrellmd on the gateway (no gtk) and everything
on the main box (with gtk).

------- Comment #1 From Richard M. Ferko 2003-02-20 00:20:05 0000 -------
Created an attachment (id=8515) [details]
Patch to make gkrellm-2.1.7a.ebuild only install gkrellmd on machines without
gtk

------- Comment #2 From Andy Dustman 2003-02-20 20:06:59 0000 -------
Created an attachment (id=8565) [details]
alternate patch

I was already working along the same lines, so here's an alternate patch. Take
your pick.

------- Comment #3 From Thomas Capricelli 2003-02-21 13:10:22 0000 -------
mm.. i have exactly the same requirements (gkrellmd on a gtk-less server) and
the 
same problem. 
using gentoo stable of course. 
FYI 


------- Comment #4 From Seemant Kulleen (RETIRED) 2003-02-23 17:33:02 0000 -------
fixed in portage.

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