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
diff -Nru smscon-editor-0.4.4/debian/changelog smscon-editor-0.4.4/debian/changelog
--- smscon-editor-0.4.4/debian/changelog	2010-09-15 00:07:31.000000000 +0200
+++ smscon-editor-0.4.4/debian/changelog	2010-09-15 18:19:48.000000000 +0200
@@ -1,5 +1,5 @@
-smscon_editor (0.4.4-2) stable; urgency=low
+smscon-editor (0.4.4-2) stable; urgency=low
 
-  First version.
+  * First version.
 
  -- Christos Zamantzas <christos.zamant...@gmail.com>  Wed, 15 Sep 2010 00:07:31 +0000
diff -Nru smscon-editor-0.4.4/debian/control smscon-editor-0.4.4/debian/control
--- smscon-editor-0.4.4/debian/control	2010-09-15 00:07:31.000000000 +0200
+++ smscon-editor-0.4.4/debian/control	2010-09-15 18:27:30.000000000 +0200
@@ -1,11 +1,11 @@
-Source: smscon_editor
+Source: smscon-editor
 Section: user/network
 Priority: extra
 Maintainer: Christos Zamantzas <christos.zamant...@gmail.com>
 Build-Depends: debhelper (>= 5)
 Standards-Version: 3.7.2
 
-Package: smscon_editor
+Package: smscon-editor
 Architecture: armel
 Depends: python2.5, python2.5-qt4-gui, python2.5-qt4-core, python2.5-qt4-maemo5
 Description: SMSCON Configuration is an editor specially designed for configuring the SMSCON application.
diff -Nru smscon-editor-0.4.4/debian/rules smscon-editor-0.4.4/debian/rules
--- smscon-editor-0.4.4/debian/rules	2010-09-15 00:07:31.000000000 +0200
+++ smscon-editor-0.4.4/debian/rules	2010-09-15 18:31:23.000000000 +0200
@@ -43,27 +43,27 @@
 	dh_installdirs
 
 	# ======================================================
-	#$(MAKE) DESTDIR="$(CURDIR)/debian/smscon_editor" install
-	mkdir -p "$(CURDIR)/debian/smscon_editor"
+	#$(MAKE) DESTDIR="$(CURDIR)/debian/smscon-editor" install
+	mkdir -p "$(CURDIR)/debian/smscon-editor"
 
-#	mkdir -p "$(CURDIR)/debian/smscon_editor/usr/share/icons/hicolor/64x64/apps/"
-	cp -a "src/usr/share/icons/hicolor/64x64/apps/smscon_editor.png" "$(CURDIR)/debian/smscon_editor/usr/share/icons/hicolor/64x64/apps/smscon_editor.png"
-	mkdir -p "$(CURDIR)/debian/smscon_editor/usr/share/icons/hicolor/48x48/apps/"
-	cp -a "src/usr/share/icons/hicolor/48x48/apps/smscon_editor.png" "$(CURDIR)/debian/smscon_editor/usr/share/icons/hicolor/48x48/apps/smscon_editor.png"
-	mkdir -p "$(CURDIR)/debian/smscon_editor/etc/sudoers.d/"
-	cp -a "src/etc/sudoers.d/smscon_editor.sudoers" "$(CURDIR)/debian/smscon_editor/etc/sudoers.d/smscon_editor.sudoers"
-	mkdir -p "$(CURDIR)/debian/smscon_editor/usr/share/icons/hicolor/26x26/apps/"
-	cp -a "src/usr/share/icons/hicolor/26x26/apps/smscon_editor.png" "$(CURDIR)/debian/smscon_editor/usr/share/icons/hicolor/26x26/apps/smscon_editor.png"
-	mkdir -p "$(CURDIR)/debian/smscon_editor/opt/smscon_editor/"
-	cp -a "src/opt/smscon_editor/smscon_editor.py" "$(CURDIR)/debian/smscon_editor/opt/smscon_editor/smscon_editor.py"
-	mkdir -p "$(CURDIR)/debian/smscon_editor/opt/smscon_editor/"
-	cp -a "src/opt/smscon_editor/smscon_gui_elements.py" "$(CURDIR)/debian/smscon_editor/opt/smscon_editor/smscon_gui_elements.py"
-	mkdir -p "$(CURDIR)/debian/smscon_editor/opt/smscon_editor/"
-	cp -a "src/opt/smscon_editor/smscon_gui_elements.pyo" "$(CURDIR)/debian/smscon_editor/opt/smscon_editor/smscon_gui_elements.pyo"
-	mkdir -p "$(CURDIR)/debian/smscon_editor/usr/share/applications/hildon/"
-	cp -a "src/usr/share/applications/hildon/smscon_editor.desktop" "$(CURDIR)/debian/smscon_editor/usr/share/applications/hildon/smscon_editor.desktop"
-	mkdir -p "$(CURDIR)/debian/smscon_editor/usr/share/icons/hicolor/scalable/apps/"
-	cp -a "src/usr/share/icons/hicolor/scalable/apps/smscon_editor.png" "$(CURDIR)/debian/smscon_editor/usr/share/icons/hicolor/scalable/apps/smscon_editor.png"
+#	mkdir -p "$(CURDIR)/debian/smscon-editor/usr/share/icons/hicolor/64x64/apps/"
+	cp -a "src/usr/share/icons/hicolor/64x64/apps/smscon_editor.png" "$(CURDIR)/debian/smscon-editor/usr/share/icons/hicolor/64x64/apps/smscon_editor.png"
+	mkdir -p "$(CURDIR)/debian/smscon-editor/usr/share/icons/hicolor/48x48/apps/"
+	cp -a "src/usr/share/icons/hicolor/48x48/apps/smscon_editor.png" "$(CURDIR)/debian/smscon-editor/usr/share/icons/hicolor/48x48/apps/smscon_editor.png"
+	mkdir -p "$(CURDIR)/debian/smscon-editor/etc/sudoers.d/"
+	cp -a "src/etc/sudoers.d/smscon_editor.sudoers" "$(CURDIR)/debian/smscon-editor/etc/sudoers.d/smscon_editor.sudoers"
+	mkdir -p "$(CURDIR)/debian/smscon-editor/usr/share/icons/hicolor/26x26/apps/"
+	cp -a "src/usr/share/icons/hicolor/26x26/apps/smscon_editor.png" "$(CURDIR)/debian/smscon-editor/usr/share/icons/hicolor/26x26/apps/smscon_editor.png"
+	mkdir -p "$(CURDIR)/debian/smscon-editor/opt/smscon-editor/"
+	cp -a "src/opt/smscon_editor/smscon_editor.py" "$(CURDIR)/debian/smscon-editor/opt/smscon-editor/smscon_editor.py"
+	mkdir -p "$(CURDIR)/debian/smscon-editor/opt/smscon-editor/"
+	cp -a "src/opt/smscon_editor/smscon_gui_elements.py" "$(CURDIR)/debian/smscon-editor/opt/smscon-editor/smscon_gui_elements.py"
+	mkdir -p "$(CURDIR)/debian/smscon-editor/opt/smscon-editor/"
+	cp -a "src/opt/smscon_editor/smscon_gui_elements.pyo" "$(CURDIR)/debian/smscon-editor/opt/smscon-editor/smscon_gui_elements.pyo"
+	mkdir -p "$(CURDIR)/debian/smscon-editor/usr/share/applications/hildon/"
+	cp -a "src/usr/share/applications/hildon/smscon_editor.desktop" "$(CURDIR)/debian/smscon-editor/usr/share/applications/hildon/smscon_editor.desktop"
+	mkdir -p "$(CURDIR)/debian/smscon-editor/usr/share/icons/hicolor/scalable/apps/"
+	cp -a "src/usr/share/icons/hicolor/scalable/apps/smscon_editor.png" "$(CURDIR)/debian/smscon-editor/usr/share/icons/hicolor/scalable/apps/smscon_editor.png"
 
 	# ======================================================
 

Attachment: signature.asc
Description: Digital signature

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to