DosFStools mirror missing
Quoted 8 lines · Andre Renaud
The mirror for DosFSTools, ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz
appears to be down at the moment. Using the Debian mirror however works fine. Attached is an alternative bitbake package which uses the debian mirror system to do the download, which should be much more robust.
Andre
The Debian Mirror provide only a newer version of the dosfstools, isn't it? I got the same problem while inherit the bootimg.bbclass.
here comes my dosfstools-nativ_2.11.bb
The Problem is that the bootimg.bbclass contains mkdosfs -F 12 ..... *-d* ${BDIR} ..... The parameter -d was not found in mkdosfs 2.11. This is provided by the patch (mkdosfs-dif.patch). Maybe somebody can fix that.
Best Regards
Patrick
# dosfstools-native OE build file # Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see packages/COPYING)
require dosfstools_${PV}.bb
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dosfstools-${PV}"
S="${WORKDIR}/dosfstools-${PV}"
SRC_URI = "http://ftp.debian.org/debian/pool/main/d/dosfstools/dosfstools_2.11.orig.tar.gz \ file://mkdosfs-bootcode.patch;patch=1 \ file://mkdosfs-dir.patch;patch=1 \ file://alignment_hack.patch;patch=1 \ file://dosfstools-2.10-kernel-2.6.patch;patch=1 \ file://msdos_fat12_undefined.patch;patch=1 \ file://dosfstools-msdos_fs-types.patch;patch=1 \ file://include-linux-types.patch;patch=1"
inherit native
do_stage() {
install -m 755 ${S}/mkdosfs/mkdosfs ${STAGING_BINDIR}/mkdosfs
install -m 755 ${S}/dosfsck/dosfsck ${STAGING_BINDIR}/dosfsck
}-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Patrick Fischer schreef:
Quoted 8 lines
Quoted 7 lines · Andre Renaud
The mirror for DosFSTools, ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz
appears to be down at the moment. Using the Debian mirror however works fine. Attached is an alternative bitbake package which uses the debian mirror system to do the download, which should be much more robust.
INHERIT += "angstrom-mirrors" will give you access to
http://www.angstrom-distribution.org/unstable/sources/dosfstools-2.10.src.tar.gz
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGEhbRMkyGM64RGpERAq/hAJ4iwCuplFH+7N9PEcpz+FVaUgBxggCfUBCW qfKzKPmH9Mr+4XeJZZO3jDo=
=pt74
-----END PGP SIGNATURE-----
Quoted 8 lines · Koen Kooi
Patrick Fischer schreef:
Quoted 6 lines
Quoted 4 lines · Andre Renaud
The mirror for DosFSTools, ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
appears to be down at the moment. Using the Debian mirror however works fine. Attached is an alternative bitbake package which uses the debian mirror system to do the download, which should be much more robust.
INHERIT += "angstrom-mirrors" will give you access to
http://www.angstrom-distribution.org/unstable/sources/dosfstools-2.10.src.tar.gz
Ok with this source (could never test with the original source) I get this compile error
make -C mkdosfs all
make[1]: Entering directory `/var/src/openembedded/tmp/work/i686-linux/dosfstools-native-2.10-r3/dosfstools-2.10/mkdosfs' ccache gcc -isystem/var/src/openembedded/tmp/staging/i686-linux/include -O2 -c mkdosfs.c -o mkdosfs.o mkdosfs.c:129: error: expected declaration specifiers or '...' before '_llseek'
mkdosfs.c:129: error: expected declaration specifiers or '...' before 'fd'
mkdosfs.c:129: error: expected declaration specifiers or '...' before 'hi'
mkdosfs.c:129: error: expected declaration specifiers or '...' before 'lo'
mkdosfs.c:130: error: expected declaration specifiers or '...' before 'res'
mkdosfs.c:130: error: expected declaration specifiers or '...' before 'wh'
make[1]: *** [mkdosfs.o] Error 1
make[1]: Leaving directory `/var/src/openembedded/tmp/work/i686-linux/dosfstools-native-2.10-r3/dosfstools-2.10/mkdosfs'
make: *** [all] Error 2
+ die 'oe_runmake failed'
+ oefatal 'oe_runmake failed'
+ echo FATAL: 'oe_runmake failed'
FATAL: oe_runmake failed
+ exit 1
ERROR: Function do_compile failed
regards
Patrick