Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18986 - emerging isdn4k-utils does not install "vbox"
Summary: emerging isdn4k-utils does not install "vbox"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chuck Brewer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-08 13:31 UTC by Kai Grosshaus
Modified: 2003-06-02 11:14 UTC (History)
0 users

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


Attachments
patch against the ebuild file (isdn4k-utils-3.2_p1-r2.ebuild) to build vbox application from isdn4k-utils package (isdn4k-utils-3.2_p1-r2.ebuild.patch,1.01 KB, patch)
2003-04-08 13:35 UTC, Kai Grosshaus
Details | Diff
typo fix (isdn4k-utils-3.2_p1-r2.ebuild,2.71 KB, text/plain)
2003-05-31 05:01 UTC, Chuck Brewer
Details
fix in src_install function (isdn4k-utils-3.2_p1-r2.ebuild,2.72 KB, text/plain)
2003-06-01 09:49 UTC, Kai Grosshaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Grosshaus 2003-04-08 13:31:41 UTC
When I emerge isdn4k-utils it builds fine but it does not install vbox. The 
source for vbox (an ISDN answering program) is in the package but is not being 
compiled.



Reproducible: Always
Steps to Reproduce:
1. emerge isdn4k-utils
2. which vboxgetty
3. find /usr -name vbox*


Actual Results:  
file was not found !

Expected Results:  
file should be anywhere in the filesystem ;)

i think i've found the problem and have made a patch for the ebuild. You can 
find it attached. The problem is that in the config file used by make, the 
options to build vbox are missing.
Comment 1 Kai Grosshaus 2003-04-08 13:35:29 UTC
Created attachment 10397 [details, diff]
patch against the ebuild file (isdn4k-utils-3.2_p1-r2.ebuild) to build vbox application from isdn4k-utils package

to apply:

change to the ebuild dir
(/usr/portage/net-dialup/isdn4k-utils)

execute:

patch -p1 < /path/to/patch/isdn4k-utils-3.2_p1-r2.ebuild.patch

finished, now you can emerge the package
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-08 14:28:54 UTC
better to make it depend on the tcltk USE flag instead
Comment 3 Kai Grosshaus 2003-04-08 15:34:23 UTC
vbox does depend on tcl, without it it won't build or run. This is why I've put it in the RDEPEND and DEPEND. But if there is another methode to do this please tell me how. My knowledge of writing ebuilds is not very deep.
Comment 4 Chuck Brewer 2003-05-16 12:58:44 UTC
I'm thinking that we could do it so that if tcltk is in use flags then it would build the vbox, however looking at your sed statement, I'm curious as to whether this relies strictly upon tcl8.3? Or will it accept tcl* I only ask because 8.4 is due pretty soon so we're liable to have some users with 8.3 and some with 8.4 (i myself use 8.4) Thanks.
Comment 5 Chuck Brewer 2003-05-31 05:01:22 UTC
Created attachment 12603 [details]
typo fix
Comment 6 Chuck Brewer 2003-05-31 05:02:43 UTC
This should get the vbox back in, please test so I may commit. Thanks
Comment 7 Kai Grosshaus 2003-06-01 09:40:45 UTC
hmm, doesn't work for me. It stops while trying to install:


==================================================================================
>>> Install isdn4k-utils-3.2_p1-r2 into /var/tmp/portage/isdn4k-utils-3.2_p1-r2/image/ category net-dialup
set -e; for i in `echo  lib isdnlog/tools/zone isdnlog/tools/dest isdnlog isdnctrl icn pcbit hisax imon imontty ipppstats ipppd vbox`; do make -C $i install; done
make[1]: Entering directory `/var/tmp/portage/isdn4k-utils-3.2_p1-r2/work/isdn4k-utils/lib'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/var/tmp/portage/isdn4k-utils-3.2_p1-r2/work/isdn4k-utils/lib'
make[1]: Entering directory `/var/tmp/portage/isdn4k-utils-3.2_p1-r2/work/isdn4k-utils/isdnlog/tools/zone'
/bin/install -c -o 0 -g 0 -m 0750 mkzonedb /var/tmp/portage/isdn4k-utils-3.2_p1-r2/image//usr/sbin/mkzonedb
/bin/install: cannot create regular file `/var/tmp/portage/isdn4k-utils-3.2_p1-r2/image//usr/sbin/mkzonedb': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/var/tmp/portage/isdn4k-utils-3.2_p1-r2/work/isdn4k-utils/isdnlog/tools/zone'
make: *** [install] Error 2

!!! ERROR: net-dialup/isdn4k-utils-3.2_p1-r2 failed.
!!! Function src_install, Line 68, Exitcode 2
!!! (no error message)

================================================================================

Any ideas ?

I'll try to figure out why it can not install that file.
Comment 8 Kai Grosshaus 2003-06-01 09:49:58 UTC
Created attachment 12630 [details]
fix in src_install function

ok, found it. The "/usr/sbin" directory was not created from the ebuild and the
Makefile called install without "-d" so it wasn't created. I've added the
directory to a "dodir" line in the src_install function. Should work now, for
me it does.
Comment 9 Chuck Brewer 2003-06-02 11:14:47 UTC
hmm, I fixed it also, but the error was coming from  the fact theres two different config files, I was checking against the top one. Changed vbox options in the one called in the ebuild originally, a little sleight of hand, and its fixed in cvs now, should be on sync shortly:) Thanks:)