X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 562D8DC00E2; Wed, 22 Oct 2014 07:14:07 +0000 (UTC) Date: Wed, 22 Oct 2014 09:14:04 +0200 From: Natanael Copa To: Nathan Angelacos Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] kamailio - version bump to 4.2.0 Message-ID: <20141022091404.1221ae92@ncopa-desktop.alpinelinux.org> In-Reply-To: <1413941396-14974-1-git-send-email-nangel@alpinelinux.org> References: <1413941396-14974-1-git-send-email-nangel@alpinelinux.org> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 22 Oct 2014 01:29:56 +0000 Nathan Angelacos wrote: > new in sub-packages: > > kamailio: rtpproxy-ng renamed to rtpengine > kamailio-extras: tsilo jsonrpc-s > kamailio-uuid: new (uuid module) > kamailio-ev: new (evapi module) Thanks! I had some problems building it problem 1: checksum missing for kamailio-4.2-backslash.patch. 'abuild checksum' fixed that problem 2: ws_frame.c:34:20: fatal error: unistr.h: No such file or directory #include ^ compilation terminated. ../../Makefile.rules:114: recipe for target 'ws_frame.o' failed > @@ -240,7 +247,7 @@ prepare() { > > build() { > cd "$_builddir" > - make FLAVOUR=kamailio STUN=1 \ > + make FLAVOUR=kamailio STUN=1 EMBEDDED_UTF_DECODE=1\ > PREFIX=/usr \ > CC_EXTRA_OPTS="$CFLAGS -D_GNU_SOURCE" \ > cfg_target=/etc/kamailio/ \ Seems the define is EMBEDDED_UTF8_DECODE but I don't get how we are supposed to pass it since just passing it to 'make cfg' does not make it stick. adding EMBEDDED_UTF8_DECODE:=1 in config.mak does not either work. I believe this should be reported upstream. As a workaround I have added it to 'make all' and 'make install': @@ -247,7 +247,7 @@ prepare() { build() { cd "$_builddir" - make FLAVOUR=kamailio STUN=1 EMBEDDED_UTF_DECODE=1\ + make FLAVOUR=kamailio STUN=1 \ PREFIX=/usr \ CC_EXTRA_OPTS="$CFLAGS -D_GNU_SOURCE" \ cfg_target=/etc/kamailio/ \ @@ -256,12 +256,12 @@ build() { DESTDIR="$pkgdir" \ cfg_prefix="$pkgdir" \ cfg - make all || return 1 + make all EMBEDDED_UTF8_DECODE=1 || return 1 } package() { cd "$_builddir" - make -j1 install || return 1 + make -j1 install EMBEDDED_UTF8_DECODE=1 || return 1 # move default config to -doc package and use our own default config -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---