{"action":"closed","issue":{"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1276","repository_url":"https://api.github.com/repos/postmarketOS/pmbootstrap","labels_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1276/labels{/name}","comments_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1276/comments","events_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1276/events","html_url":"https://github.com/postmarketOS/pmbootstrap/issues/1276","id":301184593,"number":1276,"title":"Non-explicit installing gets confused with subpackages (weird corner case)","user":{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false},"labels":[{"id":613960555,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/bug","name":"bug","color":"ee0701","default":true},{"id":651646593,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/pmbootstrap","name":"pmbootstrap","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false},"assignees":[{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-28T21:11:16Z","updated_at":"2018-03-01T20:03:56Z","closed_at":"2018-03-01T20:03:56Z","author_association":"OWNER","body":"@MartijnBraam discovered a corner case in the new non-explicit installation code in #1272, while upgrading `gcc-armhf`:\r\n\r\n```\r\nERROR: unsatisfiable constraints:\r\n  libstdc++-6.4.0-r7:\r\n    breaks: g++-aarch64-6.4.0-r6[libstdc++=6.4.0-r6]\r\n    satisfies: gcc-6.4.0-r7[so:libstdc++.so.6]\r\n  gcc-6.4.0-r7:\r\n    breaks: g++-aarch64-6.4.0-r6[gcc=6.4.0-r6]\r\n  .pmbootstrap-0:\r\n    masked in: cache\r\n    satisfies: world[.pmbootstrap]\r\n```\r\n\r\n### Steps to reproduce\r\n\r\nThis reproduces the error reliably, even if gcc doesn't need to be updated to match Alpine's version:\r\n```\r\n$ pmbootstrap pkgrel_bump gcc-armhf gcc-aarch64\r\n$ pmbootstrap build gcc-armhf --arch=aarch64\r\n[21:12:21] Update package index (16x)\r\n[21:12:26] (native) install alpine-base\r\n[21:12:27] (native) install qemu-user-static-repack qemu-user-static-repack-binfmt\r\n[21:12:30] Register qemu binfmt (aarch64)\r\n[21:12:30] (buildroot_aarch64) install alpine-base\r\n[21:12:31] (buildroot_aarch64) install abuild build-base ccache\r\n[21:12:37] (buildroot_aarch64) install libressl-dev\r\n[21:12:38] (native) install abuild build-base ccache\r\n[21:12:41] (native) install binutils-aarch64 bison flex gawk gmp-dev isl-dev linux-headers mpc1-dev mpfr-dev musl-dev-aarch64 paxmark texinfo zip zlib-dev\r\n[21:12:42] (native) build x86_64/gcc-aarch64-6.4.0-r8.apk\r\n[21:16:20] (native) install gcc-aarch64 g++-aarch64 ccache-cross-symlinks\r\n[21:16:22] NOTE: The failed command's output is above the ^^^ line in the logfile: /home/user/.local/var/pmbootstrap/log.txt\r\n[21:16:22] ERROR: Command failed: (native) % apk --no-progress add gcc-aarch64 g++-aarch64 ccache-cross-symlinks\r\n[21:16:22] Run 'pmbootstrap log' for details.\r\n[21:16:22] See also: <https://postmarketos.org/troubleshooting>\r\n```\r\n\r\n`pmbootstrap log`:\r\n```\r\n(029881) [21:16:20] (native) install gcc-aarch64 g++-aarch64 ccache-cross-symlinks\r\n(029881) [21:16:20] (native) % apk --no-progress add -u --virtual .pmbootstrap /mnt/pmbootstrap-packages/x86_64/gcc-aarch64-6.4.0-r8.apk /mnt/pmbootstrap-packages/x86_64/ccache-cross-symlinks-1-r4.apk isl /mnt/pmbootstrap-packages/x86_64/binutils-aarch64-2.28-r3.apk ccache gmp\r\n(1/3) Installing gcc-aarch64 (6.4.0-r8)\r\n(2/3) Installing ccache-cross-symlinks (1-r4)\r\n(3/3) Installing .pmbootstrap (0)\r\nExecuting busybox-1.27.2-r8.trigger\r\nOK: 404 MiB in 81 packages\r\n(029881) [21:16:21] (native) % apk --no-progress add gcc-aarch64 g++-aarch64 ccache-cross-symlinks\r\nERROR: unsatisfiable constraints:\r\n  libstdc++-6.4.0-r7:\r\n    breaks:\r\n            g++-aarch64-6.4.0-r8[libstdc++=6.4.0-r8]\r\n    satisfies: g++-6.4.0-r7[libstdc++=6.4.0-r7]\r\n               g++-6.4.0-r7[libstdc++=6.4.0-r7]\r\n               gcc-6.4.0-r7[so:libstdc++.so.6]\r\n               libgmpxx-6.1.2-r1[so:libstdc++.so.6]\r\n               lzip-1.20-r0[so:libstdc++.so.6]\r\n  gcc-6.4.0-r7:\r\n    breaks: g++-aarch64-6.4.0-r8[gcc=6.4.0-r8]\r\n    satisfies: world[gcc]\r\n               g++-6.4.0-r7[gcc=6.4.0-r7]\r\n               build-base-0.5-r1[gcc]\r\n(029881) [21:16:22] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n```"}}
{"actor":{"display_login":"ollieparanoid"}}