Re: Your package is broken in opkg.org

2009-03-13 Thread
Risto H. Kurppa schrieb:
> (cc:d the authors of some broken packages I was able to extract the
> e-mail address from..)
>
> Hi!
>
> If you have packaged some of the apps listed below, I just want to let
> you know that the package in opkg.org is broken and not recognized as
> an installable file
> (to try this, download the packages from opkg.org and run file
> package.ipk - it should return Debian Binary but for the ones listed
> below, it returns data/empty or gzip)
>
> So please check that your local package returns debian binary and then
> upload it again to opkg.org. The file need to have a control file in
> it to work in the opkg.org repository opkg.org/packages
>
> Packaging instructions can be found at
> http://cc.oulu.fi/~rantalai/freerunner/packaging/
>
> Thanks!
>
> r
>
> On Sun, Mar 8, 2009 at 3:30 PM, Risto H. Kurppa  wrote:
>   
>> DATA
>> gpssight_0.8.4_freerunner.armv4t.ipk
>>
>> EMPTY
>> sortdesk_1.2_armv4t.ipk
>> jdd_0.1_all.ipk
>> usbmode_0.1_armv4t.ipk
>> accel-rotate_0.41_armv4t.ipk
>> 0_multitap-pad_0.1_armv4t.ipk
>> omview_r32_armv4t.ipk
>> deforaos-player_0.1.0_armv4t.ipk
>> illume-keyboards-ru_0.2_om-gta02.ipk
>>
>> GZIP
>> yphonekitd_0.4.3_any.ipk
>> zomg_0.0.6-r2_armv4t.ipk
>> mbac_0.3_all.ipk
>> ylock_0.2_all.ipk
>> mofi_0.02_armv4t.ipk
>> illume-keyboards-norwegian-no_0.1_all.ipk
>> efplayer_0.3_arm.ipk
>> playstankontakarta_0.4_any.ipk
>> osmupdater_0.4_any.ipk
>> voicenote_0.3_arm.ipk
>> mokocard_0.1_all.ipk
>> mokoconv_0.1_all.ipk
>> shortom_0.2_all.ipk
>>
>> So things seem to fail because:
>> - Empty file is an empty file, not much to discuss about that. Only
>> need to find out the reason for that: did the authors really upload an
>> empty package or did the upload fail but an empty file was created?
>>
>> - ar isn't able to extract gzip files so all files recognized as gzip
>> will not get listed properly in the Packages file. Again the reason
>> for the wrong file type should be found: did the packages package it
>> wrong or did the type/mime/something get corrupted along the way,
>> during the upload or on the server?
>> 
>
>
>
>   
i finally found out whi it happened: rule of thumb: never build ipks 
using busybox (i built the latest version directly on my neo. bad idea!

thx for the info, will befixed a soon as my box is working again.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Your package is broken in opkg.org

2009-03-08 Thread Rask Ingemann Lambertsen
On Sun, Mar 08, 2009 at 04:01:45PM +0200, Risto H. Kurppa wrote:
> (cc:d the authors of some broken packages I was able to extract the
> e-mail address from..)
> 
> Hi!
> 
> If you have packaged some of the apps listed below, I just want to let
> you know that the package in opkg.org is broken and not recognized as
> an installable file
> (to try this, download the packages from opkg.org and run file
> package.ipk - it should return Debian Binary but for the ones listed
> below, it returns data/empty or gzip)

   Another type of breakage I've seen is this one (data and control archives
in wrong order):

$ ar tv fluid_0.0+svn20070817-r2_armv4t_eabi.ipk 
rw-r--r-- 1000/1000  4 Aug 17 02:28 2007 debian-binary
rw-r--r-- 1000/1000  45830 Aug 17 02:28 2007 data.tar.gz
rw-r--r-- 1000/1000411 Aug 17 02:28 2007 control.tar.gz

   While this seems to work fine with the Debian tools, it would be
preferable to fix the tool which builds the packages that way. Packages
broken this way can be fixed like this:

$ cd empty_directory
$ ar xov broken_package.ipk
$ rm broken_package.ipk
$ ar qcv broken_package.ipk debian-binary control.tar.gz data.tar.gz
$ rm debian-binary control.tar.gz data.tar.gz

> > GZIP
> > yphonekitd_0.4.3_any.ipk
> > zomg_0.0.6-r2_armv4t.ipk
[snip]

   They might be gzipped tar archives. An example case I came across:

$ cd empty_directory
$ tar -zxf pingus_0.7.2-r0_armv4t_DolfFix.ipk
$ rm pingus_0.7.2-r0_armv4t_DolfFix.ipk
$ ar qcv pingus_0.7.2-r0_armv4t_DolfFix.ipk debian-binary control.tar.gz 
data.tar.gz
$ rm debian-binary control.tar.gz data.tar.gz

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Your package is broken in opkg.org

2009-03-08 Thread François TOURDE
Le 14311ième jour après Epoch,
Risto H. Kurppa écrivait:

> If you have packaged some of the apps listed below, I just want to let
> you know that the package in opkg.org is broken and not recognized as
> an installable file

Hi Risto.

Mine (jdd) is correct on my local machine. I uploaded it again (twice
because of a mistake) on opkg.org, and now the file n_
seems to be correct.

The new naming convention (n_package) may cause some problems. Should I remove
completely the package before reinstalling it ?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Your package is broken in opkg.org

2009-03-08 Thread Risto H. Kurppa
(cc:d the authors of some broken packages I was able to extract the
e-mail address from..)

Hi!

If you have packaged some of the apps listed below, I just want to let
you know that the package in opkg.org is broken and not recognized as
an installable file
(to try this, download the packages from opkg.org and run file
package.ipk - it should return Debian Binary but for the ones listed
below, it returns data/empty or gzip)

So please check that your local package returns debian binary and then
upload it again to opkg.org. The file need to have a control file in
it to work in the opkg.org repository opkg.org/packages

Packaging instructions can be found at
http://cc.oulu.fi/~rantalai/freerunner/packaging/

Thanks!

r

On Sun, Mar 8, 2009 at 3:30 PM, Risto H. Kurppa  wrote:
> DATA
> gpssight_0.8.4_freerunner.armv4t.ipk
>
> EMPTY
> sortdesk_1.2_armv4t.ipk
> jdd_0.1_all.ipk
> usbmode_0.1_armv4t.ipk
> accel-rotate_0.41_armv4t.ipk
> 0_multitap-pad_0.1_armv4t.ipk
> omview_r32_armv4t.ipk
> deforaos-player_0.1.0_armv4t.ipk
> illume-keyboards-ru_0.2_om-gta02.ipk
>
> GZIP
> yphonekitd_0.4.3_any.ipk
> zomg_0.0.6-r2_armv4t.ipk
> mbac_0.3_all.ipk
> ylock_0.2_all.ipk
> mofi_0.02_armv4t.ipk
> illume-keyboards-norwegian-no_0.1_all.ipk
> efplayer_0.3_arm.ipk
> playstankontakarta_0.4_any.ipk
> osmupdater_0.4_any.ipk
> voicenote_0.3_arm.ipk
> mokocard_0.1_all.ipk
> mokoconv_0.1_all.ipk
> shortom_0.2_all.ipk
>
> So things seem to fail because:
> - Empty file is an empty file, not much to discuss about that. Only
> need to find out the reason for that: did the authors really upload an
> empty package or did the upload fail but an empty file was created?
>
> - ar isn't able to extract gzip files so all files recognized as gzip
> will not get listed properly in the Packages file. Again the reason
> for the wrong file type should be found: did the packages package it
> wrong or did the type/mime/something get corrupted along the way,
> during the upload or on the server?



-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community