IcedTea6 Unpacking openjdk6 source

Lillian Angel langel at redhat.com
Mon Mar 24 06:54:11 PDT 2008


Michael Franz wrote:
> Hi,
>
> I am trying the icedtea6 and found that it downloads the opend jdk 6 
> source as a compressed tar file.  However, when it tries to unpack the 
> archive, the process only uses tar xf instead of tar xzf or piping the 
> file through gunzip first.  The Makefile target is:
> stamps/extract.stamp: stamps/download.stamp
>         if ! test -d openjdk ; \
>         then \
>           mkdir openjdk ; \
>           $(TAR) xf $(OPENJDK_SRC_ZIP) -C openjdk; \
>           chmod -R ug+w openjdk ; \
>         fi
>         mkdir -p stamps
>         touch stamps/extract.stamp
>
> I believe that this is related to the previous section:
> if USE_ALT_OPENJDK_SRC_ZIP
>   OPENJDK_SRC_ZIP = $(ALT_OPENJDK_SRC_ZIP)
> else
>   OPENJDK_SRC_ZIP = 
> openjdk-6-src-$(OPENJDK_VERSION)-$(OPENJDK_DATE).tar.gz
> endif
>
>
> So, if you are not using the alternate src the unpack will not work.


Thanks for pointing this out. I will change it to "tar xzf"

Lillian



More information about the distro-pkg-dev mailing list