Mail archive
alpine-aports

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

From: Marlus Saraiva <marlus.saraiva_at_gmail.com>
Date: Thu, 1 Oct 2015 09:19:17 -0300

2015-09-30 9:40 GMT-03:00 Natanael Copa <ncopa_at_alpinelinux.org>:

> 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__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?
>
>
Sorry about that :)


> 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
>
>
This happened because you had m4 installed in your environment and I
didn't. When m4 is found, hipe is enabled by default. If hipe is enabled,
we need to apply an additional patch. I already have the patch working fine
and will submit it among the other changes. My question is: should I add m4
to "makedepends" or should I assume it's already installed in your
environment before you build the packages?


> -nc
>



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Oct 01 2015 - 09:19:17 GMT