[maemo-developers] extras-assistant trouble

From: Ed Bartosh bartosh at gmail.com
Date: Wed Jul 8 10:34:00 EEST 2009
2009/7/8 b0unc3 <b0unc3 at email.it>:
> Hi,
>
> I'm the developer of wizard-mounter
> (https://garage.maemo.org/projects/wizard-mounter) and I have a problem with
> the extras-assistant.
> I build my own .deb in my sdk and it works fine, also the installation is
> correct (as you can check by downloading the .deb directly from the browser
> or you can try to build it yourself through svn in diablo-trunk/ ). When I
> upload the .tar.gz and other files to the extras-assistant that, I suppose,
> will automatically generate the deb but it result incorrect : the
> installation works quite fine but it never show the entry in the menu-list
> because the .desktop and .service files are placed alone in /.
> I'm wondering why of this strange behavior and what I'm doing wrong since
> the extras-assistant output is OK.
> In my sdk I simply run dpkg-build -rfakeroot to build the .deb and other
> files.
> What do extras-assistant exactly to build the .deb ?
First of all it's autobuilder, not assistant. Extras assistent is a
web interface to building system and repositories.
Autobuilder builds packages 'right way'. It starts from clean
scratchbox target, install basic build system(gcc, glibc and small
amount of other packages), then installs build dependencies and bulds
the package using dpkg-buildpackage.
The main difference from usual developer builds is that in developer
environment there are already tons of installed packages(most of them
are not needed for your build) and dirty filesystem. By dirty I mean
that there are a lot of files in there that don't belong to any
package, but can influence on build results. Each time you do make
install you put those on your filesystem. Very often they forgotten
after that.

Now to the business. The reason of above issue is most probably in
your Makefile*. To check it our you can simply delete everything from
debian/wizard-mounter and run 'make install
DESTDIR=debian/wizard-mounter. You will most probably see your
.desktop and .service files in debian/wizard-mounter instead of
debian/wizard-mounter/usr/share/...


-- 
BR,
Ed
More information about the maemo-developers mailing list