Subject: Bison 3.6.2

From: Michel Juillard <[email-masked]>
Date: Fri, 22 May 2020 09:22:06 +0200

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

---

From: Leo <[email-masked]>
Date: Fri, 22 May 2020 04:31:46 -0300

On Fri, 22 May 2020 09:22:06 +0200
Michel Juillard <[email-masked]> wrote:

> #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
> 

Try `apk add bison=3.6.2-r0`

---

From: Michel Juillard <[email-masked]>
Date: Fri, 22 May 2020 09:39:58 +0200

Thanks but see below

> 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

---

From: Konstantin Kulikov <[email-masked]>
Date: Fri, 22 May 2020 17:01:21 +0300

> 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.