Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6275 - An ebuild for Erlang OTP R8B-2
Summary: An ebuild for Erlang OTP R8B-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 6380
  Show dependency tree
 
Reported: 2002-08-09 19:05 UTC by charlie mac
Modified: 2003-04-04 01:26 UTC (History)
1 user (show)

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


Attachments
erlang otp r8b-2 ebuild file (erlang-8b.ebuild,760 bytes, text/plain)
2002-08-09 19:10 UTC, charlie mac
Details
new erlang otp RB8-2 ebuild (erlang-8.2.ebuild,870 bytes, text/plain)
2002-08-11 19:58 UTC, charlie mac
Details
revision 1 (erlang-8.2-r1.ebuild,1.24 KB, text/plain)
2002-08-12 14:54 UTC, charlie mac
Details
ebuild for erlang OTP R9B-0 (erlang-9b.ebuild,1.58 KB, application/octet-stream)
2002-11-02 21:36 UTC, charlie mac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charlie mac 2002-08-09 19:05:03 UTC
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
Comment 1 charlie mac 2002-08-09 19:10:05 UTC
Created attachment 2951 [details]
erlang otp r8b-2 ebuild file
Comment 2 John Herdy 2002-08-10 09:44:26 UTC
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. 
Comment 3 charlie mac 2002-08-11 19:58:55 UTC
Created attachment 3008 [details]
new erlang otp RB8-2 ebuild 

this one should work.  Changed version number to hopefully match Gentoo
standards...
Comment 4 charlie mac 2002-08-12 14:54:24 UTC
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.
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2002-11-01 23:51:38 UTC
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
Comment 6 George Shapovalov (RETIRED) gentoo-dev 2002-11-02 01:32:47 UTC
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
Comment 7 charlie mac 2002-11-02 21:36:31 UTC
Created attachment 5345 [details]
ebuild for erlang OTP R9B-0
Comment 8 charlie mac 2002-11-02 21:37:12 UTC
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
Comment 9 George Shapovalov (RETIRED) gentoo-dev 2003-01-07 23:22:05 UTC
Hi Charlie

Thanks for an update!
I have processed and  committed it. The ebuild is keymasked, please test.

George
Comment 10 Max Loparev 2003-02-05 09:04:57 UTC
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.
Comment 11 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:21:45 UTC
db fix
Comment 12 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:26:37 UTC
db fix