Git Product home page Git Product logo

Comments (37)

jcflack avatar jcflack commented on July 19, 2024

Well, I'm not sure ... I don't have a Mac here to compare on. Could you attach the output of

pg_config

and then also redirect this maven output into some-file:

cd pljava-so
mvn -Dnar.cores=1 -Pwnosign -X clean compile >some-file

and attach that file to this issue? (It will be a bit long, so probably best to actually attach it, with the attach options at the bottom of the comment entry box.)

Thanks,
-Chap

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

Thanks :) here you have.

pg_config

BINDIR = /Library/PostgreSQL/9.4/bin
DOCDIR = /Library/PostgreSQL/9.4/doc/postgresql
HTMLDIR = /Library/PostgreSQL/9.4/doc/postgresql
INCLUDEDIR = /Library/PostgreSQL/9.4/include
PKGINCLUDEDIR = /Library/PostgreSQL/9.4/include/postgresql
INCLUDEDIR-SERVER = /Library/PostgreSQL/9.4/include/postgresql/server
LIBDIR = /Library/PostgreSQL/9.4/lib
PKGLIBDIR = /Library/PostgreSQL/9.4/lib/postgresql
LOCALEDIR = /Library/PostgreSQL/9.4/share/locale
MANDIR = /Library/PostgreSQL/9.4/share/man
SHAREDIR = /Library/PostgreSQL/9.4/share/postgresql
SYSCONFDIR = /Library/PostgreSQL/9.4/etc/postgresql
PGXS = /Library/PostgreSQL/9.4/lib/postgresql/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--prefix=/mnt/hgfs/pginstaller.pune/server/staging/osx' '--with-ldap' '--with-openssl' '--with-perl' '--with-python' '--with-tcl' '--with-bonjour' '--with-pam' '--enable-thread-safety' '--with-libxml' '--with-uuid=e2fs' '--with-includes=/opt/local/Current/include/libxml2:/opt/local/Current/include:/opt/local/Current/include/security' '--docdir=/mnt/hgfs/pginstaller.pune/server/staging/osx/doc/postgresql' '--with-libxslt' '--with-libedit-preferred' '--with-gssapi' 'CFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.7 -arch i386 -arch x86_64' 'LDFLAGS=-L/opt/local/Current/lib'
CC = gcc
CPPFLAGS = -I/opt/local/20140401/include/libxml2 -I/opt/local/Current/include/libxml2 -I/opt/local/Current/include
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.7 -arch i386 -arch x86_64
CFLAGS_SL = 
LDFLAGS = -L../../../src/common -L/opt/local/Current/lib -L/opt/local/20140401/lib -Wl,-dead_strip_dylibs
LDFLAGS_EX = 
LDFLAGS_SL = 
LIBS = -lpgcommon -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -ledit -lm 
VERSION = PostgreSQL 9.4.4

cd pljava-so
mvn -Dnar.cores=1 -Pwnosign -X clean compile >some-file

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
Maven home: /opt/local/share/java/maven3
Java version: 1.7.0_71, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre
Default locale: es_ES, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.1", arch: "x86_64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /opt/local/share/java/maven3/conf/settings.xml
[DEBUG] Reading user settings from /Users/me/.m2/settings.xml
[DEBUG] Reading global toolchains from /opt/local/share/java/maven3/conf/toolchains.xml
[DEBUG] Reading user toolchains from /Users/me/.m2/toolchains.xml
[DEBUG] Using local repository at /Users/me/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/me/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=0, ConflictMarker.nodeCount=129, ConflictIdSorter.graphTime=2, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=49, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=18, ConflictResolver.conflictItemCount=92, DefaultDependencyCollector.collectTime=509, DefaultDependencyCollector.transformTime=24}
[DEBUG] com.github.maven-nar:nar-maven-plugin:jar:3.1.0:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-model:jar:2.0.9:compile
[DEBUG]    org.apache.maven.surefire:surefire-booter:jar:2.6:compile
[DEBUG]       org.apache.maven.surefire:surefire-api:jar:2.6:compile
[DEBUG]    org.apache.maven:maven-toolchain:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[DEBUG]       org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
[DEBUG]          org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]       org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[DEBUG]       commons-cli:commons-cli:jar:1.2:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.5.4:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.2:compile
[DEBUG]       org.apache.xbean:xbean-reflect:jar:3.4:compile
[DEBUG]          log4j:log4j:jar:1.2.12:compile
[DEBUG]          commons-logging:commons-logging-api:jar:1.1:compile
[DEBUG]       com.google.collections:google-collections:jar:1.0:compile
[DEBUG]       junit:junit:jar:3.8.2:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-api:jar:1.8:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
[DEBUG]    org.codehaus.plexus:plexus-archiver:jar:1.0:compile
[DEBUG]       org.codehaus.plexus:plexus-io:jar:1.0:compile
[DEBUG]    org.apache.bcel:bcel:jar:5.2:compile
[DEBUG]       jakarta-regexp:jakarta-regexp:jar:1.4:compile
[DEBUG]    org.apache.ant:ant:jar:1.8.1:compile
[DEBUG]       org.apache.ant:ant-launcher:jar:1.8.1:compile
[DEBUG]    commons-io:commons-io:jar:2.4:compile
[DEBUG]    xerces:xercesImpl:jar:2.9.1:compile
[DEBUG]       xml-apis:xml-apis:jar:1.3.04:compile
[DEBUG] Created new class realm extension>com.github.maven-nar:nar-maven-plugin:3.1.0
[DEBUG] Importing foreign packages into class realm extension>com.github.maven-nar:nar-maven-plugin:3.1.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm extension>com.github.maven-nar:nar-maven-plugin:3.1.0
[DEBUG]   Included: com.github.maven-nar:nar-maven-plugin:jar:3.1.0
[DEBUG]   Included: org.apache.maven.surefire:surefire-booter:jar:2.6
[DEBUG]   Included: org.apache.maven.surefire:surefire-api:jar:2.6
[DEBUG]   Included: org.slf4j:slf4j-jdk14:jar:1.5.6
[DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.5.6
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.2.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1
[DEBUG]   Included: commons-cli:commons-cli:jar:1.2
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.xbean:xbean-reflect:jar:3.4
[DEBUG]   Included: log4j:log4j:jar:1.2.12
[DEBUG]   Included: commons-logging:commons-logging-api:jar:1.1
[DEBUG]   Included: com.google.collections:google-collections:jar:1.0
[DEBUG]   Included: junit:junit:jar:3.8.2
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-api:jar:1.8
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:1.0
[DEBUG]   Included: org.apache.bcel:bcel:jar:5.2
[DEBUG]   Included: jakarta-regexp:jakarta-regexp:jar:1.4
[DEBUG]   Included: org.apache.ant:ant:jar:1.8.1
[DEBUG]   Included: org.apache.ant:ant-launcher:jar:1.8.1
[DEBUG]   Included: commons-io:commons-io:jar:2.4
[DEBUG]   Included: xerces:xercesImpl:jar:2.9.1
[DEBUG]   Included: xml-apis:xml-apis:jar:1.3.04
[DEBUG] Extension realms for project org.postgresql:pljava-so:nar:0.0.2-SNAPSHOT: [ClassRealm[extension>com.github.maven-nar:nar-maven-plugin:3.1.0, parent: sun.misc.Launcher$AppClassLoader@2e5f8245]]
[DEBUG] Created new class realm project>org.postgresql:pljava-so:0.0.2-SNAPSHOT
[DEBUG] Populating class realm project>org.postgresql:pljava-so:0.0.2-SNAPSHOT
[DEBUG] Looking up lifecyle mappings for packaging nar from ClassRealm[project>org.postgresql:pljava-so:0.0.2-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project org.postgresql:pljava.app:pom:0.0.2-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: org.postgresql:pljava-so:nar:0.0.2-SNAPSHOT
[DEBUG] Tasks:   [clean, compile]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building PL/Java backend native code 0.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-install-plugin
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml in local (/Users/me/.m2/repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-install-plugin to 2.5.2 from repository central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-surefire-plugin
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-surefire-plugin/maven-metadata.xml in local (/Users/me/.m2/repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-surefire-plugin/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-surefire-plugin to 2.19 from repository central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-resources-plugin
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-resources-plugin/maven-metadata.xml in local (/Users/me/.m2/repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-resources-plugin/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-resources-plugin to 2.7 from repository central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-jar-plugin
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-jar-plugin/maven-metadata.xml in local (/Users/me/.m2/repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-jar-plugin/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-jar-plugin to 2.6 from repository central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-deploy-plugin
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-deploy-plugin/maven-metadata.xml in local (/Users/me/.m2/repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-deploy-plugin/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-deploy-plugin to 2.8.2 from repository central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       org.postgresql:pljava-so:0.0.2-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, test]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <directory default-value="${project.build.directory}"/>
  <excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  <followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <reportDirectory default-value="${project.reporting.outputDirectory}"/>
  <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
  <skip default-value="false">${clean.skip}</skip>
  <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  <verbose>${clean.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-validate (default-nar-validate)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <c>
    <options>
      <option>-Wno-sign-conversion</option>
    </options>
    <defines>
      <define>PKGLIBDIR=${PGSQL_PKGLIBDIR}</define>
      <define>PGSQL_MAJOR_VER=${PGSQL_MAJOR_VER}</define>
      <define>PGSQL_MINOR_VER=${PGSQL_MINOR_VER}</define>
      <define>PGSQL_PATCH_VER=${PGSQL_PATCH_VER}</define>
    </defines>
    <includePaths>
      <includePath>${PGSQL_INCLUDEDIR}</includePath>
      <includePath>${PGSQL_INCLUDEDIR-SERVER}</includePath>
      <includePath>/Users/me/hopla/pljava/pljava/pljava-so/src/main/include/</includePath>
      <includePath>/Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/</includePath>
    </includePaths>
  </c>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <failOnError default-value="true"/>
  <gnuSourceDirectory default-value="${basedir}/src/gnu"/>
  <ignore default-value="false">${nar.ignore}</ignore>
  <java>
    <link>true</link>
  </java>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <libtool default-value="false"/>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <localRepository default-value="${localRepository}"/>
  <mavenProject>${project}</mavenProject>
  <maxCores>1</maxCores>
  <onlySpecifiedCompilers default-value="false"/>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <remoteArtifactRepositories default-value="${project.remoteArtifactRepositories}"/>
  <runtime default-value="dynamic"/>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-antrun-plugin:1.7:run (pg_config to pgsql.properties)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <exportAntProperties default-value="false"/>
  <failOnError default-value="true"/>
  <localRepository>${localRepository}</localRepository>
  <pluginArtifacts>${plugin.artifacts}</pluginArtifacts>
  <project>${project}</project>
  <skip default-value="false">${maven.antrun.skip}</skip>
  <sourceRoot>${sourceRoot}</sourceRoot>
  <target>
    <ant/>
  </target>
  <testSourceRoot>${testSourceRoot}</testSourceRoot>
  <versionsPropertyName default-value="maven.project.dependencies.versions"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <files>
    <file>/Users/me/hopla/pljava/pljava/pljava-so/pgsql.properties</file>
  </files>
  <project default-value="${project}"/>
  <quiet default-value="false"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-download (default-nar-download)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <ignore default-value="false">${nar.ignore}</ignore>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <localRepository default-value="${localRepository}"/>
  <mavenProject>${project}</mavenProject>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <remoteArtifactRepositories default-value="${project.remoteArtifactRepositories}"/>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-unpack (default-nar-unpack)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <ignore default-value="false">${nar.ignore}</ignore>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <localRepository default-value="${localRepository}"/>
  <mavenProject>${project}</mavenProject>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <remoteArtifactRepositories default-value="${project.remoteArtifactRepositories}"/>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-gnu-configure (default-nar-gnu-configure)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <gnuAutogenSkip default-value="false">${nar.gnu.autogen.skip}</gnuAutogenSkip>
  <gnuBuildconfArgs default-value="">${nar.gnu.buildconf.args}</gnuBuildconfArgs>
  <gnuConfigureArgs default-value="">${nar.gnu.configure.args}</gnuConfigureArgs>
  <gnuConfigureInPlace default-value="false">${nar.gnu.configure.in-place}</gnuConfigureInPlace>
  <gnuConfigureSkip default-value="false">${nar.gnu.configure.skip}</gnuConfigureSkip>
  <gnuSourceDirectory default-value="${basedir}/src/gnu"/>
  <gnuTargetDirectory default-value="${project.build.directory}/nar/gnu"/>
  <gnuUseOnWindows default-value="false"/>
  <ignore default-value="false">${nar.ignore}</ignore>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <mavenProject>${project}</mavenProject>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <resourceBinDir default-value="bin"/>
  <resourceIncludeDir default-value="include"/>
  <resourceLibDir default-value="lib"/>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-system-generate (default-nar-system-generate)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <ignore default-value="false">${nar.ignore}</ignore>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <mavenProject>${project}</mavenProject>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.7:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${maven.resources.escapeString}</escapeString>
  <escapeWindowsPaths default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <supportMultiLineFiltering default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-resources (default-nar-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <ignore default-value="false">${nar.ignore}</ignore>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <mavenProject>${project}</mavenProject>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <resourceBinDir default-value="bin"/>
  <resourceDirectory default-value="${basedir}/src/nar/resources"/>
  <resourceIncludeDir default-value="include"/>
  <resourceLibDir default-value="lib"/>
  <resourcesCopyAOL default-value="true">${nar.resources.copy.aol}</resourcesCopyAOL>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-gnu-resources (default-nar-gnu-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <gnuSourceDirectory default-value="${basedir}/src/gnu"/>
  <gnuTargetDirectory default-value="${project.build.directory}/nar/gnu"/>
  <gnuUseOnWindows default-value="false"/>
  <ignore default-value="false">${nar.ignore}</ignore>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <mavenProject>${project}</mavenProject>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <resourceBinDir default-value="bin"/>
  <resourceIncludeDir default-value="include"/>
  <resourceLibDir default-value="lib"/>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-vcproj (default-nar-vcproj)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <c>
    <options>
      <option>-Wno-sign-conversion</option>
    </options>
    <defines>
      <define>PKGLIBDIR=${PGSQL_PKGLIBDIR}</define>
      <define>PGSQL_MAJOR_VER=${PGSQL_MAJOR_VER}</define>
      <define>PGSQL_MINOR_VER=${PGSQL_MINOR_VER}</define>
      <define>PGSQL_PATCH_VER=${PGSQL_PATCH_VER}</define>
    </defines>
    <includePaths>
      <includePath>${PGSQL_INCLUDEDIR}</includePath>
      <includePath>${PGSQL_INCLUDEDIR-SERVER}</includePath>
      <includePath>/Users/me/hopla/pljava/pljava/pljava-so/src/main/include/</includePath>
      <includePath>/Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/</includePath>
    </includePaths>
  </c>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <failOnError default-value="true"/>
  <ignore default-value="false">${nar.ignore}</ignore>
  <java>
    <link>true</link>
  </java>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <libtool default-value="false"/>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <localRepository default-value="${localRepository}"/>
  <mavenProject>${project}</mavenProject>
  <maxCores>1</maxCores>
  <onlySpecifiedCompilers default-value="false"/>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <remoteArtifactRepositories default-value="${project.remoteArtifactRepositories}"/>
  <runtime default-value="dynamic"/>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <classpathElements default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.compileSourceRoots}"/>
  <compilerArguments>
    <bootclasspath>/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home//jre/lib/rt.jar</bootclasspath>
  </compilerArguments>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">UTF-8</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedSourcesDirectory default-value="${project.build.directory}/generated-sources/annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <outputFileName>${project.build.finalName}</outputFileName>
  <projectArtifact default-value="${project.artifact}"/>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skipMultiThreadWarning default-value="${false}">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.5">1.6</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.5">1.6</target>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-javah (default-nar-javah)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <ignore default-value="false">${nar.ignore}</ignore>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <mavenProject>${project}</mavenProject>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <session default-value="${session}"/>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-gnu-make (default-nar-gnu-make)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <gnuMakeInstallSkip default-value="false"/>
  <gnuSourceDirectory default-value="${basedir}/src/gnu"/>
  <gnuTargetDirectory default-value="${project.build.directory}/nar/gnu"/>
  <gnuUseOnWindows default-value="false"/>
  <ignore default-value="false">${nar.ignore}</ignore>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <mavenProject>${project}</mavenProject>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <resourceBinDir default-value="bin"/>
  <resourceIncludeDir default-value="include"/>
  <resourceLibDir default-value="lib"/>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.github.maven-nar:nar-maven-plugin:3.1.0:nar-compile (default-nar-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <architecture>${nar.arch}</architecture>
  <baseDir>${project.basedir}</baseDir>
  <c>
    <options>
      <option>-Wno-sign-conversion</option>
    </options>
    <defines>
      <define>PKGLIBDIR=${PGSQL_PKGLIBDIR}</define>
      <define>PGSQL_MAJOR_VER=${PGSQL_MAJOR_VER}</define>
      <define>PGSQL_MINOR_VER=${PGSQL_MINOR_VER}</define>
      <define>PGSQL_PATCH_VER=${PGSQL_PATCH_VER}</define>
    </defines>
    <includePaths>
      <includePath>${PGSQL_INCLUDEDIR}</includePath>
      <includePath>${PGSQL_INCLUDEDIR-SERVER}</includePath>
      <includePath>/Users/me/hopla/pljava/pljava/pljava-so/src/main/include/</includePath>
      <includePath>/Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/</includePath>
    </includePaths>
  </c>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <failOnError default-value="true"/>
  <ignore default-value="false">${nar.ignore}</ignore>
  <java>
    <link>true</link>
  </java>
  <javah>
    <classPaths>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classPath>
      <classPath>/Users/me/hopla/pljava/pljava/pljava-so/../pljava-api/target/classes/</classPath>
    </classPaths>
    <classDirectory>/Users/me/hopla/pljava/pljava/pljava-so/../pljava/target/classes/</classDirectory>
    <extraClasses>
      <extraClass>java.sql.Types</extraClass>
    </extraClasses>
  </javah>
  <layout default-value="com.github.maven_nar.NarLayout21">${nar.layout}</layout>
  <libraries>
    <library>
      <type>shared</type>
      <linkCPP>false</linkCPP>
    </library>
  </libraries>
  <libtool default-value="false"/>
  <linker>
    <libs>
      <lib>
        <name>ecpg</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pgtypes</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
      <lib>
        <name>pq</name>
        <type>shared</type>
        <directory>${PGSQL_LIBDIR}</directory>
      </lib>
    </libs>
  </linker>
  <localRepository default-value="${localRepository}"/>
  <mavenProject>${project}</mavenProject>
  <maxCores>1</maxCores>
  <onlySpecifiedCompilers default-value="false"/>
  <os>${nar.os}</os>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <remoteArtifactRepositories default-value="${project.remoteArtifactRepositories}"/>
  <runtime default-value="dynamic"/>
  <session default-value="${session}"/>
  <skip default-value="false">${nar.skip}</skip>
  <skipTests>${maven.test.skip}</skipTests>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=6, ConflictMarker.markTime=0, ConflictMarker.nodeCount=1, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=0, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=0, ConflictResolver.conflictItemCount=0, DefaultDependencyCollector.collectTime=0, DefaultDependencyCollector.transformTime=6}
[DEBUG] org.postgresql:pljava-so:nar:0.0.2-SNAPSHOT
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pljava-so ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=3, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=3, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=0, ConflictResolver.conflictItemCount=3, DefaultDependencyCollector.collectTime=13, DefaultDependencyCollector.transformTime=0}
[DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:2.5:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5
[DEBUG]   Imported:  < project>org.postgresql:pljava-so:0.0.2-SNAPSHOT
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5
[DEBUG]   Included: org.apache.maven.plugins:maven-clean-plugin:jar:2.5
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.5:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.5, parent: sun.misc.Launcher$AppClassLoader@2e5f8245]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.5:clean' with basic configurator -->
[DEBUG]   (f) directory = /Users/me/hopla/pljava/pljava/pljava-so/target
[DEBUG]   (f) excludeDefaultDirectories = false
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) followSymLinks = false
[DEBUG]   (f) outputDirectory = /Users/me/hopla/pljava/pljava/pljava-so/target/classes
[DEBUG]   (f) reportDirectory = /Users/me/hopla/pljava/pljava/pljava-so/target/site
[DEBUG]   (f) retryOnError = true
[DEBUG]   (f) skip = false
[DEBUG]   (f) testOutputDirectory = /Users/me/hopla/pljava/pljava/pljava-so/target/test-classes
[DEBUG] -- end configuration --
[INFO] Deleting /Users/me/hopla/pljava/pljava/pljava-so/target
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/pljava-so-0.0.2-SNAPSHOT-x86_64-MacOSX-gpp-shared/lib/x86_64-MacOSX-gpp/shared/history.xml26581308916732322711446788032907177000
[INFO] Deleting directory /Users/me/hopla/pljava/pljava/pljava-so/target/nar/pljava-so-0.0.2-SNAPSHOT-x86_64-MacOSX-gpp-shared/lib/x86_64-MacOSX-gpp/shared
[INFO] Deleting directory /Users/me/hopla/pljava/pljava/pljava-so/target/nar/pljava-so-0.0.2-SNAPSHOT-x86_64-MacOSX-gpp-shared/lib/x86_64-MacOSX-gpp
[INFO] Deleting directory /Users/me/hopla/pljava/pljava/pljava-so/target/nar/pljava-so-0.0.2-SNAPSHOT-x86_64-MacOSX-gpp-shared/lib
[INFO] Deleting directory /Users/me/hopla/pljava/pljava/pljava-so/target/nar/pljava-so-0.0.2-SNAPSHOT-x86_64-MacOSX-gpp-shared
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/XactListener.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Void.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/UDT.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Type.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/TupleTable.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/TupleDesc.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Tuple.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/TriggerData.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Timestamp.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Time.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SubXactListener.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/String.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLOutputToTuple.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLOutputToChunk.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLInputFromTuple.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLInputFromChunk.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SPI.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Short.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Session.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Relation.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Portal.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/PgSavepoint.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/PgObject.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Oid.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Long.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/LargeObject.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/JNICalls.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/JavaWrapper.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Iterator.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Invocation.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Integer.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/history.xml13852507407913060441446788026639117000
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/HeapTupleHeader.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/HashMap.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Function.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Float.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/ExecutionPlan.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Exception.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/ErrorData.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Double.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Date.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Composite.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Coerce.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/byte_array.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Byte.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Boolean.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/BigDecimal.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/backports.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Backend.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Array.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Any.o
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/AclId.o
[INFO] Deleting directory /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp
[INFO] Deleting directory /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_jdbc_SQLOutputToChunk.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_jdbc_SQLInputFromTuple.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_jdbc_SQLInputFromChunk.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_jdbc_SingleRowReader.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_jdbc_Invocation.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_XactListener.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_TupleDesc.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_Tuple.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_TriggerData.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_SubXactListener.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_SPI.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_Session.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_Relation.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_Portal.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_PgSavepoint.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_Oid.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_LargeObject.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_JavaWrapper.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_HeapTupleHeader.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_ExecutionPlan_PlanKey.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_ExecutionPlan_PlanCache.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_ExecutionPlan.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_ErrorData.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_internal_Backend_PLJavaSecurityManager.h
[INFO] Deleting file /Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include/org_postgresql_pljava_

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

Sorry can't attach a file (no permission) Is there anyway I can send it to you.

Here is the error part of the log, I hope it helps

The ' characters around the executable and arguments are
not part of the command.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c:35:27: warning: implicit conversion changes signedness: 'jsize' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] Size nBytes = elemSize * nElems;
[ERROR] ~ ^~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c:47:16: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] dataoffset = ARR_OVERHEAD_WITHNULLS(1, nElems);
[ERROR] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:167:21: note: expanded from macro 'ARR_OVERHEAD_WITHNULLS'
[ERROR](%28nitems%29 + 7) / 8)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c:69:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] ((int)ARR_LBOUND(v)) = 1;
[ERROR] ^~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:151:21: note: expanded from macro 'ARR_LBOUND'
[ERROR] sizeof(int) * ARR_NDIM(a)))
[ERROR] ~ ^~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c:84:23: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] const char* values = ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c:84:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] const char* values = ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c:86:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] bits8* nullBitMap = ARR_NULLBITMAP(v);
[ERROR] ^~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:156:24: note: expanded from macro 'ARR_NULLBITMAP'
[ERROR] 2 * sizeof(int) * ARR_NDIM(a))
[ERROR] ~ ^~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c:130:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] Datum* values = (Datum_)palloc(nElems * sizeof(Datum) + nElems * sizeof(bool));
[ERROR] ^~~~~~ ~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c:130:60: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] Datum_ values = (Datum_)palloc(nElems * sizeof(Datum) + nElems * sizeof(bool));
[ERROR] ^~~~~~ ~
[WARNING] 8 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:289:39: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
[ERROR] appendBinaryStringInfo(&buf, path, len);
[ERROR] ~~~~~~~~~~~~~~~~~~~~~~ ^~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:412:39: warning: incompatible pointer types passing 'void (int)' to parameter of type 'timeout_handler_proc' (aka 'void (_)(void)') [-Wincompatible-pointer-types]
[ERROR] tid = RegisterTimeout(USER_TIMEOUT, terminationTimeoutHandler);
[ERROR] ^~~~~~~~~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/timeout.h:69:69: note: passing argument to parameter 'handler' here
[ERROR] extern TimeoutId RegisterTimeout(TimeoutId id, timeout_handler_proc handler);
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:468:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
[ERROR] int newPos = jol->size;
[ERROR] ~~~~~~ ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:471:30: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
[ERROR] int newCap = jol->capacity * 2;
[ERROR] ~~~~~~ ~~~~~~~~~~~~~~^~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:472:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JavaVMOption* newOpts = (JavaVMOption_)palloc(newCap * sizeof(JavaVMOption));
[ERROR] ^~~~~~ ~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:473:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] memcpy(newOpts, jol->options, newPos * sizeof(JavaVMOption));
[ERROR] ^~~~~~ ~
[ERROR] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/secure/string.h:65:38: note: expanded from macro 'memcpy'
[ERROR] builtin___memcpy_chk (dest, src, len, darwin_obsz0 (dest))
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:476:19: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
[ERROR] jol->capacity = newCap;
[ERROR] ~ ^~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:748:29: warning: implicit conversion changes signedness: 'unsigned int' to 'jint' (aka 'int') [-Wsign-conversion]
[ERROR] vm_args.nOptions = optList.size;
[ERROR] ~ ~~~~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:755:10: warning: implicit conversion loses integer precision: 'jint' (aka 'int') to 'jboolean' (aka 'unsigned char') [-Wconversion]
[ERROR] jstat = JNI_createVM(&s_javaVM, &vm_args);
[ERROR] ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c:761:11: warning: implicit conversion changes signedness: 'int' to 'jboolean' (aka 'unsigned char') [-Wsign-conversion]
[ERROR] jstat = JNI_ERR;
[ERROR] ~ ^~~~~~~
[ERROR] /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/include/jni.h:161:27: note: expanded from macro 'JNI_ERR'
[ERROR] #define JNI_ERR (-1) /
unknown error /
[ERROR] ^~
[WARNING] 10 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:33:13: warning: implicit conversion changes signedness: 'bool' (aka 'char') to 'jboolean' (aka 'unsigned char') [-Wsign-conversion]
[ERROR] result.z = DatumGetBool(arg);
[ERROR] ~ ^~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/postgres.h:371:26: note: expanded from macro 'DatumGetBool'
[ERROR] #define DatumGetBool(X) ((bool) (((bool) (X)) != 0))
[ERROR] ^~~~~~~~~~~~~~~~~~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:51:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] bits8
nullBitMap = ARR_NULLBITMAP(v);
[ERROR] ^~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:156:24: note: expanded from macro 'ARR_NULLBITMAP'
[ERROR] 2 * sizeof(int) * ARR_NDIM(a))
[ERROR] ~ ^~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:52:33: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jboolean* values = (jboolean
)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:52:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jboolean
values = (jboolean
)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:64:65: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setBooleanArrayRegion(booleanArray, 0, nElems, (jboolean
)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:64:65: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setBooleanArrayRegion(booleanArray, 0, nElems, (jboolean_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:88:27: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] nElems, (jboolean_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:88:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] nElems, (jboolean_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:92:32: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jboolean *array = (jboolean_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c:92:32: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jboolean array = (jboolean)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] 10 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Byte.c:53:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] bits8* nullBitMap = ARR_NULLBITMAP(v);
[ERROR] ^~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:156:24: note: expanded from macro 'ARR_NULLBITMAP'
[ERROR] 2 * sizeof(int) * ARR_NDIM(a))
[ERROR] ~ ^~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Byte.c:54:27: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jbyte* values = (jbyte_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Byte.c:54:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jbyte_ values = (jbyte_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Byte.c:66:56: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setByteArrayRegion(byteArray, 0, nElems, (jbyte_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Byte.c:66:56: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setByteArrayRegion(byteArray, 0, nElems, (jbyte_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Byte.c:86:67: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_getByteArrayRegion((jbyteArray)byteArray, 0, nElems, (jbyte_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Byte.c:86:67: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_getByteArrayRegion((jbyteArray)byteArray, 0, nElems, (jbyte_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] 7 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c:58:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] bits8_ nullBitMap = ARR_NULLBITMAP(v);
[ERROR] ^~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:156:24: note: expanded from macro 'ARR_NULLBITMAP'
[ERROR] 2 * sizeof(int) * ARR_NDIM(a))
[ERROR] ~ ^~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c:59:31: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jdouble* values = (jdouble_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c:59:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jdouble_ values = (jdouble_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c:71:62: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setDoubleArrayRegion(doubleArray, 0, nElems, (jdouble_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c:71:62: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setDoubleArrayRegion(doubleArray, 0, nElems, (jdouble_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c:93:25: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] nElems, (jdouble_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c:93:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] nElems, (jdouble_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c:97:30: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jdouble *array = (jdouble_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c:97:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jdouble array = (jdouble)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char %29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & %28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] 9 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/ExecutionPlan.c:80:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] values = (Datum_)palloc(count * sizeof(Datum));
[ERROR] ^~~~~ ~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/ExecutionPlan.c:96:33: warning: implicit conversion changes signedness: 'int' to 'Size' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] nulls = (char_)palloc(count+1);
[ERROR] ~~~~~~ ~~~~~^

[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/ExecutionPlan.c:264:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] paramOids = (Oid
)palloc(paramCount * sizeof(Oid));
[ERROR] ^~~~~~~~~~ ~
[WARNING] 3 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c:58:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] bits8* nullBitMap = ARR_NULLBITMAP(v);
[ERROR] ^~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:156:24: note: expanded from macro 'ARR_NULLBITMAP'
[ERROR] 2 * sizeof(int) * ARR_NDIM(a))
[ERROR] ~ ^~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c:59:29: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jfloat* values = (jfloat_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c:59:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jfloat_ values = (jfloat_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c:71:59: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setFloatArrayRegion(floatArray, 0, nElems, (jfloat_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c:71:59: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setFloatArrayRegion(floatArray, 0, nElems, (jfloat_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c:95:25: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] nElems, (jfloat_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c:95:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] nElems, (jfloat_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c:99:28: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jfloat *array = (jfloat_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c:99:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jfloat array = (jfloat)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] 9 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Function.c:432:58: warning: implicit conversion changes signedness: 'int' to 'Oid' (aka 'unsigned int') [-Wsign-conversion]
[ERROR] HeapTuple nspTup = PgObject_getValidTuple(NAMESPACEOID, namespaceOid, "namespace");
[ERROR] ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Function.c:508:65: warning: implicit conversion changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] self->func.nonudt.paramTypes = (Type_)MemoryContextAlloc(ctx, top * sizeof(Type));
[ERROR] ^~~ ~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Function.c:543:49: warning: implicit conversion changes signedness: 'Oid' (aka 'unsigned int') to 'int' [-Wsign-conversion]
[ERROR] jstring schemaName = getSchemaName(procStruct->pronamespace);
[ERROR] ~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Function.c:742:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] args = (jvalue_)palloc((top + 1) * sizeof(jvalue));
[ERROR] ~~~~^~~ ~
[WARNING] 4 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/HashMap.c:113:14: warning: implicit conversion changes signedness: 'const char' to 'uint32' (aka 'unsigned int') [-Wsign-conversion]
[ERROR] while((c = val++) != 0)
[ERROR] ~ ^~~~~~
[WARNING] 1 warning generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c:51:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] bits8
nullBitMap = ARR_NULLBITMAP(v);
[ERROR] ^~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:156:24: note: expanded from macro 'ARR_NULLBITMAP'
[ERROR] 2 * sizeof(int) * ARR_NDIM(a))
[ERROR] ~ ^~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c:52:25: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jint* values = (jint_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c:52:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jint_ values = (jint_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c:64:53: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setIntArrayRegion(intArray, 0, nElems, (jint_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c:64:53: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setIntArrayRegion(intArray, 0, nElems, (jint_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c:87:65: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_getIntArrayRegion((jintArray)intArray, 0, nElems, (jint_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c:87:65: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_getIntArrayRegion((jintArray)intArray, 0, nElems, (jint_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c:91:27: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jint *array = (jint_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c:91:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jint array = (jint)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] 9 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Invocation.c:277:9: warning: implicit conversion changes signedness: 'unsigned int' to 'jint' (aka 'int') [-Wsign-conversion]
[ERROR] return s_callLevel;
[ERROR] ~~~~~~ ^~~~~~~~~~~
[WARNING] 1 warning generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/LargeObject.c:128:34: warning: implicit conversion changes signedness: 'int' to 'Oid' (aka 'unsigned int') [-Wsign-conversion]
[ERROR] result = Oid_create(inv_create((int)flags));
[ERROR] ~~~~~~~~~~ ^~~~~~~~~~
[WARNING] 1 warning generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c:58:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] bits8* nullBitMap = ARR_NULLBITMAP(v);
[ERROR] ^~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:156:24: note: expanded from macro 'ARR_NULLBITMAP'
[ERROR] 2 * sizeof(int) * ARR_NDIM(a))
[ERROR] ~ ^~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c:59:27: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jlong* values = (jlong_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c:59:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jlong_ values = (jlong_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c:71:56: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setLongArrayRegion(longArray, 0, nElems, (jlong_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c:71:56: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setLongArrayRegion(longArray, 0, nElems, (jlong_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c:94:68: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_getLongArrayRegion((jlongArray)longArray, 0, nElems, (jlong_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c:94:68: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_getLongArrayRegion((jlongArray)longArray, 0, nElems, (jlong_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c:98:26: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jlong *array = (jlong_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c:98:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jlong array = (jlong)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & %28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] 9 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Oid.c:46:9: warning: implicit conversion loses integer precision: 'Datum' (aka 'unsigned long') to 'Oid' (aka 'unsigned int') [-Wshorten-64-to-32]
[ERROR] return ObjectIdGetDatum(JNI_getIntField(joid, s_Oid_m_native));
[ERROR] ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/postgres.h:485:30: note: expanded from macro 'ObjectIdGetDatum'
[ERROR] #define ObjectIdGetDatum(X) ((Datum) SET_4_BYTES(X))
[ERROR] ^~~~~~~~~~~~~~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Oid.c:200:9: warning: implicit conversion changes signedness: 'Oid' (aka 'unsigned int') to 'jint' (aka 'int') [-Wsign-conversion]
[ERROR] return typeId;
[ERROR] ~~~~~~ ^~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Oid.c:233:9: warning: implicit conversion changes signedness: 'Oid' (aka 'unsigned int') to 'jint' (aka 'int') [-Wsign-conversion]
[ERROR] return typeId;
[ERROR] ~~~~~~ ^~~~~~
[WARNING] 3 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Relation.c:191:35: warning: implicit conversion changes signedness: 'jint' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] Datum* values = (Datum_)palloc(count * sizeof(Datum));
[ERROR] ^~~~~ ~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Relation.c:200:28: warning: implicit conversion changes signedness: 'jint' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] indexes = (int_)palloc(count * sizeof(int));
[ERROR] ^~~~~ ~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Relation.c:233:34: warning: implicit conversion changes signedness: 'int' to 'Size' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] nulls = (char_)palloc(count+1);
[ERROR] ~~~~~~ ~~~~~^

[WARNING] 3 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c:51:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] bits8_ nullBitMap = ARR_NULLBITMAP(v);
[ERROR] ^~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:156:24: note: expanded from macro 'ARR_NULLBITMAP'
[ERROR] 2 * sizeof(int) * ARR_NDIM(a))
[ERROR] ~ ^~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ~~~~~^~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c:52:29: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jshort* values = (jshort_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c:52:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jshort_ values = (jshort_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c:64:59: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setShortArrayRegion(shortArray, 0, nElems, (jshort_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c:64:59: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_setShortArrayRegion(shortArray, 0, nElems, (jshort_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c:86:73: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_getShortArrayRegion((jshortArray)shortArray, 0, nElems, (jshort_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c:86:73: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] JNI_getShortArrayRegion((jshortArray)shortArray, 0, nElems, (jshort_)ARR_DATA_PTR(v));
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & ~%28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c:90:31: warning: operand of ? changes signedness: 'int32' (aka 'int') to 'unsigned long' [-Wsign-conversion]
[ERROR] jshort *array = (jshort_)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ~ ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:26: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c:90:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] jshort array = (jshort)ARR_DATA_PTR(v);
[ERROR] ^~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:176:21: note: expanded from macro 'ARR_DATA_PTR'
[ERROR](%28%28char *%29 %28a%29%29 + ARR_DATA_OFFSET%28a%29)
[ERROR] ^~~~~~~~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:170:60: note: expanded from macro 'ARR_DATA_OFFSET'
[ERROR](ARR_HASNULL%28a%29 ? %28a%29->dataoffset : ARR_OVERHEAD_NONULLS%28ARR_NDIM%28a%29%29)
[ERROR] ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:143:30: note: expanded from macro 'ARR_NDIM'
[ERROR] #define ARR_NDIM(a) ((a)->ndim)
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/utils/array.h:164:51: note: expanded from macro 'ARR_OVERHEAD_NONULLS'
[ERROR] MAXALIGN(sizeof(ArrayType) + 2 * sizeof(int) * (ndims))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:534:53: note: expanded from macro 'MAXALIGN'
[ERROR] #define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
[ERROR] ^
[ERROR] /Library/PostgreSQL/9.4/include/postgresql/server/c.h:528:17: note: expanded from macro 'TYPEALIGN'
[ERROR](%28%28uintptr_t%29 %28LEN%29 + %28%28ALIGNVAL%29 - 1%29%29 & %28%28uintptr_t%29 %28%28ALIGNVAL%29 - 1%29%29)
[ERROR] ^
[WARNING] 9 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/String.c:122:43: warning: implicit conversion changes signedness: 'Size' (aka 'unsigned long') to 'jlong' (aka 'long') [-Wsign-conversion]
[ERROR] bytebuf = JNI_newDirectByteBuffer(utf8, srcLen);
[ERROR] ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/String.c:154:51: warning: implicit conversion changes signedness: 'Size' (aka 'unsigned long') to 'jlong' (aka 'long') [-Wsign-conversion]
[ERROR] bytebuf = JNI_newDirectByteBuffer((void _)utf8, sz);
[ERROR] ~~~~~~~~~~~~~~~~~~~~~~~ ^

[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/String.c:188:17: warning: implicit conversion changes signedness: 'int' to 'Size' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] dencLen = sid.len;
[ERROR] ~ ~~~~^~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/String.c:271:12: warning: implicit conversion changes signedness: 'jint' (aka 'int') to 'Size' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] nchars = JNI_callIntMethodLocked(charbuf, s_Buffer_remaining);
[ERROR] ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/String.c:282:21: warning: implicit conversion changes signedness: 'int' to 'Size' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] cap = buf->maxlen - buf->len;
[ERROR] ~ ~~~~~~~~~~~~^~~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/String.c:283:41: warning: implicit conversion changes signedness: 'Size' (aka 'unsigned long') to 'jlong' (aka 'long') [-Wsign-conversion]
[ERROR] bytebuf = JNI_newDirectByteBuffer(bp, cap);
[ERROR] ~~~~~~~~~~~~~~~~~~~~~~~ ^~~
[WARNING] 6 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SubXactListener.c:26:9: warning: enumeration value 'SUBXACT_EVENT_PRE_COMMIT_SUB' not handled in switch [-Wswitch]
[ERROR] switch(event)
[ERROR] ^
[WARNING] 1 warning generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/TupleDesc.c:217:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] Datum_ values = (Datum_)palloc(count * sizeof(Datum));
[ERROR] ^~~~~ ~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/TupleDesc.c:218:27: warning: implicit conversion changes signedness: 'int' to 'Size' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] char_ nulls = palloc(count);
[ERROR] ~~~~~~ ^~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/TupleDesc.c:221:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
[ERROR] memset(values, 0, count * sizeof(Datum));
[ERROR] ^~~~~ ~
[ERROR] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/secure/_string.h:77:38: note: expanded from macro 'memset'
[ERROR] __builtin___memset_chk (dest, val, len, darwin_obsz0 (dest))
[ERROR] ^
[WARNING] 3 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Type.c:148:5: warning: variable 'funcId' is uninitialized when used here [-Wuninitialized]
[ERROR] if(funcId == InvalidOid)
[ERROR] ^~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Type.c:136:13: note: initialize the variable 'funcId' to silence this warning
[ERROR] Oid funcId;
[ERROR] ^
[ERROR] = 0
[WARNING] 1 warning generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/UDT.c:76:48: warning: implicit conversion changes signedness: 'int32' (aka 'int') to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] inputStream = SQLInputFromChunk_create(data, dataLen);
[ERROR] ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/UDT.c:269:15: warning: implicit conversion changes signedness: 'int32' (aka 'int') to 'Size' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] tmp = palloc(dataLen);
[ERROR] ~~~~~~ ^~~~~~~
[WARNING] 2 warnings generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/XactListener.c:30:9: warning: enumeration values 'XACT_EVEN
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/XactListener.c:30:9: warning: enumeration values 'XACT_EVENT_PRE_COMMIT' and 'XACT_EVENT_PRE_PREPARE' not handled in switch [-Wswitch]
[ERROR] switch(event)
[ERROR] ^
[WARNING] 1 warning generated.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/byte_array.c:42:26: warning: implicit conversion changes signedness: 'int32' (aka 'int') to 'Size' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] bytes = (bytea
)palloc(byteaSize);
[ERROR] ~~~~~~ ^~~~~~~~~
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/byte_array.c:57:26: warning: implicit conversion changes signedness: 'int32' (aka 'int') to 'Size' (aka 'unsigned long') [-Wsign-conversion]
[ERROR] bytes = (bytea
)palloc(byteaSize);
[ERROR] ~~~~~~ ^~~~~~~~~
[WARNING] 2 warnings generated.
[INFO] 51 files were compiled.
[INFO] 51 files were compiled.
[INFO] Linking...
[INFO] Linking...
[INFO] Starting link {4.2.1 -dynamiclib -framework JavaVM -L/Library/PostgreSQL/9.4/lib -lecpg -L/Library/PostgreSQL/9.4/lib -lpgtypes -L/Library/PostgreSQL/9.4/lib -lpq}
[INFO] Starting link {4.2.1 -dynamiclib -framework JavaVM -L/Library/PostgreSQL/9.4/lib -lecpg -L/Library/PostgreSQL/9.4/lib -lpgtypes -L/Library/PostgreSQL/9.4/lib -lpq}
[DEBUG] g++ -dynamiclib -o libpljava-so-0.0.2-SNAPSHOT.dylib /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/AclId.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Any.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Array.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Backend.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/BigDecimal.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Boolean.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Byte.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Coerce.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Composite.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Date.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Double.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/ErrorData.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Exception.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/ExecutionPlan.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Float.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Function.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/HashMap.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/HeapTupleHeader.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Integer.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Invocation.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Iterator.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/JNICalls.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/JavaWrapper.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/LargeObject.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Long.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Oid.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/PgObject.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/PgSavepoint.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Portal.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Relation.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SPI.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLInputFromChunk.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLInputFromTuple.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLOutputToChunk.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLOutputToTuple.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Session.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Short.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/String.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SubXactListener.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Time.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Timestamp.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/TriggerData.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Tuple.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/TupleDesc.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/TupleTable.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Type.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/UDT.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Void.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/XactListener.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/backports.o /Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/byte_array.o -framework JavaVM -L/Library/PostgreSQL/9.4/lib -lecpg -L/Library/PostgreSQL/9.4/lib -lpgtypes -L/Library/PostgreSQL/9.4/lib -lpq
[DEBUG] Execute:Java13CommandLauncher: Executing 'g++' with arguments:
'-dynamiclib'
'-o'
'libpljava-so-0.0.2-SNAPSHOT.dylib'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/AclId.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Any.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Array.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Backend.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/BigDecimal.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Boolean.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Byte.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Coerce.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Composite.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Date.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Double.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/ErrorData.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Exception.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/ExecutionPlan.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Float.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Function.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/HashMap.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/HeapTupleHeader.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Integer.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Invocation.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Iterator.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/JNICalls.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/JavaWrapper.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/LargeObject.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Long.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Oid.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/PgObject.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/PgSavepoint.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Portal.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Relation.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SPI.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLInputFromChunk.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLInputFromTuple.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLOutputToChunk.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SQLOutputToTuple.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Session.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Short.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/String.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/SubXactListener.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Time.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Timestamp.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/TriggerData.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Tuple.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/TupleDesc.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/TupleTable.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Type.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/UDT.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/Void.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/XactListener.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/backports.o'
'/Users/me/hopla/pljava/pljava/pljava-so/target/nar/obj/x86_64-MacOSX-gpp/byte_array.o'
'-framework'
'JavaVM'
'-L/Library/PostgreSQL/9.4/lib'
'-lecpg'
'-L/Library/PostgreSQL/9.4/lib'
'-lpgtypes'
'-L/Library/PostgreSQL/9.4/lib'
'-lpq'

The ' characters around the executable and arguments are
not part of the command.
[ERROR] Undefined symbols for architecture x86_64:
[ERROR] "_AllocSetContextCreate", referenced from:
[ERROR] _JavaWrapper_initialize in JavaWrapper.o
[ERROR] _Type_invokeSRF in Type.o
[ERROR] "_ArrayGetNItems", referenced from:
[ERROR] __Array_coerceDatum in Array.o
[ERROR] __booleanArray_coerceDatum in Boolean.o
[ERROR] __byteArray_coerceDatum in Byte.o
[ERROR] __doubleArray_coerceDatum in Double.o
[ERROR] __floatArray_coerceDatum in Float.o
[ERROR] __intArray_coerceDatum in Integer.o
[ERROR] __longArray_coerceDatum in Long.o
[ERROR] ...
[ERROR] "_BeginInternalSubTransaction", referenced from:
[ERROR] _SPI_setSavepoint in SPI.o
[ERROR] "_CopyErrorData", referenced from:
[ERROR] _ErrorData_getCurrentError in ErrorData.o
[ERROR] "_CreateTupleDescCopy", referenced from:
[ERROR] __Composite_getTupleDesc in Composite.o
[ERROR] "_CreateTupleDescCopyConstr", referenced from:
[ERROR] _createGlobalTupleDescCopy in Composite.o
[ERROR] _TupleDesc_internalCreate in TupleDesc.o
[ERROR] "_CurrentMemoryContext", referenced from:
[ERROR] _MemoryContextSwitchTo in Array.o
[ERROR] _getClassPath in Backend.o
[ERROR] _MemoryContextSwitchTo in Coerce.o
[ERROR] _MemoryContextSwitchTo in Composite.o
[ERROR] _MemoryContextSwitchTo in Double.o
[ERROR] _MemoryContextSwitchTo in ErrorData.o
[ERROR] _MemoryContextSwitchTo in Float.o
[ERROR] ...
[ERROR] "_DatumGetFloat4", referenced from:
[ERROR] __Float_coerceDatum in Float.o
[ERROR] __float_coerceDatum in Float.o
[ERROR] "_DatumGetFloat8", referenced from:
[ERROR] __Double_coerceDatum in Double.o
[ERROR] __double_coerceDatum in Double.o
[ERROR] __Time_coerceDatum in Time.o
[ERROR] _Timestamp_coerceDatumTZ_dd in Timestamp.o
[ERROR] "_DecrTupleDescRefCount", referenced from:
[ERROR] _Composite_obtain in Composite.o
[ERROR] _HeapTupleHeader_getTupleDesc in HeapTupleHeader.o
[ERROR] "_DefineCustomBoolVariable", referenced from:
[ERROR] _initializeJavaVM in Backend.o
[ERROR] "_DefineCustomIntVariable", referenced from:
[ERROR] _initializeJavaVM in Backend.o
[ERROR] "_DefineCustomStringVariable", referenced from:
[ERROR] _initializeJavaVM in Backend.o
[ERROR] "_DirectFunctionCall1Coll", referenced from:
[ERROR] _getAS in Function.o
[ERROR] "_EmitWarningsOnPlaceholders", referenced from:
[ERROR] _initializeJavaVM in Backend.o
[ERROR] "_ExecCopySlotTuple", referenced from:
[ERROR] _TupleTable_createFromSlot in TupleTable.o
[ERROR] "_Float4GetDatum", referenced from:
[ERROR] __asDatum in Float.o
[ERROR] "_Float8GetDatum", referenced from:
[ERROR] __asDatum in Double.o
[ERROR] __Time_coerceObject in Time.o
[ERROR] _Timestamp_coerceObjectTZ_dd in Timestamp.o
[ERROR] "_FlushErrorState", referenced from:
[ERROR] _Exception_throw_ERROR in Exception.o
[ERROR] "_FreeErrorData", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_ErrorData__1free in ErrorData.o
[ERROR] "_FreeTupleDesc", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_TupleDesc__1free in TupleDesc.o
[ERROR] "_FunctionCall1Coll", referenced from:
[ERROR] __Coerce_coerceDatum in Coerce.o
[ERROR] __Coerce_invoke in Coerce.o
[ERROR] __Coerce_coerceObject in Coerce.o
[ERROR] "_FunctionCall3Coll", referenced from:
[ERROR] __String_coerceDatum in String.o
[ERROR] __String_coerceObject in String.o
[ERROR] "_GetAttributeByNum", referenced from:
[ERROR] _HeapTupleHeader_getObject in HeapTupleHeader.o
[ERROR] "_GetConfigOption", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Backend__1getConfigOption in Backend.o
[ERROR] _checkIntTimeType in Backend.o
[ERROR] "_GetCurrentAbsoluteTime", referenced from:
[ERROR] _msecsAtMidnight in Time.o
[ERROR] _Timestamp_getCurrentTimeZone in Timestamp.o
[ERROR] "_GetCurrentSubTransactionId", referenced from:
[ERROR] _SPI_setSavepoint in SPI.o
[ERROR] _assertXid in SPI.o
[ERROR] "_GetCurrentTransactionNestLevel", referenced from:
[ERROR] _SPI_setSavepoint in SPI.o
[ERROR] _SPI_releaseSavepoint in SPI.o
[ERROR] _assertXid in SPI.o
[ERROR] _SPI_rollbackSavepoint in SPI.o
[ERROR] "_GetDatabaseEncoding", referenced from:
[ERROR] _String_initialize_codec in String.o
[ERROR] "_GetMemoryChunkContext", referenced from:
[ERROR] __Coerce_create in Coerce.o
[ERROR] _setupTriggerParams in Function.o
[ERROR] _setupFunctionParams in Function.o
[ERROR] _HashMap_put in HashMap.o
[ERROR] _HashMap_rehash in HashMap.o
[ERROR] _Iterator_create in Iterator.o
[ERROR] _String_create in String.o
[ERROR] ...
[ERROR] "_GetSessionUserId", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1getSessionUser in AclId.o
[ERROR] "_GetUserId", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1getUser in AclId.o
[ERROR] "_GetUserNameFromId", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1getName in AclId.o
[ERROR] "_HeapTupleHeaderGetDatum", referenced from:
[ERROR] __Composite_invoke in Composite.o
[ERROR] __Composite_nextSRF in Composite.o
[ERROR] _coerceTupleObject in UDT.o
[ERROR] "_InitializeTimeouts", referenced from:
[ERROR] __destroyJavaVM in Backend.o
[ERROR] "_InterruptPending", referenced from:
[ERROR] _pljavaStatementCancelHandler in Backend.o
[ERROR] _pljavaDieHandler in Backend.o
[ERROR] "_MemoryContextAlloc", referenced from:
[ERROR] _setupTriggerParams in Function.o
[ERROR] _setupFunctionParams in Function.o
[ERROR] __HashKey_clone in HashMap.o
[ERROR] _HashKeyClass_alloc in HashMap.o
[ERROR] _HashMap_create in HashMap.o
[ERROR] _HashMap_rehash in HashMap.o
[ERROR] _Invocation_createLocalWrapper in Invocation.o
[ERROR] ...
[ERROR] "_MemoryContextDelete", referenced from:
[ERROR] __closeIteration in Type.o
[ERROR] "_MemoryContextReset", referenced from:
[ERROR] _Type_invokeSRF in Type.o
[ERROR] "_MemoryContextStrdup", referenced from:
[ERROR] __StringKey_clone in HashMap.o
[ERROR] "_MyProcPid", referenced from:
[ERROR] _terminationTimeoutHandler in Backend.o
[ERROR] "_PG_exception_stack", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1getUser in AclId.o
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1getSessionUser in AclId.o
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1fromName in AclId.o
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1getName in AclId.o
[ERROR] _internalCallHandler in Backend.o
[ERROR] _Java_org_postgresql_pljava_internal_Backend__1getConfigOption in Backend.o
[ERROR] _Java_org_postgresql_pljava_internal_Backend__1log in Backend.o
[ERROR] ...
[ERROR] "_ProcDiePending", referenced from:
[ERROR] _pljavaDieHandler in Backend.o
[ERROR] "_QueryCancelPending", referenced from:
[ERROR] _pljavaStatementCancelHandler in Backend.o
[ERROR] "_ReThrowError", referenced from:
[ERROR] _endCall in JNICalls.o
[ERROR] _endCallMonitorHeld in JNICalls.o
[ERROR] "_RegisterExprContextCallback", referenced from:
[ERROR] _Type_invokeSRF in Type.o
[ERROR] "_RegisterSubXactCallback", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_SubXactListener__1register in SubXactListener.o
[ERROR] "_RegisterTimeout", referenced from:
[ERROR] __destroyJavaVM in Backend.o
[ERROR] "_RegisterXactCallback", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_XactListener__1register in XactListener.o
[ERROR] "_ReleaseCurrentSubTransaction", referenced from:
[ERROR] _SPI_releaseSavepoint in SPI.o
[ERROR] "_ReleaseSysCache", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1fromName in AclId.o
[ERROR] _Function_create in Function.o
[ERROR] _getSchemaName in Function.o
[ERROR] _setupUDT in Function.o
[ERROR] _String_create in String.o
[ERROR] _Type_fromOid in Type.o
[ERROR] _UDT_registerUDT in UDT.o
[ERROR] ...
[ERROR] "_RollbackAndReleaseCurrentSubTransaction", referenced from:
[ERROR] _SPI_rollbackSavepoint in SPI.o
[ERROR] "_SPI_connect", referenced from:
[ERROR] _Invocation_assertConnect in Invocation.o
[ERROR] "_SPI_cursor_close", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Portal__1close in Portal.o
[ERROR] "_SPI_cursor_fetch", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Portal__1fetch in Portal.o
[ERROR] "_SPI_cursor_move", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Portal__1move in Portal.o
[ERROR] "_SPI_cursor_open", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1cursorOpen in ExecutionPlan.o
[ERROR] "_SPI_exec", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_SPI__1exec in SPI.o
[ERROR] "_SPI_execute_plan", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1execute in ExecutionPlan.o
[ERROR] "_SPI_finish", referenced from:
[ERROR] _Invocation_assertDisconnect in Invocation.o
[ERROR] _Invocation_popInvocation in Invocation.o
[ERROR] "_SPI_fname", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_TupleDesc__1getColumnName in TupleDesc.o
[ERROR] "_SPI_fnumber", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_TupleDesc__1getColumnIndex in TupleDesc.o
[ERROR] "_SPI_freeplan", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1prepare in ExecutionPlan.o
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1invalidate in ExecutionPlan.o
[ERROR] "_SPI_freetuptable", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_SPI__1freeTupTable in SPI.o
[ERROR] "_SPI_getargcount", referenced from:
[ERROR] _coerceObjects in ExecutionPlan.o
[ERROR] "_SPI_getargtypeid", referenced from:
[ERROR] _coerceObjects in ExecutionPlan.o
[ERROR] "_SPI_getbinval", referenced from:
[ERROR] _Tuple_getObject in Tuple.o
[ERROR] "_SPI_getnspname", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Relation__1getSchema in Relation.o
[ERROR] "_SPI_getrelname", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Relation__1getName in Relation.o
[ERROR] "_SPI_gettypeid", referenced from:
[ERROR] _HeapTupleHeader_getObject in HeapTupleHeader.o
[ERROR] _Java_org_postgresql_pljava_internal_Relation__1modifyTuple in Relation.o
[ERROR] _TupleDesc_getColumnType in TupleDesc.o
[ERROR] _Java_org_postgresql_pljava_internal_TupleDesc__1formTuple in TupleDesc.o
[ERROR] _Java_org_postgresql_pljava_internal_TupleDesc__1getOid in TupleDesc.o
[ERROR] "_SPI_is_cursor_plan", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1isCursorPlan in ExecutionPlan.o
[ERROR] "_SPI_modifytuple", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Relation__1modifyTuple in Relation.o
[ERROR] "_SPI_prepare", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1prepare in ExecutionPlan.o
[ERROR] "_SPI_processed", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Portal__1fetch in Portal.o
[ERROR] _Java_org_postgresql_pljava_internal_Portal__1move in Portal.o
[ERROR] _Java_org_postgresql_pljava_internal_SPI__1getProcessed in SPI.o
[ERROR] "_SPI_restore_connection", referenced from:
[ERROR] _SPI_rollbackSavepoint in SPI.o
[ERROR] "_SPI_result", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1prepare in ExecutionPlan.o
[ERROR] _Java_org_postgresql_pljava_internal_Relation__1modifyTuple in Relation.o
[ERROR] _Java_org_postgresql_pljava_internal_SPI__1getResult in SPI.o
[ERROR] "_SPI_result_code_string", referenced from:
[ERROR] _Exception_throwSPI in Exception.o
[ERROR] "_SPI_saveplan", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1prepare in ExecutionPlan.o
[ERROR] "_SPI_tuptable", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_SPI__1getTupTable in SPI.o
[ERROR] _Java_org_postgresql_pljava_internal_SPI__1freeTupTable in SPI.o
[ERROR] "_SearchSysCache", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1fromName in AclId.o
[ERROR] _PgObject_getValidTuple in PgObject.o
[ERROR] "_SetUserIdAndContext", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Session__1setUser in Session.o
[ERROR] "_SysCacheGetAttr", referenced from:
[ERROR] _getAS in Function.o
[ERROR] "_TopMemoryContext", referenced from:
[ERROR] _Array_fromOid2 in Array.o
[ERROR] _createGlobalTupleDescCopy in Composite.o
[ERROR] _Function_initialize in Function.o
[ERROR] _Function_create in Function.o
[ERROR] _Function_clearFunctionCache in Function.o
[ERROR] _HashKeyClass_alloc in HashMap.o
[ERROR] _JavaWrapper_initialize in JavaWrapper.o
[ERROR] ...
[ERROR] "_UnregisterExprContextCallback", referenced from:
[ERROR] _Type_invokeSRF in Type.o
[ERROR] "_UnregisterSubXactCallback", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_SubXactListener__1unregister in SubXactListener.o
[ERROR] "_UnregisterXactCallback", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_XactListener__1unregister in XactListener.o
[ERROR] "_appendBinaryStringInfo", referenced from:
[ERROR] _appendPathParts in Backend.o
[ERROR] _Java_org_postgresql_pljava_jdbc_SQLOutputToChunk__1writeByte in SQLOutputToChunk.o
[ERROR] _Java_org_postgresql_pljava_jdbc_SQLOutputToChunk__1writeBytes in SQLOutputToChunk.o
[ERROR] _coerceScalarObject in UDT.o
[ERROR] _UDT_send in UDT.o
[ERROR] "_appendStringInfo", referenced from:
[ERROR] _appendPathParts in Backend.o
[ERROR] _Exception_featureNotSupported in Exception.o
[ERROR] "_appendStringInfoChar", referenced from:
[ERROR] _addUserJVMOptions in Backend.o
[ERROR] _appendPathParts in Backend.o
[ERROR] _buildSignature in Function.o
[ERROR] _parseParameters in Function.o
[ERROR] "_appendStringInfoString", referenced from:
[ERROR] _Exception_featureNotSupported in Exception.o
[ERROR] _buildSignature in Function.o
[ERROR] _elogExceptionMessage in JNICalls.o
[ERROR] _String_appendJavaString in String.o
[ERROR] "_bytearecv", referenced from:
[ERROR] _UDT_receive in UDT.o
[ERROR] "_byteasend", referenced from:
[ERROR] _UDT_send in UDT.o
[ERROR] "_client_min_messages", referenced from:
[ERROR] _printStacktrace in JNICalls.o
[ERROR] "_construct_md_array", referenced from:
[ERROR] __Array_coerceObject in Array.o
[ERROR] "_disable_timeout", referenced from:
[ERROR] __destroyJavaVM in Backend.o
[ERROR] "_elog_finish", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Backend__1log in Backend.o
[ERROR] _initializeJavaVM in Backend.o
[ERROR] __destroyJavaVM in Backend.o
[ERROR] _checkIntTimeType in Backend.o
[ERROR] _JVMOptList_add in Backend.o
[ERROR] _my_vfprintf in Backend.o
[ERROR] _initPLJavaClasses in Backend.o
[ERROR] ...
[ERROR] "_elog_start", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Backend__1log in Backend.o
[ERROR] _initializeJavaVM in Backend.o
[ERROR] __destroyJavaVM in Backend.o
[ERROR] _checkIntTimeType in Backend.o
[ERROR] _JVMOptList_add in Backend.o
[ERROR] _my_vfprintf in Backend.o
[ERROR] _initPLJavaClasses in Backend.o
[ERROR] ...
[ERROR] "_end_MultiFuncCall", referenced from:
[ERROR] _Type_invokeSRF in Type.o
[ERROR] "_enlargeStringInfo", referenced from:
[ERROR] _appendCharBuffer in String.o
[ERROR] "_errcode", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1fromName in AclId.o
[ERROR] _Backend_setJavaSecurity in Backend.o
[ERROR] _initJavaSession in Backend.o
[ERROR] _appendPathParts in Backend.o
[ERROR] __Composite_getTupleDesc in Composite.o
[ERROR] _Exception_featureNotSupported in Exception.o
[ERROR] _Exception_throw in Exception.o
[ERROR] ...
[ERROR] "_errfinish", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1fromName in AclId.o
[ERROR] _Backend_setJavaSecurity in Backend.o
[ERROR] _initializeJavaVM in Backend.o
[ERROR] _initJavaSession in Backend.o
[ERROR] _appendPathParts in Backend.o
[ERROR] __Composite_getTupleDesc in Composite.o
[ERROR] __Composite_getSRFCollector in Composite.o
[ERROR] ...
[ERROR] "_errmsg", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1fromName in AclId.o
[ERROR] _Backend_setJavaSecurity in Backend.o
[ERROR] _initializeJavaVM in Backend.o
[ERROR] _initJavaSession in Backend.o
[ERROR] _appendPathParts in Backend.o
[ERROR] __Composite_getTupleDesc in Composite.o
[ERROR] __Composite_getSRFCollector in Composite.o
[ERROR] ...
[ERROR] "_error_context_stack", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1getUser in AclId.o
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1getSessionUser in AclId.o
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1fromName in AclId.o
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1getName in AclId.o
[ERROR] _internalCallHandler in Backend.o
[ERROR] _Java_org_postgresql_pljava_internal_Backend__1getConfigOption in Backend.o
[ERROR] _Java_org_postgresql_pljava_internal_Backend__1log in Backend.o
[ERROR] ...
[ERROR] "_errstart", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1fromName in AclId.o
[ERROR] _Backend_setJavaSecurity in Backend.o
[ERROR] _initializeJavaVM in Backend.o
[ERROR] _initJavaSession in Backend.o
[ERROR] _appendPathParts in Backend.o
[ERROR] __Composite_getTupleDesc in Composite.o
[ERROR] __Composite_getSRFCollector in Composite.o
[ERROR] ...
[ERROR] "_find_coercion_pathway", referenced from:
[ERROR] _Type_getCoerceIn in Type.o
[ERROR] _Type_getCoerceOut in Type.o
[ERROR] "_fmgr_info_cxt", referenced from:
[ERROR] __Coerce_create in Coerce.o
[ERROR] _String_create in String.o
[ERROR] "_format_type_be", referenced from:
[ERROR] _Type_getCoerceIn in Type.o
[ERROR] _Type_getCoerceOut in Type.o
[ERROR] "_get_call_result_type", referenced from:
[ERROR] __Composite_getTupleDesc in Composite.o
[ERROR] "_get_fn_expr_argtype", referenced from:
[ERROR] _Function_invoke in Function.o
[ERROR] "_get_fn_expr_rettype", referenced from:
[ERROR] _Function_invoke in Function.o
[ERROR] "_get_typlenbyvalalign", referenced from:
[ERROR] _TypeClass_allocInstance2 in Type.o
[ERROR] "_heap_copytuple", referenced from:
[ERROR] _TriggerData_getTriggerReturnTuple in TriggerData.o
[ERROR] _Tuple_internalCreate in Tuple.o
[ERROR] "_heap_formtuple", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_TupleDesc__1formTuple in TupleDesc.o
[ERROR] "_heap_freetuple", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Tuple__1free in Tuple.o
[ERROR] "_initStringInfo", referenced from:
[ERROR] _addUserJVMOptions in Backend.o
[ERROR] _getClassPath in Backend.o
[ERROR] _appendPathParts in Backend.o
[ERROR] _Exception_featureNotSupported in Exception.o
[ERROR] _Function_init in Function.o
[ERROR] _parseParameters in Function.o
[ERROR] _elogExceptionMessage in JNICalls.o
[ERROR] ...
[ERROR] "_init_MultiFuncCall", referenced from:
[ERROR] _Type_invokeSRF in Type.o
[ERROR] "_inv_close", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_LargeObject__1close in LargeObject.o
[ERROR] "_inv_create", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_LargeObject__1create in LargeObject.o
[ERROR] "_inv_drop", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_LargeObject__1drop in LargeObject.o
[ERROR] "_inv_open", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_LargeObject__1open in LargeObject.o
[ERROR] "_inv_read", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_LargeObject__1read in LargeObject.o
[ERROR] "_inv_seek", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_LargeObject__1length in LargeObject.o
[ERROR] _Java_org_postgresql_pljava_internal_LargeObject__1seek in LargeObject.o
[ERROR] "_inv_tell", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_LargeObject__1tell in LargeObject.o
[ERROR] "_inv_write", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_LargeObject__1write in LargeObject.o
[ERROR] "_log_min_messages", referenced from:
[ERROR] _printStacktrace in JNICalls.o
[ERROR] "_lookup_rowtype_tupdesc", referenced from:
[ERROR] _Composite_obtain in Composite.o
[ERROR] _HeapTupleHeader_getTupleDesc in HeapTupleHeader.o
[ERROR] "_lookup_rowtype_tupdesc_noerror", referenced from:
[ERROR] _Type_fromOid in Type.o
[ERROR] "_on_proc_exit", referenced from:
[ERROR] _initializeJavaVM in Backend.o
[ERROR] "_palloc", referenced from:
[ERROR] _Array_fromOid2 in Array.o
[ERROR] __Array_coerceObject in Array.o
[ERROR] _JVMOptList_init in Backend.o
[ERROR] _JVMOptList_add in Backend.o
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1prepare in ExecutionPlan.o
[ERROR] _coerceObjects in ExecutionPlan.o
[ERROR] _Function_invoke in Function.o
[ERROR] ...
[ERROR] "_palloc0", referenced from:
[ERROR] _createArrayType in Array.o
[ERROR] "_parseTypeString", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_Oid__1forTypeName in Oid.o
[ERROR] "_per_MultiFuncCall", referenced from:
[ERROR] _Type_invokeSRF in Type.o
[ERROR] "_pfree", referenced from:
[ERROR] __Array_coerceObject in Array.o
[ERROR] _Java_org_postgresql_pljava_internal_Backend__1getConfigOption in Backend.o
[ERROR] _Java_org_postgresql_pljava_internal_Backend__1log in Backend.o
[ERROR] _addUserJVMOptions in Backend.o
[ERROR] _getClassPath in Backend.o
[ERROR] _JVMOptList_add in Backend.o
[ERROR] _JVMOptList_delete in Backend.o
[ERROR] ...
[ERROR] "_pg_detoast_datum", referenced from:
[ERROR] __Array_coerceDatum in Array.o
[ERROR] __booleanArray_coerceDatum in Boolean.o
[ERROR] __byteArray_coerceDatum in Byte.o
[ERROR] __Composite_coerceDatum in Composite.o
[ERROR] __doubleArray_coerceDatum in Double.o
[ERROR] __floatArray_coerceDatum in Float.o
[ERROR] __intArray_coerceDatum in Integer.o
[ERROR] ...
[ERROR] "_pg_do_encoding_conversion", referenced from:
[ERROR] _String_createJavaStringFromNTS in String.o
[ERROR] _String_createNTS in String.o
[ERROR] _String_createJavaString in String.o
[ERROR] _String_createText in String.o
[ERROR] "_pg_localtime", referenced from:
[ERROR] _Timestamp_getTimeZone in Timestamp.o
[ERROR] "_pg_namespace_aclcheck", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1hasSchemaCreatePermission in AclId.o
[ERROR] "_pg_re_throw", referenced from:
[ERROR] _internalCallHandler in Backend.o
[ERROR] "_pg_usleep", referenced from:
[ERROR] _initializeJavaVM in Backend.o
[ERROR] _terminationTimeoutHandler in Backend.o
[ERROR] "_pq_begintypsend", referenced from:
[ERROR] _UDT_send in UDT.o
[ERROR] "_pq_copymsgbytes", referenced from:
[ERROR] _UDT_receive in UDT.o
[ERROR] "_pq_endtypsend", referenced from:
[ERROR] _UDT_send in UDT.o
[ERROR] "_proc_exit_inprogress", referenced from:
[ERROR] _pljavaStatementCancelHandler in Backend.o
[ERROR] _pljavaDieHandler in Backend.o
[ERROR] "_pstrdup", referenced from:
[ERROR] _JVMOptList_add in Backend.o
[ERROR] _getAS in Function.o
[ERROR] _UDT_input in UDT.o
[ERROR] _UDT_output in UDT.o
[ERROR] "_session_timezone", referenced from:
[ERROR] _Timestamp_getTimeZone in Timestamp.o
[ERROR] "_stack_base_ptr", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1cursorOpen in ExecutionPlan.o
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1execute in ExecutionPlan.o
[ERROR] _Java_org_postgresql_pljava_internal_ExecutionPlan__1prepare in ExecutionPlan.o
[ERROR] _Java_org_postgresql_pljava_internal_Portal__1fetch in Portal.o
[ERROR] _Java_org_postgresql_pljava_internal_Portal__1move in Portal.o
[ERROR] _Java_org_postgresql_pljava_internal_SPI__1exec in SPI.o
[ERROR] "_superuser_arg", referenced from:
[ERROR] _Java_org_postgresql_pljava_internal_AclId__1isSuperuser in AclId.o
[ERROR] "_textout", referenced from:
[ERROR] _getAS in Function.o
[ERROR] "_unknownrecv", referenced from:
[ERROR] _UDT_receive in UDT.o
[ERROR] "_unknownsend", referenced from:
[ERROR] _UDT_send in UDT.o
[ERROR] ld: symbol(s) not found for architecture x86_64
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.881 s
[INFO] Finished at: 2015-11-06T06:35:12+01:00
[INFO] Final Memory: 14M/228M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.1.0:nar-compile (default-nar-compile) on project pljava-so: NAR: Compile failed: g++ failed with return code 1 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.1.0:nar-compile (default-nar-compile) on project pljava-so: NAR: Compile failed
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: NAR: Compile failed
at com.github.maven_nar.NarCompileMojo.createLibrary(NarCompileMojo.java:437)
at com.github.maven_nar.NarCompileMojo.narExecute(NarCompileMojo.java:107)
at com.github.maven_nar.AbstractNarMojo.execute(AbstractNarMojo.java:329)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
Caused by: g++ failed with return code 1
at com.github.maven_nar.cpptasks.compiler.CommandLineLinker.link(CommandLineLinker.java:318)
at com.github.maven_nar.cpptasks.compiler.CommandLineLinkerConfiguration.link(CommandLineLinkerConfiguration.java:129)
at com.github.maven_nar.cpptasks.CCTask.execute(CCTask.java:952)
at com.github.maven_nar.NarCompileMojo.createLibrary(NarCompileMojo.java:433)
... 24 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Hi,

Regarding github attachments, what happened when you tried to attach the file? I wasn't aware of any permission problem. Was it the "something went really wrong and we can't process that file" message? I've reported that to github.

Would it be possible for you to edit your previous comment and add ``` at the top and the bottom? That would at least make it easier to read.

It's puzzling, the linker seems to be calling every symbol undefined, even the ones defined in PL/Java itself! [edit: ok, I see now that didn't happen, I misread the messages.] There is no normal explanation for that, there must be something not right about the compile or link options. I noticed in your first post, the postgres version string said it was 64-bit, but had i686 in the compiler name. Then in your pg_config output I saw that it was built with both -arch i386 and -arch x86_64. I know that kind of dual-architecture build can be done on Macs, but I am not a Mac dev myself and do not know the details. I can see the link command in the output you attached, but I cannot see the compile command; could you find that part of your output file and include it also?

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

This is the error I get when trying to attach a file

Attaching documents requires write permission to this repository.  Try again with a PNG, GIF, or JPG.

I've tried to markdown the log, but for some reason it doesn't seems to work.

And finally here you have the compile command

Starting Core 0 with 51 source files...
[DEBUG] gcc -Wno-sign-conversion -Wall -Wno-long-long -Wpointer-arith -Wconversion -arch x86_64 -c -fPIC -DPKGLIBDIR=/Library/PostgreSQL/9.4/lib/postgresql -DPGSQL_MAJOR_VER=9 -DPGSQL_MINOR_VER=4 -DPGSQL_PATCH_VER=4 -DDarwin -DGNU_GCC -I/Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/include/darwin -I/Library/PostgreSQL/9.4/include -I/Library/PostgreSQL/9.4/include/postgresql/server -I/Users/me/hopla/pljava/pljava/pljava-so/src/main/include -I/Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/AclId.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Any.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/BigDecimal.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Byte.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Coerce.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Composite.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Date.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/ErrorData.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Exception.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/ExecutionPlan.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Function.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/HashMap.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/HeapTupleHeader.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Invocation.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Iterator.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/JNICalls.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/JavaWrapper.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/LargeObject.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Oid.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/PgObject.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/PgSavepoint.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Portal.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Relation.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SPI.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SQLInputFromChunk.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SQLInputFromTuple.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SQLOutputToChunk.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SQLOutputToTuple.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Session.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/String.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SubXactListener.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Time.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Timestamp.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/TriggerData.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Tuple.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/TupleDesc.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/TupleTable.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Type.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/UDT.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Void.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/XactListener.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/backports.c /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/byte_array.c
[DEBUG] Execute:Java13CommandLauncher: Executing 'gcc' with arguments:
'-Wno-sign-conversion'
'-Wall'
'-Wno-long-long'
'-Wpointer-arith'
'-Wconversion'
'-arch'
'x86_64'
'-c'
'-fPIC'
'-DPKGLIBDIR=/Library/PostgreSQL/9.4/lib/postgresql'
'-DPGSQL_MAJOR_VER=9'
'-DPGSQL_MINOR_VER=4'
'-DPGSQL_PATCH_VER=4'
'-DDarwin'
'-DGNU_GCC'
'-I/Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include'
'-I/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/include'
'-I/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/include/darwin'
'-I/Library/PostgreSQL/9.4/include'
'-I/Library/PostgreSQL/9.4/include/postgresql/server'
'-I/Users/me/hopla/pljava/pljava/pljava-so/src/main/include'
'-I/Users/me/hopla/pljava/pljava/pljava-so/target/nar/javah-include'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/AclId.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Any.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Backend.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/BigDecimal.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Boolean.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Byte.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Coerce.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Composite.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Date.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Double.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/ErrorData.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Exception.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/ExecutionPlan.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Float.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Function.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/HashMap.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/HeapTupleHeader.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Integer.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Invocation.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Iterator.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/JNICalls.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/JavaWrapper.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/LargeObject.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Long.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Oid.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/PgObject.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/PgSavepoint.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Portal.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Relation.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SPI.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SQLInputFromChunk.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SQLInputFromTuple.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SQLOutputToChunk.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SQLOutputToTuple.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/Session.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Short.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/String.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/SubXactListener.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Time.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Timestamp.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/TriggerData.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Tuple.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/TupleDesc.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/TupleTable.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Type.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/UDT.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Void.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/XactListener.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/backports.c'
'/Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/byte_array.c'

The ' characters around the executable and arguments are
not part of the command.
[WARNING] /Users/me/hopla/pljava/pljava/pljava-so/src/main/c/type/Array.c:35:27: warning: implicit conversion changes signedness: 'jsize' (aka 'int') to 'unsigned long' [-Wsign-conversion]

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Hi,

I've asked on pljava-dev for anyone with more insight into Mac OS X build subtleties. I think I am near my own limits without an El Capitan machine to experiment on. If there ends up being a change needed in the pom.xml to solve the problem, I will be happy to make the change, but I am not sure how much I can help with finding out what is needed. Are there any colleagues with deep knowledge of OS X developer tools near you?

There does seem to be an otool command for examining compiled objects. Perhaps you could choose one of the objects resulting from compilation (I doubt it matters which one, so why not AclId.o?) and run:

otool  -fhv  -arch all  target/nar/obj/x86_64-MacOSX-gpp/AclId.o

and paste that output? (You might have to adjust if it doesn't like those exact options ... I'm just reading its man page on the web, I don't have it here.)

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

I hope this is what you want:


$otool -fhv -arch all AclId.o 
AclId.o:
Mach header
      magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
MH_MAGIC_64  X86_64        ALL  0x00      OBJECT     4        672 SUBSECTIONS_VIA_SYMBOLS

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Ok, I was being thrown by the verbosity of the linker messages ... really, the symbols it wasn't finding are just the ones in the lines that end referenced from:, and grepping those out and sorting them gives:

_AllocSetContextCreate                   _SPI_getbinval
_ArrayGetNItems                          _SPI_getnspname
_BeginInternalSubTransaction             _SPI_getrelname
_CopyErrorData                           _SPI_gettypeid
_CreateTupleDescCopy                     _SPI_is_cursor_plan
_CreateTupleDescCopyConstr               _SPI_modifytuple
_CurrentMemoryContext                    _SPI_prepare
_DatumGetFloat4                          _SPI_processed
_DatumGetFloat8                          _SPI_restore_connection
_DecrTupleDescRefCount                   _SPI_result
_DefineCustomBoolVariable                _SPI_result_code_string
_DefineCustomIntVariable                 _SPI_saveplan
_DefineCustomStringVariable              _SPI_tuptable
_DirectFunctionCall1Coll                 _SearchSysCache
_EmitWarningsOnPlaceholders              _SetUserIdAndContext
_ExecCopySlotTuple                       _SysCacheGetAttr
_Float4GetDatum                          _TopMemoryContext
_Float8GetDatum                          _UnregisterExprContextCallback
_FlushErrorState                         _UnregisterSubXactCallback
_FreeErrorData                           _UnregisterXactCallback
_FreeTupleDesc                           _appendBinaryStringInfo
_FunctionCall1Coll                       _appendStringInfo
_FunctionCall3Coll                       _appendStringInfoChar
_GetAttributeByNum                       _appendStringInfoString
_GetConfigOption                         _bytearecv
_GetCurrentAbsoluteTime                  _byteasend
_GetCurrentSubTransactionId              _client_min_messages
_GetCurrentTransactionNestLevel          _construct_md_array
_GetDatabaseEncoding                     _disable_timeout
_GetMemoryChunkContext                   _elog_finish
_GetSessionUserId                        _elog_start
_GetUserId                               _end_MultiFuncCall
_GetUserNameFromId                       _enlargeStringInfo
_HeapTupleHeaderGetDatum                 _errcode
_InitializeTimeouts                      _errfinish
_InterruptPending                        _errmsg
_MemoryContextAlloc                      _error_context_stack
_MemoryContextDelete                     _errstart
_MemoryContextReset                      _find_coercion_pathway
_MemoryContextStrdup                     _fmgr_info_cxt
_MyProcPid                               _format_type_be
_PG_exception_stack                      _get_call_result_type
_ProcDiePending                          _get_fn_expr_argtype
_QueryCancelPending                      _get_fn_expr_rettype
_ReThrowError                            _get_typlenbyvalalign
_RegisterExprContextCallback             _heap_copytuple
_RegisterSubXactCallback                 _heap_formtuple
_RegisterTimeout                         _heap_freetuple
_RegisterXactCallback                    _initStringInfo
_ReleaseCurrentSubTransaction            _init_MultiFuncCall
_ReleaseSysCache                         _inv_close
_RollbackAndReleaseCurrentSubTransaction _inv_create
_SPI_connect                             _inv_drop
_SPI_cursor_close                        _inv_open
_SPI_cursor_fetch                        _inv_read
_SPI_cursor_move                         _inv_seek
_SPI_cursor_open                         _inv_tell
_SPI_exec                                _inv_write
_SPI_execute_plan                        _log_min_messages
_SPI_finish                              _lookup_rowtype_tupdesc
_SPI_fname                               _lookup_rowtype_tupdesc_noerror
_SPI_fnumber                             _on_proc_exit
_SPI_freeplan                            _palloc
_SPI_freetuptable                        _palloc0
_SPI_getargcount                         _parseTypeString
_SPI_getargtypeid                        _per_MultiFuncCall
_pfree                                   _pq_endtypsend
_pg_detoast_datum                        _proc_exit_inprogress
_pg_do_encoding_conversion               _pstrdup
_pg_localtime                            _session_timezone
_pg_namespace_aclcheck                   _stack_base_ptr
_pg_re_throw                             _superuser_arg
_pg_usleep                               _textout
_pq_begintypsend                         _unknownrecv
_pq_copymsgbytes                         _unknownsend

... in other words, pretty much everything that ought to be found in PostgreSQL itself, that the linker doesn't have to find now, but should just leave as undefined in the dylib file it is building, so they will be matched up in PostgreSQL later when the dylib is loaded. (That's what the linux linker does when I build it; readelf (the linux answer to otool) just shows all those symbols listed inside the final .so file as undefined.)

So the question becomes: what is making the Mac linker think it has to resolve all of those symbols at link time? Does the link command need some other option to allow things to be undefined? Do the symbols all need some extra magic declaration besides extern?

Hmm...

from pljava.

jcflack avatar jcflack commented on July 19, 2024

If you pull down the branch bug/master/issue63 and repeat the mvn -Pwnosign -Dnar.cores=1 clean compile does it (a) work, or (b) give you different messages in any way?

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

Hi.

Done, but the same issue arises (i guess)


$git branch
* bug/master/issue63
  master
$

...

[ERROR]       _UDT_send in UDT.o
[ERROR] ld: symbol(s) not found for architecture x86_64
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] PostgreSQL PL/Java ................................. SUCCESS [  0.121 s]
[INFO] PL/Java API ........................................ SUCCESS [  1.756 s]
[INFO] PL/Java backend Java code .......................... SUCCESS [  1.840 s]
[INFO] PL/Java backend native code ........................ FAILURE [ 10.841 s]
[INFO] PL/Java Deploy ..................................... SKIPPED
[INFO] PL/Java Ant tasks .................................. SKIPPED
[INFO] PL/Java examples ................................... SKIPPED
[INFO] PL/Java packaging .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.689 s
[INFO] Finished at: 2015-11-07T23:24:42+01:00
[INFO] Final Memory: 24M/230M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.1.0:nar-compile (default-nar-compile) on project pljava-so: NAR: Compile failed: g++ failed with return code 1 -> [Help 1]
[ERROR] 


``

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Ok, it didn't Just Work™. :) Could you show the output of ls /Library/PostgreSQL/9.4/bin ?

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

Sure

bash-3.2# ls -l
total 48200
-rwxr-xr-x  1 root  daemon    142456 13 jul 07:36 clusterdb
-rwxr-xr-x  1 root  daemon    142424 13 jul 07:36 createdb
-rwxr-xr-x  1 root  daemon    167284 13 jul 07:36 createlang
-rwxr-xr-x  1 root  daemon    146600 13 jul 07:36 createuser
-rwxr-xr-x  1 root  daemon    133864 13 jul 07:36 dropdb
-rwxr-xr-x  1 root  daemon    167220 13 jul 07:36 droplang
-rwxr-xr-x  1 root  daemon    133864 13 jul 07:36 dropuser
-rwxr-xr-x  1 root  daemon   1775104 13 jul 07:26 ecpg
-rwxr-xr-x  1 root  daemon    262024 13 jul 07:26 initdb
-rwxr-xr-x  1 root  daemon     71884 13 jul 07:36 oid2name
-rwxr-xr-x  1 root  daemon     54000 13 jul 07:27 pg_archivecleanup
-rwxr-xr-x  1 root  daemon    194576 13 jul 07:36 pg_basebackup
-rwxr-xr-x  1 root  daemon     80440 13 jul 07:26 pg_config
-rwxr-xr-x  1 root  daemon     79776 13 jul 07:26 pg_controldata
-rwxr-xr-x  1 root  daemon    115344 13 jul 07:36 pg_ctl
-rwxr-xr-x  1 root  daemon    946320 13 jul 07:36 pg_dump
-rwxr-xr-x  1 root  daemon    200456 13 jul 07:36 pg_dumpall
-rwxr-xr-x  1 root  daemon     81572 13 jul 07:36 pg_isready
-rwxr-xr-x  1 root  daemon    125228 13 jul 07:36 pg_receivexlog
-rwxr-xr-x  1 root  daemon    142364 13 jul 07:36 pg_recvlogical
-rwxr-xr-x  1 root  daemon    101768 13 jul 07:26 pg_resetxlog
-rwxr-xr-x  1 root  daemon    390672 13 jul 07:36 pg_restore
-rwxr-xr-x  1 root  daemon     71832 13 jul 07:27 pg_standby
-rwxr-xr-x  1 root  daemon     62580 13 jul 07:27 pg_test_fsync
-rwxr-xr-x  1 root  daemon     49208 13 jul 07:27 pg_test_timing
-rwxr-xr-x  1 root  daemon    290600 13 jul 07:36 pg_upgrade
-rwxr-xr-x  1 root  daemon    152776 13 jul 07:27 pg_xlogdump
-rwxr-xr-x  1 root  daemon    175480 13 jul 07:36 pgbench
-rwxr-xr-x  1 root  daemon      2213 13 jul 07:26 pltcl_delmod
-rwxr-xr-x  1 root  daemon      2363 13 jul 07:26 pltcl_listmod
-rwxr-xr-x  1 root  daemon     11441 13 jul 07:26 pltcl_loadmod
-rwxr-xr-x  1 root  daemon  16684540 13 jul 07:36 postgres
lrwxr-xr-x  1 root  daemon         8 23 sep 14:26 postmaster -> postgres
-rwxr-xr-x  1 root  daemon   1093048 13 jul 07:36 psql
-rwxr-xr-x  1 root  daemon    142528 13 jul 07:36 reindexdb
-rwxr-xr-x  1 root  daemon    150744 13 jul 07:36 vacuumdb
-rwxr-xr-x  1 root  daemon     71064 13 jul 07:36 vacuumlo

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Ok, could you do a fresh pull from bug/master/issue63 and see what it does this time?

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

Congratulations, It worked!!!

What was the problem?

[INFO] ------------------------------------------------------------------------
[INFO] Building PL/Java packaging 0.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ packaging ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] PostgreSQL PL/Java ................................. SUCCESS [  0.130 s]
[INFO] PL/Java API ........................................ SUCCESS [  1.788 s]
[INFO] PL/Java backend Java code .......................... SUCCESS [  1.952 s]
[INFO] PL/Java backend native code ........................ SUCCESS [ 13.254 s]
[INFO] PL/Java Deploy ..................................... SUCCESS [  0.061 s]
[INFO] PL/Java Ant tasks .................................. SUCCESS [  3.305 s]
[INFO] PL/Java examples ................................... SUCCESS [  0.490 s]
[INFO] PL/Java packaging .................................. SUCCESS [  0.009 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.310 s
[INFO] Finished at: 2015-11-08T08:39:17+01:00
[INFO] Final Memory: 28M/226M
[INFO] ------------------------------------------------------------------------

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Well then, not bad for one hand tied behind my back. :)

So PL/Java makes a dynamically-loadable library. The PostgreSQL backend is supposed to find it and load it, and link it into the backend process, matching up the various symbols with their addresses.

We build with Maven (specifically, the native part is built with the nar-maven-plugin), and it offers various choices for the type of the library it is to build. Two of the choices are shared and plugin.

It turns out on most operating systems other than Mac OS X, it doesn't matter which of those two is chosen, because nar-maven-plugin will use the same commands and build the same object (an .so or .dll) in either case. The choice in the PL/Java pom happened to be shared. But on Mac OS X, it makes a difference.

In that world, a shared library is one that simply has some symbols in it that a program wants to be able to call, so the program will link to the library and call those things. Most typical libraries are like that.

What Maven calls a plugin (OS X calls it a bundle) is a shared object that not only has some symbols in it that can be called by the program that loads it, it also expects certain symbols to be in the program that loads it, so it can make calls back into that program. Of course, that's the right category for PL/Java: PostgreSQL calls into it, but PL/Java also can call back into PostgreSQL (and make SPI queries, and so on).

So, being a plugin, PL/Java's shared object refers to a lot of symbols that it doesn't define—it isn't possible to resolve them until PostgreSQL loads it, and then they get matched up to their definitions inside PostgreSQL. Inside the shared object, all those symbols are just shown as undefined.

A typical Unix or Linux linker doesn't worry about that. It sees a bunch of symbols it can't resolve at link time, it knows it's building a shared object, it thinks "ok, those will probably all match up to things inside whatever program loads it" and it leaves them as undefined and doesn't complain about it.

But the OS X linker didn't want to see any undefined symbols in what it was building, because it thought it was building a shared library, not a plugin (or bundle)—one that isn't supposed to have any references back into the thing that loads it. So the linker saw all of those names for symbols inside of PostgreSQL, and just called them all "symbol(s) not found".

So the first thing I had to do was change the type in the pom from shared to plugin. That was the first try, but you still got the "symbol(s) not found" error, because it turns out that even for a plugin, the OS X linker is more cautious than others. Where a Linux linker is happy to just leave all your undefined symbols alone and assume they will all match up when it gets loaded, the OS X linker actually wants to be told what program is going to load this plugin, so it can look there and make sure all the stray symbols are really defined in it. That's done by giving the linker the -bundle_loader option and the name of the program (postgres of course) that is expected to load the bundle.

Phew!

Now, you might run into a couple more small problems. If you are following the install instructions on the wiki, it turns out that changing Maven's idea of the library type from shared to plugin also changes the directory path where the built library ends up. In Bear Giles's example on the wiki, it was originally

pljava-so/target/nar/pljava-so-0.0.2-SNAPSHOT-i386-Linux-gpp-shared/lib/i386-Linux-gpp/shared/libpljava-so-0.0.2-SNAPSHOT.so

but for you the word shared (in both places) will instead be plugin, and also the extension of the file name will be .bundle. (Also of course i386-Linux-gpp will be replaced for with the equivalent string for your arch, os, and linker.)

Also, a shared object would normally have the extension .dylib on a Mac, but a plugin's extension is .bundle, so if you are following any instructions that say .dylib, just remember to change that.

from pljava.

jcflack avatar jcflack commented on July 19, 2024

for the morbidly curious ... it seems that Apple helpfully offers no nice online htmlized version of its linker manual page that I can find (why would you want one, you should just have a Mac, right?). There are a couple non-Apple sites with various versions up. To have it straight from the source, download it as *roff source from here and view it with nroff -man ld.1 | less. Of course if you do have a Mac, that's just man ld.

They do have an informative article on loading code that can be viewed online.

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Daniel,

Just following up ... after getting a successful compile, has the rest of the installation gone smoothly, and are you at the point of writing and using PL/Java functions now? Any rough spots?

Also, is it possible that over the next week or so, I could ask you the favor of test-compiling a few more git branches I am working on? Since you already have the git working tree checked out, it shouldn't take any more time than pulling down the branches and 22.3 seconds of Maven time, but it would be really helpful to me to be sure that I haven't broken the Mac build with any of the changes I'm working on—I'm not able to test it myself, and the project doesn't have any CI build arrangements set up yet.

Thanks,
-Chap

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

I’ll start over on Thursday. If everything goes smoothly I'll start developing on mac, linux and windows. I’ll let you know how things are going.

Of course I can help you, just let me know what you want to test and I’ll do it.

Thanks a Lot, Flack.

El 9 nov 2015, a las 0:09, Chapman Flack [email protected] escribió:

Daniel,

Just following up ... after getting a successful compile, has the rest of the installation gone smoothly, and are you at the point of writing and using PL/Java functions now? Any rough spots?

Also, is it possible that over the next week or so, I could ask you the favor of test-compiling a few more git branches I am working on? Since you already have the git working tree checked out, it shouldn't take any more time than pulling down the branches and 22.3 seconds of Maven time, but it would be really helpful to me to be sure that I haven't broken the Mac build with any of the changes I'm working on—I'm not able to test it myself, and the project doesn't have any CI build arrangements set up yet.

Thanks,
-Chap


Reply to this email directly or view it on GitHub #63 (comment).

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

No success, these are the steps I've taken to set pl/java up:

1- find the plugin

$pwd
/Users/me/hopla/pljava/pljava/pljava-so/target/nar/pljava-so-0.0.2-SNAPSHOT-x86_64-MacOSX-gpp-plugin/lib/x86_64-MacOSX-gpp/plugin

$ls 
history.xml6104080989088507391446968503101651000
history.xml6698120345465170651447133328770085000
history.xml89067556049884727091446968351918097000
libpljava-so-0.0.2-SNAPSHOT.bundle

2- Copy it to $PG_PATH/lib

$sudo cp libpljava-so-0.0.2-SNAPSHOT.bundle /Library/PostgreSQL/9.4/lib/

3- Modify postgres.confg

#------------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#------------------------------------------------------------------------------

# Add settings for extensions here

# PL/Java settings
#custom_variable_classes = 'pljava' <- unrecongnized option
pljava.classpath = '/Users/me/hopla/pljava/pljava/pljava/target/pljava-0.0.2-SNAPSHOT.jar'

4- Find Deployer and run it

$java -jar pljava-deploy-0.0.2-SNAPSHOT.jar -install -database test -user postgres -password postgres
java.lang.ClassNotFoundException: org.postgresql.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:191)
    at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:244)
$pwd
/Users/me/hopla/pljava/pljava/pljava-deploy/target

The instructions are a bit hard to follow or I'm to dumb to understand them

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Daniel,

I am actually working (right now...) on a branch that should make a lot
of things easier. You mentioned you would be getting back to it on
Thursday, so I thought I had a little more time. :) You could end up
being one of the first testers.

If you absolutely can't wait, I think your error from Deployer is just
because it needs the PostgreSQL JDBC Driver, and maybe you haven't
downloaded that, or you didn't put it on the classpath for that command.
But I pretty much never fuss with Deployer (for exactly that reason) ...
I open up psql, and just tell it to include the pljava/src/sql/install.sql
file, which does all the same stuff Deployer does, plus it's plain SQL and
you can read it. :)

But if you can wait maybe a couple more days, I might be able to offer you
something even easier than that....

-Chap

On 11/10/15 01:25, dblanch-at-hoplasoftware wrote:

No success, these are the steps I've taken to set pl/java up:

  1. find the plugin
$pwd
/Users/me/hopla/pljava/pljava/pljava-so/target/nar/pljava-so-0.0.2-SNAPSHOT-x86_64-MacOSX-gpp-plugin/lib/x86_64-MacOSX-gpp/plugin

$ls 
history.xml6104080989088507391446968503101651000
history.xml6698120345465170651447133328770085000
history.xml89067556049884727091446968351918097000
libpljava-so-0.0.2-SNAPSHOT.bundle
  1. Copy it to $PG_PATH/lib
$sudo cp libpljava-so-0.0.2-SNAPSHOT.bundle /Library/PostgreSQL/9.4/lib/
  1. Modify postgres.confg
#------------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#------------------------------------------------------------------------------

# Add settings for extensions here

# PL/Java settings
#custom_variable_classes = 'pljava' <- unrecongnized option
pljava.classpath = '/Users/danielblanchbataller/hopla/pljava/pljava/pljava/target/pljava-0.0.2-SNAPSHOT.jar'
  1. Find Deployer and run it
$java -jar pljava-deploy-0.0.2-SNAPSHOT.jar -install -database test -user postgres -password postgres
java.lang.ClassNotFoundException: org.postgresql.Driver
  at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:191)
  at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:244)
$pwd
/Users/danielblanchbataller/hopla/pljava/pljava/pljava-deploy/target

The instructions are a bit hard to follow or I'm to dumb to understand them


Reply to this email directly or view it on GitHub:
#63 (comment)

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

Ok, I thought Tuesday but ended up writing Thursday :), my mistake. I'll give it a couple of more tries on my own, but I can wait until Thursday, thanks a lot.

from pljava.

jcflack avatar jcflack commented on July 19, 2024

If you have an extra moment between now and Thursday, you could test a branch of mine for successful compiling (this is not the branch I wrote about an hour ago, but it would help me to know if it works for you).

You would have to start with the bug/master/issue63 branch you have now, and merge this one in (probably wise to start a new branch first):

git checkout -b experimental
git remote add jcflack [email protected]:jcflack/pljava
git pull jcflack simplify/master/libdirmacro

That should create a merge commit for you that has both the issue63 fix and my libdirmacro branch, and you could then do a test compile.

I'll keep working on the branch for simplifying deployment.

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

Hi Flack,

It seems I don’t have the permissions to download the branch


Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

El 10 nov 2015, a las 8:54, Chapman Flack [email protected] escribió:

git pull jcflack simplify/master/libdirmacro

from pljava.

jcflack avatar jcflack commented on July 19, 2024

On 11/10/2015 06:02 AM, dblanch-at-hoplasoftware wrote:

Hi Flack,

It seems I don’t have the permissions to download the branch

Sorry, I think I gave you the 'authenticated' url instead of the
anonymous one ...

It isn't really about permissions - the 'authenticated' url only
checks that you have your own github account, which it looks
like you have - but it checks using an ssh key, which you might
not have set up.

You could try changing the url I gave you to the anonymous one
that is shown if you haven't logged in:

git remote set-url jcflack https://github.com/jcflack/pljava.git

I'm not certain whether git works using the anonymous URL for
'remote' and 'pull', or only for 'clone'. So if it refuses to
work the easy way, you could definitely clone from the https:
url (giving a different local directory on your machine so as
not to clobber your copy from tada), and then go back to your
tada working copy and say

git remote set-url jcflack file:///wherever/you/cloned/it

and then do the pull command ... which of course would all have
been about six times as much work as the actual test compile ...
sorry about that.

-Chap

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

Hi Flack

To me it seems it works

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] PostgreSQL PL/Java ................................. SUCCESS [  1.635 s]
[INFO] PL/Java API ........................................ SUCCESS [  2.581 s]
[INFO] PL/Java backend Java code .......................... SUCCESS [  3.098 s]
[INFO] PL/Java backend native code ........................ SUCCESS [ 16.137 s]
[INFO] PL/Java Deploy ..................................... SUCCESS [  0.382 s]
[INFO] PL/Java Ant tasks .................................. SUCCESS [  0.126 s]
[INFO] PL/Java examples ................................... SUCCESS [  1.171 s]
[INFO] PL/Java packaging .................................. SUCCESS [  1.020 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.488 s
[INFO] Finished at: 2015-11-11T06:00:57+01:00
[INFO] Final Memory: 35M/430M
[INFO] ------------------------------------------------------------------------
$

I hope I did what you wanted

$git branch
  bug/master/issue63
* experimental
  master
$git log
commit 8edfeb6e98858d69be25e110d9a12198ea270332
Merge: d49f986 9f674c5
Author: ....
Date:   Wed Nov 11 05:59:43 2015 +0100

    Merge branch 'simplify/master/libdirmacro' of https://github.com/jcflack/pljava into experimental

On the other hand I'm trying to compile on a centos 6.5 downloading postgres 9.4 from yum but It doesn't compile neither. It started complaining about /$PG_PATH/include, I installed the devel packages and from there I got a nullpointer exception.
:(

Thanks Flack.

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Thank you for trying that. I am glad to know that branch compiles.

Now, as for your Centos box, what git branch are you trying to compile? The current tada/pljava master, or the bug/master/issue63 branch, or the experimental one with my change merged in?

Ideally all 3 should work. :) But if something is going wrong, it is always good to know what the version is.

You definitely do need the postgresql devel (and postgresql server devel, if they are different) packages installed, so that was one problem and I think you fixed it. But where is the null pointer exception coming from?

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

El 11 nov 2015, a las 6:19, Chapman Flack [email protected] escribió:

Thank you for trying that. I am glad to know that branch compiles.

Now, as for your Centos box, what git branch are you trying to compile? The current tada/pljava master, or the bug/master/issue63 branch, or the experimental one with my change merged in?

master

Ideally all 3 should work. :) But if something is going wrong, it is always good to know what the version is.

You definitely do need the postgresql devel (and postgresql server devel, if they are different) packages installed, so that was one problem and I think you fixed it. But where is the null pointer exception coming from?

I’ll repeat all steps and show you the output, maybe it’s a good idea to open another thread for this issue. isn’t it?


Reply to this email directly or view it on GitHub #63 (comment).

from pljava.

jcflack avatar jcflack commented on July 19, 2024

A separate issue is ok. To keep it from getting too long, maybe to start you could just post the pg_config output, and some of the build output around and including the exception traceback....

from pljava.

Darsstar avatar Darsstar commented on July 19, 2024

bug/master/isue63 builds on my 10.11.1 machine too.

I then started following the instructions over at https://github.com/tada/pljava/wiki/Installing-as-extension
I used http://brew.sh to install postgresql.
So I copied the .bundle to /usr/local/Cellar/postgresql/9.4.5_2/lib/postgresql/pljava.so. Yes, I renamed it to .so, .bundle and .dylib did not work
The jar and installation script I copied to /usr/local/Cellar/postgresql/9.4.5_2/share/postgresql/extension/, the pljava.control is also there.
pljava.classpath = '/usr/local/Cellar/postgresql/9.4.5_2/share/postgresql/extension/pljava-1.4.4.jar' was added to /usr/local/var/postgres/postgresql.conf (without this it segfaults when you try to install a jar because it can't find the Backend class)

At that point when I tried to install the extension I got a popup about needing to install Java 6 (java used to be bundled with the OS untill Lion I think, Oracle does java 7+ for mac, Apple is responsible for 6... It doesn't come with the OS anymore.)
I already had JDK 8.66 installed by the way. So postgresql managed to find some stub jvm dylib?
After googling a bit I came across https://oliverdowling.com.au/2015/10/09/oracles-jdk-8-on-mac-os-x-el-capitan/
Once I followed those instructions I was able to install the extension. The sqlj schema got created, as well as functions.

But when I try try to run the examples we go off the happy path =[
ERROR: java.sql.SQLException: Failed to refetch row in sqlj.jar_entry
All tables are empty, even though insert statements should have happened at that point.

from pljava.

jcflack avatar jcflack commented on July 19, 2024

I renamed it to .so, .bundle and .dylib did not work

I believe .bundle will work if you spell out the file name explicitly, but probably the extension script on that wiki page does not. The work on issue #9 is going to produce a pull request pretty soon (this week, maybe) that changes and simplifies a lot of this, and will also have new documentation.

pljava.classpath ... without this it segfaults when you try to install a jar because it can't find the Backend class

Right, sorry, that's issue #61, also will be fixed by the upcoming pull request.

I got a popup about needing to install Java 6 ... Oracle does java 7+ for mac ... already had JDK 8.66 installed

Which one did you use to build PL/Java (mvn -v should show you, assuming the environment is the same as when you did the build)? And which one is being found by PL/Java at run time?

If you start a new session and just run select sqlj.get_classpath('public'); what happens?

from pljava.

Darsstar avatar Darsstar commented on July 19, 2024

I only have java 8 update 66 installed. OS X comes with a stub JVM that creates a popup window (telling the user java 6 is not installed) and then exits as far as I can tell. Oracle's Java installation tells the OS it is only capable of being used in CommandLine context, those instructions I followed add JNI and BundledApp to the list. Those segfaults also mentioned java 8 btw. (Yes, mvn -v also shows Java 8 update 66)
Summary: I am 100% sure I only have Java 8 installed as a working JVM. On OS X the Oracle Java installations need to be tweaked before PL/Java is able to them.

select sqlj.get_classpath('public'); returns NULL

from pljava.

dblanch-at-hoplasoftware avatar dblanch-at-hoplasoftware commented on July 19, 2024

I downloaded an apple java 6 version for El Capitan here, It’s maintained by Apple, not oracle.

https://support.apple.com/kb/DL1572

I hope it helps,

Daniel

El 18 nov 2015, a las 20:42, Dos Moonen [email protected] escribió:

I only have java 8 update 66 installed. OS X comes with a stub JVM that creates a popup window (telling the user java 6 is not installed) and then exits as far as I can tell. Oracle's Java installation tells the OS it is only capable of being used in CommandLine context, those instructions I followed add JNI and BundledApp to the list. Those segfaults also mentioned java 8 btw. (Yes, mvn -v also shows Java 8 update 66)
Summary: I am 100% sure I only have Java 8 installed as a working JVM. On OS X the Oracle Java installations need to be tweaked before PL/Java is able to them.

select sqlj.get_classpath('public'); returns NULL


Reply to this email directly or view it on GitHub #63 (comment).

from pljava.

Darsstar avatar Darsstar commented on July 19, 2024

Thank you, Daniel, but I don't want java 6. Not unless I need it, which I don't believe I do. OS X just complains about java 6 because that is the last version maintained by Apple. Apple doesn't ship a full fledged JRE, but a stub that complains that you should install a full fledged JRE before trying to do what you just did again.
I was just trying to be thorough and document how to use java 7 or higher.

Anyway, I think I am going play around and run the insert statements myself and see what happens. Wish me luck!

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Hi,

Have you checked in the server error log for any other information near or just before the ERROR: java.sql.SQLException: Failed to refetch row in sqlj.jar_entry line that you reported?

If you found none, could you try again after SET log_min_messages TO debug5; ?

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Hi @Darsstar, have you made any further progress with this? Was there any possibly-related log information near that error you reported?

Could you report the exact SQL command you used when that error was produced? Were you loading the supplied pljava-examples-0.0.2-SNAPSHOT.jar, or a different set of examples.

Could you attach the output of jar tf on that jar file?

from pljava.

Darsstar avatar Darsstar commented on July 19, 2024

Hi.

I just started postgres, executed SET log_min_messages TO debug5; followed by SELECT sqlj.install_jar('file:///Volumes/Data/pljava/pljava-examples/target/pljava-examples-0.0.2-SNAPSHOT.jar', 'samples', true); and it all worked this time...

Maybe I should have rebooted by machine when I was trying the first time? I don't know... I did stop and start postgresql plenty of times, so that wasn't it.

PS. When sql.install_jar() failed public.getsysprop('os.name') was working just fine.

from pljava.

jcflack avatar jcflack commented on July 19, 2024

Daniel has just tested a fresh El Capitan install with PG 9.4 and Oracle JDK 1.8.0_65 freshly installed and the work-in-progress new installation branch started up cleanly, no .plist editing or other messing around. So that's good news; as soon as that branch is ready to merge, this issue will be resolved.

from pljava.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.