This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: generating csu/version-info.h


Arkadiusz Miskiewicz wrote:
While compiling today snapshot (with some patches applied):

In file included from version.c:33:
/home/users/misiek/rpm/BUILD/glibc-2.3.3/builddir/csu/version-info.h:1:1: missing terminating " character
>...
Seems that this is needed:
                  echo "\"Compiled on a $$os $$version system" \
-                        "on `date +%Y-%m-%d`.\\n\"" ;; \
+                      "on `date +%Y-%m-%d`.\\\\n\"" ;; \
           *) ;; \

and then
-          echo "\"Available extensions:\\n\"";                       \
+          echo "\"Available extensions:\\\\n\"";                       \


ps. My /bin/sh is pdksh, sed 4.0.8

It matters that your shell is pdksh, I bet.


Hmm.  I seem to recall that the following patch from 25 sept 03:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/csu/Makefile.diff?r1=1.70&r2=1.71&cvsroot=glibc
fixes this.  I can't recall any of the details, so maybe I'm wrong.

But see also
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=207391
which discusses it a bit from a different angle.
- Dan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]