Re: [Launchpad-users] Recipe in dependency wait
Hi Colin, thanks for your extensive reply, and for debugging this! On 24/11/22 21:10, Colin Watson wrote: [...] and I see from that that you have your qbs-in-lts PPA configured to build against ppa:ubuntu-toolchain-r/ubuntu/test. Do you have to use that PPA? As I understand it it's not at all intended to be stable, and using it has caused your binaries built for bionic to be built with a dependency on a package that isn't present in bionic. This is the root cause of your recipe build failure. I need it because I need g++-7 (or later) to build QBS, and that's not available in xenial. On the other hand it might not be worth updating xenial, so I might just drop that PPA. I tried to remove it now, re-copied the packages from xenial into bionic (for some reason the xenial package don't have that libgcc-s1 dependency, only the bionic build had it), and retried the build of mappero that originally failed. It still fails, but on an unrelated issue, and I see that the right version of QBS is installed and working. Thanks a lot!! Ciao, Alberto ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp
[Launchpad-users] Recipe in dependency wait
Hi all, yesterday a daily recipe of mine failed to build on Bionic (on Jammy and Focal it succeeded) because the "qbs" dependency could not be found. But since the last successful Bionic build (which happened in June) I did not change the build depends of this project, so I'm a bit at a loss on what happened. Comparing the two logs, I see that nowadays a "git-build-recipe" tool is used, whereas in June the commands issued were different: Logs from June: https://launchpadlibrarian.net/610349603/buildlog_ubuntu-bionic-i386.mappero_1.8ubuntu0-0~202206291942+202206300146~ubuntu18.04.1_BUILDING.txt.gz Logs from yesterday: https://launchpadlibrarian.net/635597022/buildlog.txt.gz The "qbs" package should get installed from the "qbs-on-lts" PPA; I recently updated it there, I wonder if I could have made some mistake there? Though, I only built the package for xenial and then copied it over to bionic, focal, and jammy. Ciao, Alberto ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp
Re: [Launchpad-users] PPA making a mistake, rejecting upload
On 31/01/22 04:02, Andrew S. Rightenburg wrote: Hey, a package upload of mine is being rejected with the error: "Unable to find mandatory field 'Changed-By' in the changes file," although the Changed-By field is present and correct. [...] I've attached the relevant changelog I don't think that the error message refers to the debian/changelog, but rather to the .changes file that is generated by dpkg and that you pass to dput. Ciao, Alberto -- http://www.mardy.it - Geek in un lingua international ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp
Re: [Launchpad-users] Source code import with git submodules
On 15/10/21 15:53, Colin Watson wrote: > The code import part is intentionally just a git mirror; I don't think > it would be right to initialize submodules at that stage. The problem > is at the recipe building layer, and it's a known bug: > > https://bugs.launchpad.net/git-build-recipe/+bug/1733603 > > As I noted in the merge proposal attached to that bug, a proper fix is > complicated due to network isolation considerations. Comment #8 on the > bug has a somewhat cumbersome workaround that you might be able to use, > though. Thanks Colin, I tried the suggested workaround and it works fine for me. Ciao, Alberto -- http://www.mardy.it - Geek in un lingua international ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp
[Launchpad-users] Source code import with git submodules
Hi there! The page at https://help.launchpad.net/VcsImports says: "Git: Repositories with submodules or signed commits in their history can currently only be imported to Git, not to Bazaar." Yet, I have a git repository in Gitlab, and I cannot import it into my git repository in LP: https://code.launchpad.net/~mardy/mitubo/+git/mitubo The repository is imported, but the submodule "qhtmlparser" is not, so I get a failure in the recipe which should build the package. Do I need to switch some configuration flag in order to perform a recursive import? Ciao, Alberto -- http://www.mardy.it - Geek in un lingua international ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp
[Launchpad-users] Getting the distribution series in a recipe
Hi there! Inside a recipe I can use several useful variables, specified in [1]. Now, my project needs different packaging for different distribution series, so I was thinking to store the debian packaging in branches named like "packaging-xenial" and "packaging-bionic", and then have the recipe pick the correct one and merge it into the base code. However, there doesn't seem to be a variable carrying the distribution name, which would allow me to write a recipe command like merge packaging lp:~mardy/imaginario/packaging-{distribution} I guess I need to use two different recipes, then, or is there some trick to achieve this with a single recipe? Ciao, Alberto [1]: https://help.launchpad.net/Packaging/SourceBuilds/Recipes#Version_numbers_and_substitution_variables -- http://www.mardy.it - Geek in un lingua international ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp
[Launchpad-users] Recursive git clone in recipe
Hi all! I believe that this used to work, but it looks like nowadays git submodules are not checked out by launchpad when building a recipe. Is this a bug, or do I remember wrong and this feature was never implemented? See also: https://askubuntu.com/questions/954334/how-do-i-build-from-git-repository-with-submodules-on-launchpad Ciao, Alberto ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp
Re: [Launchpad-users] Customizing the Code page of a project
On 03/27/2012 09:12 AM, William Grant wrote: On 27/03/12 16:54, Alberto Mardegan wrote: Is it possible to customize the Code page of a project (the page that explains how to clone it and how to push your branches) to inform the user that the code in launchpad is just a mirror, and development should happen upstream? [...] The page will automatically point people upstream if the trunk branch is a Launchpad import. But since you're importing manually (due to https://bugs.launchpad.net/bzr-git/+bug/878085?) Launchpad thinks it hosts the code, and there's no way to convince it to say otherwise. Ops, I forgot about that issue myself. :-) Yes, that's indeed the reason why the import is manual. For the time being, I'll just mention the fact in the project details page, and hope that people read it. :-) Ciao, Alberto ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp
[Launchpad-users] Multiple repositories per project
Hi all, I think I've read through all the relevant documentation, but I couldn't find a clear answer to this: is it possible to have multiple repositories in a single launchpad project? I need to import this project into launchpad: http://code.google.com/p/accounts-sso/source/list (see the Repository drop down box) The project consists of several git repositories, which I'll have to import with vcs-import, and for each repository there is a debian/control file which was written for MeeGo and which I'd like to reuse (with small changes) for Ubuntu. If I import these repositories into my launchpad project (in different subdirectories), will the launchpad auto builder be able to scan through the directories in the project to look for debian/control files and build them in the correct order? Or does the source builder always expect to find a single debian/control file in the project trunk directory? Ciao, Alberto ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp
[Launchpad-users] Cannot mark bug as duplicate
Hi, I don't seem to be able to mark https://bugs.launchpad.net/unity-2d/+bug/869586 as duplicate of https://bugs.launchpad.net/unity-2d/+bug/732016 Can anyone help? TIA, Alberto ___ Mailing list: https://launchpad.net/~launchpad-users Post to : launchpad-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-users More help : https://help.launchpad.net/ListHelp