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

[Xen-devel] Broken URLs in stubdom module dependencies



Hi there,

as part of some instructions I knocked up a while ago, when
adding Xen 4.9.0 into a Linux Fron Scratch system, I had
identified a way to determine which dependency sources
would be pulled down if Xen was built without disabling the
stubdom module.

As a result of recently revisiting my instructions for Xen
4.10.2, I have notced that some of the URLs that are still
with the Xen source build files are no longer valid

Here is how I came to identify the URLs of source tarballs
as run against an unpacked Xen 4.10.2 source tree


$ grep -r FETCHER xen-4.10.2/
xen-4.10.2/tools/firmware/etherboot/Makefile:   if ! $(FETCHER) _$T
$(IPXE_TARBALL_URL); then \
xen-4.10.2/tools/configure:FETCHER
xen-4.10.2/tools/configure:    FETCHER="$WGET -c -O"
xen-4.10.2/tools/configure:        FETCHER="$FTP -o"
xen-4.10.2/tools/configure.ac:AX_CHECK_FETCHER
xen-4.10.2/stubdom/Makefile:    $(FETCHER) $@ $(NEWLIB_URL)/$@
xen-4.10.2/stubdom/Makefile:    $(FETCHER) $@ $(ZLIB_URL)/$@
xen-4.10.2/stubdom/Makefile:    $(FETCHER) $@ $(LIBPCI_URL)/$@
xen-4.10.2/stubdom/Makefile:    $(FETCHER) $@ $(LWIP_URL)/$@
xen-4.10.2/stubdom/Makefile:    $(FETCHER) $@ $(GMP_URL)/$@
xen-4.10.2/stubdom/Makefile:    $(FETCHER) $@ $(POLARSSL_URL)/$@
xen-4.10.2/stubdom/Makefile:    $(FETCHER) $@ $(TPMEMU_URL)/$@
xen-4.10.2/stubdom/Makefile:    $(FETCHER) $@ $(OCAML_URL)/$@
xen-4.10.2/stubdom/Makefile:    $(FETCHER) $@ $(GRUB_URL)/$@
xen-4.10.2/stubdom/configure:FETCHER
xen-4.10.2/stubdom/configure:    FETCHER="$WGET -c -O"
xen-4.10.2/stubdom/configure:        FETCHER="$FTP -o"
xen-4.10.2/stubdom/configure.ac:AX_CHECK_FETCHER
xen-4.10.2/m4/fetcher.m4:AC_DEFUN([AX_CHECK_FETCHER], [
xen-4.10.2/m4/fetcher.m4:    FETCHER="$WGET -c -O"
xen-4.10.2/m4/fetcher.m4:        FETCHER="$FTP -o"
xen-4.10.2/m4/fetcher.m4:AC_SUBST(FETCHER)
xen-4.10.2/config/Stubdom.mk.in:FETCHER             := @FETCHER@
xen-4.10.2/config/Tools.mk.in:FETCHER             := @FETCHER@
$

giving you a set of packages to search for versions, URIs
and extensions, of ...

$ for p in NEWLIB ZLIB LIBPCI LWIP GMP POLARSSL TPMEMU OCAML GRUB ; do
>   grep -r ${p}_VERSION= xen-4.10.2/
> done
xen-4.10.2/stubdom/configure:NEWLIB_VERSION="1.16.0"
xen-4.10.2/stubdom/configure:ZLIB_VERSION="1.2.3"
xen-4.10.2/stubdom/configure:LIBPCI_VERSION="2.2.9"
xen-4.10.2/stubdom/configure:LWIP_VERSION="1.3.0"
xen-4.10.2/stubdom/configure:GMP_VERSION="4.3.2"
xen-4.10.2/stubdom/configure:POLARSSL_VERSION="1.1.4"
xen-4.10.2/stubdom/configure:TPMEMU_VERSION="0.7.4"
xen-4.10.2/stubdom/configure:OCAML_VERSION="3.11.0"
xen-4.10.2/stubdom/configure:GRUB_VERSION="0.97"
$

$ for p in NEWLIB ZLIB LIBPCI LWIP GMP POLARSSL TPMEMU OCAML GRUB ; do
>   grep -r ${p}_URL=\" xen-4.10.2/
> done
xen-4.10.2/stubdom/configure:  NEWLIB_URL="ftp://sources.redhat.com/pub/newlib";
xen-4.10.2/stubdom/configure:  ZLIB_URL="http://www.zlib.net";
xen-4.10.2/stubdom/configure:
LIBPCI_URL="http://www.kernel.org/pub/software/utils/pciutils";
xen-4.10.2/stubdom/configure:
LWIP_URL="http://download.savannah.gnu.org/releases/lwip";
xen-4.10.2/stubdom/configure:  GMP_URL="ftp://ftp.gmplib.org/pub/gmp-4.3.2";
xen-4.10.2/stubdom/configure:  POLARSSL_URL="http://polarssl.org/code/releases";
xen-4.10.2/stubdom/configure:
TPMEMU_URL="http://download.berlios.de/tpm-emulator";
xen-4.10.2/stubdom/configure:
OCAML_URL="http://caml.inria.fr/pub/distrib/ocaml-3.11";
xen-4.10.2/stubdom/configure:  GRUB_URL="http://alpha.gnu.org/gnu/grub";
$

$ for p in NEWLIB ZLIB LIBPCI LWIP GMP POLARSSL TPMEMU OCAML GRUB ; do
>     grep -r ${p}_VERSION xen-4.10.2/ | grep ":$"
> done
xen-4.10.2/stubdom/Makefile:newlib-$(NEWLIB_VERSION).tar.gz:
xen-4.10.2/stubdom/Makefile:zlib-$(ZLIB_VERSION).tar.gz:
xen-4.10.2/stubdom/Makefile:pciutils-$(LIBPCI_VERSION).tar.bz2:
xen-4.10.2/stubdom/Makefile:lwip-$(LWIP_VERSION).tar.gz:
xen-4.10.2/stubdom/Makefile:gmp-$(GMP_VERSION).tar.bz2:
xen-4.10.2/stubdom/Makefile:polarssl-$(POLARSSL_VERSION)-gpl.tgz:
xen-4.10.2/stubdom/Makefile:tpm_emulator-$(TPMEMU_VERSION).tar.gz:
xen-4.10.2/stubdom/Makefile:ocaml-$(OCAML_VERSION).tar.gz:
xen-4.10.2/stubdom/Makefile:grub-$(GRUB_VERSION).tar.gz:
$


What I have noticed is that, whilst the version numbers of the
dependencies have not changed in Xen from 4.9.0 to 4.10.2, because
those versions are now even older, some of the URLs are no longer
valid.


Here's a list of URls that the content within the Xen build files
would suggest that the sources be available at



ftp://sources.redhat.com/pub/newlib/newlib-1.16.0.tar.gz

http://www.zlib.net/zlib-1.2.3.tar.gz

http://www.kernel.org/pub/software/utils/pciutils/pciutils-2.2.9.tar.bz2

http://download.savannah.gnu.org/releases/lwip/lwip-1.3.0.tar.gz

ftp://ftp.gmplib.org/pub/gmp-4.3.2/gmp-4.3.2.tar.bz2

http://polarssl.org/code/releases/polarssl-1.1.4-gpl.tgz

http://download.berlios.de/tpm-emulator/tpm_emulator-0.7.4.tar.gz

http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-3.11.0tar.gz

http://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz



and here's a list of where I had to go to get the dependecy source
tarballs


ftp://sources.redhat.com/pub/newlib/newlib-1.16.0.tar.gz

http://www.zlib.net/fossils/zlib-1.2.3.tar.gz

http://www.kernel.org/pub/software/utils/pciutils/pciutils-2.2.9.tar.bz2

http://download.savannah.gnu.org/releases/lwip/older_versions/lwip-1.3.0.tar.gz

ftp://ftp.gmplib.org/pub/archive/gmp-4.3.2/gmp-4.3.2.tar.bz2

http://polarssl.org/code/releases/polarssl-1.1.4-gpl.tgz

https://sourceforge.net/projects/tpm-emulator.berlios/files/tpm_emulator-0.7.4.tar.gz/download

http://caml.inria.fr/pub/distrib/ocaml-3.11/-ocaml-3.11.0.tar.gz

http://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz


in which you will note that zlib, lwip and gmp all have different
ways of suggesting which versions are "no longer current", and that
the cannonical URI for getting the tpm_emulator sources did not
appear to be available from "berlios.de" anymore.

Hoping that's of some use,
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.