https://ccvs.cvshome.org/issues/show_bug.cgi?id=244
Issue #|244
Summary|Empty ALLOCA causing build error on HPUX
Component|ccvs
Version|current
Platform|HP
URL|
OS/Version|HP-UX
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P5
Subcomponent|build
Assigned to|dprice
Reported by|nicolasraoul
------- Additional comments from nicolasraoul@cvshome.org Tue Apr 5 07:06:42
-0700 2005 -------
Hello all,
I have an error when building cvs on HPUX, here are the explanation and patch.
--- EXPLANATION
lib/Makefile.in contains this block :
libcvs_a_LIBADD = \
@LIBOBJS@ \
@ALLOCA@
In my case, ALLOCA is empty. As a result, in the generated Makefile, the command
gets and the next one get mixed:
libcvs_a_LIBADD = \
sunos57-select$U.o lstat$U.o mktime$U.o getline$U.o getndelim2$U.o
getopt$U.o getopt1$U.o getpass$U.o mkstemp$U.o tempname$U.o realloc$U.o
regex$U.o rpmatch$U.o setenv$U.o unsetenv$U.o time_r$U.o vasnprintf$U.o
printf-args$U.o printf-parse$U.o asnprintf$U.o vasprintf$U.o asprintf$U.o \
BUILT_SOURCES = $(ALLOCA_H) $(FNMATCH_H) $(GETOPT_H) $(STDBOOL_H) \
$(STDINT_H)
Which obviously fails, because of the antislash just before "BUILT_SOURCES".
cvs: 1.12.11
System: HP-UX B.11.00 A
Hardware: PA/RISC 2.0 8500 64-bits 9000/785/C360
--- PATCH
And here is a quick and dirty patch :
lib/Makefile.in
307,308c307,308
< @LIBOBJS@ \
< @ALLOCA@
---
@ALLOCA@ \
@LIBOBJS@
Thanks,
Nicolas Raoul.
http://nrw.free.fr