Open elieux opened 9 years ago
I found a problem in makepkg. When tidying an empty package, or one containing only files/directories that are not matched by the * pattern, there is a warning message by find. Is this an unsupported scenario, or should it be fixed?
See example PKGBUILD and log here: https://gist.github.com/elieux/9648dedfe580d2962c1a
https://github.com/Alexpux/MSYS2-pacman/blob/master/scripts/makepkg.sh.in#L1868-1870 https://github.com/Alexpux/MSYS2-pacman/blob/develop/scripts/libmakepkg/tidy/strip.sh.in#L46-48
Commit elieux/pacman@df01d74604ca69397b97a4a1f2dae2061ba7932c should fix it (I have not tested it), see https://github.com/elieux/pacman/commits/issue-5-fix
I found a problem in makepkg. When tidying an empty package, or one containing only files/directories that are not matched by the * pattern, there is a warning message by find. Is this an unsupported scenario, or should it be fixed?
See example PKGBUILD and log here: https://gist.github.com/elieux/9648dedfe580d2962c1a
https://github.com/Alexpux/MSYS2-pacman/blob/master/scripts/makepkg.sh.in#L1868-1870 https://github.com/Alexpux/MSYS2-pacman/blob/develop/scripts/libmakepkg/tidy/strip.sh.in#L46-48