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.
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
better to make it depend on the tcltk USE flag instead
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.
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.
Created attachment 12603 [details] typo fix
This should get the vbox back in, please test so I may commit. Thanks
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.
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.
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:)