I've been discussing this issue with some people before as hypothetical case, but now it seems that we run into it: Compiling and application against the PR1.1 SDK creates packages which can not be installed on earlier firmware releases.
In this case we have have a libosso version which is higher than the one in previous releases. As this dependency gets automatically added when compiling in the PR1.1 SDK this poses a problem.
The autobuilder uses the repository.maemo.org repository, so it automatically uses newer packages when they are available.
For Extras this means that install of an application which is compiled against the new SDK fails without any description we can expect an end-user to understand. This is something which should be prevented.
How can we work around this problem:
1: Only compile against the original SDK.
This prevents new features from ever be available to developers, but should work until there is real API/ABI breakage in a new firmware.
2: Use version specific repositories
This needs Application Manager support as we need to fetch from a separate repository every time. Also requires us to build against every sdk version known to man.
3: Depend on >= mp-fremantle-generic-pr | maemo-version
We would need a hack in the autobuilder to add depends to pr and maemo version. This way a user needs to upgrade to at least the required firmware image. I think this will make it easier for an end-user to understand what is happening.
We could, with help of the AM team, even detect in the AM that a firmware upgrade is required and give a the end user a nice warning/description.
Currently the AM doesn't have any means to detect which firmware version a package requires. Option 3 solve that issue at the same time.
If you have an alternative solution on how to go about fixing this
issue, then please let me know.
Discussions on the maemo-developers list or talk.
Showing posts with label autobuilder. Show all posts
Showing posts with label autobuilder. Show all posts
Monday, January 18, 2010
Tuesday, November 4, 2008
Packaging Policy change proposal
After long and heated discussions, we finally managed to finish the Better Package Categories task. When I started the discussion in April, I knew it would not be an easy task. It remained on my task lists over a lot of sprints, but now we have a result.
Ryan posted about this and proposed future in his blog.
"So, what's next?"
Now we need to get these proposed changes accepted into the Packaging Policy, so we can start to apply them. I created a wiki page for the proposed changes to the policy. Please see if you would like to see the wording changed. I will push this task for the November 2008 Sprint.
The autobuilder and Extras Assistant will soon start to give warnings when your package is not using one of the official categories. These warnings will not prevent you from uploading your package, but please try to update your package to make it comply with the policy.
As we are going to change the policy, the wiki page might also be a good place to propose other changes you would like to see in the document.
Ryan posted about this and proposed future in his blog.
"So, what's next?"
Now we need to get these proposed changes accepted into the Packaging Policy, so we can start to apply them. I created a wiki page for the proposed changes to the policy. Please see if you would like to see the wording changed. I will push this task for the November 2008 Sprint.
The autobuilder and Extras Assistant will soon start to give warnings when your package is not using one of the official categories. These warnings will not prevent you from uploading your package, but please try to update your package to make it comply with the policy.
As we are going to change the policy, the wiki page might also be a good place to propose other changes you would like to see in the document.
Tuesday, October 21, 2008
New features autobuilder and Extras Assistant

Rejecting packages when the same version is uploaded for the second time.
The autobuilder has been modified to reject a package when the same version is already available in the extras-devel repository. This change will force developers to increase their package version number after each successful upload and build. In the past we've had problems in the repository where a package was uploaded twice and caused 'Size Mismatch' errors.Package signing no longer required.
The autobuilder and Extras Assistant no longer require packages to be GPG signed. It seemed to cause a lot of grief for developers without any real benefits. This change is targetted to making uploading packages easier. Every uploader has to be authenticated to upload a package, so we can already trace back the uploader. The autobuilder signs packages which are moved into the repository.Upload to multiple repositories at the same time.
You can now use the Extras Assistant to upload a source package to chinook and diablo at the same time. No need to do two separate uploads anymore. This feature has been requested for quite some time, let's hope it helps.
Wednesday, July 2, 2008
Application in Extras-Devel OK? Promote it!
Now that we have the autobuilder in place for Diablo, it is a good time to talk about how to get your package from Extras-Devel into the Maemo Extras repository.Before a package will end up in Extras and is installable for end-users on their device, it will go through a few steps:
- source package uploaded to autobuilder incoming queue
- autobuilder builds package and moves it into the incoming queue from Extras-Devel
- queuemanager for Extras-Devel will put the package in the Extras-Devel repository
- developer checks packages from Extras-Devel and if the package is OK:
- promote the package to Extras using the Promoter.
We have two Promoters is place:
The Promoter is a community project on garage.maemo.org. The code can be found in the svn repository. If you have any suggestions on how to improve the interface or would like to add functionality, please propose and discuss it on the maemo-developers mailinglist.
We are still working on documenting Extras and Uploading to extras in the wiki and of course work towards The Big Plan. Feel free to edit the wiki and improve the articles, this is a community project.
Let's work together to get more applications available in Maemo Extras!
Wednesday, June 4, 2008
Autobuilder for maemo extras repository part 2
Some time has passed since we first announced the maemo autobuilder for the extras repositories. Some people have tested it and we got a little bit of feedback. Not as much as we hoped, but I'm sure that is going to get better shortly.
Ed has been working on making the autobuilder more user-friendly. You will now receive a status message per mail when your package has been processed. If there were any errors (md5 sum failed, files missing, wrong pgp key or package not signed), you will find that out in the email.
Some benefits of using the maemo autobuilder:
I would like to ask all developers to try out the autobuilder and assistant, so we can be in a good shape before Diablo gets released. We can only move forward if you get involved!
Feel free to contact me if you need any help or information.
Ed has been working on making the autobuilder more user-friendly. You will now receive a status message per mail when your package has been processed. If there were any errors (md5 sum failed, files missing, wrong pgp key or package not signed), you will find that out in the email.
Some benefits of using the maemo autobuilder:
- Source packages always available in the repository
- i386 packages are automatically added to the repository, so you can use them in the SDK.
- Prevent obviously broken packages from entering the repositories.
I would like to ask all developers to try out the autobuilder and assistant, so we can be in a good shape before Diablo gets released. We can only move forward if you get involved!
Feel free to contact me if you need any help or information.
Friday, April 25, 2008
Autobuilder for extras repository public beta

A while ago we discussed the idea of an autobuilder for the extras repository. We have been working on creating such an autobuilder and have been testing it in private. As a result we now think it is time to do a tests with a larger group and make it publicly known. Please give it a try and tell us your results.
- What does the autobuilder do?
The autobuilder takes a source package from the incoming queue and tries to build it in a fresh environment. The builder fetches all dependencies from the extras-devel repository. If it can't find the dependency in extras-devel, it will fail and send a mail to the extras-cauldron-builds list.
If there are no problems with the package, the builder can create armel, i386 and source packages. Those will be put in the extras-devel repository after a successful build.
Instructions for the builder can be found at here.
The builder only handles building one package at a time. If you have dependencies that are not present in the extras-devel repository, please upload these first.
- web-based assistant
We have also created a web-based assistant to help you with requesting rights to upload and creating/uploading of source packages. You can upload packages to the builder with either dput or the assistant.
- How do I get my package into extras?
After a successful build a package will appear in the extras-devel repository. You can move your packages from extras-devel to extras with the promotion interface. Instructions for the promotion interface can be found here.
We would like to invite all developers to take a look at the autobuilder and try it out. Please discuss problems and feature requests on the maemo-developers list.
More information about our effort can be found at the extras-cauldron website.
Subscribe to:
Posts (Atom)
