maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Uploading Python App to Extras, Help Please? (https://talk.maemo.org/showthread.php?t=22744)

Aisu 2008-08-11 17:37

Uploading Python App to Extras, Help Please?
 
2 Attachment(s)
Hello!

I'm trying to upload PyAno into extras at the moment, but I keep getting this error from the autobuilder:

Code:

make[1]: Entering directory `/home/builder1/maemo-diablo-armel-extras-devel/work/pyano-1.0'
python2.5 setup.py build
make[1]: python2.5: Command not found
make[1]: *** [all] Error 127
make[1]: Leaving directory `/home/builder1/maemo-diablo-armel-extras-devel/work/pyano-1.0'
make: *** [build-stamp] Error 2

python2.5-dev is a build dependency in changes and in dsc, though.

Changes and dsc are attached.

Any help would be greatly appreciated!

Thanks a lot.

mikkov 2008-08-11 17:52

Re: Uploading Python App to Extras, Help Please?
 
You need to fix your debian/control

Code:

Source: pyano
Section: unknown
Priority: extra
Maintainer: Tyler Longwell <ty@unknown>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2

Package: pyano
Architecture: any
Depends:
Description: Turn you tablet into a piano.

in build-depends list packages which are needed for building (python2.5) and in Depends list packages are needed for running your software. Please don't use python2.5-runtime because it will download a lot of unnecessary packages.

Khertan 2008-08-11 17:54

Re: Uploading Python App to Extras, Help Please?
 
Use python instead of python2.5 ... on scratchbox by default it s 2.3 that is used instead of 2.5 so i assume it s the same thing for the autobuilder.

or use py2deb to build your source package.

mikkov 2008-08-11 18:04

Re: Uploading Python App to Extras, Help Please?
 
Autobuilder most likely doesn't have python installed by default (haven't tested). Anyway depencies must be listed in debian/control.

Aisu 2008-08-12 01:15

Re: Uploading Python App to Extras, Help Please?
 
Quote:

Originally Posted by Khertan (Post 212419)
Use python instead of python2.5 ... on scratchbox by default it s 2.3 that is used instead of 2.5 so i assume it s the same thing for the autobuilder.

or use py2deb to build your source package.

Thanks, Khertan! Changing from python2.5 to python worked.

It builds!

But... it gives me this: https://garage.maemo.org/pipermail/e...q3/001898.html

What does UNKNOWN indicate? Will it be uploaded? And if it's not, is there any way I can find out about the root of problem?

Thanks a lot :)

mikkov 2008-08-12 01:41

Re: Uploading Python App to Extras, Help Please?
 
No it didn't build. UNKNOWN indicates some kind of internal autobuilder error.

You still need to list your depencies in debian/control. Manually adding them to .dsc does not work.

Aisu 2008-08-12 02:25

Re: Uploading Python App to Extras, Help Please?
 
Quote:

Originally Posted by mikkov (Post 212622)
No it didn't build. UNKNOWN indicates some kind of internal autobuilder error.

You still need to list your depencies in debian/control. Manually adding them to .dsc does not work.

Thanks a lot.

I redid the packages and such several times, now always getting UNKNOWN. Is there any way I can get a log of what happened?

The summary doesn't say anything, basically.

mikkov 2008-08-12 02:33

Re: Uploading Python App to Extras, Help Please?
 
UNKNOWN isn't fault of your package but problem within autobuilder. We just have to wait that maemo folks fix it, but it should not take too long.

Aisu 2008-08-12 02:34

Re: Uploading Python App to Extras, Help Please?
 
Quote:

Originally Posted by mikkov (Post 212632)
UNKNOWN isn't fault of your package but problem within autobuilder. We just have to wait that maemo folks fix it, but it should not take too long.

Ah, thank you very for clearing that up for me.

Much appreciated :D

Aisu 2008-08-14 14:01

Re: Uploading Python App to Extras, Help Please?
 
Alright, now this a very confusing...

PyAno is built successfully. But still isn't in the repo after a day. The applications that were built after it are there, though (the new ones that were just built, not just the old versions).

PyAno even has a folder in the repo, but no files in that folder. It doesn't show up in the promoter, either.

Is there some manual approval it must go through, first? Or have I mussed something?

Any help or advice is much appreciated.

Thanks!

mikkov 2008-08-14 14:16

looks like your package is hitting some autobuilder related bug. I suggest that you file a bug in bugs.maemo.org

Aisu 2008-08-14 15:27

Re: Uploading Python App to Extras, Help Please?
 
Quote:

Originally Posted by mikkov (Post 213673)
looks like your package is hitting some autobuilder related bug. I suggest that you file a bug in bugs.maemo.org

Someone beat me to it, it appears. https://bugs.maemo.org/show_bug.cgi?id=3549


I hope this gets fixed...

Thanks a lot for all the help :)

liri 2008-08-20 18:17

Re: Uploading Python App to Extras, Help Please?
 
Aisu,

You're doing a wonderful work with pyano, keep it going.
I hope to see it available on the repos too!


Regards,
Liran.


All times are GMT. The time now is 21:43.

vBulletin® Version 3.8.8