I have two msys installations on my computer, both current and containing
both /mingw64 and /mingw32 toolchains. One is rooted at C:\msys64
the other is rooted at D:\mingw\msys32. (The "D" system is 32-bit msys).
When I make pyqt4 on the "D" drive makepkg creates a directory
system above /mingw64 to mirror what I have on the drive:
/mingw-w64-pyqt4/pkg/mingw-w64-x86_64-python2-pyqt4/mingw/msys32/mingw64
This is working in the make system ok but commands in PKGBUILD do not have
a handle
on these extra directories that have been created.
> package_python2-pyqt4(){
>
> pkgdesc="A set of Python 2.x bindings for the Qt4 toolkit"
>
> depends=("${MINGW_PACKAGE_PREFIX}-python2-sip"
>> "${MINGW_PACKAGE_PREFIX}-pyqt4-common" "${MINGW_PACKAGE_PREFIX}-python2")
>
> echo " WWWW- cd python2-" cd python2-${MINGW_CHOST}
>
> cd python2-${MINGW_CHOST}
>
> # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles
>> use DESTDIR
>
> make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
>
> echo " WWWW- mv" mv "${pkgdir}${MINGW_PREFIX}"
>
>
>> # Fix conflicts
>
> * mv "${pkgdir}${MINGW_PREFIX}"/bin/{,python2-}pyuic4.ba
>> <http://pyuic4.ba>*t
>
> rm "${pkgdir}${MINGW_PREFIX}"/bin/{pylupdate4,pyrcc4}.exe
>
> rm -rf "${pkgdir}${MINGW_PREFIX}"/qsci
>
>
>> # Remove Python 3 uic port
>
> rm -rf
>> "${pkgdir}${MINGW_PREFIX}"/lib/python2.7/site-packages/PyQt4/uic/port_v3
>
> }
>
>
the "echo" statements are put in for my own sanity, you will see the second
in the terminal output:
> make -f Makefile.Release install
make[2]: Entering directory
> '/f/github/MINGW-packages/mingw-w64-pyqt4/src/python2-x86_64-w64-mingw32/pyrcc'
cp -f "release/pyrcc4.exe"
> "/f/github/MINGW-packages/mingw-w64-pyqt4/pkg/mingw-w64-x86_64-python2-pyqt4/mingw/msys32/mingw64/bin/pyrcc4.exe"
make[2]: Leaving directory
> '/f/github/MINGW-packages/mingw-w64-pyqt4/src/python2-x86_64-w64-mingw32/pyrcc'
make[1]: Leaving directory
> '/f/github/MINGW-packages/mingw-w64-pyqt4/src/python2-x86_64-w64-mingw32/pyrcc'
WWWW- mv mv
> /f/github/MINGW-packages/mingw-w64-pyqt4/pkg/mingw-w64-x86_64-python2-pyqt4/mingw64
*mv: cannot stat
> ‘/f/github/MINGW-packages/mingw-w64-pyqt4/pkg/mingw-w64-x86_64-python2-pyqt4/mingw64/bin/pyuic4.bat’:
> No such file or directory*
==> ERROR: A failure occurred in package_mingw-w64-x86_64-python2-pyqt4().
Aborting...
I'm running this fine on the "C" system, and already thorough the first
packaging phase successfully. There are no
"msys64" directories present in the package-.log files.
------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users