All of lore.kernel.org
 help / color / mirror / Atom feed
* DosFStools mirror missing
@ 2007-04-02 23:06 Andre Renaud
  0 siblings, 0 replies; 4+ messages in thread
From: Andre Renaud @ 2007-04-02 23:06 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1359 bytes --]

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

-- 
Bluewater Systems Ltd - ARM Technology Solutions Centre

       Andre Renaud                             Bluewater Systems Ltd
Phone: +64 3 3779127 (Aus 1 800 148 751)        Level 17, 119 Armagh St
Fax:   +64 3 3779135                            PO Box 13889
Email: arenaud@bluewatersys.com                 Christchurch
Web:   http://www.bluewatersys.com              New Zealand
# dosfstools OE build file
# Copyright (C) 2004-2006, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

DESCRIPTION = "DOS FAT Filesystem Utilities"

SECTION = "base"
PRIORITY = "optional"
LICENSE = "GPL"

PR = "r0"

SRC_URI = "${DEBIAN_MIRROR}/main/d/dosfstools/dosfstools_${PV}.orig.tar.gz \
	   file://alignment_hack.patch;patch=1 \
           file://msdos_fat12_undefined.patch;patch=1 \
	   file://include-linux-types.patch;patch=1"

do_install () {
	oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \
		   "MANDIR=${D}${mandir}/man8" install
}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DosFStools mirror missing
@ 2007-04-03  8:46 Patrick Fischer
  2007-04-03  8:56 ` Koen Kooi
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick Fischer @ 2007-04-03  8:46 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1689 bytes --]

Andre Renaud wrote:
> 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
}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DosFStools mirror missing
  2007-04-03  8:46 DosFStools mirror missing Patrick Fischer
@ 2007-04-03  8:56 ` Koen Kooi
  2007-04-03  9:26   ` Patrick Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2007-04-03  8:56 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Fischer schreef:
> Andre Renaud wrote:
>> 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-----



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DosFStools mirror missing
  2007-04-03  8:56 ` Koen Kooi
@ 2007-04-03  9:26   ` Patrick Fischer
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Fischer @ 2007-04-03  9:26 UTC (permalink / raw)
  To: openembedded-devel

Koen Kooi wrote:
> Patrick Fischer schreef:
>   
>> Andre Renaud wrote:
>>     
>>> 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
>   
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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-03  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03  8:46 DosFStools mirror missing Patrick Fischer
2007-04-03  8:56 ` Koen Kooi
2007-04-03  9:26   ` Patrick Fischer
  -- strict thread matches above, loose matches on Subject: below --
2007-04-02 23:06 Andre Renaud

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.