On Wed, May 04, 2005, Michael Schloh wrote:

> On Tue, May 03, 2005, Matthias Kurz wrote:
> > When i try e.g. 'cvs status' with a CVSROOT of ":ext:..." and
> > CVS_RSH=ssh, i get an output like:
> >
> Yes, cvs 1.12.11 is flawed. I believe it is not a packaging issue, but
> then again I've not looked too hard at it. I choose instead to stick
> with 1.12.9 which works correctly.
> 
> > Any idea ? Or do i need to debug this ?
> >
> There is a new version now cvs-1.12.12 which might fixe the problem. It will
> take a little more effort than usual to get this update out though, due to
> Ralf's important patch which normally needs to be painstakingly adjusted.
> Keep a look out, or if you are impatient then repackage the new version
> without the rse patch for testing.

Yes, i also found 1.12.12, but it has the same problem. Also, the rse
patches do not apply.
The problem is, that the system 'getopt' is used and not the non-standard
one that is included in the package (GNU getopt).
I just used the dirty trick to tweak config.cache. Until now it seems to
work for me. I append a patch to cvs.spec from the CURRENT package. 
This all happened under Solaris 10. Under Solaris 8 the unmodified
package always worked - as i found out, when i tried to upgrade the
package there. But then, it is probably not a bad idea to enforce the
same getopt implementation on all platforms.


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
  >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<
Index: cvs.spec
===================================================================
RCS file: /v/openpkg/cvs/openpkg-src/cvs/cvs.spec,v
retrieving revision 1.98
diff -u -r1.98 cvs.spec
--- cvs.spec    4 May 2005 09:59:06 -0000       1.98
+++ cvs.spec    4 May 2005 20:09:36 -0000
@@ -110,6 +110,8 @@
 
 %build
     #   configure CVS package
+    (echo "ac_cv_header_getopt_h=no"
+     echo "ac_cv_func_getopt_long_only=no") >config.cache
     CC="%{l_cc}" \
 %if "%{with_rse}" == "yes"
     CFLAGS="%{l_cflags -O} -DRSE_PATCHES" \
@@ -118,7 +120,7 @@
 %endif
     LDFLAGS="%{l_fsl_ldflags}" \
     LIBS="%{l_fsl_libs}" \
-    ./configure \
+    ./configure -C \
         --prefix=%{l_prefix} \
         --with-patch=%{l_prefix}/bin/patch \
         --with-tmpdir=%{l_prefix}/var/cvs/tmp \

Reply via email to