All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
@ 2013-07-08 20:08 Daniel.
  2013-07-08 20:29 ` Peter Korsgaard
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel. @ 2013-07-08 20:08 UTC (permalink / raw)
  To: buildroot

I'm receiving this error while trying to compile dosfstools
[hilst at archhilst buildroot-2013.05]$ make
>>> dosfstools 3.0.16 Installing to target
test -z "mkdosfs" || install -m 755
/home/hilst/buildroot/buildroot-2013.05/output/build/dosfstools-3.0.16/mkdosfs
/home/hilst/buildroot/buildroot-2013.05/output/target/sbin/
install: cannot stat
?/home/hilst/buildroot/buildroot-2013.05/output/build/dosfstools-3.0.16/mkdosfs?:
No such file or directory
make: ***
[/home/hilst/buildroot/buildroot-2013.05/output/build/dosfstools-3.0.16/.stamp_target_installed]
Error 1
[hilst at archhilst buildroot-2013.05]$ ls -l
/home/hilst/buildroot/buildroot-2013.05/output/build/dosfstools-3.0.16/mkdosfs
ls: cannot access
/home/hilst/buildroot/buildroot-2013.05/output/build/dosfstools-3.0.16/mkdosfs:
No such file or directory
[hilst at archhilst buildroot-2013.05]$

It seems that mkdosfs isn't generated, still I got no copile error..

Cheers,


-- 
*"Do or do not. There is no try"*
*  **Yoda Master*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130708/00aaf9a4/attachment.html>

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
  2013-07-08 20:08 [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory Daniel.
@ 2013-07-08 20:29 ` Peter Korsgaard
       [not found]   ` <CAF3SDA7tGGeJfP2kJcf9Hy6Z4KrqUhHV0E1JBTE+0x+-bCMEMw@mail.gmail.com>
  0 siblings, 1 reply; 13+ messages in thread
From: Peter Korsgaard @ 2013-07-08 20:29 UTC (permalink / raw)
  To: buildroot

>>>>> "Daniel" == Daniel  <danielhilst@gmail.com> writes:

 Daniel> I'm receiving this error while trying to compile dosfstools
 Daniel> [hilst at archhilst buildroot-2013.05]$ make
 >>>> dosfstools 3.0.16 Installing to target
 Daniel> test -z "mkdosfs" || install -m 755 /home/hilst/buildroot/buildroot-2013.05/
 Daniel> output/build/dosfstools-3.0.16/mkdosfs /home/hilst/buildroot/buildroot-2013.05/
 Daniel> output/target/sbin/
 Daniel> install: cannot stat ?/home/hilst/buildroot/buildroot-2013.05/output/build/
 Daniel> dosfstools-3.0.16/mkdosfs?: No such file or directory
 Daniel> make: *** [/home/hilst/buildroot/buildroot-2013.05/output/build/
 Daniel> dosfstools-3.0.16/.stamp_target_installed] Error 1
 Daniel> [hilst at archhilst buildroot-2013.05]$ ls -l /home/hilst/buildroot/
 Daniel> buildroot-2013.05/output/build/dosfstools-3.0.16/mkdosfs
 Daniel> ls: cannot access /home/hilst/buildroot/buildroot-2013.05/output/build/
 Daniel> dosfstools-3.0.16/mkdosfs: No such file or directory
 Daniel> [hilst at archhilst buildroot-2013.05]$

 Daniel> It seems that mkdosfs isn't generated, still I got no copile error..

Works here:

>>> dosfstools 3.0.16 Installing to target
test -z "mkdosfs" || install -m 755 /home/peko/source/buildroot/output/build/dosfstools-3.0.16/mkdosfs /home/peko/source/buildroot/output/target/sbin/
mkdir -p /home/peko/source/buildroot/output/target/etc

Could you please provide more details? What is your .config exactly?
Please run 'make savedefconfig' and paste the content of the 'defconfig'
file.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
       [not found]   ` <CAF3SDA7tGGeJfP2kJcf9Hy6Z4KrqUhHV0E1JBTE+0x+-bCMEMw@mail.gmail.com>
@ 2013-07-09  5:23     ` Peter Korsgaard
  2013-07-10  8:41       ` Daniel Hilst Selli
                         ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Peter Korsgaard @ 2013-07-09  5:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Daniel" == Daniel  <danielhilst@gmail.com> writes:

Hi,

Please keep discussion on the buildroot mailing list instead of mailing
me directly.

 Daniel> Here is the config https://gist.github.com/gkos/5950964.

I asked you to run 'make savedefconfig' and post the defconfig file, but
OK.

Are you sure this is the right configuration? I see

# BR2_PACKAGE_DOSFSTOOLS is not set

E.G. you haven't enabled the dosfstools package at all.


 Daniel> I'm using
 Daniel> arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu tool
 Daniel> chain from CodeSourcery

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
  2013-07-09  5:23     ` Peter Korsgaard
@ 2013-07-10  8:41       ` Daniel Hilst Selli
  2013-07-10 10:36       ` Daniel Hilst Selli
                         ` (2 subsequent siblings)
  3 siblings, 0 replies; 13+ messages in thread
From: Daniel Hilst Selli @ 2013-07-10  8:41 UTC (permalink / raw)
  To: buildroot

On 07/09/2013 05:23 AM, Peter Korsgaard wrote:
>>>>>> "Daniel" == Daniel  <danielhilst@gmail.com> writes:
> Hi,
>
> Please keep discussion on the buildroot mailing list instead of mailing
> me directly.
>
>   Daniel> Here is the config https://gist.github.com/gkos/5950964.
>
> I asked you to run 'make savedefconfig' and post the defconfig file, but
> OK.
>
> Are you sure this is the right configuration? I see
>
> # BR2_PACKAGE_DOSFSTOOLS is not set
>
> E.G. you haven't enabled the dosfstools package at all.
>
>
>   Daniel> I'm using
>   Daniel> arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu tool
>   Daniel> chain from CodeSourcery
>
Sorry, Thunderbird reply buttom pranks me..

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
  2013-07-09  5:23     ` Peter Korsgaard
  2013-07-10  8:41       ` Daniel Hilst Selli
@ 2013-07-10 10:36       ` Daniel Hilst Selli
  2013-07-10 10:44       ` Daniel Hilst Selli
  2013-07-10 13:40       ` Daniel Hilst Selli
  3 siblings, 0 replies; 13+ messages in thread
From: Daniel Hilst Selli @ 2013-07-10 10:36 UTC (permalink / raw)
  To: buildroot

On 07/09/2013 05:23 AM, Peter Korsgaard wrote:
>>>>>> "Daniel" == Daniel  <danielhilst@gmail.com> writes:
>
> Hi,
>
> Please keep discussion on the buildroot mailing list instead of mailing
> me directly.
>
>   Daniel> Here is the config https://gist.github.com/gkos/5950964.
>
> I asked you to run 'make savedefconfig' and post the defconfig file, but
> OK.
>
> Are you sure this is the right configuration? I see
>
> # BR2_PACKAGE_DOSFSTOOLS is not set
>
> E.G. you haven't enabled the dosfstools package at all.
>
>
>   Daniel> I'm using
>   Daniel> arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu tool
>   Daniel> chain from CodeSourcery
>
Well, I found what is happening but don't found why

The dosfstools compiles file..
Now on this make file output/build/dosfstools-3.0.16/Makefile I got this 
rule:
install: install-bin install-doc install-man install-symlinks

Which brings me to this:
install-symlinks:
# OMITTED ..
         if [ -e $(DESTDIR)/$(SBINDIR)/mkfs.fat ]; \
         then \
                 ln -sf mkfs.fat $(DESTDIR)/$(SBINDIR)/mkdosfs; \
                 # ...
         fi; \        fi 


Here is the makefile, I'm using buildroot-2013.05, so it maybe identical 
of everyone with the same buidlroot: http://pastebin.com/Kt8sfse5

So mkdosfs is not a binary but a link.. which is not being created...
Here is the make output: http://pastebin.com/FPKGxrNT

It seems that install target is never being executed, or something like 
that.

Executing output/build/dosfstools-3.0.16/Makefile install target by hand 
seems fine: http://pastebin.com/z38ncXBF

Does buildroot uses a custom Makefile for each package?
This line, at make output, doesn't seem to be generated by dosfstools 
Makefile.

Thanks in advance
Best regards,

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
  2013-07-09  5:23     ` Peter Korsgaard
  2013-07-10  8:41       ` Daniel Hilst Selli
  2013-07-10 10:36       ` Daniel Hilst Selli
@ 2013-07-10 10:44       ` Daniel Hilst Selli
  2013-07-10 13:40       ` Daniel Hilst Selli
  3 siblings, 0 replies; 13+ messages in thread
From: Daniel Hilst Selli @ 2013-07-10 10:44 UTC (permalink / raw)
  To: buildroot

On 07/09/2013 05:23 AM, Peter Korsgaard wrote:
>   you sure this is the right configuration? I see
Peter, I just copy the .config from buildroot directory, sorry

Anyway.. here is the saved defconfig :)
http://pastebin.com/tdfC3pp2

Thanks again,
Best regards

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
  2013-07-09  5:23     ` Peter Korsgaard
                         ` (2 preceding siblings ...)
  2013-07-10 10:44       ` Daniel Hilst Selli
@ 2013-07-10 13:40       ` Daniel Hilst Selli
  2013-07-10 16:58         ` Thomas Petazzoni
  3 siblings, 1 reply; 13+ messages in thread
From: Daniel Hilst Selli @ 2013-07-10 13:40 UTC (permalink / raw)
  To: buildroot

On 07/09/2013 05:23 AM, Peter Korsgaard wrote:
>>>>>> "Daniel" == Daniel  <danielhilst@gmail.com> writes:
>
> Hi,
>
> Please keep discussion on the buildroot mailing list instead of mailing
> me directly.
>
>   Daniel> Here is the config https://gist.github.com/gkos/5950964.
>
> I asked you to run 'make savedefconfig' and post the defconfig file, but
> OK.
>
> Are you sure this is the right configuration? I see
>
> # BR2_PACKAGE_DOSFSTOOLS is not set
>
> E.G. you haven't enabled the dosfstools package at all.
>
>
>   Daniel> I'm using
>   Daniel> arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu tool
>   Daniel> chain from CodeSourcery
>
Here, this solves my problem.
http://pastebin.com/esGFdC0n

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
  2013-07-10 13:40       ` Daniel Hilst Selli
@ 2013-07-10 16:58         ` Thomas Petazzoni
  2013-07-10 17:07           ` Gustavo Zacarias
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2013-07-10 16:58 UTC (permalink / raw)
  To: buildroot

Dear Daniel Hilst Selli,

On Wed, 10 Jul 2013 13:40:57 +0000, Daniel Hilst Selli wrote:

> Here, this solves my problem.
> http://pastebin.com/esGFdC0n

Can you send a proper patch with this fix?

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
  2013-07-10 16:58         ` Thomas Petazzoni
@ 2013-07-10 17:07           ` Gustavo Zacarias
  2013-07-10 17:29             ` Magnus Edenhill
  2013-07-10 17:55             ` Peter Korsgaard
  0 siblings, 2 replies; 13+ messages in thread
From: Gustavo Zacarias @ 2013-07-10 17:07 UTC (permalink / raw)
  To: buildroot

On 07/10/2013 01:58 PM, Thomas Petazzoni wrote:

> Dear Daniel Hilst Selli,
> 
> On Wed, 10 Jul 2013 13:40:57 +0000, Daniel Hilst Selli wrote:
> 
>> Here, this solves my problem.
>> http://pastebin.com/esGFdC0n
> 
> Can you send a proper patch with this fix?

How so?
There's something fishy with this "bug".
The tool renaming happened with dosfstools 3.0.18, hence 3.0.16 behaves
the exact same way as before (mkdosfs instead of mkfs.fat and so on).
Either the 3.0.16 tarball he has isn't really 3.0.16 or i don't know
what's up.
Daniel: did you try removing the source tarball and trying a new download?
Regards.

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
  2013-07-10 17:07           ` Gustavo Zacarias
@ 2013-07-10 17:29             ` Magnus Edenhill
  2013-07-10 17:55             ` Peter Korsgaard
  1 sibling, 0 replies; 13+ messages in thread
From: Magnus Edenhill @ 2013-07-10 17:29 UTC (permalink / raw)
  To: buildroot

2013/7/10 Gustavo Zacarias <gustavo@zacarias.com.ar>

> On 07/10/2013 01:58 PM, Thomas Petazzoni wrote:
>
> > Dear Daniel Hilst Selli,
> >
> > On Wed, 10 Jul 2013 13:40:57 +0000, Daniel Hilst Selli wrote:
> >
> >> Here, this solves my problem.
> >> http://pastebin.com/esGFdC0n
> >
> > Can you send a proper patch with this fix?
>
> How so?
> There's something fishy with this "bug".
> The tool renaming happened with dosfstools 3.0.18, hence 3.0.16 behaves
> the exact same way as before (mkdosfs instead of mkfs.fat and so on).
> Either the 3.0.16 tarball he has isn't really 3.0.16 or i don't know
> what's up.
> Daniel: did you try removing the source tarball and trying a new download?
>


I think we saw this issue too (with 13.02).
Turns out the dosfstools tarball content was changed without stepping the
version number (3.0.12 iirc).
There was a site update aswell which fixed it for us:

-DOSFSTOOLS_SITE = http://fossies.org/linux/misc/
+DOSFSTOOLS_SITE = http://daniel-baumann.ch/files/software/dosfstools

Hope this helps.

Regards,
Magnus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130710/da2070ca/attachment.html>

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
  2013-07-10 17:07           ` Gustavo Zacarias
  2013-07-10 17:29             ` Magnus Edenhill
@ 2013-07-10 17:55             ` Peter Korsgaard
       [not found]               ` <alpine.LSU.2.10.1307111112110.7453@schiller.dip.t-dialin.net>
  1 sibling, 1 reply; 13+ messages in thread
From: Peter Korsgaard @ 2013-07-10 17:55 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> On 07/10/2013 01:58 PM, Thomas Petazzoni wrote:
 >> Dear Daniel Hilst Selli,
 >> 
 >> On Wed, 10 Jul 2013 13:40:57 +0000, Daniel Hilst Selli wrote:
 >> 
 >>> Here, this solves my problem.
 >>> http://pastebin.com/esGFdC0n
 >> 
 >> Can you send a proper patch with this fix?

 Gustavo> How so?
 Gustavo> There's something fishy with this "bug".

 Gustavo> The tool renaming happened with dosfstools 3.0.18, hence
 Gustavo> 3.0.16 behaves the exact same way as before (mkdosfs instead
 Gustavo> of mkfs.fat and so on).  Either the 3.0.16 tarball he has
 Gustavo> isn't really 3.0.16 or i don't know what's up.  Daniel: did
 Gustavo> you try removing the source tarball and trying a new download?

Yes, indeed.

wget http://fossies.org/linux/misc/dosfstools-3.0.16.tar.gz
Saving to: `dosfstools-3.0.16.tar.gz'

wget http://daniel-baumann.ch/files/software/dosfstools/dosfstools-3.0.16.tar.gz
Saving to: `dosfstools-3.0.16.tar.gz.1'

md5sum dosfstools-3.0.16.tar.gz* ~download/dosfstools-3.0.16.tar.gz /tmp
7f1c1afd4ae4622e07b24ec0ddfc4184  dosfstools-3.0.16.tar.gz
ccedcd0458163fd8907c280459fc650c  dosfstools-3.0.16.tar.gz.1
ccedcd0458163fd8907c280459fc650c  /var/lib/downloads/dosfstools-3.0.{16,20}.tar.gz
7f1c1afd4ae4622e07b24ec0ddfc4184  /var/lib/downloads/dosfstools-3.0.20.tar.gz


2013.05 was using the old fossies.org location you fixed in June
(06938c3a9):

http://git.buildroot.net/buildroot/tree/package/dosfstools/dosfstools.mk?id=2013.05

The fossies.org location used to be correct:

ls -lah ~download/dosfstools-3.0.16.tar.gz
-rw-r--r-- 1 peko peko 85K Mar  1 09:02 /var/lib/downloads/dosfstools-3.0.16.tar.gz

But now seems to instead contain 3.0.20. Perhaps a buggy redirect?

Looking at the wget output, it indeed it the reason:

--2013-07-10 19:45:25--  http://fossies.org/linux/misc/dosfstools-3.0.16.tar.gz
Resolving fossies.org (fossies.org)... 85.25.235.31
Connecting to fossies.org (fossies.org)|85.25.235.31|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://fossies.org/linux/misc/dosfstools-3.0.20.tar.gz [following]
--2013-07-10 19:45:26--  http://fossies.org/linux/misc/dosfstools-3.0.20.tar.gz
Reusing existing connection to fossies.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 96757 (94K) [application/x-gzip]
Saving to: `dosfstools-3.0.16.tar.gz'

100%[======================================>] 96,757      --.-K/s   in 0.1s

Perhaps we can get the fossies.org admins to fix it?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
       [not found]               ` <alpine.LSU.2.10.1307111112110.7453@schiller.dip.t-dialin.net>
@ 2013-07-11 14:28                 ` Gustavo Zacarias
  2013-07-12 20:22                 ` Peter Korsgaard
  1 sibling, 0 replies; 13+ messages in thread
From: Gustavo Zacarias @ 2013-07-11 14:28 UTC (permalink / raw)
  To: buildroot

On 07/11/2013 06:33 AM, Schleusener, Jens wrote:

> 2) Changed behaviour: fossies.org now issued a "410 Gone" HTTP status
> with some information in the HTML code about the reason together with a
> link to the current (only) available newer version of the requested
> package tarball.
> 
> 3) Remark: fossies.org isn't a mirror and is unsuitable for downloading
> special legacy versions since it tries to offer only "fresh" current
> versions. The sha1sum of an software archive is also available via for e.g.
>  http://fossies.org/linux/misc/dosfstools-3.0.20.tar.gz/sha1
> or visible at the bottom of the contents file of the software archive
>  http://fossies.org/linux/misc/dosfstools-3.0.20.tar.gz/
> The current contents file of an software archive incl. download links is
> version-indepent always accessible via short-URLs specifying just the
> software basename, for e.g.
>  http://fossies.org/dosfstools
> 
> Regards
> 
> Jens

410 is fine, now it'll fall back on the buildroot mirror for sources
which is best.
For newer releases the URL was switched to
http://daniel-baumann.ch/files/software/dosfstools/ which seems to keep
old versions around.
So everything is fine now, thanks.
Regards.

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

* [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory
       [not found]               ` <alpine.LSU.2.10.1307111112110.7453@schiller.dip.t-dialin.net>
  2013-07-11 14:28                 ` Gustavo Zacarias
@ 2013-07-12 20:22                 ` Peter Korsgaard
  1 sibling, 0 replies; 13+ messages in thread
From: Peter Korsgaard @ 2013-07-12 20:22 UTC (permalink / raw)
  To: buildroot

>>>>> "Jens" == Schleusener, Jens <Jens.Schleusener@t-online.de> writes:

Hi Jens,

 Jens> Hmm, I am the fossies.org admin and I am not really sure what is the
 Jens> right fix respectively fossies.org behaviour.

 Jens> 1) Remark: If you would use the wget option "--content-disposition"
 Jens> you would get after downloading using the URL
 Jens> http://fossies.org/linux/misc/dosfstools-3.0.16.tar.gz according the
 Jens> "301 Moved Permanently"-Location a file named "dosfstools-3.0.20.tar.gz".

 Jens> 2) Changed behaviour: fossies.org now issued a "410 Gone" HTTP status
 Jens> with some information in the HTML code about the reason together with
 Jens> a link to the current (only) available newer version of the requested
 Jens> package tarball.

That's good, thanks a lot.

 Jens> 3) Remark: fossies.org isn't a mirror and is unsuitable for
 Jens> downloading special legacy versions since it tries to offer only
 Jens> "fresh" current versions.

Ok, noted. The dosfstools package has been changed in git to no longer
use fossies.org, so this is just for people using older releases.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2013-07-12 20:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08 20:08 [Buildroot] Error while installing dosfstools: mkdosfs’: No such file or directory Daniel.
2013-07-08 20:29 ` Peter Korsgaard
     [not found]   ` <CAF3SDA7tGGeJfP2kJcf9Hy6Z4KrqUhHV0E1JBTE+0x+-bCMEMw@mail.gmail.com>
2013-07-09  5:23     ` Peter Korsgaard
2013-07-10  8:41       ` Daniel Hilst Selli
2013-07-10 10:36       ` Daniel Hilst Selli
2013-07-10 10:44       ` Daniel Hilst Selli
2013-07-10 13:40       ` Daniel Hilst Selli
2013-07-10 16:58         ` Thomas Petazzoni
2013-07-10 17:07           ` Gustavo Zacarias
2013-07-10 17:29             ` Magnus Edenhill
2013-07-10 17:55             ` Peter Korsgaard
     [not found]               ` <alpine.LSU.2.10.1307111112110.7453@schiller.dip.t-dialin.net>
2013-07-11 14:28                 ` Gustavo Zacarias
2013-07-12 20:22                 ` Peter Korsgaard

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.