JAR_KNOWS_ATFILE (was: Make or Makefile problem?)
Gary Benson
gbenson at redhat.com
Mon Apr 6 06:10:54 PDT 2009
(Posting to distro-pkg-dev, this is an IcedTea-specific issue...)
Neale Ferguson wrote:
> I¹m building icedtea6-1.4.1 and am encountering the following error:
>
> /bin/mkdir -p
> /home/neale/icedtea6-1.4.1/openjdk-ecj/control/build/linux-s390x/tmp
> rm -f
> /home/neale/icedtea6-1.4.1/openjdk-ecj/control/build/linux-s390x/tmp/rt-orig
> .jar
> ifneq (,1)
> /bin/sh: -c: line 0: syntax error near unexpected token `,1'
> /bin/sh: -c: line 0: `ifneq (,1)'
> make[2]: ***
> [/home/neale/icedtea6-1.4.1/openjdk-ecj/control/build/linux-s390x/tmp/rt-ori
> g.jar] Error 2
> make[2]: Leaving directory `/home/neale/icedtea6-1.4.1/openjdk-ecj/jdk/make'
>
> It appears due to this part of the recipe:
>
> $(RT_JAR): $(if $(JAR_KNOWS_ATFILE),$(RT_JAR_FILELIST),$(RT_JAR_ARGLIST)) \
> $(JAR_MANIFEST_FILE)
> $(prep-target)
> ifneq (,$(JAR_KNOWS_ATFILE))
> (cd $(CLASSBINDIR) && \
> $(BOOT_JAR_CMD) c0mf $(JAR_MANIFEST_FILE) $@ \
> $(JAR_JFLAGS) @$(RT_JAR_FILELIST))
> else
> :
>
> I'm using GNU make 3.81.
>
> Neale
--
http://gbenson.net/
More information about the distro-pkg-dev
mailing list