extras-build diablo failed to compile Xournal
extras-build diablo failed to compile Xournal
Re: extras-build diablo failed to compile Xournal
2008-07-03 11:16 UTC
On Thu, Jul 3, 2008 at 12:11 PM, Aniello Del Sorbo <anidel@gmail.com> wrote:
>
[snip]
> But when it tries to actually build the package I get this errors:
>
> main.c:7:21: gtk/gtk.h: No such file or directory
> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
> main.c:10:21: libosso.h: No such file or directory
> main.c:14:32: hildon/hildon-note.h: No such file or directory
This sounds like a Build-Depends issue. The auto-builder has fewer
packages installed by default than the full SDK, meaning that
Build-Depends has to be correct.
dpkg-depcheck can be helpful here: this is what the current svn
version of mud uses to auto-detected build dependencies and update
Build-Depends automaticallly. If you're not using mud to generate your
package from upstream source, there are more hints on using
dpkg-depcheck here:
http://wiki.maemo.org/Uploading_to_extras#Preparing_a_source_package
Hope that helps,
Andrew
--
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org/
>
[snip]
> But when it tries to actually build the package I get this errors:
>
> main.c:7:21: gtk/gtk.h: No such file or directory
> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
> main.c:10:21: libosso.h: No such file or directory
> main.c:14:32: hildon/hildon-note.h: No such file or directory
This sounds like a Build-Depends issue. The auto-builder has fewer
packages installed by default than the full SDK, meaning that
Build-Depends has to be correct.
dpkg-depcheck can be helpful here: this is what the current svn
version of mud uses to auto-detected build dependencies and update
Build-Depends automaticallly. If you're not using mud to generate your
package from upstream source, there are more hints on using
dpkg-depcheck here:
http://wiki.maemo.org/Uploading_to_extras#Preparing_a_source_package
Hope that helps,
Andrew
--
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org/
Re: extras-build diablo failed to compile Xournal
2008-07-03 11:19 UTC
On Thu, Jul 3, 2008 at 1:16 PM, Andrew Flegg <andrew@bleb.org> wrote:
> On Thu, Jul 3, 2008 at 12:11 PM, Aniello Del Sorbo <anidel@gmail.com> wrote:
>>
> [snip]
>> But when it tries to actually build the package I get this errors:
>>
>> main.c:7:21: gtk/gtk.h: No such file or directory
>> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
>> main.c:10:21: libosso.h: No such file or directory
>> main.c:14:32: hildon/hildon-note.h: No such file or directory
>
> This sounds like a Build-Depends issue. The auto-builder has fewer
> packages installed by default than the full SDK, meaning that
> Build-Depends has to be correct.
>
> dpkg-depcheck can be helpful here: this is what the current svn
> version of mud uses to auto-detected build dependencies and update
> Build-Depends automaticallly. If you're not using mud to generate your
> package from upstream source, there are more hints on using
> dpkg-depcheck here:
>
> http://wiki.maemo.org/Uploading_to_extras#Preparing_a_source_package
>
> Hope that helps,
>
> Andrew
>
While waiting for an answer I was thinking more about the possible
cause of those errors,
and this is what I was checking right now.
Thanks, I'll look further into this.
--
anidel
> On Thu, Jul 3, 2008 at 12:11 PM, Aniello Del Sorbo <anidel@gmail.com> wrote:
>>
> [snip]
>> But when it tries to actually build the package I get this errors:
>>
>> main.c:7:21: gtk/gtk.h: No such file or directory
>> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
>> main.c:10:21: libosso.h: No such file or directory
>> main.c:14:32: hildon/hildon-note.h: No such file or directory
>
> This sounds like a Build-Depends issue. The auto-builder has fewer
> packages installed by default than the full SDK, meaning that
> Build-Depends has to be correct.
>
> dpkg-depcheck can be helpful here: this is what the current svn
> version of mud uses to auto-detected build dependencies and update
> Build-Depends automaticallly. If you're not using mud to generate your
> package from upstream source, there are more hints on using
> dpkg-depcheck here:
>
> http://wiki.maemo.org/Uploading_to_extras#Preparing_a_source_package
>
> Hope that helps,
>
> Andrew
>
While waiting for an answer I was thinking more about the possible
cause of those errors,
and this is what I was checking right now.
Thanks, I'll look further into this.
--
anidel
Re: extras-build diablo failed to compile Xournal
2008-07-03 11:23 UTC
Hello!
> But when it tries to actually build the package I get this errors:
>
> main.c:7:21: gtk/gtk.h: No such file or directory
> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
> main.c:10:21: libosso.h: No such file or directory
> main.c:14:32: hildon/hildon-note.h: No such file or directory
You need to add additional build-depends for your packages for
libgtk2.0-dev
and likely other packages (note, that the package configure script
does not check for the availability of gtk, otherwiese the problem
would have been more obvious). You can see fromt he root log that the
packgaes
is not yet installed (only the packages containing the libraries but not
the package containing the development files).
> (and of course a bunch of other caused by these).
>
> How can it not even find libosso.h, for example ?
Find the packages containing libosso.h with dpkg -S (use full path),
and add this packgae to your build-depends, too.
> Of course it compiles just fine in my scratchbox environment.
The autobuilder installs only the packages you ecplicitely name as
build-depends. Your envrionment has all packages available from the start.
> Am I doing something wrong or not doing something I should, instead, do ?
You are missing build-depends!
--
Gruß...
Tim
> But when it tries to actually build the package I get this errors:
>
> main.c:7:21: gtk/gtk.h: No such file or directory
> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
> main.c:10:21: libosso.h: No such file or directory
> main.c:14:32: hildon/hildon-note.h: No such file or directory
You need to add additional build-depends for your packages for
libgtk2.0-dev
and likely other packages (note, that the package configure script
does not check for the availability of gtk, otherwiese the problem
would have been more obvious). You can see fromt he root log that the
packgaes
is not yet installed (only the packages containing the libraries but not
the package containing the development files).
> (and of course a bunch of other caused by these).
>
> How can it not even find libosso.h, for example ?
Find the packages containing libosso.h with dpkg -S (use full path),
and add this packgae to your build-depends, too.
> Of course it compiles just fine in my scratchbox environment.
The autobuilder installs only the packages you ecplicitely name as
build-depends. Your envrionment has all packages available from the start.
> Am I doing something wrong or not doing something I should, instead, do ?
You are missing build-depends!
--
Gruß...
Tim
Re: extras-build diablo failed to compile Xournal
2008-07-03 11:28 UTC
On Thu, Jul 3, 2008 at 1:23 PM, Tim Teulings <rael@edge.ping.de> wrote:
> Hello!
>
>> Of course it compiles just fine in my scratchbox environment.
>
> The autobuilder installs only the packages you ecplicitely name as
> build-depends. Your envrionment has all packages available from the start.
>
That's the info that I was missing (and I was not able to notice from the log).
>> Am I doing something wrong or not doing something I should, instead, do ?
>
> You are missing build-depends!
I do have it, but it's incomplete.
Even tho, I had the libgnomecanvasblabla-dev dependency listed and
still it could find it.
Well, I'll add all the missing ones and see what happens.
Thank you all, really.
--
anidel
> Hello!
>
>> Of course it compiles just fine in my scratchbox environment.
>
> The autobuilder installs only the packages you ecplicitely name as
> build-depends. Your envrionment has all packages available from the start.
>
That's the info that I was missing (and I was not able to notice from the log).
>> Am I doing something wrong or not doing something I should, instead, do ?
>
> You are missing build-depends!
I do have it, but it's incomplete.
Even tho, I had the libgnomecanvasblabla-dev dependency listed and
still it could find it.
Well, I'll add all the missing ones and see what happens.
Thank you all, really.
--
anidel

I have uploaded (thru the web interface) 3 packages of mine:
xournal and its dependencies: libgnomecanvas and libgnomeprint.
The two deps compiled just fine and they were automatically added to
extras-devel.
When it tries to build Xournal it fails.
>From the root log (armel.root.log.OK.txt ) I can see it correctly
installs the two above packages
and all of the dependencies.
But when it tries to actually build the package I get this errors:
main.c:7:21: gtk/gtk.h: No such file or directory
main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
main.c:10:21: libosso.h: No such file or directory
main.c:14:32: hildon/hildon-note.h: No such file or directory
(and of course a bunch of other caused by these).
How can it not even find libosso.h, for example ?
Of course it compiles just fine in my scratchbox environment.
Am I doing something wrong or not doing something I should, instead, do ?
Thanks!
--
anidel