Alexpux / MSYS2-pacman

MSYS2 port of Arch Linux packman package manager.
GNU General Public License v2.0
164 stars 34 forks source link

Standalone pacman.exe usage against different root: "failed to execute correctly" during post_* scripts #64

Closed mitchhentges closed 2 years ago

mitchhentges commented 2 years ago

I'm bootstrapping a little MSYS2-lite for a Windows Firefox developer environment.

As part of this, I'm essentially running <msys2>/usr/bin/pacman.exe -Sy --root <target> <list-of-packages ...> However, I'm seeing errors when I do this:

error: command (/usr/bin/bash /usr/bin/bash -c . /tmp/alpm_EZ35j1/.INSTALL; post_install 4.18.0-1 ) failed to execute correctly
:: Running post-transaction hooks...
(1/1) Updating the info directory file...
error: command (/usr/bin/sh /usr/bin/sh -c while read -r f; do install-info "$f" /usr/share/info/dir 2> /dev/null; done ) failed to execute correctly

Note that this only happens when running pacman.exe directly from the Command Prompt, and not when running it from an MSYS2 context.

To reproduce:

Do the following from the Command Prompt. Note that this assumes that MSYS2 is installed to C:\msys64

  1. mkdir msys2-test\var\lib\pacman msys2-test\var\log msys2-test\tmp
  2. cd msys2-test
  3. C:\msys64\usr\bin\pacman.exe -Sy --root . msys2-runtime bash
  4. C:\msys64\usr\bin\pacman.exe -Sy --root . libtasn1
Log (non-debug) ``` C:\dev>mkdir msys2-test\var\lib\pacman msys2-test\var\log msys2-test\tmp C:\dev>cd msys2-test C:\dev\msys2-test>C:\msys64\usr\bin\pacman.exe -Sy --root . msys2-runtime bash :: Synchronizing package databases... mingw32 1421.2 KiB 450 KiB/s 00:03 [########################################] 100% mingw64 1427.8 KiB 502 KiB/s 00:03 [########################################] 100% ucrt64 1566.6 KiB 532 KiB/s 00:03 [########################################] 100% clang64 1471.8 KiB 247 KiB/s 00:06 [########################################] 100% msys 373.5 KiB 194 KiB/s 00:02 [########################################] 100% error: failed retrieving file 'mingw32.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org warning: too many errors from mirror.msys2.org, skipping for the remainder of this transaction error: failed retrieving file 'mingw64.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org error: failed retrieving file 'ucrt64.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org error: failed retrieving file 'clang64.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org error: failed retrieving file 'msys.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org error: failed retrieving file 'mingw32.db' from repo.msys2.org : Could not resolve host: repo.msys2.org warning: too many errors from repo.msys2.org, skipping for the remainder of this transaction error: failed retrieving file 'mingw64.db' from repo.msys2.org : Could not resolve host: repo.msys2.org error: failed retrieving file 'ucrt64.db' from repo.msys2.org : Could not resolve host: repo.msys2.org error: failed retrieving file 'clang64.db' from repo.msys2.org : Could not resolve host: repo.msys2.org error: failed retrieving file 'msys.db' from repo.msys2.org : Could not resolve host: repo.msys2.org resolving dependencies... looking for conflicting packages... Packages (2) bash-5.1.008-1 msys2-runtime-3.3.3-4 Total Installed Size: 22.25 MiB :: Proceed with installation? [Y/n] (2/2) checking keys in keyring [########################################] 100% (2/2) checking package integrity [########################################] 100% (2/2) loading package files [########################################] 100% (2/2) checking for file conflicts [########################################] 100% (2/2) checking available disk space [########################################] 100% :: Processing package changes... (1/2) installing msys2-runtime [########################################] 100% (2/2) installing bash [########################################] 100% C:\dev\msys2-test>C:\msys64\usr\bin\pacman.exe -Sy --root . libtasn1 :: Synchronizing package databases... mingw32 is up to date mingw64 is up to date ucrt64 is up to date clang64 is up to date msys is up to date error: failed retrieving file 'mingw32.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org warning: too many errors from mirror.msys2.org, skipping for the remainder of this transaction error: failed retrieving file 'mingw64.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org error: failed retrieving file 'ucrt64.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org error: failed retrieving file 'clang64.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org error: failed retrieving file 'msys.db' from mirror.msys2.org : Could not resolve host: mirror.msys2.org error: failed retrieving file 'mingw32.db' from repo.msys2.org : Could not resolve host: repo.msys2.org warning: too many errors from repo.msys2.org, skipping for the remainder of this transaction error: failed retrieving file 'mingw64.db' from repo.msys2.org : Could not resolve host: repo.msys2.org error: failed retrieving file 'ucrt64.db' from repo.msys2.org : Could not resolve host: repo.msys2.org error: failed retrieving file 'clang64.db' from repo.msys2.org : Could not resolve host: repo.msys2.org error: failed retrieving file 'msys.db' from repo.msys2.org : Could not resolve host: repo.msys2.org resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: libiconv will be installed before its libintl dependency Packages (10) gcc-libs-11.2.0-3 gzip-1.11-1 info-6.8-1 less-590-1 libcrypt-2.1-3 libiconv-1.16-2 libintl-0.19.8.1-2 libpcre-8.45-1 ncurses-6.2-2 libtasn1-4.18.0-1 Total Installed Size: 17.29 MiB :: Proceed with installation? [Y/n] (10/10) checking keys in keyring [########################################] 100% (10/10) checking package integrity [########################################] 100% (10/10) loading package files [########################################] 100% (10/10) checking for file conflicts [########################################] 100% (10/10) checking available disk space [########################################] 100% :: Processing package changes... ( 1/10) installing gcc-libs [########################################] 100% ( 2/10) installing ncurses [########################################] 100% ( 3/10) installing libpcre [########################################] 100% ( 4/10) installing less [########################################] 100% ( 5/10) installing gzip [########################################] 100% ( 6/10) installing libcrypt [########################################] 100% ( 7/10) installing libiconv [########################################] 100% ( 8/10) installing libintl [########################################] 100% ( 9/10) installing info [########################################] 100% (10/10) installing libtasn1 [########################################] 100% error: command (/usr/bin/bash /usr/bin/bash -c . /tmp/alpm_LG03QE/.INSTALL; post_install 4.18.0-1 ) failed to execute correctly :: Running post-transaction hooks... (1/1) Updating the info directory file... error: command (/usr/bin/sh /usr/bin/sh -c while read -r f; do install-info "$f" /usr/share/info/dir 2> /dev/null; done ) failed to execute correctly ```
Debug log when installing just libtasn1 ``` debug: pacman v6.0.1 - libalpm v13.0.1 debug: config: attempting to read file /etc/pacman.conf debug: config: new section 'options' debug: config: HoldPkg: pacman debug: config: Architecture: auto debug: config: arch: x86_64 debug: config: SigLevel: Required debug: config: LocalFileSigLevel: Optional debug: config: new section 'mingw32' debug: config file /etc/pacman.conf, line 69: including /etc/pacman.d/mirrorlist.mingw debug: config: new section 'mingw64' debug: config file /etc/pacman.conf, line 72: including /etc/pacman.d/mirrorlist.mingw debug: config: new section 'ucrt64' debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist.mingw debug: config: new section 'clang64' debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist.mingw debug: config: new section 'msys' debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist.msys debug: config: finished parsing /etc/pacman.conf debug: setup_libalpm called debug: option 'logfile' = ./var/log/pacman.log debug: option 'gpgdir' = /etc/pacman.d/gnupg/ debug: option 'hookdir' = /etc/pacman.d/hooks/ debug: option 'cachedir' = /var/cache/pacman/pkg/ debug: registering sync database 'mingw32' debug: database path for tree mingw32 set to /c/dev/msys2-test/var/lib/pacman/sync/mingw32.db debug: GPGME version: 1.16.0-unknown debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/ debug: checking signature for /c/dev/msys2-test/var/lib/pacman/sync/mingw32.db debug: 1 signatures returned debug: fingerprint: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57 debug: summary: valid debug: summary: green debug: status: Success debug: timestamp: 1641070317 debug: exp_timestamp: 0 debug: validity: full; reason: Success debug: key: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57, Christoph Reiter (MSYS2 development key) , owner_trust unknown, disabled 0 debug: signature is valid debug: signature is fully trusted debug: setting usage of 15 for mingw32 repository debug: adding new server URL to database 'mingw32': https://mirror.msys2.org/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://repo.msys2.org/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirror.umd.edu/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirror.yandex.ru/mirrors/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://download.nus.edu.sg/mirror/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://ftp.acc.umu.se/mirror/msys2.org/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://ftp.nluug.nl/pub/os/windows/msys2/builds/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://ftp.osuosl.org/pub/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirror.internet.asn.au/pub/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirror.selfnet.de/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirror.ufro.cl/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirrors.dotsrc.org/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirrors.bfsu.edu.cn/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirrors.ustc.edu.cn/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirror.nju.edu.cn/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://repo.extreme-ix.org/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://sourceforge.net/projects/msys2/files/REPOS/MINGW/mingw32 debug: adding new server URL to database 'mingw32': https://mirror.clarkson.edu/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://fastmirror.pp.ua/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://ftp.cc.uoc.gr/mirrors/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirror.jmu.edu/pub/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirrors.piconets.webwerks.in/msys2-mirror/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://quantum-mirror.hu/mirrors/pub/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://www2.futureware.at/~nickoe/msys2-mirror/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirrors.bit.edu.cn/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://repo.casualgamer.ca/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirrors.aliyun.com/msys2/mingw/mingw32 debug: adding new server URL to database 'mingw32': https://mirror.iscas.ac.cn/msys2/mingw/mingw32 debug: registering sync database 'mingw64' debug: database path for tree mingw64 set to /c/dev/msys2-test/var/lib/pacman/sync/mingw64.db debug: checking signature for /c/dev/msys2-test/var/lib/pacman/sync/mingw64.db debug: 1 signatures returned debug: fingerprint: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57 debug: summary: valid debug: summary: green debug: status: Success debug: timestamp: 1641070295 debug: exp_timestamp: 0 debug: validity: full; reason: Success debug: key: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57, Christoph Reiter (MSYS2 development key) , owner_trust unknown, disabled 0 debug: signature is valid debug: signature is fully trusted debug: setting usage of 15 for mingw64 repository debug: adding new server URL to database 'mingw64': https://mirror.msys2.org/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://repo.msys2.org/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirror.umd.edu/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://download.nus.edu.sg/mirror/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://ftp.acc.umu.se/mirror/msys2.org/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://ftp.nluug.nl/pub/os/windows/msys2/builds/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://ftp.osuosl.org/pub/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirror.internet.asn.au/pub/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirror.selfnet.de/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirror.ufro.cl/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirrors.dotsrc.org/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirrors.bfsu.edu.cn/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirrors.ustc.edu.cn/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirror.nju.edu.cn/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://repo.extreme-ix.org/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://sourceforge.net/projects/msys2/files/REPOS/MINGW/mingw64 debug: adding new server URL to database 'mingw64': https://mirror.clarkson.edu/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://fastmirror.pp.ua/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://ftp.cc.uoc.gr/mirrors/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirror.jmu.edu/pub/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirrors.piconets.webwerks.in/msys2-mirror/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://quantum-mirror.hu/mirrors/pub/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://www2.futureware.at/~nickoe/msys2-mirror/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirrors.bit.edu.cn/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://repo.casualgamer.ca/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirrors.aliyun.com/msys2/mingw/mingw64 debug: adding new server URL to database 'mingw64': https://mirror.iscas.ac.cn/msys2/mingw/mingw64 debug: registering sync database 'ucrt64' debug: database path for tree ucrt64 set to /c/dev/msys2-test/var/lib/pacman/sync/ucrt64.db debug: checking signature for /c/dev/msys2-test/var/lib/pacman/sync/ucrt64.db debug: 1 signatures returned debug: fingerprint: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57 debug: summary: valid debug: summary: green debug: status: Success debug: timestamp: 1641070339 debug: exp_timestamp: 0 debug: validity: full; reason: Success debug: key: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57, Christoph Reiter (MSYS2 development key) , owner_trust unknown, disabled 0 debug: signature is valid debug: signature is fully trusted debug: setting usage of 15 for ucrt64 repository debug: adding new server URL to database 'ucrt64': https://mirror.msys2.org/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://repo.msys2.org/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirror.umd.edu/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirror.yandex.ru/mirrors/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://download.nus.edu.sg/mirror/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://ftp.acc.umu.se/mirror/msys2.org/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://ftp.nluug.nl/pub/os/windows/msys2/builds/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://ftp.osuosl.org/pub/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirror.internet.asn.au/pub/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirror.selfnet.de/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirror.ufro.cl/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirrors.dotsrc.org/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirrors.bfsu.edu.cn/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirrors.ustc.edu.cn/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirror.nju.edu.cn/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://repo.extreme-ix.org/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://sourceforge.net/projects/msys2/files/REPOS/MINGW/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirror.clarkson.edu/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://fastmirror.pp.ua/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://ftp.cc.uoc.gr/mirrors/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirror.jmu.edu/pub/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirrors.piconets.webwerks.in/msys2-mirror/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://quantum-mirror.hu/mirrors/pub/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://www2.futureware.at/~nickoe/msys2-mirror/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirrors.bit.edu.cn/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://repo.casualgamer.ca/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirrors.aliyun.com/msys2/mingw/ucrt64 debug: adding new server URL to database 'ucrt64': https://mirror.iscas.ac.cn/msys2/mingw/ucrt64 debug: registering sync database 'clang64' debug: database path for tree clang64 set to /c/dev/msys2-test/var/lib/pacman/sync/clang64.db debug: checking signature for /c/dev/msys2-test/var/lib/pacman/sync/clang64.db debug: 1 signatures returned debug: fingerprint: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57 debug: summary: valid debug: summary: green debug: status: Success debug: timestamp: 1641070361 debug: exp_timestamp: 0 debug: validity: full; reason: Success debug: key: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57, Christoph Reiter (MSYS2 development key) , owner_trust unknown, disabled 0 debug: signature is valid debug: signature is fully trusted debug: setting usage of 15 for clang64 repository debug: adding new server URL to database 'clang64': https://mirror.msys2.org/mingw/clang64 debug: adding new server URL to database 'clang64': https://repo.msys2.org/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirror.umd.edu/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirror.yandex.ru/mirrors/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://download.nus.edu.sg/mirror/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://ftp.acc.umu.se/mirror/msys2.org/mingw/clang64 debug: adding new server URL to database 'clang64': https://ftp.nluug.nl/pub/os/windows/msys2/builds/mingw/clang64 debug: adding new server URL to database 'clang64': https://ftp.osuosl.org/pub/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirror.internet.asn.au/pub/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirror.selfnet.de/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirror.ufro.cl/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirrors.dotsrc.org/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirrors.bfsu.edu.cn/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirrors.ustc.edu.cn/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirror.nju.edu.cn/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://repo.extreme-ix.org/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://sourceforge.net/projects/msys2/files/REPOS/MINGW/clang64 debug: adding new server URL to database 'clang64': https://mirror.clarkson.edu/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://fastmirror.pp.ua/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://ftp.cc.uoc.gr/mirrors/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirror.jmu.edu/pub/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirrors.piconets.webwerks.in/msys2-mirror/mingw/clang64 debug: adding new server URL to database 'clang64': https://quantum-mirror.hu/mirrors/pub/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://www2.futureware.at/~nickoe/msys2-mirror/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirrors.sjtug.sjtu.edu.cn/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirrors.bit.edu.cn/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://repo.casualgamer.ca/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirrors.aliyun.com/msys2/mingw/clang64 debug: adding new server URL to database 'clang64': https://mirror.iscas.ac.cn/msys2/mingw/clang64 debug: registering sync database 'msys' debug: database path for tree msys set to /c/dev/msys2-test/var/lib/pacman/sync/msys.db debug: checking signature for /c/dev/msys2-test/var/lib/pacman/sync/msys.db debug: 1 signatures returned debug: fingerprint: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57 debug: summary: valid debug: summary: green debug: status: Success debug: timestamp: 1641070401 debug: exp_timestamp: 0 debug: validity: full; reason: Success debug: key: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57, Christoph Reiter (MSYS2 development key) , owner_trust unknown, disabled 0 debug: signature is valid debug: signature is fully trusted debug: setting usage of 15 for msys repository debug: adding new server URL to database 'msys': https://mirror.msys2.org/msys/x86_64 debug: adding new server URL to database 'msys': https://repo.msys2.org/msys/x86_64 debug: adding new server URL to database 'msys': https://mirror.umd.edu/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirror.yandex.ru/mirrors/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://download.nus.edu.sg/mirror/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://ftp.acc.umu.se/mirror/msys2.org/msys/x86_64 debug: adding new server URL to database 'msys': https://ftp.nluug.nl/pub/os/windows/msys2/builds/msys/x86_64 debug: adding new server URL to database 'msys': https://ftp.osuosl.org/pub/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirror.internet.asn.au/pub/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirror.selfnet.de/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirror.ufro.cl/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirrors.dotsrc.org/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirrors.bfsu.edu.cn/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirrors.ustc.edu.cn/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirror.nju.edu.cn/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://repo.extreme-ix.org/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://sourceforge.net/projects/msys2/files/REPOS/MSYS2/x86_64 debug: adding new server URL to database 'msys': https://mirror.clarkson.edu/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://fastmirror.pp.ua/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://ftp.cc.uoc.gr/mirrors/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirror.jmu.edu/pub/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirrors.piconets.webwerks.in/msys2-mirror/msys/x86_64 debug: adding new server URL to database 'msys': https://quantum-mirror.hu/mirrors/pub/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64 debug: adding new server URL to database 'msys': https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirrors.bit.edu.cn/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://repo.casualgamer.ca/msys/x86_64 debug: adding new server URL to database 'msys': https://mirrors.aliyun.com/msys2/msys/x86_64 debug: adding new server URL to database 'msys': https://mirror.iscas.ac.cn/msys2/msys/x86_64 debug: loading package cache for repository 'mingw32' debug: opening archive /c/dev/msys2-test/var/lib/pacman/sync/mingw32.db debug: added 2209 packages to package cache for db 'mingw32' debug: loading package cache for repository 'mingw64' debug: opening archive /c/dev/msys2-test/var/lib/pacman/sync/mingw64.db debug: added 2218 packages to package cache for db 'mingw64' debug: loading package cache for repository 'ucrt64' debug: opening archive /c/dev/msys2-test/var/lib/pacman/sync/ucrt64.db debug: added 2187 packages to package cache for db 'ucrt64' debug: loading package cache for repository 'clang64' debug: opening archive /c/dev/msys2-test/var/lib/pacman/sync/clang64.db debug: added 2060 packages to package cache for db 'clang64' debug: loading package cache for repository 'msys' debug: opening archive /c/dev/msys2-test/var/lib/pacman/sync/msys.db debug: added 663 packages to package cache for db 'msys' debug: adding package 'libtasn1' debug: loading package cache for repository 'local' debug: added 11 packages to package cache for db 'local' debug: adding package libtasn1-4.18.0-1 to the transaction add list Root : /c/dev/msys2-test/ Conf File : /etc/pacman.conf DB Path : /c/dev/msys2-test/var/lib/pacman/ Cache Dirs: /var/cache/pacman/pkg/ Hook Dirs : /c/dev/msys2-test/usr/share/libalpm/hooks/ /etc/pacman.d/hooks/ Lock File : /c/dev/msys2-test/var/lib/pacman/db.lck Log File : ./var/log/pacman.log GPG Dir : /etc/pacman.d/gnupg/ Targets : libtasn1 resolving dependencies... debug: resolving target's dependencies debug: started resolving dependencies debug: checkdeps: package libtasn1-4.18.0-1 debug: finished resolving dependencies looking for conflicting packages... debug: looking for conflicts debug: check targets vs targets debug: check targets vs targets debug: check targets vs db and db vs targets debug: check targets vs db debug: check db vs targets debug: checking dependencies debug: checkdeps: package libtasn1-4.18.0-1 debug: returning error 33 from alpm_db_get_pkg (../lib/libalpm/db.c: 248) : could not find or read package debug: found cached pkg: /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: setting download size 0 for pkg libtasn1 debug: sorting by dependencies debug: started sorting dependencies debug: sorting dependencies finished debug: returning error 33 from alpm_db_get_pkg (../lib/libalpm/db.c: 248) : could not find or read package Packages (1) libtasn1-4.18.0-1 Total Installed Size: 0.12 MiB :: Proceed with installation? [Y/n] debug: using cachedir: /var/cache/pacman/pkg/ debug: found cached pkg: /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: found cached pkg: /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst.sig checking keyring... debug: found signature key: FA11531AA0AA7F57 debug: looking up key FA11531AA0AA7F57 locally debug: key lookup success, key exists checking package integrity... debug: found cached pkg: /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: sig data: iQIzBAABCgAdFiEEX5RLAn9/4gkZhaou+hFTGqCqf1cFAmGX1LgACgkQ+hFTGqCqf1f8Rg/9F0Y2QJAvwMdLtqvU31gYx/P6fXLV2WlfD4MIMr4SMux67iaSaVO3INe0D9WKWjdVW9LgOKJhUzBDD5689OCvhoHr2sCSTjlW8+Ps3S6ErPfiTFJRjyDO0t+AMcBAfbQLfnPuIIdp/YxMXdderVddPaVhVY6/qru/fGxLAm92XMaDHqzJ4z/g8uElkOxGqNk9AMCGbfTRvtFZuzCSOF/ZCd26sHBEFl6QBYQGrHzsW/QfoyMI+QNcj4kp+OcEyYsfumIhRsYvwJsBvnq7+Ch60ax6h1SB1C6mgPfA0tHM/Iaywrd74TMW4hz7UP5LldNT4WAeeyMai+VUrctmsxQa3IhFoUPRdTClWhVgv1+YJblzGvH44ZDufdqDhUZNcDAlBNsVux4awp7ZhaHQGbesPi/w2/i9z5T4FKJx6lcy+s6yGc9bvUpVnUCoXQAiDb5tds6uIkBqJKElqNVz7Ya47CIG8pZdZAAgLWbYFEdZaJvambOl3gD2hNZcrQXkDOU9YaDkEZJKjc6kCAEYf165KGvDicdxNPAOg05EBicELRo/9iRVzvaqbFPAHj5NIWkilc84Tv7DVdM8GSwDzYAaD/teuZGJxM4AwffrVO09Qy+qViKGf2NpfXGbpVPId0MueB1IoQrqwcr3f9Dvp2JD3V/Y9bW58qXcNLqv59S8z6k= debug: checking signature for /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: 1 signatures returned debug: fingerprint: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57 debug: summary: valid debug: summary: green debug: status: Success debug: timestamp: 1637340344 debug: exp_timestamp: 0 debug: validity: full; reason: Success debug: key: 5F944B027F7FE2091985AA2EFA11531AA0AA7F57, Christoph Reiter (MSYS2 development key) , owner_trust unknown, disabled 0 debug: signature is valid debug: signature is fully trusted loading package files... debug: found cached pkg: /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: replacing pkgcache entry with package file for target libtasn1 debug: opening archive /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: starting package load for /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: found mtree for package /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst, getting file list debug: finished mtree reading for /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: sorting package filelist for /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst checking for file conflicts... debug: looking for file conflicts debug: searching for file conflicts: libtasn1 debug: searching for filesystem conflicts: libtasn1 debug: checking possible conflict: /c/dev/msys2-test/usr/ debug: file is a directory, not a conflict debug: checking possible conflict: /c/dev/msys2-test/usr/bin/ debug: file is a directory, not a conflict debug: checking possible conflict: /c/dev/msys2-test/usr/share/ debug: file is a directory, not a conflict debug: checking possible conflict: /c/dev/msys2-test/usr/share/info/ debug: file is a directory, not a conflict debug: checking possible conflict: /c/dev/msys2-test/usr/share/man/ debug: file is a directory, not a conflict debug: checking possible conflict: /c/dev/msys2-test/usr/share/man/man1/ debug: file is a directory, not a conflict debug: checking possible conflict: /c/dev/msys2-test/usr/share/man/man3/ debug: file is a directory, not a conflict checking available disk space... debug: checking available disk space debug: discovered mountpoint: /c debug: discovered mountpoint: /bin debug: discovered mountpoint: / debug: loading fsinfo for /c debug: partition /c, needed 67, cushion 5121, free 117279649 debug: parsing hook file /c/dev/msys2-test/usr/share/libalpm/hooks/texinfo-install.hook debug: parsing hook file /c/dev/msys2-test/usr/share/libalpm/hooks/texinfo-remove.hook :: Processing package changes... debug: installing packages installing libtasn1... debug: adding package libtasn1-4.18.0-1 debug: opening archive /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: extracting: .INSTALL debug: opening archive /var/cache/pacman/pkg/libtasn1-4.18.0-1-x86_64.pkg.tar.zst debug: extracting files debug: skipping extraction of '.BUILDINFO' debug: skipping extraction of '.PKGINFO' debug: extract: skipping dir extraction of /c/dev/msys2-test/usr/ debug: extract: skipping dir extraction of /c/dev/msys2-test/usr/bin/ debug: extracting /c/dev/msys2-test/usr/bin/msys-tasn1-6.dll debug: extract: skipping dir extraction of /c/dev/msys2-test/usr/share/ debug: extract: skipping dir extraction of /c/dev/msys2-test/usr/share/info/ debug: extracting /c/dev/msys2-test/usr/share/info/libtasn1.info.gz debug: extract: skipping dir extraction of /c/dev/msys2-test/usr/share/man/ debug: extract: skipping dir extraction of /c/dev/msys2-test/usr/share/man/man1/ debug: extracting /c/dev/msys2-test/usr/share/man/man1/asn1Coding.1.gz debug: extracting /c/dev/msys2-test/usr/share/man/man1/asn1Decoding.1.gz debug: extracting /c/dev/msys2-test/usr/share/man/man1/asn1Parser.1.gz debug: extract: skipping dir extraction of /c/dev/msys2-test/usr/share/man/man3/ debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_array2tree.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_bit_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_check_version.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_copy_node.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_create_element.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_decode_simple_ber.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_decode_simple_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_delete_element.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_delete_structure.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_delete_structure2.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_der_coding.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_der_decoding.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_der_decoding2.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_der_decoding_element.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_der_decoding_startEnd.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_dup_node.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_encode_simple_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_expand_any_defined_by.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_expand_octet_string.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_find_node.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_find_structure_from_oid.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_get_bit_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_get_length_ber.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_get_length_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_get_object_id_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_get_octet_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_get_tag_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_length_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_number_of_elements.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_object_id_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_octet_der.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_parser2array.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_parser2tree.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_perror.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_print_structure.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_read_node_value.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_read_tag.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_read_value.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_read_value_type.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_strerror.3.gz debug: extracting /c/dev/msys2-test/usr/share/man/man3/asn1_write_value.3.gz debug: updating database debug: adding database entry 'libtasn1' debug: writing libtasn1-4.18.0-1 DESC information back to db debug: writing libtasn1-4.18.0-1 FILES information back to db debug: adding entry 'libtasn1' in 'local' cache debug: executing ". /tmp/alpm_a58RL9/.INSTALL; post_install 4.18.0-1" debug: executing "/usr/bin/bash" under chroot "/c/dev/msys2-test/" debug: call to waitpid succeeded error: command (/usr/bin/bash /usr/bin/bash -c . /tmp/alpm_a58RL9/.INSTALL; post_install 4.18.0-1 ) failed to execute correctly debug: parsing hook file /c/dev/msys2-test/usr/share/libalpm/hooks/texinfo-install.hook debug: parsing hook file /c/dev/msys2-test/usr/share/libalpm/hooks/texinfo-remove.hook :: Running post-transaction hooks... (1/1) Updating the info directory file... debug: executing "/usr/bin/sh" under chroot "/c/dev/msys2-test/" debug: call to waitpid succeeded error: command (/usr/bin/sh /usr/bin/sh -c while read -r f; do install-info "$f" /usr/share/info/dir 2> /dev/null; done ) failed to execute correctly debug: unregistering database 'local' debug: freeing package cache for repository 'local' debug: unregistering database 'mingw32' debug: freeing package cache for repository 'mingw32' debug: unregistering database 'mingw64' debug: freeing package cache for repository 'mingw64' debug: unregistering database 'ucrt64' debug: freeing package cache for repository 'ucrt64' debug: unregistering database 'clang64' debug: freeing package cache for repository 'clang64' debug: unregistering database 'msys' debug: freeing package cache for repository 'msys' ```

Notes

mitchhentges commented 2 years ago

Moving this to MSYS2-packages