Bug 13209 - RPC compilation error.
Bug#: 13209 Product:  Gentoo Linux Version: 1.4_rc2 Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: george@gentoo.org Reported By: bernardos@superig.com.br
Component: Ebuilds
URL:  http://www.eecs.umich.edu/~pelzlpj/rpc/index.html
Summary: RPC compilation error.
Keywords:  
Status Whiteboard: 
Opened: 2003-01-03 22:42 0000
Description:   Opened: 2003-01-03 22:42 0000
Hi folks,

 First, I need an ebuild for ccmath lib. Please (I ask for it on another bug)
 Second, on my gentoo 1.4 I just can't compile this soft (rpc). Why? I had tried
gcc2 and gcc3 and nothing. Always compilation errors.
 Third, if you can compile it, make an ebuild. This soft is very good for who
loves HP calculators (RPN) and doesn't like too much bc.

   Thanxs a lot... Bernardo S. A. Silva

------- Comment #1 From George Shapovalov 2003-01-04 22:48:23 0000 -------
Hi Bernardo

Thanks for your interest.
So, here you go ;)

First, please create one bug per request. It is much easier to process atomaric
requests, beleive me.

Second, I see you are requesting an ebuild to be created for some package. Could
you please give me some more details:
1. I tried to search for rpc in portage and here are the most relevant packages
I found:
dev-perl/PlRPC  "The Perl RPC Module" whatever it is and
net-libs/rpc2 - some kind of remote procedure call library
Do you mean any of those?

2. I presume you meant some package that is not in portage at present and you
would like to see the ebuild for it created. Please give me somewhat more
detailed description of it and some kind of reference at least.

3. You mention that you tried compiling it yourself but were getting errors.
Could you please be more specific here: 
 a) Please show me what you were doing. The ebuild would be the best form to
present what you did of course ;). If you are not feeling brave enough you could
at least attach a short file containing a list of commands you were executing
and/or short description of anything else relevant
 b) The error messages you were getting.

I'll try to take a look at this as soon as I'll get something.

George

------- Comment #2 From George Shapovalov 2003-01-04 23:33:54 0000 -------
Oh, I see we finally have those additional bug states added. I'll take
advantage
of them then.
Bernardo: I'll close the bug with "needinfo" for now, please reopen it when you
are ready (it'll remain assigned to me).

George

------- Comment #3 From Bernardo S. A. Silva 2003-01-05 02:09:16 0000 -------
Hi,

 RPC is an RPN calculator for ncurses.
 The site is: http://www.eecs.umich.edu/~pelzlpj/rpc/index.html
 This soft needs CCMath to work.

   Thanx a lot... Bernardo S. A. Silva

------- Comment #4 From Bernardo S. A. Silva 2003-01-22 22:37:05 0000 -------
Hi folks,

 I have made the ebuild for rpc. 
 I will be very glad if it goes to /usr/portage. I suggest: app-sci/rpc

   Thanx a lot... Bernardo S. A. Silva

------- Comment #5 From Bernardo S. A. Silva 2003-01-22 22:40:12 0000 -------
Created an attachment (id=7547) [details]
rpc ebuild file

------- Comment #6 From George Shapovalov 2003-02-23 21:51:18 0000 -------
Hi Bernardo.

I am processing your submission, and I noticed this in src_compile:
    local myconf
    econf ${myconf} || die

What is this supposed to do? myconf will be empty and in present form this is equivalent to just:
    econg || die

In order not to delay processing of this ebuild I used above simplified form. Please let me know if this is problematic.

The ebuild is committed, please test.

George

------- Comment #7 From Bernardo S. A. Silva 2003-02-24 15:12:51 0000 -------
Hi,

I have tested and everything works fine!
The myconf line is really useless after all... sorry :)

But, when he compiles, ho doesn

------- Comment #8 From Bernardo S. A. Silva 2003-02-24 15:12:51 0000 -------
Hi,

I have tested and everything works fine!
The myconf line is really useless after all... sorry :)

But, when he compiles, ho doesn´t use my CFLAGS. Why?

   Thanx a lot... Bernardo S. A. Silva

------- Comment #9 From Bernardo S. A. Silva 2003-02-24 15:19:40 0000 -------
Hi,

I have discovered why RPC emake doesn

------- Comment #10 From Bernardo S. A. Silva 2003-02-24 15:19:40 0000 -------
Hi,

I have discovered why RPC emake doesn´t use my CFLAGS.
This is because the RPC configure doesn´t never change the CFLAGS.
So, it is an limitation from the program.

I have made all the tests and everything works real fine...
You can unmask it if you wanna.

   Thanx... Bernardo S. A. Silva

------- Comment #11 From George Shapovalov 2003-03-11 15:52:28 0000 -------
Unmasked, closing the bug..

------- Comment #12 From George Shapovalov 2003-09-30 22:21:00 0000 -------
reclosing the bug