Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] netkitftp: ftp client from netkit project
Date: Tue, 27 Oct 2009 14:10:58 +0100	[thread overview]
Message-ID: <871vkpdlst.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1256647300-19012-1-git-send-email-hugues@hiegel.fr> (Hugues Hiegel's message of "Tue\, 27 Oct 2009 13\:41\:40 +0100")

>>>>> "Hugues" == Hugues Hiegel <hugues@hiegel.fr> writes:

 Hugues> From: Hugues Hiegel <hugues.hiegel@openwide.fr>

Thanks, looks a lot better, but we're still not quite there yet.

It would be good if you could add a signed-of-by line to the end of the
commit message - E.G.

Signed-off-by: Hugues Hiegel <hugues.hiegel@openwide.fr>

 Hugues> +++ b/package/netkitftp/Config.in
 Hugues> @@ -0,0 +1,6 @@
 Hugues> +config BR2_PACKAGE_NETKITFTP
 Hugues> +	bool "netkitftp"
 Hugues> +	help
 Hugues> +	  "Classic" ftp client with standard behaviour from 

Trailing space.

 Hugues> +++ b/package/netkitftp/netkitftp.mk
 Hugues> @@ -0,0 +1,25 @@
 Hugues> +#############################################################
 Hugues> +#
 Hugues> +# netkitftp
 Hugues> +#
 Hugues> +#############################################################
 Hugues> +NETKITFTP_VERSION:=0.17
 Hugues> +NETKITFTP_PATCH_VERSION:=16
 Hugues> +NETKITFTP_SOURCE:=netkit-ftp_$(NETKITFTP_VERSION).orig.tar.gz
 Hugues> +NETKITFTP_PATCH:=netkit-ftp_$(NETKITFTP_VERSION)-$(NETKITFTP_PATCH_VERSION).diff.gz
 Hugues> +NETKITFTP_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/n/netkit-ftp/

You'll need to disable the configure cache as the configure script
doesn't understand it:

Unrecognized option: --cache-file=/tmp/br/build/tgt-config.cache
make: *** [/tmp/br/build/netkitftp-0.17/.stamp_configured] Error 1

E.G. add NETKITFTP_USE_CONFIG_CACHE:=NO

You'll also need to prepend netkitftp- to the patch names, as they will
otherwise not get applied and configure errors out on unrecognized
options.

With that fixed the configure script still fails with:

Checking for BSD signal semantics... yes
Checking for ncurses... no
Checking for traditional termcap... not found
This package needs termcap to run.

So you probably need to depend on ncurses. Notice that the configure
script doesn't return an error code here, so the build continues (and
then fails later on).

Are you testing this in some other tree than mainline?

 Hugues> +
 Hugues> +# Netkitftp does not understands the INSTALL_PREFIX envvar,
 Hugues> +#?we have to use the --installroot configure option instead...
 Hugues> +NETKITFTP_CONF_OPT = --installroot=$(TARGET_DIR) \
 Hugues> +					 --without-readline
 Hugues> +NETKITFTP_INSTALL_TARGET_OPT = install
 Hugues> +
 Hugues> +$(eval $(call AUTOTARGETS,package,netkitftp))
 Hugues> +
 Hugues> +$(NETKITFTP_HOOK_POST_BUILD):
 Hugues> +	# The 'install' rule of netkitftp would install manpages, but the
 Hugues> +	#?folders generally do not exist on the TARGET_PATH, so we create
 Hugues> +	#?them in order to let 'make install' successfully perform.
 Hugues> +	mkdir -p $(TARGET_DIR)/usr/man/man1 $(TARGET_DIR)/usr/man/man5

You still have odd unicode chars here.

You forgot to actually include the Config.in to package/Config.in, so
the package cannot get selected.

Could you fix those issues please?

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2009-10-27 13:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 16:17 [Buildroot] [PATCH] netkitftp: added package with Makefile.autotools.in support Hugues Hiegel
2009-10-26 16:17 ` Hugues Hiegel
2009-10-26 18:08   ` Peter Korsgaard
2009-10-26 21:15     ` Hugues
2009-10-26 22:00       ` Lionel Landwerlin
2009-10-27  9:35         ` Hugues
2009-10-26 22:03       ` Peter Korsgaard
2009-10-27 12:41   ` [Buildroot] [PATCH] netkitftp: ftp client from netkit project Hugues Hiegel
2009-10-27 12:46     ` Hugues
2009-10-27 13:48       ` Peter Korsgaard
2009-10-27 13:10     ` Peter Korsgaard [this message]
2009-10-27 14:18       ` Hugues
2009-10-27 14:34         ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871vkpdlst.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox