public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* creating a current mingw64-i686-pcre package
@ 2020-12-22  2:38 Lee
  2020-12-22  4:10 ` gs-cygwin.com
  0 siblings, 1 reply; 3+ messages in thread
From: Lee @ 2020-12-22  2:38 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]

I'd like to update the orphaned mingw64-i686-pcre package.

The download and prep steps work but compile dies & I don't know why:

>>> Preparing mingw64-i686-pcre-8.44-1.noarch
*** Info: SOURCE 1 signature follows:
gpg: Signature made Wed Feb 12 12:36:22 2020 EST
gpg:                using RSA key 0x9766E084FB0F43D8
gpg: Good signature from "Philip Hazel <ph10@hermes.cam.ac.uk>"
gpg:                 aka "Philip Hazel <ph10@cam.ac.uk>"
gpg:                 aka "Philip Hazel <ph10@cus.cam.ac.uk>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 45F6 8D54 BBE2 3FB3 039B  46E5 9766 E084 FB0F 43D8
>>> Unpacking source pcre-8.44.tar.gz
>>> Preparing working source directory
>>> Compiling mingw64-i686-pcre-8.44-1.noarch
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: configure.ac: not using Gettext
autoreconf-2.69: running: aclocal --force -I m4
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize:   error: copying '/usr/share/libtool/build-aux/ltmain.sh'
to './' failed
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize:   error: copying '/usr/share/aclocal/libtool.m4' to 'm4/' failed
libtoolize:   error: copying '/usr/share/aclocal/ltoptions.m4' to 'm4/' failed
libtoolize:   error: copying '/usr/share/aclocal/ltsugar.m4' to 'm4/' failed
libtoolize:   error: copying '/usr/share/aclocal/ltversion.m4' to 'm4/' failed
libtoolize:   error: copying '/usr/share/aclocal/lt~obsolete.m4' to 'm4/' failed
autoreconf-2.69: libtoolize failed with exit status: 1
*** ERROR: autoreconf failed


Hopefully I just need to install something else, but what?

Thanks,
Lee

[-- Attachment #2: mingw64-i686-pcre.cygport --]
[-- Type: application/octet-stream, Size: 1153 bytes --]

CROSS_HOST="i686-w64-mingw32"
inherit cross

NAME="mingw64-i686-pcre"
VERSION=8.44
RELEASE=1
CATEGORY="Devel"
SUMMARY="Perl Compatible Regular Expressions for Win32 toolchain"
DESCRIPTION="This package does NOT contain cygwin binaries.  Instead, it
contains msvcrt-linked binaries (aka 'mingw').  It is for use with the
mingw64-i686-gcc cross compiler, and installs into the
/usr/i686-w64-mingw32/sys-root/mingw/{lib,include} directories."
HOMEPAGE="https://www.pcre.org/"
SRC_URI="https://ftp.pcre.org/pub/pcre/pcre-${VERSION}.tar.gz \
         https://ftp.pcre.org/pub/pcre/pcre-${VERSION}.tar.gz.sig
"
SRC_DIR="pcre-${VERSION}"
PATCH_URI="
"

NO_AUTOHEADER=1
CYGCONF_ARGS="
        --enable-static \
	--enable-pcre16 \
	--enable-pcre32 \
	--enable-newline-is-anycrlf \
	--enable-unicode-properties --enable-utf8 \
	--disable-pcregrep-libbz2 \
	--disable-pcregrep-libz \
	--disable-pcretest-libreadline \
	--disable-stack-for-recursion
"

src_install() {
	cd ${B}
	# docs already provided by libpcre-doc
	cyginstall bin_PROGRAMS= dist_doc_DATA= dist_html_DATA= html_DATA=
	# install-data-hook creates symlinks here
	rm -fr ${D}${CROSS_DATADIR}/man/
}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: creating a current mingw64-i686-pcre package
  2020-12-22  2:38 creating a current mingw64-i686-pcre package Lee
@ 2020-12-22  4:10 ` gs-cygwin.com
  2020-12-22  7:52   ` Lee
  0 siblings, 1 reply; 3+ messages in thread
From: gs-cygwin.com @ 2020-12-22  4:10 UTC (permalink / raw)
  To: Lee; +Cc: cygwin-apps

On Tue, Dec 22, 2020 at 02:38:19AM +0000, Lee via Cygwin-apps wrote:
> I'd like to update the orphaned mingw64-i686-pcre package.
> 
> The download and prep steps work but compile dies & I don't know why:
> 
> >>> Preparing mingw64-i686-pcre-8.44-1.noarch
> *** Info: SOURCE 1 signature follows:
> gpg: Signature made Wed Feb 12 12:36:22 2020 EST
> gpg:                using RSA key 0x9766E084FB0F43D8
> gpg: Good signature from "Philip Hazel <ph10@hermes.cam.ac.uk>"
> gpg:                 aka "Philip Hazel <ph10@cam.ac.uk>"
> gpg:                 aka "Philip Hazel <ph10@cus.cam.ac.uk>"
> gpg: WARNING: This key is not certified with a trusted signature!
> gpg:          There is no indication that the signature belongs to the owner.
> Primary key fingerprint: 45F6 8D54 BBE2 3FB3 039B  46E5 9766 E084 FB0F 43D8
> >>> Unpacking source pcre-8.44.tar.gz
> >>> Preparing working source directory
> >>> Compiling mingw64-i686-pcre-8.44-1.noarch
> autoreconf-2.69: Entering directory `.'
> autoreconf-2.69: configure.ac: not using Gettext
> autoreconf-2.69: running: aclocal --force -I m4
> autoreconf-2.69: configure.ac: tracing
> autoreconf-2.69: running: libtoolize --copy --force
> libtoolize: putting auxiliary files in '.'.
> libtoolize:   error: copying '/usr/share/libtool/build-aux/ltmain.sh'
> to './' failed
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> libtoolize:   error: copying '/usr/share/aclocal/libtool.m4' to 'm4/' failed
> libtoolize:   error: copying '/usr/share/aclocal/ltoptions.m4' to 'm4/' failed
> libtoolize:   error: copying '/usr/share/aclocal/ltsugar.m4' to 'm4/' failed
> libtoolize:   error: copying '/usr/share/aclocal/ltversion.m4' to 'm4/' failed
> libtoolize:   error: copying '/usr/share/aclocal/lt~obsolete.m4' to 'm4/' failed
> autoreconf-2.69: libtoolize failed with exit status: 1
> *** ERROR: autoreconf failed
> 
> 
> Hopefully I just need to install something else, but what?

These are the usual suspects: autoconf automake libtool m4 pkg-config
Do you have them installed?

Cheers, Glenn

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: creating a current mingw64-i686-pcre package
  2020-12-22  4:10 ` gs-cygwin.com
@ 2020-12-22  7:52   ` Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Lee @ 2020-12-22  7:52 UTC (permalink / raw)
  To: cygwin-apps

On 12/22/20, gs-cygwin.com@gluelogic.com <gs-cygwin.com@gluelogic.com> wrote:
> On Tue, Dec 22, 2020 at 02:38:19AM +0000, Lee via Cygwin-apps wrote:
>> I'd like to update the orphaned mingw64-i686-pcre package.
>>
>> The download and prep steps work but compile dies & I don't know why:
>>
>> >>> Preparing mingw64-i686-pcre-8.44-1.noarch
>> *** Info: SOURCE 1 signature follows:
>> gpg: Signature made Wed Feb 12 12:36:22 2020 EST
>> gpg:                using RSA key 0x9766E084FB0F43D8
>> gpg: Good signature from "Philip Hazel <ph10@hermes.cam.ac.uk>"
>> gpg:                 aka "Philip Hazel <ph10@cam.ac.uk>"
>> gpg:                 aka "Philip Hazel <ph10@cus.cam.ac.uk>"
>> gpg: WARNING: This key is not certified with a trusted signature!
>> gpg:          There is no indication that the signature belongs to the
>> owner.
>> Primary key fingerprint: 45F6 8D54 BBE2 3FB3 039B  46E5 9766 E084 FB0F
>> 43D8
>> >>> Unpacking source pcre-8.44.tar.gz
>> >>> Preparing working source directory
>> >>> Compiling mingw64-i686-pcre-8.44-1.noarch
>> autoreconf-2.69: Entering directory `.'
>> autoreconf-2.69: configure.ac: not using Gettext
>> autoreconf-2.69: running: aclocal --force -I m4
>> autoreconf-2.69: configure.ac: tracing
>> autoreconf-2.69: running: libtoolize --copy --force
>> libtoolize: putting auxiliary files in '.'.
>> libtoolize:   error: copying '/usr/share/libtool/build-aux/ltmain.sh'
>> to './' failed
>> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
>> libtoolize:   error: copying '/usr/share/aclocal/libtool.m4' to 'm4/'
>> failed
>> libtoolize:   error: copying '/usr/share/aclocal/ltoptions.m4' to 'm4/'
>> failed
>> libtoolize:   error: copying '/usr/share/aclocal/ltsugar.m4' to 'm4/'
>> failed
>> libtoolize:   error: copying '/usr/share/aclocal/ltversion.m4' to 'm4/'
>> failed
>> libtoolize:   error: copying '/usr/share/aclocal/lt~obsolete.m4' to 'm4/'
>> failed
>> autoreconf-2.69: libtoolize failed with exit status: 1
>> *** ERROR: autoreconf failed
>>
>>
>> Hopefully I just need to install something else, but what?
>
> These are the usual suspects: autoconf automake libtool m4 pkg-config
> Do you have them installed?

Thanks for making me double-check.  I was doing package searches using
the name from the warning message and not finding anything that looked
applicable for Gettext.

The missing package was lower-case-g
  mingw64-i686-gettext

Should I be concerned about

  CC       libpcre16_la-pcre16_compile.lo
/ports/mingw64-i686-pcre/mingw64-i686-pcre-8.44-1.noarch/src/pcre-8.44/pcreposix.c:56:
warning: "PCREPOSIX_EXP_DECL" redefined
   56 | #  define PCREPOSIX_EXP_DECL extern __declspec(dllexport)
      |
In file included from
/ports/mingw64-i686-pcre/mingw64-i686-pcre-8.44-1.noarch/src/pcre-8.44/pcreposix.c:46:
./config.h:254: note: this is the location of the previous definition
  254 | #define PCREPOSIX_EXP_DECL extern __attribute__ ((visibility
("default")))
      |
/ports/mingw64-i686-pcre/mingw64-i686-pcre-8.44-1.noarch/src/pcre-8.44/pcreposix.c:57:
warning: "PCREPOSIX_EXP_DEFN" redefined
   57 | #  define PCREPOSIX_EXP_DEFN __declspec(dllexport)
      |
In file included from
/ports/mingw64-i686-pcre/mingw64-i686-pcre-8.44-1.noarch/src/pcre-8.44/pcreposix.c:46:
./config.h:257: note: this is the location of the previous definition
  257 | #define PCREPOSIX_EXP_DEFN extern __attribute__ ((visibility
("default")))
      |

Thanks,
Lee

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-22  7:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22  2:38 creating a current mingw64-i686-pcre package Lee
2020-12-22  4:10 ` gs-cygwin.com
2020-12-22  7:52   ` Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).