Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] new aport:moc

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Thu, 28 May 2015 15:55:08 +0200

On Thu, 28 May 2015 08:52:18 -0400
Andrew Hills <ahills_at_ednos.net> wrote:

> On Wed, May 20, 2015 at 04:21:47PM +0000, ScrumpyJack wrote:
> > +build() {
> > + cd "$_builddir"
> > + ./configure \
> > + --build=$CBUILD \
> > + --host=$CHOST \
> > + --prefix=/usr \
> > + --without-rcc \
> > + --with-oss \
> > + --with-alsa \
> > + --with-jack \
> > + --with-aac \
> > + --with-mp3 \
> > + --with-musepack \
> > + --with-vorbis \
> > + --with-flac \
> > + --with-wavpack \
> > + --with-sndfile \
> > + --with-modplug \
> > + --with-ffmpeg \
> > + --with-speex \
> > + --with-samplerate \
> > + --with-curl \
> > + --disable-cache \
> > + --disable-debug \
> > + || return 1
> > + make || return 1
> > +}
>
> Thanks for this APKBUILD; however, at least on 3.2, I'm unable to complete
> the configure step, as it fails very early:
>
> checking build system type... Invalid configuration `x86_64-alpine-linux-musl': machine `x86_64-alpine-linux' not recognized
>
> This is from config.sub:324, which tests $basic_machine and matches *-*-*.
> I suppose the best solution here is to patch config.sub to explicitly
> consider linux-musl in lines 126-129... of course, this is just one more
> argument against autoconf, but perhaps upstream could be convinced to use
> a more modern version than whatever was around in November of 2009. How
> did you get this to build?

we normally solve this with:

prepare() {
        update_config_sub || return 1
        ...
}

-nc


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu May 28 2015 - 15:55:08 GMT