On 11/23/2018 5:06 PM, Greg Jung wrote:
You should try "makepkg -g" and paste/copy the results, for the lines that
are different,  into the PKGBUILD.
Then, makepkg --check can be used to test it.

When I run makepkg -g I get:

==> ERROR: pkgname is not allowed to start with a hyphen.
==> ERROR: depends is not allowed to start with a hyphen.
==> ERROR: depends is not allowed to start with a hyphen.
==> ERROR: makedepends is not allowed to start with a hyphen.
==> ERROR: makedepends is not allowed to start with a hyphen.

In the PKGBUILD file I see these lines among others:

pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
depends=("${MINGW_PACKAGE_PREFIX}-libiconv" "${MINGW_PACKAGE_PREFIX}-zlib")
makedepends=("${MINGW_PACKAGE_PREFIX}-libiconv" "${MINGW_PACKAGE_PREFIX}-zlib")

Needless to say I did not change any of these lines.


On Fri, Nov 23, 2018 at 10:51 AM Edward Diener <
[email protected]> wrote:

On 11/23/2018 9:06 AM, Liu Hao wrote:
在 2018/11/23 21:55, Edward Diener 写道:
On 11/22/2018 9:07 PM, Liu Hao wrote:
==> Verifying source file signatures with gpg...
      binutils-2.30.tar.bz2 ... FAILED (unknown public key
13FCEF89DD9E3C4F)
==> ERROR: One or more PGP signatures could not be verified!

Do you have any idea of how I am supposed to fix the ERROR ?


Passing `--skippgpcheck` to `makepkg-mingw` would likely overcome this
problem.

I used --skippgpcheck' but am now getting this really cryptic error of:

==> Starting prepare()...
patch: invalid argument 'E:\\Programming\\VersionControl' for
'$VERSION_CONTROL'
Valid arguments are:
    - 'none', 'off'
    - 'simple', 'never'
    - 'existing', 'nil'
    - 'numbered', 't'
==> ERROR: A failure occurred in prepare().
      Aborting...

I have an environment variable under Windows called VERSION_CONTROL but
what that has to do with the problem above I do not understand. Does
MSYS2 look for an environment variable called VERSION_CONTROL ?



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public





_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to