extras-build diablo failed to compile Xournal

  1. extras-build diablo failed to compile Xournal

    Aniello Del Sorbo 07/03/08 14:11:59
    Hi,

    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
    •  Reply
  2. Re: extras-build diablo failed to compile Xournal

    Andrew Flegg 07/03/08 14:16:51
    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/
    •  Reply
  3. Re: extras-build diablo failed to compile Xournal

    Aniello Del Sorbo 07/03/08 14:19:37
    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
    •  Reply
  4. Re: extras-build diablo failed to compile Xournal

    Tim Teulings 07/03/08 14:23:17
    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
    •  Reply
  5. Re: extras-build diablo failed to compile Xournal

    Aniello Del Sorbo 07/03/08 14:28:33
    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
    •  Reply
  6. Re: extras-build diablo failed to compile Xournal

    Aniello Del Sorbo 07/03/08 14:39:59
    Just to let you guys know.
    This is the subject of the e-mail I've just received in my "maemo stuff" folder:

    "[diablo]: xournal 0.4.2.1-1diablo1 OK".

    no more to say. :)

    --
    anidel

    From eero.tamminen@nokia.com Thu Jul 3 15:00:40 2008
    Return-Path: <eero.tamminen@nokia.com>
    X-Original-To: maemo-developers@maemo.org
    Delivered-To: maemo-developers@maemo.org
    Received: by maemo.org (Postfix, from userid 109)
    id D1870118E9F; Thu, 3 Jul 2008 15:00:40 +0300 (EEST)
    X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on maemo-midgard
    X-Spam-Level:
    X-Spam-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_50,
    DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST autolearn=no version=3.1.7-deb
    Received: from www.maemo.org (maemo.org [10.5.7.8])
    by maemo.org (Postfix) with ESMTP id DFB471182EB
    for <maemo-developers@maemo.org>; Thu, 3 Jul 2008 15:00:37 +0300 (EEST)
    Received: from mgw-mx03.nokia.com (smtp.nokia.com [192.100.122.230])
    by www.maemo.org (Postfix) with ESMTP id 6E2745AAF3A
    for <maemo-developers@maemo.org>; Thu, 3 Jul 2008 15:00:37 +0300 (EEST)
    Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213])
    by mgw-mx03.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id
    m63Bxdir020550; Thu, 3 Jul 2008 15:00:05 +0300
    Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by
    esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);
    Thu, 3 Jul 2008 14:59:53 +0300
    Received: from [172.21.41.227] ([172.21.41.227]) by esebh102.NOE.Nokia.com
    with Microsoft SMTPSVC(6.0.3790.3959);
    Thu, 3 Jul 2008 14:59:52 +0300
    Message-ID: <486CBE83.4000506@nokia.com>
    Date: Thu, 03 Jul 2008 14:56:51 +0300
    From: Eero Tamminen <eero.tamminen@nokia.com>
    User-Agent: Icedove 1.5.0.14eol (X11/20080509)
    MIME-Version: 1.0
    To: ext Aniello Del Sorbo <anidel@gmail.com>,
    maemo-dev List <maemo-developers@maemo.org>
    Subject: Re: extras-build diablo failed to compile Xournal
    References: <767b4be00807030411v4cf74294j6325db5dfe6280ce@mail.gmail.com>
    <486CB5AE.8050105@nokia.com>
    <767b4be00807030425p15fc51b2xbcf5ac880a4cf889@mail.gmail.com>
    In-Reply-To: <767b4be00807030425p15fc51b2xbcf5ac880a4cf889@mail.gmail.com>
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    Content-Transfer-Encoding: 7bit
    X-OriginalArrivalTime: 03 Jul 2008 11:59:52.0806 (UTC)
    FILETIME=[4D63E860:01C8DD04]
    X-Nokia-AV: Clean
    X-BeenThere: maemo-developers@maemo.org
    X-Mailman-Version: 2.1.9
    Precedence: list
    List-Id: for maemo developers <maemo-developers.maemo.org>
    List-Unsubscribe: <https://lists.maemo.org/mailman/listinfo/maemo-developers>,
    <mailto:maemo-developers-request@maemo.org?subject=unsubscribe>
    List-Archive: <http://lists.maemo.org/pipermail/maemo-developers>
    List-Post: <mailto:maemo-developers@maemo.org>
    List-Help: <mailto:maemo-developers-request@maemo.org?subject=help>
    List-Subscribe: <https://lists.maemo.org/mailman/listinfo/maemo-developers>,
    <mailto:maemo-developers-request@maemo.org?subject=subscribe>
    X-List-Received-Date: Thu, 03 Jul 2008 12:00:41 -0000

    Hi,

    ext Aniello Del Sorbo wrote:
    > Actually my package already depends (Build depends) on the -dev of
    > libgnomecanvas, and it is installed (I noticed from the log), but
    > still it can find libgnomecanvas.h
    >
    > It should at least find this one... right ?

    It may be installed to same path as some of the other stuff you're
    missing and you were in your own environment just getting the correct
    include path from some other component's pkgconfig call.


    - Eero

    >
    > --
    > anidel
    >
    > On Thu, Jul 3, 2008 at 1:19 PM, Eero Tamminen <eero.tamminen@nokia.com> wrote:
    >> Hi,
    >>
    >> ext Aniello Del Sorbo wrote:
    >>> 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
    >> You need to build depend from the -dev packages for all of these.
    >>
    >>
    >>> (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 ?
    >>
    >> - Eero
    >>
    >
    >
    >
    •  Reply

sponsored by Nokia Corporation