Re: [gentoo-user] Re: [ebuild] make ebuild use custom ./configure arg

2006-09-05 Thread Richard Fish

On 9/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Or is it something I can correct by just generating my own post edit
md5 checksum?


Yes.  "ebuild  digest".  So run:

ebuild /usr/local/portage/net-fs/samba/samba-3.0.23c.ebuild digest

HTH,
-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [ebuild] make ebuild use custom ./configure arg

2006-09-05 Thread reader
Neil Bothwick <[EMAIL PROTECTED]> writes:

> On Tue, 05 Sep 2006 01:00:06 -0500, [EMAIL PROTECTED] wrote:
>
>> I'm trying to make my own ebuild of samba, jumping to latest release
>> 23c.  After creating the overlay and moving the current 23a there
>> renamed as 23c.  I'd like to make ebuild use one custom ./conifigure
>> arg of my own creation.
>
> There are two ways of doing this:
>
> Modify the ebuild, adding 
>
>   --without-torture \
>
> to the list that follows "econf" in src_compile(), line 95 in the
> 3.0.23a ebuild.
>
> Set the EXTRA_ECONF variable
>
> EXTRA_ECONF="--without-torture" emerge samba

Thanks for the detailed help, I think I must be going at this the
wrong way and should maybe be trying to figure out why `torture' is
breaking rather than trying to by-pass it.

The configure still fails after adding 
--without-torture \
as suggested under the `econf' section.  The the last chunk of
compiler output is at the end of this message.

It appears identical to the ouput I got with my first attempt at
making an ebuild, so I'm guessing --without-torture is not really a
possible flag as it appears to be breaking on torture any way.

I see some lines futher down below the econf section, around line 127
where the script runs `make torture' so --without-torture doesn't do
it I guess.  

I've tried commenting those two line out:
  #  einfo "make rpctorture"
  #  emake rpctorture || ewarn "rpctorture didn't build"

But then the verification fails on the ebuild `unpack' part:
  [...]
  !!! Digest verification failed:
  !!! /usr/local/portage/net-fs/samba/samba-3.0.23c.ebuild
  !!! Reason: Filesize does not match recorded size
  !!! Got: 8233
  !!! Expected: 8230

So how can I edit this script and get around that failure?  And why
didn't it fail verification when I inserted --withoug-toruture?

That would have changed the md5 too.

Or is it something I can correct by just generating my own post edit
md5 checksum?



-- 
gentoo-user@gentoo.org mailing list