Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/erlang: Update to 18.1

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Wed, 30 Sep 2015 14:40:06 +0200

On Tue, 29 Sep 2015 00:51:43 +0000
Marlus Saraiva <marlus.saraiva_at_gmail.com> wrote:

> ---
> .../0006-Do-not-install-erlang-sources.patch | 531 +++++++++++++++------
> main/erlang/APKBUILD | 26 +-
> 2 files changed, 382 insertions(+), 175 deletions(-)
>
> diff --git a/main/erlang/0006-Do-not-install-erlang-sources.patch b/main/erlang/0006-Do-not-install-erlang-sources.patch
> index 8d14da5..9b7f421 100644
> --- a/main/erlang/0006-Do-not-install-erlang-sources.patch
> +++ b/main/erlang/0006-Do-not-install-erlang-sources.patch
> _at_@ -1,14 +1,5 @@
> -From: Hans Ulrich Niedermann <hun_at_n-dimensional.de>
> -Date: Mon, 21 Mar 2011 15:41:49 +0100
> -Subject: [PATCH] Do not install erlang sources
> -
> -Don't install *.erl, *.xrl, *.yrl, and *.asn1 files at all.
> -
> -Signed-off-by: Peter Lemenkov <lemenkov_at_gmail.com>
> -Signed-off-by: Hans Ulrich Niedermann <hun_at_n-dimensional.de>
> -

...

> +--- /dev/null
> ++++ otp_src_18.1-fixed/lib/ssh/src/Makefile.orig

I suppose adding Makefile.orig was not intentional?

I also get a build failure:
 CC obj/x86_64-alpine-linux-musl/opt/smp/hipe_x86_signal.o
hipe/hipe_x86_signal.c:233:0: warning: "_NSIG" redefined
 #define _NSIG NSIG
 ^
In file included from /usr/include/signal.h:243:0,
                 from hipe/hipe_x86_signal.c:48:
/usr/include/bits/signal.h:129:0: note: this is the location of the previous definition
 #define _NSIG 65
 ^
hipe/hipe_x86_signal.c:224:21: warning: no previous prototype for '_sigaction' [-Wmissing-prototypes]
 #define __SIGACTION _sigaction
                     ^
hipe/hipe_x86_signal.c:266:5: note: in expansion of macro '__SIGACTION'
 int __SIGACTION(int signum, const struct sigaction *act, struct sigaction *olda
     ^
In file included from hipe/hipe_x86_signal.c:48:0:
hipe/hipe_x86_signal.c: In function 'hipe_signal_init':
hipe/hipe_x86_signal.c:233:15: error: '_NSIG' undeclared (first use in this function)
 #define _NSIG NSIG
               ^
hipe/hipe_x86_signal.c:341:21: note: in expansion of macro '_NSIG'
     for (i = 1; i < _NSIG; ++i) {
                     ^
hipe/hipe_x86_signal.c:233:15: note: each undeclared identifier is reported only once for each function it appears in
 #define _NSIG NSIG
               ^
hipe/hipe_x86_signal.c:341:21: note: in expansion of macro '_NSIG'
     for (i = 1; i < _NSIG; ++i) {
                     ^
x86_64-alpine-linux-musl/Makefile:956: recipe for target
'obj/x86_64-alpine-linux-musl/opt/smp/hipe_x86_signal.o' failed


-nc


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Sep 30 2015 - 14:40:06 GMT