Thanks for the quick reply,

> >
> > I have started using gentoo's drbd 0.6.6-r2 and encountered some
> > file system corruption problems :( tailking with Lars (Linux-HA) it seems
> > that the problem has been fixed in a later version he suggests using
> >
> > { My opinion in this case is: use CVS HEAD, (which will apear in
> > /proc/drbd as "0.6.10+cvs") }
> >
> > If the kind person who created the orig ebuild feels like upgrading I
> > would love to test it ;)  else I guess it's time to read the ebuild howto
> > !
>
> cp /usr/portage/sys-cluster/drbd/drbd-0.6.6-r2.ebuild
> /usr/portage/sys-cluster/drbd/drbd-0.6.10.ebuild ebuild
> /usr/portage/sys-cluster/drbd/drbd-0.6.10.ebuild digest
>
Ok two questions,
1) how do we get this version included in the portage tree ?

2) I did as you suggested but the build failed :-
plinux # cp /usr/portage/sys-cluster/drbd/drbd-0.6.6-r2.ebuild 
/usr/local/portage/sys-cluster/drbd/drbd-0.6.10.ebuild
plinux # ebuild /usr/local/portage/sys-cluster/drbd/drbd-0.6.10.ebuild digest
>>> Generating digest file...
<<< drbd-0.6.10.tar.gz
>>> Generating manifest file...
<<< drbd-0.6.10.ebuild
<<< files/digest-drbd-0.6.10
>>> Computed message digests.

plinux # emerge  drbd
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-cluster/drbd-0.6.10 to /
>>> md5 src_uri ;-) drbd-0.6.10.tar.gz
>>> Unpacking source...
>>> Unpacking drbd-0.6.10.tar.gz to /var/tmp/portage/drbd-0.6.10/work
/usr/sbin/ebuild.sh: line 20: cd: 
/var/tmp/portage/drbd-0.6.10/work/drbd-0.6.10: No such file or directory

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/local/portage/sys-cluster/drbd/files/0.6.10-Makefile.vars.patch

!!! ERROR: sys-cluster/drbd-0.6.10 failed.
!!! Function epatch, Line 214, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!

It seems that the working directory is still wrong !

plinux # ls /var/tmp/portage/drbd-0.6.10/work/
drbd-0.6.6

Where is this setup ?

Cheers,
        Frank.








--
[EMAIL PROTECTED] mailing list

Reply via email to