View Single Post
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#41
Hello,

Thank you for example. By trial and error with number of spaces between parts, I have made changelog to work. No errors are given about it anymore.
Detailed documentation:
http://www.debian.org/doc/debian-pol...-dpkgchangelog

Next errors:

with debian/control (which I copied from DEBIAN/control)
Unmet build dependencies: build-essential

I chose to ignore that (am I right?) and typed dpkg-buildpackage -b -d

sh: gcc: not found
(What is it? What should I do about it?)

dpkg-genchanges: failure: cannot read files list files: No such file or directory
(What should I do about it?)

Thanks a lot,
Best regards.

P.S. gcc is a compiler. I need to install it from the repository.
Which version? 3.4 or 4.2?
It will cure the error
Unmet build dependencies: build-essential.
P.P.S. I have installed gcc 4.2 4.2.1 4maemo13. Still sh:gcc:not found.
What next?
P.P.P.S. genchanges requires "files", which should be created by "rules", which cannot be empty (and I don't know what to put inside)
P.P.P.P.S. Went backward. Found source of a working theme, extracted it through dpkg-source and tried to build it back. Fails on
tar: unrecognized option '--null'

Thus, dpkg doesn't work due to bad tar. Where can I take a good tar from?
P.P.P.P.P.S. Installed MADDE. Worked perfectly. Now uploaded source files to autobuilder. Autobuilder failed on i386. In armel, too. I have the same error as here:

http://talk.maemo.org/showthread.php?t=55840

Undefined subroutine &Dpkg::Changelog::Entry:ebian::_g called at /scratchbox/devkits/debian-squeeze/share/perl5/Dpkg/Changelog/Entry/Debian.pm line 117, <STDIN> line 1.
dpkg-buildpackage: error: changelog parser /scratchbox/devkits/debian-squeeze/lib/dpkg/parsechangelog/debian gave error exit status 9

A bug in autobuilder?

When I try to create .deb in MADDE, it says that changelog is OK, but then stumbles over at set_theme, which for unknown reason requires libhildonwidgets.so.0. And if I throw set_theme away, then the dh_md5sum complains about "xargs: md5sum: Bad file number".
If I throw dh_md5sum away from debian/rules, then dh_builddeb calls tarlisted, and tarlisted says "strange content, information missing".
Can it be caused by "#" in image name?

Yes, it is! MADDE built the .deb, I installed it successfully! But I cannot see where the colors.config influences the Maemo. Text color, button color, title color are set to black. The Maemo shows white (except for rare cases like notifications about USB connection; and even then I don't know whether it's caused by colors.config or something else).

What would you advise?
I still haven't uploaded it to Extras.

Last edited by Wikiwide; 2010-06-11 at 05:41. Reason: Reading more; trying installing gcc; trying to build somebody's else package; installing MADDE; reading and testing more