maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Satisfying autobuilder dependencies (https://talk.maemo.org/showthread.php?t=50096)

hawaii 2010-04-15 13:23

Satisfying autobuilder dependencies
 
I'm uploading my first package to extras-devel, it's a patched release of nano, but it seems autobuilder fails out on ncurses issues.

I've included the Depends in the debian/control file but, the automaker system doesn't seem to have a linkable curses library.

What gives?

Thanks.

- Simon

hawaii 2010-04-16 00:51

Re: Satisfying autobuilder dependencies
 
Nobody? Really?

mikkov 2010-04-16 01:28

Re: Satisfying autobuilder dependencies
 
It pays of to show the error message and what you have in build-depends lines and other relevant info. It's not very interestig to go digging in autobuilder build logs.

danielwilms 2010-04-16 06:39

Re: Satisfying autobuilder dependencies
 
Hi,

maybe the dev-package libncurses5-dev or libncursesw5-dev is missing in the build dependencies?

Daniel

hawaii 2010-04-16 11:52

Re: Satisfying autobuilder dependencies
 
checking for curses.h... no
checking for get_wch in -lcurses... no
checking for initscr in -lcurses... no
configure: WARNING:
*** No curses lib available. Consider getting the official ncurses
*** distribution from ftp://ftp.gnu.org/pub/gnu/ncurses if you get
*** errors compiling nano.

SNIP
In file included from proto.h:27,
from browser.c:24:
nano.h:76:20: error: curses.h: No such file or directory

my control file has;

Depends: ${shlibs:Depends}, ${misc:Depends}, libc6 (>= 2.5.0-1), libncursesw5 (>= 5.7), ncurses-base (>=5.7), libncursesw5-dev (>=5.7)

https://garage.maemo.org/builder/fre...log.FAILED.txt

mikkov 2010-04-17 23:41

Re: Satisfying autobuilder dependencies
 
Quote:

Originally Posted by hawaii (Post 613344)
Depends: ${shlibs:Depends}, ${misc:Depends}, libc6 (>= 2.5.0-1), libncursesw5 (>= 5.7), ncurses-base (>=5.7), libncursesw5-dev (>=5.7)

https://garage.maemo.org/builder/fre...log.FAILED.txt

Build-Depends is for building, Depends is for installing binary package. So you are missing proper Build-Depends and Depends has dev stuff which doesn't belong there.

Jaffa 2010-04-18 08:50

Re: Satisfying autobuilder dependencies
 
Finally, if it's a port of nano without a GUI, don't forget to either use the standard CLI icon http://wiki.maemo.org/images/a/ac/Cl...p_embedded.png or the CLI "badge" over the top of your nano icon http://wiki.maemo.org/images/9/9b/Cli_icon_48p.png.

The description should also include some text along the lines of "This text editor is intended to be used from within X Terminal. Type 'nano' to start."

More info:

http://wiki.maemo.org/Extras-testing...e_applications

hawaii 2010-04-18 12:17

Re: Satisfying autobuilder dependencies
 
Da.

Figured it out. I'm such a fool. Thanks peepz.


All times are GMT. The time now is 11:26.

vBulletin® Version 3.8.8