[opensuse-kde] Call for testing: Cross-distro building of KDE packages in OBS
Hello, I'm looking for people who'd be interested in testing a tool that helps packaging applications in the build service. If you have no experience with packaging, that's not an excuse but a perfect qualification :). Comments from people who do have experience are valued too. http://en.opensuse.org/KDE/Build_Service/Cross-distro has a HOWTO explaining the process. It is not very extensive, it's right to the point, but I hope it's sufficient. In case there are problems, try consulting http://en.opensuse.org/Build_Service or other wiki pages, or ask. I have packaged a couple of various KDE apps in home:llunak:kdetest, including the tool used for this itself, so it is possible to use those as a reference. There are no manual modifications to any of those packages besides providing INFO file if necessary. If you are interested, follow the HOWTO and try to package e.g. something from kde-apps.org or kde-look.org . I'd be especially interested in: - various build and packaging errors caused by the tool (there is also the possibility that the application tarball itself is broken) - wrong or missing mapping of package names (e.g. from the tarball to package names or between distributions) - any other problems that would hinder the usage of the tool for easy packaging of KDE apps Please mention the project and package name if you report any problems (report them simply as replies here). The tool is not perfect (nor can it be), so it is aimed to be used only for the initial package creation. It is possible to manually modify the generated files afterwards. I intend to create another tool to also help doing e.g. version updates. Thanks -- Lubos Lunak openSUSE Boosters team, KDE developer l.lunak@suse.cz , l.lunak@kde.org -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
Okidoki I found time to try it out and like the result. As Synaptiks was floating by in #opensuse-kde I just used this to check the result, link: https://build.opensuse.org/package/show?package=synaptiks&project=home%3Aremur%3Akde- obs-test As someone who used osc and the webfrontend I found it very easy to use, still as I said in IRC the back and forth jumping in the tutorial are somewhat confusing, I got it like "osc can't create a project yet", even though I totally understand we want people to see the web interface. The failures on the older distribution releases are related to an outdated XInput as far as I understand it, nothing to be done I guess, maybe ask people to disable building for targets where there is no chance of success to be nice to the obs =) The ubuntu failure is happening before the CMake run, the more important parts: dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 parsechangelog/debian: warning: debian/changelog(l5): badly formatted trailer line LINE: -- remur@gmx.net Fri, 05 Mar 2010 14:33:38 +0100 parsechangelog/debian: warning: debian/changelog(l6): found start of entry where expected more change data or trailer LINE: synaptiks (0.3.2-1) unstable; urgency=low parsechangelog/debian: warning: debian/changelog(l6): found eof where expected more change data or trailer Use of uninitialized value $v in pattern match (m//) at /usr/share/perl5/Dpkg/Fields.pm line 246, <STDIN> line 6. Use of uninitialized value $v in pattern match (m//) at /usr/share/perl5/Dpkg/Fields.pm line 246, <STDIN> line 6. dpkg-buildpackage: error: unable to determine source changed by dpkg-buildpackage: source package synaptiks dpkg-buildpackage: source version 0.3.2-1 No idea if it is a general obs debian problem or specific to the generated debian build files Mandriva 2009.1 failure I don't understand at all. The other builds with recent xorg and rpm succeeded just fine and could be linked on kde-apps.org So thumbs up for your work Lubos, this is a great way to show off opensuse infrastructure to the kde world =) Karsten Am Montag, 1. Februar 2010 14:57:49 schrieb Lubos Lunak:
Hello,
I'm looking for people who'd be interested in testing a tool that helps packaging applications in the build service. If you have no experience with packaging, that's not an excuse but a perfect qualification :). Comments from people who do have experience are valued too.
http://en.opensuse.org/KDE/Build_Service/Cross-distro has a HOWTO explaining the process. It is not very extensive, it's right to the point, but I hope it's sufficient. In case there are problems, try consulting http://en.opensuse.org/Build_Service or other wiki pages, or ask.
I have packaged a couple of various KDE apps in home:llunak:kdetest, including the tool used for this itself, so it is possible to use those as a reference. There are no manual modifications to any of those packages besides providing INFO file if necessary.
If you are interested, follow the HOWTO and try to package e.g. something from kde-apps.org or kde-look.org . I'd be especially interested in:
- various build and packaging errors caused by the tool (there is also the possibility that the application tarball itself is broken)
- wrong or missing mapping of package names (e.g. from the tarball to package names or between distributions)
- any other problems that would hinder the usage of the tool for easy packaging of KDE apps
Please mention the project and package name if you report any problems (report them simply as replies here).
The tool is not perfect (nor can it be), so it is aimed to be used only for the initial package creation. It is possible to manually modify the generated files afterwards. I intend to create another tool to also help doing e.g. version updates.
Thanks
-- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Friday 05 of March 2010, Karsten König wrote:
The ubuntu failure is happening before the CMake run, the more important parts: dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 parsechangelog/debian: warning: debian/changelog(l5): badly formatted trailer line
Debian has an awfully strict changelog format, a single space can ruin it. You must have edited the file by hand.
Mandriva 2009.1 failure I don't understand at all.
http://en.opensuse.org/KDE/Build_Service/Cross-distro/Fixing_problems#No_spe... Thanks for the testing. -- Lubos Lunak openSUSE Boosters team, KDE developer l.lunak@suse.cz , l.lunak@kde.org -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
Ok to make sure I redid the whole thing. Output of kde-obs-generator karsten@thermoskanne:~/obs/home:remur:kde-obs-test/synaptiks> kde-obs- generator Warning: package maintainer has no real name set Warning: unknown requires for mapping from cmake find_package/include: checkprototypeexists Warning: Replacing existing variable value with a new one (/tmp/kde- karsten/kde-obs-generator6Dnv3W/synaptiks-0.3.2//CMakeLists.txt): version Warning: Replacing existing variable value with a new one (/tmp/kde- karsten/kde-obs-generator6Dnv3W/synaptiks-0.3.2//CMakeLists.txt): version
Debian has an awfully strict changelog format, a single space can ruin it. You must have edited the file by hand.
Nope I didn't touch nothing cheffe =) https://build.opensuse.org/package/live_build_log?arch=x86_64&package=synaptiks&project=home%3Aremur%3Akde- obs-test&repository=xUbuntu_9.10
Mandriva 2009.1 failure I don't understand at all.
http://en.opensuse.org/KDE/Build_Service/Cross-distro/Fixing_problems#No_sp ecific_error_message_at_the_end_of_the_build_log
Hmm yeah I tried looking through the build file, I forgot the error could be way up. /home/abuild/rpmbuild/BUILD/synaptiks-0.3.2/src/daemon/synaptiksdaemon.cpp: In member function 'void synaptiks::SynaptiksDaemon::notifyError(const QString&) const': /home/abuild/rpmbuild/BUILD/synaptiks-0.3.2/src/daemon/synaptiksdaemon.cpp:253: error: 'class KNotification' has no member named 'setTitle' Well looks like it's just incompatible with Mandriva 2009.1. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Saturday 06 of March 2010, Karsten König wrote:
Ok to make sure I redid the whole thing.
Output of kde-obs-generator karsten@thermoskanne:~/obs/home:remur:kde-obs-test/synaptiks> kde-obs- generator Warning: package maintainer has no real name set
Last 3 items in http://en.opensuse.org/KDE/Build_Service/Cross-distro/Tutorial#Creating_buil...
Warning: unknown requires for mapping from cmake find_package/include: checkprototypeexists
I have no idea where this comes from, but I'd expect it to be harmless.
Warning: Replacing existing variable value with a new one (/tmp/kde- karsten/kde-obs-generator6Dnv3W/synaptiks-0.3.2//CMakeLists.txt): version Warning: Replacing existing variable value with a new one (/tmp/kde- karsten/kde-obs-generator6Dnv3W/synaptiks-0.3.2//CMakeLists.txt): version
Cannot be detected by static analysis, but this one is harmless.
Debian has an awfully strict changelog format, a single space can ruin it. You must have edited the file by hand.
Nope I didn't touch nothing cheffe =) https://build.opensuse.org/package/live_build_log?arch=x86_64&package=synap tiks&project=home%3Aremur%3Akde- obs-test&repository=xUbuntu_9.10
Then it must be the packager name missing above, can you please check?
Well looks like it's just incompatible with Mandriva 2009.1.
Right, too old KDE presumably. -- Lubos Lunak KDE Developer -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
Am Samstag, 6. März 2010 20:40:20 schrieb Lubos Lunak:
On Saturday 06 of March 2010, Karsten König wrote:
Ok to make sure I redid the whole thing.
Output of kde-obs-generator karsten@thermoskanne:~/obs/home:remur:kde-obs-test/synaptiks> kde-obs- generator Warning: package maintainer has no real name set
Last 3 items in http://en.opensuse.org/KDE/Build_Service/Cross-distro/Tutorial#Creating_bui ld_service_account
Argh, I used my existing build service account and just skipped that, it indeed produced the error for the debian/ubuntu build I guess build will always fail when there is no maintainer name set, so maybe turn this from warning to error?
Warning: unknown requires for mapping from cmake find_package/include: checkprototypeexists
I have no idea where this comes from, but I'd expect it to be harmless.
Warning: Replacing existing variable value with a new one (/tmp/kde- karsten/kde-obs-generator6Dnv3W/synaptiks-0.3.2//CMakeLists.txt): version Warning: Replacing existing variable value with a new one (/tmp/kde- karsten/kde-obs-generator6Dnv3W/synaptiks-0.3.2//CMakeLists.txt): version
Cannot be detected by static analysis, but this one is harmless.
After setting the maintainer name the other warnings persisted
Debian has an awfully strict changelog format, a single space can ruin it. You must have edited the file by hand.
Nope I didn't touch nothing cheffe =) https://build.opensuse.org/package/live_build_log?arch=x86_64&package=syn ap tiks&project=home%3Aremur%3Akde- obs-test&repository=xUbuntu_9.10
Then it must be the packager name missing above, can you please check?
Yes, now it fails differently:
dpkg-buildpackage: source changed by Karsten König
On Friday 05 March 2010 14:40:21 Karsten König wrote:
Okidoki I found time to try it out and like the result.
As Synaptiks was floating by in #opensuse-kde I just used this to check the result, link: https://build.opensuse.org/package/show?package=synaptiks&project=home%3Are mur%3Akde- obs-test As someone who used osc and the webfrontend I found it very easy to use, still as I said in IRC the back and forth jumping in the tutorial are somewhat confusing, I got it like "osc can't create a project yet", even though I totally understand we want people to see the web interface.
The failures on the older distribution releases are related to an outdated XInput as far as I understand it, nothing to be done I guess, maybe ask people to disable building for targets where there is no chance of success to be nice to the obs =)
The ubuntu failure is happening before the CMake run, the more important parts: dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 parsechangelog/debian: warning: debian/changelog(l5): badly formatted trailer line LINE: -- remur@gmx.net Fri, 05 Mar 2010 14:33:38 +0100 parsechangelog/debian: warning: debian/changelog(l6): found start of entry where expected more change data or trailer LINE: synaptiks (0.3.2-1) unstable; urgency=low parsechangelog/debian: warning: debian/changelog(l6): found eof where expected more change data or trailer Use of uninitialized value $v in pattern match (m//) at /usr/share/perl5/Dpkg/Fields.pm line 246, <STDIN> line 6. Use of uninitialized value $v in pattern match (m//) at /usr/share/perl5/Dpkg/Fields.pm line 246, <STDIN> line 6. dpkg-buildpackage: error: unable to determine source changed by dpkg-buildpackage: source package synaptiks dpkg-buildpackage: source version 0.3.2-1
No idea if it is a general obs debian problem or specific to the generated debian build files
Mandriva 2009.1 failure I don't understand at all.
Try: export CXXFLAGS="$RPM_OPT_FLAGS -Wno-format-security" Mandriva added then dropped this as a default compile option.
The other builds with recent xorg and rpm succeeded just fine and could be linked on kde-apps.org
So thumbs up for your work Lubos, this is a great way to show off opensuse infrastructure to the kde world =)
+1 <snip> Hope that helps. Peter -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
participants (3)
-
Karsten König
-
Lubos Lunak
-
P Linnell