Danmichaelo created this task.
Danmichaelo added a project: Wikibase-Containers.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  The Dockerfile pins the version of `ca-certificates`, but not 
`build-dependencies`. It seems like this causes the build to break whenever 
`build-dependencies` is updated to require a new version of `ca-certificates`? 
This happened in April 
<https://github.com/wmde/wikibase-docker/commit/82ccf97ac6a478056158f5a931fb416a3cfc5851#diff-11850304120a96fa21111fe8c678496e>,
 May 
<https://github.com/wmde/wikibase-docker/commit/e3586976cb17ea1478eedcc81b2865ab74a027c2#diff-11850304120a96fa21111fe8c678496e>,
 and then now (July):
  
     ---> Running in db51307c63f2
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
    fetch 
http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
    ERROR: unsatisfiable constraints:
      ca-certificates-20191127-r2:
        breaks: build-dependencies-20200730.162852[ca-certificates~20191127-r1]
        satisfies: world[ca-certificates]
                   curl-7.67.0-r0[ca-certificates]
                   nodejs-12.15.0-r1[ca-certificates]
                   libcurl-7.67.0-r0[ca-certificates]
    ERROR: Service 'wdqs-frontend' failed to build: The command '/bin/sh -c apk 
--no-cache add --virtual build-dependencies ca-certificates~=20191127-r1 
git~=2.24 nodejs~=12 npm~=12 jq~=1.6 python~=2.7 make~=4.2 g++~=9.2' returned a 
non-zero code: 7
  
  If version pinning is there to make the builds reproducible, it seems like we 
need to pin `build-dependencies` too. On the other hand, since 
`build-dependencies` is currently not version pinned, perhaps version pinning 
could be removed for `ca-certificates` too? I wouldn't expect any of the other 
dependencies to break because of a new version of `ca-certificates`, but I 
should note that I'm not very familiar with the Alpine ecosystem.

TASK DETAIL
  https://phabricator.wikimedia.org/T259281

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Danmichaelo
Cc: Aklapper, Danmichaelo, Samantha_Alipio_WMDE, Akuckartz, darthmon_wmde, 
Jelabra, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Asahiko, despens, Wikidata-bugs, aude, Addshore, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to