bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Issue 244] New - Empty ALLOCA causing build error on HPUX


From: Derek Price
Subject: Re: [Issue 244] New - Empty ALLOCA causing build error on HPUX
Date: Tue, 05 Apr 2005 12:01:54 -0400
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Hey Larry, why aren't you seeing this on your nightly HPUX testing? "HPUX B11.00 A 9000/785" looks pretty close to "HPUX B11.00 U 9000/785" to my naive eyes. Are you using GNU Make and Nicolas isn't?

Derek


address@hidden wrote:

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 address@hidden 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]