<br><br><div class="gmail_quote">On Wed, Jul 8, 2009 at 12:38 PM, Ed Bartosh <span dir="ltr">&lt;<a href="mailto:bartosh@gmail.com">bartosh@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">2009/7/8 b0unc3 &lt;<a href="mailto:b0unc3@email.it">b0unc3@email.it</a>&gt;:<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Jul 8, 2009 at 9:34 AM, Ed Bartosh &lt;<a href="mailto:bartosh@gmail.com">bartosh@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; 2009/7/8 b0unc3 &lt;<a href="mailto:b0unc3@email.it">b0unc3@email.it</a>&gt;:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;m the developer of wizard-mounter<br>
&gt;&gt; &gt; (<a href="https://garage.maemo.org/projects/wizard-mounter" target="_blank">https://garage.maemo.org/projects/wizard-mounter</a>) and I have a problem<br>
&gt;&gt; &gt; with<br>
&gt;&gt; &gt; the extras-assistant.<br>
&gt;&gt; &gt; I build my own .deb in my sdk and it works fine, also the installation<br>
&gt;&gt; &gt; is<br>
&gt;&gt; &gt; correct (as you can check by downloading the .deb directly from the<br>
&gt;&gt; &gt; browser<br>
&gt;&gt; &gt; or you can try to build it yourself through svn in diablo-trunk/ ). When<br>
&gt;&gt; &gt; I<br>
&gt;&gt; &gt; upload the .tar.gz and other files to the extras-assistant that, I<br>
&gt;&gt; &gt; suppose,<br>
&gt;&gt; &gt; will automatically generate the deb but it result incorrect : the<br>
&gt;&gt; &gt; installation works quite fine but it never show the entry in the<br>
&gt;&gt; &gt; menu-list<br>
&gt;&gt; &gt; because the .desktop and .service files are placed alone in /.<br>
&gt;&gt; &gt; I&#39;m wondering why of this strange behavior and what I&#39;m doing wrong<br>
&gt;&gt; &gt; since<br>
&gt;&gt; &gt; the extras-assistant output is OK.<br>
&gt;&gt; &gt; In my sdk I simply run dpkg-build -rfakeroot to build the .deb and other<br>
&gt;&gt; &gt; files.<br>
&gt;&gt; &gt; What do extras-assistant exactly to build the .deb ?<br>
&gt;&gt; First of all it&#39;s autobuilder, not assistant. Extras assistent is a<br>
&gt;&gt; web interface to building system and repositories.<br>
&gt;<br>
&gt; My mistake, sorry.<br>
&gt;&gt;<br>
&gt;&gt; Autobuilder builds packages &#39;right way&#39;. It starts from clean<br>
&gt;&gt; scratchbox target, install basic build system(gcc, glibc and small<br>
&gt;&gt; amount of other packages), then installs build dependencies and bulds<br>
&gt;&gt; the package using dpkg-buildpackage.<br>
&gt;&gt; The main difference from usual developer builds is that in developer<br>
&gt;&gt; environment there are already tons of installed packages(most of them<br>
&gt;&gt; are not needed for your build) and dirty filesystem. By dirty I mean<br>
&gt;&gt; that there are a lot of files in there that don&#39;t belong to any<br>
&gt;&gt; package, but can influence on build results. Each time you do make<br>
&gt;&gt; install you put those on your filesystem. Very often they forgotten<br>
&gt;&gt; after that.<br>
&gt;&gt;<br>
&gt;&gt; Now to the business. The reason of above issue is most probably in<br>
&gt;&gt; your Makefile*. To check it our you can simply delete everything from<br>
&gt;&gt; debian/wizard-mounter and run &#39;make install<br>
&gt;&gt; DESTDIR=debian/wizard-mounter. You will most probably see your<br>
&gt;&gt; .desktop and .service files in debian/wizard-mounter instead of<br>
&gt;&gt; debian/wizard-mounter/usr/share/...<br>
&gt;<br>
&gt; I just tried it , but everything in the destdir is at his right place.<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div></div>Unfrotunately I didn&#39;t find sources of your package in diablo extras<br>
repo, so I checked out your trunk and tried to build your package in<br>
clean environment.<br>
Found issues:<br>
1. Package lacks build dependency to libhildonhelp-dev.<br>
configure complains that libossohelp package doesn&#39;t exist:<br>
checking for pkg-config... /scratchbox/tools/bin/pkg-config<br>
checking pkg-config is at least version 0.9.0... yes<br>
checking for GTK... yes<br>
checking for OSSO... configure: error: Package requirements (libosso<br>
&gt;= 1 libossohelp) were not met:<br>
<br>
No package &#39;libossohelp&#39; found<br>
<br>
Consider adjusting the PKG_CONFIG_PATH environment variable if you<br>
installed software in a non-standard prefix.<br>
<br>
Alternatively, you may set the environment variables OSSO_CFLAGS<br>
and OSSO_LIBS to avoid the need to call pkg-config.<br>
See the pkg-config man page for more details.<br>
<br>
make: *** [configure-stamp] Error 1<br>
<br>
It happens because libossohelp.pc file is not found. libossohelp.pc is<br>
deprecated, and replaced with hildon-help.pc which is in<br>
libhildonhelp-dev package, AFAIK.<br>
So, I replaced libossohelp with hildonhelp in your <a href="http://configure.ac" target="_blank">configure.ac</a> and<br>
added build-dependency to lbihildonhelp-dev package.<br>
<br>
2. The same for hildon-libs and hildon-fm:<br>
checking for HILDON... configure: error: Package requirements<br>
(hildon-libs &gt;= 0.9.50 hildon-fm) were not met:<br>
<br>
No package &#39;hildon-libs&#39; found<br>
No package &#39;hildon-fm&#39; found<br>
<br>
Consider adjusting the PKG_CONFIG_PATH environment variable if you<br>
installed software in a non-standard prefix.<br>
<br>
Alternatively, you may set the environment variables HILDON_CFLAGS<br>
and HILDON_LIBS to avoid the need to call pkg-config.<br>
See the pkg-config man page for more details.<br>
<br>
Replaced with hildon-1 and hildon-fm-2 in <a href="http://configure.ac" target="_blank">configure.ac</a><br>
<br>
Only after above changes I managed to build package. How did you<br>
actually get your package built? Did you use other sources?</blockquote><div><br>These errors come up because you have checked out a wrong dir, as I
said in my first mail, the directory where I&#39;m working on is
diabo-trunk/ no trunk/<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
It was built OK and I can see the problem:<br>
3.<br>
&gt; ls debian/wizard-mounter<br>
DEBIAN  etc  lib  usr  wizard_mounter.desktop  wizard_mounter.servic<br>
<br>
Here is the part of console output which explains why it happens:<br>
...<br>
Making install in src<br>
make[2]: Entering directory `/tmp/wizard-mounter/src&#39;<br>
make[3]: Entering directory `/tmp/wizard-mounter/src&#39;<br>
/bin/sh ../mkinstalldirs /tmp/wizard-mounter/debian/wizard-mounter/usr/bin<br>
mkdir -p -- /tmp/wizard-mounter/debian/wizard-mounter/usr/bin<br>
  /bin/sh ../libtool --mode=install /scratchbox/tools/bin/install -c<br>
wizard-mounter /tmp/wizard-mounter/debian/wizard-mounter/usr/bin/wizard-mounter<br>
/scratchbox/tools/bin/install -c wizard-mounter<br>
/tmp/wizard-mounter/debian/wizard-mounter/usr/bin/wizard-mounter<br>
make[3]: Nothing to be done for `install-data-am&#39;.<br>
make[3]: Leaving directory `/tmp/wizard-mounter/src&#39;<br>
make[2]: Leaving directory `/tmp/wizard-mounter/src&#39;<br>
Making install in data<br>
make[2]: Entering directory `/tmp/wizard-mounter/data&#39;<br>
make[3]: Entering directory `/tmp/wizard-mounter/data&#39;<br>
make[3]: Nothing to be done for `install-exec-am&#39;.<br>
/bin/sh ../mkinstalldirs /tmp/wizard-mounter/debian/wizard-mounter<br>
 /scratchbox/tools/bin/install -c -m 644 wizard_mounter.desktop<br>
/tmp/wizard-mounter/debian/wizard-mounter/wizard_mounter.desktop<br>
...<br>
<br>
And the problem is in <a href="http://configure.ac" target="_blank">configure.ac</a> file:<br>
desktopentrydir=`$PKG_CONFIG osso-af-settings --variable=desktopentrydir`<br>
serviceentrydir=`$PKG_CONFIG osso-af-settings --variable=dbusservicedir`<br>
<br>
If you run pkg-config with these parameters you&#39;ll have nothing<br>
instead of expecting paths.<br>
It&#39;s again about missing build-dependencies. osso-af-settings.pc is<br>
provided in osso-af-settings package, which is not present in your<br>
package&#39;s build-dependencies.</blockquote><div> <br>I just make it as a dependencies but now autobuilder fails :<br><a href="https://garage.maemo.org/builder/diablo/wizard-mounter_1.4.1-maemo4.1/armel.build.log.FAILED.txt" target="_blank">https://garage.maemo.org/builder/diablo/wizard-mounter_1.4.1-maemo4.1/armel.build.log.FAILED.txt</a><br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
After installing it  package was built just fine and files were in<br>
proper places:<br>
&gt;  find debian/ -name *.service  -or -name *.desktop<br>
debian/wizard-mounter/usr/share/dbus-1/services/wizard_mounter.service<br>
debian/wizard-mounter/usr/share/applications/hildon/wizard_mounter.desktop<br>
debian/wizard-mounter/etc/others-menu/extra_applications/0100_wizard-mounter.desktop<br>
<br>
<br>
The only thing I still don&#39;t understand is how you&#39;ve manage to build<br>
your package in autobuilder without first two changes.<br>
<br>
--<br>
BR,<br>
<font color="#888888">Ed<br>
</font></blockquote></div><br>