[maemo-developers] smscon_editor_0.4.3-9 package fail to build.

From: gregor herrmann gregor+maemo at comodo.priv.at
Date: Wed Sep 15 19:37:38 EEST 2010
On Wed, 15 Sep 2010 11:04:50 +0200, Chris Saturn wrote:

> Here is the latest log:
> https://garage.maemo.org/builder/fremantle/smscon_editor_0.4.4-2/
> 
> Does anyone has any more ideas for me to try?
> 
> Should note that the deb built locally installs and works great.

[Disclaimer: I have not much experience with maemo packages.]

https://garage.maemo.org/builder/fremantle/smscon_editor_0.4.4-2/armel.root.log.FAILED.txt
fails at

[2010-09-15 01:12:33] Copying source files to work dir
[2010-09-15 01:12:33] Extracting sources to work dir
[2010-09-15 01:12:33] cd /home/builder1/maemo-fremantle-armel-extras-devel/work && dpkg-source -x smscon_editor_0.4.4-2.dsc 
[2010-09-15 01:12:33] 
dpkg-source: warning: extracting unsigned source package (smscon_editor_0.4.4-2.dsc)
dpkg-source: info: extracting smscon_editor in smscon-editor-0.4.4
dpkg-source: info: unpacking smscon_editor_0.4.4-2.tar.gz
[2010-09-15 01:12:33] Cleaning up...

When I try to extract the source package manually (in scratchbox) I
get (first problmes with dget, then):

[sbox-FREMANTLE_ARMEL: ~] > cd /tmp
[sbox-FREMANTLE_ARMEL: /tmp] > mkdir smscon_editor
[sbox-FREMANTLE_ARMEL: /tmp] > cd smscon_editor/
[fun with dget]
[sbox-FREMANTLE_ARMEL: /tmp/smscon_editor] > wget --no-check-certificate https://garage.maemo.org/builder/fremantle/smscon_editor_0.4.4-2/sources/smscon_editor_0.4.4-2.dsc
...
[sbox-FREMANTLE_ARMEL: /tmp/smscon_editor] > wget --no-check-certificate https://garage.maemo.org/builder/fremantle/smscon_editor_0.4.4-2/sources/smscon_editor_0.4.4-2.tar.gz
...
[sbox-FREMANTLE_ARMEL: /tmp/smscon_editor] > ls
smscon_editor_0.4.4-2.dsc  smscon_editor_0.4.4-2.tar.gz
[sbox-FREMANTLE_ARMEL: /tmp/smscon_editor] > dpkg-source -x smscon_editor_0.4.4-2.dsc
dpkg-source: warning: extracting unsigned source package (smscon_editor_0.4.4-2.dsc)
dpkg-source: info: extracting smscon_editor in smscon-editor-0.4.4
dpkg-source: info: unpacking smscon_editor_0.4.4-2.tar.gz
[sbox-FREMANTLE_ARMEL: /tmp/smscon_editor] > ls
smscon-editor-0.4.4  smscon_editor_0.4.4-2.dsc  smscon_editor_0.4.4-2.tar.gz
[sbox-FREMANTLE_ARMEL: /tmp/smscon_editor] > cd smscon-editor-0.4.4/
[sbox-FREMANTLE_ARMEL: /tmp/smscon_editor/smscon-editor-0.4.4] > dpkg-buildpackage -uc -us
dpkg-buildpackage: warning: invalid flag in DEB_BUILD_OPTIONS: maemo-launcher,thumb,vfp
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
parsechangelog/debian: warning:     debian/changelog(l1): badly formatted heading line
LINE: smscon_editor (0.4.4-2) stable; urgency=low
parsechangelog/debian: warning:     debian/changelog(l2): found blank line where expected first heading
parsechangelog/debian: warning:     debian/changelog(l3): found change data where expected first heading
LINE:   First version.
Undefined subroutine &Dpkg::Changelog::Entry::Debian::_g called at /scratchbox/devkits/debian-squeeze/share/perl5/Dpkg/Changelog/Entry/Debian.pm line 134, <STDIN> line 5.
dpkg-buildpackage: error: changelog parser /scratchbox/devkits/debian-squeeze/lib/dpkg/parsechangelog/debian gave error exit status 9

After some head scratching I found the problem: package names (at
least in Debian, but that is probably the same with Debian tools in
maemo) must not contain "_" (underlines), they are used in several
places to separate package names from versions.

After changing smscon_editor to smscon-editor in several places 
dpkg-buildpackage starts and fails in the end with 
dpkg-deb: package name has characters that aren't lowercase alphanums or `-+.'
So probably I haven't renamed it everywhere :)

Ok, a little later I have a package that builds (no idea if it
works). Find attached a debdiff of the changes.


Please note that I don't know if this is the reason for the failure
in the buildd but it might be worth fixing in any case.


Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Rolling Stones: Seperately
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dash-instead-of-underline.diff
Type: text/x-diff
Size: 5606 bytes
Desc: not available
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100915/21e9fe8e/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100915/21e9fe8e/attachment.pgp>
More information about the maemo-developers mailing list