在 2018/11/24 13:30, Edward Diener 写道:
> ==> 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 do not know what I am doing wrong.
> 
Probably you should `unset VERSION_CONTROL` before invoking
`makepkg-mingw`.  I can build the package in my MSYS2 and here is my log:


```
lh_mouse@lhmouse-pc /e/GitHub/MINGW-packages/mingw-w64-binutils $
makepkg-mingw --skippgpcheck
==> Making package: mingw-w64-binutils 2.30-5 (Sat, Nov 24, 2018
2:17:26 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading binutils-2.30.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 28.1M  100 28.1M    0     0   355k      0  0:01:21  0:01:21 --:--:--
 572k
  -> Downloading binutils-2.30.tar.bz2.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100   801  100   801    0     0    645      0  0:00:01  0:00:01 --:--:--
  645
  -> Found 0001-enable-gold-on.mingw32.patch
  -> Found 0002-check-for-unusual-file-harder.patch
  -> Found 0010-bfd-Increase-_bfd_coff_max_nscns-to-65279.patch
  -> Found 0110-binutils-mingw-gnu-print.patch
  -> Found 0200-remove-provide-qualifiers.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    binutils-2.30.tar.bz2 ... Passed
    binutils-2.30.tar.bz2.sig ... Skipped
    0001-enable-gold-on.mingw32.patch ... Passed
    0002-check-for-unusual-file-harder.patch ... Passed
    0010-bfd-Increase-_bfd_coff_max_nscns-to-65279.patch ... Passed
    0110-binutils-mingw-gnu-print.patch ... Passed
    0200-remove-provide-qualifiers.patch ... Passed
==> Extracting sources...
  -> Extracting binutils-2.30.tar.bz2 with bsdtar
==> Starting prepare()...
patching file configure
Hunk #1 succeeded at 2956 with fuzz 1 (offset 91 lines).
Hunk #2 succeeded at 2968 with fuzz 1 (offset 91 lines).
patching file binutils/bucomm.c
Hunk #1 succeeded at 590 with fuzz 2 (offset 15 lines).
patching file binutils/elfedit.c
patching file bfd/coff-alpha.c
patching file bfd/coff-mips.c
patching file bfd/coff-rs6000.c
patching file bfd/coff-sh.c
patching file bfd/coffcode.h
patching file bfd/bfd-in.h
Hunk #1 succeeded at 138 (offset 1 line).
patching file bfd/bfd-in2.h
Hunk #1 succeeded at 145 (offset 1 line).
patching file binutils/dwarf.c
Hunk #1 succeeded at 183 (offset 19 lines).
patching file binutils/nm.c
Hunk #1 succeeded at 171 (offset 1 line).
Hunk #2 succeeded at 302 (offset 2 lines).
patching file binutils/prdbg.c
patching file binutils/readelf.c
Hunk #1 succeeded at 1214 (offset 60 lines).
Hunk #2 succeeded at 13255 (offset 883 lines).
patching file binutils/strings.c
Hunk #1 succeeded at 557 (offset -38 lines).
Hunk #2 succeeded at 576 (offset -38 lines).
Hunk #3 succeeded at 595 (offset -38 lines).
patching file gas/as.h
Hunk #1 succeeded at 437 (offset -1 lines).
patching file gas/read.c
Hunk #1 succeeded at 4437 (offset 22 lines).
patching file gold/configure
Hunk #1 succeeded at 7629 (offset 71 lines).
patching file gold/configure.ac
Hunk #1 succeeded at 655 (offset 20 lines).
patching file include/ansidecl.h
patching file ld/ChangeLog
Hunk #1 succeeded at 1 with fuzz 1.
patching file ld/ld.texinfo
patching file ld/scripttempl/pe.sc
patching file ld/scripttempl/pep.sc
==> Starting build()...
configure: loading site script /etc/config.site
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... no, using cp -p
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
```


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to