I was able to build the latest version. Not sure what is different in your case. You can checkout the .BUILDINFO of https://martchus.no-ip.biz/repo/arch/ownstuff/os/x86_64/mingw-w64-postgresql-11.1-1-any.pkg.tar.xz to find out what's different in your build environment.
Search Criteria
Package Details: mingw-w64-postgresql 16.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-postgresql.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-postgresql |
Description: | Sophisticated object-relational DBMS (mingw-w64) |
Upstream URL: | https://www.postgresql.org |
Keywords: | mingw mingw-w64 postgresql postgresql-libs |
Licenses: | custom:PostgreSQL |
Conflicts: | mingw-w64-postgresql-libs |
Provides: | mingw-w64-postgresql-libs |
Replaces: | mingw-w64-postgresql-libs |
Submitter: | Schala |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 14 |
Popularity: | 0.000000 |
First Submitted: | 2016-08-19 22:49 (UTC) |
Last Updated: | 2024-08-01 18:17 (UTC) |
Dependencies (7)
- mingw-w64-gettextAUR
- mingw-w64-icuAUR
- mingw-w64-libxml2AUR
- mingw-w64-opensslAUR
- mingw-w64-readlineAUR
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- mingw-w64-configureAUR (llvm-mingw-w64-configureAUR) (make)
Required by (12)
- mingw-w64-gdal
- mingw-w64-pdal (requires mingw-w64-postgresql-libs)
- mingw-w64-qt5-base (make)
- mingw-w64-qt5-base (optional)
- mingw-w64-qt5-base-static (make)
- mingw-w64-qt5-base-static (optional)
- mingw-w64-qt5-tools (make)
- mingw-w64-qt5-tools-static (make)
- mingw-w64-qt6-base (make)
- mingw-w64-qt6-base (optional)
- mingw-w64-qt6-base-static (make)
- mingw-w64-qt6-base-static (optional)
Sources (3)
Martchus commented on 2018-12-08 18:32 (UTC)
mkoloberdin commented on 2018-12-08 17:53 (UTC)
I am getting a linker error message:
/usr/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: libpqwalreceiver.o: in function `libpqrcv_processTuples':
/tmp/yaourt-tmp-mike/aur-mingw-w64-postgresql/src/postgresql-11.1/build-i686-w64-mingw32/../src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:882: undefined reference to `AllocSetContextCreateExtended'
collect2: error: ld returned 1 exit status
Martchus commented on 2018-11-30 16:41 (UTC)
I rebuilt the package yesterday for the 11.1 update without build errors. Is the error gone for you, too?
luntik2012 commented on 2018-11-29 14:52 (UTC)
identical errors in 1557-1590 lines aur-mingw-w64-postgresql/src/postgresql-10.5/build-i686-w64-mingw32/../src/timezone/data/tzdata.zi", line 1590: Invalid rule name "+"
Martchus commented on 2017-06-03 13:19 (UTC) (edited on 2019-01-28 13:06 (UTC) by Martchus)
Important note
This package must be built in a clean chroot or at least without the previous version being installed. Otherwise PostgeSQL's build system seems to pick up the installed version of certain libraries rather than the version produced by the current build. (You would get a linker error like undefined reference to 'AllocSetContextCreateExtended'
.)
All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff
Pinned Comments
Martchus commented on 2017-06-03 13:19 (UTC) (edited on 2019-01-28 13:06 (UTC) by Martchus)
Important note
This package must be built in a clean chroot or at least without the previous version being installed. Otherwise PostgeSQL's build system seems to pick up the installed version of certain libraries rather than the version produced by the current build. (You would get a linker error like
undefined reference to 'AllocSetContextCreateExtended'
.)All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff