You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the following warnings when I update the system by pacman -Syu --noconfirm
warning: could not get file information for clang32/
warning: could not get file information for clang32/bin/
warning: could not get file information for clang32/etc/
warning: could not get file information for clang32/etc/config.site
warning: could not get file information for clang32/include/
warning: could not get file information for clang32/lib/
warning: could not get file information for clang32/share/
warning: could not get file information for clang64/
warning: could not get file information for clang64/bin/
warning: could not get file information for clang64/etc/
warning: could not get file information for clang64/etc/config.site
warning: could not get file information for clang64/include/
warning: could not get file information for clang64/lib/
warning: could not get file information for clang64/share/
warning: could not get file information for opt/
The above warnings occur when the filesystem package is updating.
The pacman collects information of file and directory by lstat function when the filesystem package update.
However, the above directories(/clang32, /clang64, and /opt) don't exist in the state just after installing MSYS2.
So, the pacman can't collect information of them.
I should create these directories. Because the filesystem package has been installed from the beginning.
I think that these warnings are resolved below the patch. (Sorry, I can't confirm the patch operation.)
diff --git a/make-msys2-installer b/make-msys2-installer
old mode 100644
new mode 100755
index 4e7e9ae..ae9ee20
--- a/make-msys2-installer+++ b/make-msys2-installer@@ -60,7 +60,7 @@ create_archives() {
[ -d "${_data}" ] && rm -rf "${_data}"
mkdir -p "${_data}"
local _dirs=
- for curr_dir in /dev /etc /var /tmp /usr /mingw32 /mingw64 /msys2_shell.cmd /msys2.exe /mingw32.exe /mingw64.exe /msys2.ini /mingw32.ini /mingw64.ini /msys2.ico /autorebase.bat autorese
base1st.bat; do
+ for curr_dir in /dev /etc /var /tmp /usr /opt /clang32 /clang64 /mingw32 /mingw64 /msys2_shell.cmd /msys2.exe /mingw32.exe /mingw64.exe /msys2.ini /mingw32.ini /mingw64.ini /msys2.icoau
torebase.bat autorebasebase1st.bat; do
if [[ -d ${_newmsys}${curr_dir} || -f ${_newmsys}${curr_dir} ]]; then
_dirs="${_dirs} ${_newmsys}$curr_dir"
fi
Hello,
I found the following warnings when I update the system by
pacman -Syu --noconfirm
The above warnings occur when the filesystem package is updating.
The
pacman
collects information of file and directory bylstat
function when the filesystem package update.However, the above directories(/clang32, /clang64, and /opt) don't exist in the state just after installing MSYS2.
So, the
pacman
can't collect information of them.I should create these directories. Because the filesystem package has been installed from the beginning.
I think that these warnings are resolved below the patch. (Sorry, I can't confirm the patch operation.)
I installed MSYS2 by msys2-x86_64-20200602.exe.
Thank you,
The text was updated successfully, but these errors were encountered: