Attached is erlang-8b.ebuild Erlang is a programming language, runtime environment and a large collection of libraries. I'm submitting this ebuild primarily to lay the foundation to getting wings3d (http://www.wings3d.com) into Gentoo Linux however it can be used for much more. Currently this ebuild fails at the src_install() routine with this message: >>> Install erlang-8b into /var/tmp/portage/erlang-8b/image/ category dev-lang if test ! -d /usr/bin ; then /bin/install -c -d /usr/bin; fi /bin/install -c -d /usr/lib/erlang ACCESS DENIED mkdir: /usr/lib/erlang /bin/install: cannot create directory `/usr/lib/erlang': Permission denied make: *** [install.dirs] Error 1 However if one were to be root and go to /var/tmp/portage/erlang-8b/otp_src_R8B-2/ and run 'make install' it would work just fine. I have RTFMd as much as possible and have found nothing that might relate to this matter. Furthermore hours of searching IRC for a forum to even request help was fruitless. This is my last best hope of getting this file to the eyes people more knowlegable than me. Suggested placement is dev-lang/erlang
Created attachment 2951 [details] erlang otp r8b-2 ebuild file
mkdir wants to break out of the sandbox which is not a Good Thing(tm). You must use the helper functions of portage. In this case dodir. For more information: man 5 ebuild. Regards. John Herdy.
Created attachment 3008 [details] new erlang otp RB8-2 ebuild this one should work. Changed version number to hopefully match Gentoo standards...
Created attachment 3029 [details] revision 1 after much egg on my face this one is correct and has been tested on at least 2 other gentoo machines.
Hi Charlie. Thank you for your submission! The freeze is over and I finally got to your submission in the long list of new and updated ebuilds :). I have checked and committed your ebuild. It is now keymasked, please test and report. George
Hi Charlie. Missed one thing last time: I see that that the LICENSE var was set to EPL, however there is no appropriate license in portage and you did not include one here. I looked it up on the site and added to portage (under /usr/portage/licenses as usual). Please check if this is an appropriate license. George
Created attachment 5345 [details] ebuild for erlang OTP R9B-0
Hi George Glad to hear the Ice Age is over with :) However there has been new major release of erlang in during the freeze. I have incorporated the changes you made and created a new erlang-9b.ebuild (which I'm attaching). I am slightly concerned with the version numbers because if and when erlang.org releases a new version it will be named R9B-2... last time I tried Portage does not like a file named erlang-9b2.ebuild...would a name like erlang-9b-r2.ebuild for a minor release number, not just ebuild maintenance, still meet Gentoo's naming convention standards? Now I'm off to get #6380 updated :) Thanks for your help! Charlie
Hi Charlie Thanks for an update! I have processed and committed it. The ebuild is keymasked, please test. George
Build script(erlang-9b) makes this wrong link >>> /usr/lib/erlang/bin/epmd -> /var/tmp/portage/erlang-9b/image//usr/lib/erlang/erts-5.2/bin/epmd and maybe wrong permissions on -rw-r--r-- 1 root root 8525 Feb 5 16:46 /usr/lib/erlang/lib/asn1-1.4/priv/lib/asn1_erl_drv.so and on -rw-r--r-- 1 root root 177160 Feb 5 16:46 /usr/lib/erlang/lib/megaco-1.1.0/priv/lib/megaco_flex_scanner_drv.so I'd caught this: one error and two next warnings, when i tried to build rpm package and I think ebuild.sh needs such AI.
db fix