~alpine/users

3 3

Bison 3.6.2

Michel Juillard
Details
Message ID
<87v9koph7l.fsf@dell-michel.home>
DKIM signature
missing
Download raw message
Hello

I have difficulties to obtain bison-3.6.2
#apk search bison --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main
reports as expected
bison-doc-3.6.2-r0
bison-3.6.2-r0

but
#apk add bison --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main
doesn't install anything (bison 3.0.5 is already installed)
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
OK: 248 MiB in 86 packages
and 
# bison --version
bison (GNU Bison) 3.0.5

and
#apk add bison-3.6.2 --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main
is missing (idem for bison-3.6.2-r0)
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  bison-3.6.2 (missing):
    required by: world[bison-3.6.2]

Thank you for your help

PS

the link to the Forum on www.alpinelinux.org (left column) is broken
and alpine-linux doesn't isn't an IRC channel
-- 
Michel Juillard
Leo
Details
Message ID
<20200522043146.4f730e14@enterprise>
In-Reply-To
<87v9koph7l.fsf@dell-michel.home> (view parent)
DKIM signature
missing
Download raw message
On Fri, 22 May 2020 09:22:06 +0200
Michel Juillard <michel.juillard@mjui.fr> wrote:

> Hello
> 
> I have difficulties to obtain bison-3.6.2
> #apk search bison --update-cache --repository
> http://dl-cdn.alpinelinux.org/alpine/edge/main reports as expected
> bison-doc-3.6.2-r0
> bison-3.6.2-r0
> 
> but
> #apk add bison --update-cache --repository
> http://dl-cdn.alpinelinux.org/alpine/edge/main doesn't install
> anything (bison 3.0.5 is already installed) fetch
> http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
> fetch
> http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
> fetch
> http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
> OK: 248 MiB in 86 packages and # bison --version bison (GNU Bison)
> 3.0.5
> 
> and
> #apk add bison-3.6.2 --update-cache --repository
> http://dl-cdn.alpinelinux.org/alpine/edge/main is missing (idem for
> bison-3.6.2-r0) fetch
> http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
> fetch
> http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
> fetch
> http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
> ERROR: unsatisfiable constraints: bison-3.6.2 (missing): required by:
> world[bison-3.6.2]
> 
> Thank you for your help
> 
> PS
> 
> the link to the Forum on www.alpinelinux.org (left column) is broken
> and alpine-linux doesn't isn't an IRC channel

Try `apk add bison=3.6.2-r0`
Michel Juillard
Details
Message ID
<87mu60pgdt.fsf@dell-michel.home>
In-Reply-To
<20200522043146.4f730e14@enterprise> (view parent)
DKIM signature
missing
Download raw message
Thanks but see below
Leo writes:

> On Fri, 22 May 2020 09:22:06 +0200
> Michel Juillard <michel.juillard@mjui.fr> wrote:
>
>> Hello
>> 
>> I have difficulties to obtain bison-3.6.2
>> #apk search bison --update-cache --repository
>> http://dl-cdn.alpinelinux.org/alpine/edge/main reports as expected
>> bison-doc-3.6.2-r0
>> bison-3.6.2-r0
>> 
>> but
>> #apk add bison --update-cache --repository
>> http://dl-cdn.alpinelinux.org/alpine/edge/main doesn't install
>> anything (bison 3.0.5 is already installed) fetch
>> http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
>> fetch
>> http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
>> fetch
>> http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
>> OK: 248 MiB in 86 packages and # bison --version bison (GNU Bison)
>> 3.0.5
>> 
>> and
>> #apk add bison-3.6.2 --update-cache --repository
>> http://dl-cdn.alpinelinux.org/alpine/edge/main is missing (idem for
>> bison-3.6.2-r0) fetch
>> http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
>> fetch
>> http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
>> fetch
>> http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
>> ERROR: unsatisfiable constraints: bison-3.6.2 (missing): required by:
>> world[bison-3.6.2]
>> 
>> Thank you for your help
>> 
>> PS
>> 
>> the link to the Forum on www.alpinelinux.org (left column) is broken
>> and alpine-linux doesn't isn't an IRC channel
>
> Try `apk add bison=3.6.2-r0`

# apk add bison-3.6.2-r0 -v --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --allow-untrusted
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  bison-3.6.2-r0 (missing):
    required by: world[bison-3.6.2-r0]


-- 
Michel Juillard
Konstantin Kulikov
Details
Message ID
<20200522170121.197e7a63e18282c5904e6320@gmail.com>
In-Reply-To
<87v9koph7l.fsf@dell-michel.home> (view parent)
DKIM signature
missing
Download raw message
> #apk add bison --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main
> doesn't install anything (bison 3.0.5 is already installed)
> fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
> fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
> fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
> OK: 248 MiB in 86 packages

Alpine doesn't support mixing release branches and edge due to differences in ABI and other things.
Either switch to edge or install alpine-sdk and build updated bison locally with abuild.