Error fetching packages for OpenEmbedded

For my third post on compiling OpenEmbedded for Gumstix on a modern system, we come across errors downloading base-passwd, busybox, curl, dosfstools, fakeroot, file, gconf-dbus, git, iana-etc, ipkg, ipkg-utils, libxml-parser-perl, libxml2, mime-support, module-init-tools, netbase, openssl, pax-utils, pcmciautils, popt, pxaregs.c, setserial, sysvinit, tinylogin, tslib, udev, update-alternatives, update-rc.d, usbutils, util-linux, and zlib.

This is a simple problem and a simple fix: old versions of these packages are either moved to a different location or removed entirely, so we change the URLs that the build process uses. Beware: using alternate sources for these packages carries an inherent risk – you may be downloading a modified version without knowing. Where possible you should also add hash entries for each file based on a known good value.

The error for zlib specifically is:

NOTE: package zlib-native-1.2.3-r2: task do_fetch: started
NOTE: fetch http://www.zlib.net/zlib-1.2.3.tar.bz2
–2015-09-23 17:38:11– http://www.zlib.net/zlib-1.2.3.tar.bz2
Resolving www.zlib.net (www.zlib.net)… 69.73.132.10
Connecting to www.zlib.net (www.zlib.net)|69.73.132.10|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-09-23 17:38:12 ERROR 404: Not Found.

The other packages have the same error but with different package names and URLs. The remainder of this post is a list of the following format:

  • filename_to_edit
    • Line to edit
    • New text to use for line

So, without further ado, the changes.

This first batch are all in the $GUMSTIXTOP/org.openembedded.snapshot/packages directory.

  • curl/curl_7.16.4.bb
    • SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2"
    • SRC_URI = "http://curl.haxx.se/download/archeology/curl-${PV}.tar.gz"
  • dosfstools/curl_7.16.4.bb
    • SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \
    • SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/dosfstools/dosfstools-2.11.src.tar.gz/407d405ade410f7597d364ab5dc8c9f6/dosfstools-2.11.src.tar.gz \
  • fakeroot/fakeroot_1.7.1.bb
    • SRC_URI = "ftp://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_${PV}.tar.gz \
    • SRC_URI = "ftp://ftp.linux4sam.com/pub/oe/oe_sources/fakeroot_${PV}.tar.gz \
    • The original actually throws an MD5 hash error, but that’s because of a redirection to another page that ends up getting downloaded instead of the archive.
  • file/file_4.18.bb
    • SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \
    • SRC_URI = "SRC_URI = "ftp://ftp.vim.org/vol/2/metalab/distributions/pdaxrom/src/file-4.18.tar.gz \"
  • file/file_4.21.bb
    • SRC_URI = "ftp://ftp.fi.debian.org/pub/gentoo/distfiles/file-${PV}.tar.gz"
    • SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/file/file-4.21.tar.gz/9e3503116f4269a1be70220ee2234b0e/file-4.21.tar.gz"
  • git/git_1.5.2.3.bb
    • SRC_URI = "http://www.kernel.org/pub/software/scm/git/git-${PV}.tar.bz2 \
    • SRC_URI = "http://ftp.be.debian.org/pub/software/scm/git-core/git-${PV}.tar.bz2 \
  • iana-etc/iana-etc_2.20.bb
    • SRC_URI = "http://www.sethwklein.net/projects/iana-etc/downloads/${P}.tar.bz2"
    • SRC_URI = "http://ftp.clfs.org/pub/clfs/conglomeration/iana-etc/${P}.tar.bz2"
  • ipkg/ipkg_0.99.163.bb
    • SRC_URI = "http://www.handhelds.org/pub/packages/ipkg/ipkg-${PV}.tar.gz \
    • SRC_URI = "ftp://ftp.linux4sam.com/pub/oe/oe_sources/ipkg-${PV}.tar.gz \
  • libxml/libxml2-native_2.6.29.bb
    • SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
    • SRC_URI = "ftp://xmlsoft.org/libxml2/old/libxml2-${PV}.tar.gz"
  • mime-support/mime-support_3.28.bb
    • SRC_URI = "${DEBIAN_MIRROR}/main/m/mime-support/mime-support_${PV}-1.tar.gz"
    • SRC_URI = "http://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/m/mime-support/mime-support_${PV}-1.tar.gz"
  • module-init-tools/module-init-tools_3.2.2.bb
    • SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/module-init-tools/module-init-tools-${PV}.tar.bz2 \
    • SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/module-init-tools/module-init-tools-3.2.2.tar.bz2/a1ad0a09d3231673f70d631f3f5040e9/module-init-tools-${PV}.tar.bz2 \
  • openssl/openssl.inc
    • SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz"
    • SRC_URI = "http://www.openssl.org/source/old/0.9.x/openssl-${PV}.tar.gz"
  • pax-utils/pax-utils_0.1.13.bb
    • SRC_URI = "${GENTOO_MIRROR}/pax-utils-${PV}.tar.bz2;md5sum=5f09df47a16e83462384b44b75310539"
    • SRC_URI = "http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.bz2;md5sum=5f09df47a16e83462384b44b75310539"
  • pcmciautils/pcmciautils.inc
    • SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
    • SRC_URI = "https://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.gz"
  • perl/libxml-parser-perl_2.34.bb
    • SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz"
    • SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/perl-XML-Parser/XML-Parser-2.34.tar.gz/84d9e0001fe01c14867256c3fe115899/XML-Parser-2.34.tar.gz"
  • popt/popt_1.7.bb
    • SRC_URI = "ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-${PV}.tar.gz \
    • SRC_URI = "http://gd.tuwien.ac.at/utils/rpm.org/dist/rpm-4.1.x/popt-${PV}.tar.gz \
  • pxaregs/pxaregs_1.14.bb
    • SRC_URI = "http://www.mn-logistik.de/unsupported/pxa250/pxaregs.c \
    • SRC_URI = "http://static.kempj.co.uk/misc/pxaregs.c"
    • You will also need to delete the lines specifying the patches to apply as they have already been applied to this copy of the file.
  • setserial/setserial_2.17.bb
    • SRC_URI = "http://fresh.t-systems-sfr.com/linux/src/setserial-2.17.tar.gz"
    • SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/setserial/setserial-2.17.tar.gz/c4867d72c41564318e0107745eb7a0f2/setserial-2.17.tar.gz"
  • tinylogin/tinylogin_1.4.bb
    • SRC_URI = "http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2 \
    • SRC_URI = "http://downloads.yoctoproject.org/releases/yocto/yocto-1.0/sources/tinylogin-1.4.tar.bz2 \
  • tslib/tslib_1.0.bb
    • SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \
    • SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/tslib/tslib-1.0.tar.bz2/92b2eb55b1e4ef7e2c0347069389390e/tslib-1.0.tar.bz2 \
  • update-alternatives/update-alternatives-cworth.inc
    • SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + bb.data.getVar('PV',d,1).replace('.', '-')}"
    • SRC_URI = "https://terkos.googlecode.com/svn/trunk/oe/sources/familiar.dist.ipkg_anoncvs.handhelds.org_V0-99-154_.tar.gz"
  • update-rc.d/update-rc.d_0.7.bb
    • SRC_URI = "${HANDHELDS_CVS};module=apps/update-rc.d;tag=r0_7"
    • SRC_URI = "http://arago-project.org/files/releases/2009.01/sources/apps.update-rc.d_anoncvs.handhelds.org_r0_7_.tar.gz"
  • usbutils/usbutils_0.70.bb
    • SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz"
    • SRC_URI = "http://ftp.be.debian.org/pub/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz"
  • util-linux/util-linux.inc
    • SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \
    • SRC_URI = "http://ftp.be.debian.org/pub/linux/utils/util-linux/v2.12/util-linux-2.12r.tar.bz2 \
  • zlib/zlib_1.2.3.bb
    • SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \
    • SRC_URI = "http://zlib.net/fossils/zlib-1.2.3.tar.gz \

This next batch are all in the $GUMSTIXTOP/com.gumstix.collection/packages directory.

  • base-passwd/base-passwd_3.5.9.bb
    • SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \
    • SRC_URI = "http://ftp.gnome.org/mirror/cdimage/snapshot/20050323/20050323/Debian/pool/main/b/base-passwd/base-passwd_3.5.9.tar.gz \
  • busybox/busybox.inc
    • SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
    • SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2 \
  • gnome/gconf-dbus_svn.bb
    • SRC_URI = "svn://developer.imendio.com/svn/gconf-dbus;module=trunk;proto=http \
    • SRC_URI = "ftp://ftp.linux4sam.com/pub/oe/oe_sources/trunk_developer.imendio.com_.svn.gconf-dbus_606_.tar.gz \
  • ipkg-utils/ipkg-utils_1.6+cvs20050404.bb
    • SRC_URI = "${HANDHELDS_CVS};module=ipkg-utils \
    • SRC_URI = "https://terkos.googlecode.com/svn-history/r1344/trunk/oe/sources/ipkg-utils_anoncvs.handhelds.org__20050930.tar.gz \
  • netbase/netbase_4.21.bb
    • SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \
    • SRC_URI = "http://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/n/netbase/netbase_4.21.tar.gz \
  • sysvinit/sysvinit-2.86.bb
    • SRC_URI = "ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-${PV}.tar.gz \
    • SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/sysvinit/sysvinit-2.86.tar.gz/7d5d61c026122ab791ac04c8a84db967/sysvinit-2.86.tar.gz \
  • udev/udev_118.bb
    • http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
    • http://ftp.be.debian.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
Facebooktwittergoogle_plusredditpinterestFacebooktwittergoogle_plusredditpinterest
Loading Facebook Comments ...

No Trackbacks.