Bug 1927 - Bump file to 5.03 and migrate to autotargets
Summary: Bump file to 5.03 and migrate to autotargets
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Outdated package (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: 2010.08
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 14:13 UTC by Gustavo Zacarias
Modified: 2010-06-08 19:59 UTC (History)
1 user (show)

See Also:
Host: i686-linux
Target: arm-softfloat-linux-uclibcgnueabi
Build:


Attachments
Bump file to 5.03 and migrate to autotargets (5.25 KB, patch)
2010-06-03 14:13 UTC, Gustavo Zacarias
Details
Bump file to 5.03 and migrate to autotargets (5.59 KB, patch)
2010-06-07 14:45 UTC, Gustavo Zacarias
Details
Bump file to 5.04 and migrate to autotargets (5.66 KB, patch)
2010-06-08 16:50 UTC, Gustavo Zacarias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Zacarias 2010-06-03 14:13:59 UTC
Created attachment 1879 [details]
Bump file to 5.03 and migrate to autotargets

Bump file to version 5.03 and convert the package to autotargets infra.
Comment 1 Peter Korsgaard 2010-06-06 19:22:55 UTC
Thanks, but could you please add a header to the patch explaining what it's doing and why? Something like what we have in package/ifplugd/ifplugd-no-cxx.patch - Thanks!
Comment 2 Gustavo Zacarias 2010-06-07 14:45:34 UTC
Created attachment 1915 [details]
Bump file to 5.03 and migrate to autotargets

Okie dokie.
Comment 3 Peter Korsgaard 2010-06-07 20:26:53 UTC
Thanks, but it doesn't work here:

make[3]: Entering directory `/home/peko/source/buildroot/output/build/file-5.03/magic'
file -C -m ../magic/Magdir
../magic/Magdir/animation, 32: Warning: string extension `B' invalid
../magic/Magdir/animation, 33: Warning: Current entry already has a MIME type `application/x-quicktime-player', new type `	image/jp2'
../magic/Magdir/animation, 44: Warning: string extension `B' invalid
../magic/Magdir/animation, 55: Warning: string extension `B' invalid
../magic/Magdir/animation, 57: Warning: string extension `B' invalid
../magic/Magdir/animation, 59: Warning: string extension `B' invalid
../magic/Magdir/animation, 60: Warning: string extension `B' invalid
../magic/Magdir/animation, 61: Warning: string extension `B' invalid
../magic/Magdir/inform, 8: Warning: string extension `B' invalid
../magic/Magdir/msdos, 9: Warning: string extension `B' invalid
../magic/Magdir/msdos, 11: Warning: string extension `B' invalid
../magic/Magdir/msdos, 13: Warning: string extension `B' invalid
../magic/Magdir/msdos, 15: Warning: string extension `B' invalid
../magic/Magdir/perl, 36: Warning: string extension `B' invalid
../magic/Magdir/perl, 37: Warning: string extension `B' invalid
../magic/Magdir/perl, 38: Warning: string extension `B' invalid
../magic/Magdir/perl, 39: Warning: string extension `B' invalid
../magic/Magdir/perl, 40: Warning: string extension `B' invalid
../magic/Magdir/perl, 41: Warning: string extension `B' invalid
../magic/Magdir/sgml, 22: Warning: string extension `B' invalid
../magic/Magdir/sgml, 23: Warning: Current entry already has a MIME type `application/xml-sitemap', new type `	text/html'
file: could not find any magic files!
make[3]: *** [magic.mgc] Error 1

It send up using file from my host, which apparently doesn't work - It seems like we need to build file for the host as well first? Looking at magic/Makefile.am I already see some cross compile support.
Comment 4 Gustavo Zacarias 2010-06-07 20:28:32 UTC
Seen that when trying to build 5.04 so i went to 5.03 to avoid the pain (yeah i was lazy).
I'll give it a look tomorrow.
Comment 5 Gustavo Zacarias 2010-06-08 16:50:28 UTC
Created attachment 1975 [details]
Bump file to 5.04 and migrate to autotargets

It seems file uses file to build its magic file and also that minor version bumps may make the magic source incompatible (thus my case of running host 5.03 on my distro not liking to build 5.04 for BR).
So yeah, we need host-file.
Fixed, try it now.
Comment 6 Peter Korsgaard 2010-06-08 19:59:00 UTC
Committed, thanks