Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When compiling JDBC_FDW for postgreSQL #377

Closed
TyrfingMjolnir opened this issue Jun 9, 2016 · 2 comments
Closed

When compiling JDBC_FDW for postgreSQL #377

TyrfingMjolnir opened this issue Jun 9, 2016 · 2 comments
Assignees

Comments

@TyrfingMjolnir
Copy link

TyrfingMjolnir commented Jun 9, 2016

There is the following issue:
/opt/local/bin/bsdinstall -c -o pbulk -g pbulk -m 755 jdbc_fdw.so '/opt/local/lib/postgresql/jdbc_fdw.so'
bsdinstall: unknown group pbulk

Full

PATH=/usr/lib/postgresql/9.5/bin/:$PATH make USE_PGXS=1 install

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -pipe -O2 -I/opt/local/include -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -shared -o jdbc_fdw.so jdbc_fdw.o -L/opt/local/lib -L/opt/local/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.4 -Wl,-R/opt/local/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.4 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R'/opt/local/lib' -ljvm
javac -d /opt/local/lib/postgresql JDBCUtils.java JDBCDriverLoader.java
/bin/sh /opt/local/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -d '/opt/local/lib/postgresql'
/bin/sh /opt/local/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -d '/opt/local/share/postgresql/extension'
/bin/sh /opt/local/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -d '/opt/local/share/postgresql/extension'
/opt/local/bin/bsdinstall -c -o pbulk -g pbulk -m 755 jdbc_fdw.so '/opt/local/lib/postgresql/jdbc_fdw.so'
bsdinstall: unknown group pbulk
/opt/local/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.shlib:501: recipe for target 'install-lib-shared' failed
make: *** [install-lib-shared] Error 1

I got by this by doing: # groupadd pbulk;useradd pbulk

@mamash mamash self-assigned this Jun 10, 2016
@mamash
Copy link

mamash commented Jun 10, 2016

This is related to TritonDataCenter/pkgsrc#365. In essence, PostgreSQL's configure determines the right tool and invocation to install a shared object, and then uses this command to install itself (which is what happens when we build out a binary PostgreSQL package on our cluster, and it's correct), but also embeds this command in the Makefiles that it ships with itself that serve for other (possibly 3rd party) software installation.

The latter is wrong, because the installation tool and situation might differ significantly between the package build system and the dev/production system where the binary package is installed.

I'm trying to figure out a best way out of this.

@mamash
Copy link

mamash commented Jun 15, 2016

I committed a workaround for this to pkgsrc trunk today. The 2016Q2 package set will have this fixed.

@mamash mamash closed this as completed Jun 15, 2016
jsonn referenced this issue in jsonn/pkgsrc Jun 15, 2016
into the binary packages. Fixes problems with building software
manually against binary postgresql*-client packages built under an
unprivileged setup. Bump respective PKGREVISION.

See TritonDataCenter/pkgsrc#377
mamash referenced this issue Sep 7, 2016
into the binary packages. Fixes problems with building software
manually against binary postgresql*-client packages built under an
unprivileged setup. Bump respective PKGREVISION.

See TritonDataCenter/pkgsrc#377
mamash referenced this issue Oct 10, 2016
into the binary packages. Fixes problems with building software
manually against binary postgresql*-client packages built under an
unprivileged setup. Bump respective PKGREVISION.

See TritonDataCenter/pkgsrc#377
jperkin pushed a commit that referenced this issue Oct 22, 2016
Restrict to ruby22 and ruby23.

v3.1.5

Bugfixes

    * #394 prevent crashes when Listen is stopped too soon (e.g. before
      being started or initialized)


v3.1.4

Bugfixes

    * #393 - relaxed rb-fsevent dependency to allow install on older OSX
      releases (thanks to @robmckinnon)


v3.1.3

Bug fixes

    * #387 - fix JRuby support both in dependencies (by allowing Ruby 2.2.3)
      and behavior (JRuby Dir.entries workaround)
    * #387 - prevent JRuby from hanging when stopping on Linux (and Travis)
    * #387 - activate JRuby-9.0.5.0 on Travis to declare support for JRuby
      (tests are flaky, but that's due to timing issues)


v3.1.2

Security enhancements

    * #377 require at least Ruby 2.2.4 to avoid CVE-2015-7551 (see
      https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-2-4-released/)

Bugfixes

    * #383 allow stopping when not fully initialized (fixes guard/guard#822
      (comment))

Improvements

    * #378 warn users if their Ruby is buggy or vulnerable (controversial to
      some, but very extensively justified)

Development

    * #377 use ruby_dep for managing ruby requirements
    * #379 make RuboCop pass (thanks to @jvanbaarsen)
    * #384 avoid rubygems duplicate dependency error (gem given in both
      runtime and development dependencies)


v3.1.1

Bugfixes

    * #373 explicitly require forwardable for delegation (fixes #372)


v3.1.0

Bugfixes

    * #370 - gracefully fallback to polling on old older unsupported OSX
      versions (thanks to @vaz)

Improvements

    * #371 - update dependency to Ruby 2.2.x since 2.1 and earlier are EOL
      (minor version bumped to 3.1 in case backporting is needed)

Development

    * #371 - fix all RuboCop offenses to avoid noise during development
jperkin pushed a commit that referenced this issue Jan 23, 2017
Changelog:
[[v1.7]]
== Version 1.7 (2017-01-15)

New features::

  * core: add option weechat.look.align_multiline_words (issue #411, issue #802)
  * core: add optional command prefix in completion templates "commands", "plugins_commands" and "weechat_commands"
  * core: add optional arguments in completion template, sent to the callback
  * core: add option "time" in command /debug
  * api: add info "uptime" (WeeChat uptime)
  * api: add info "pid" (WeeChat PID) (issue #850)
  * fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (issue #850)
  * irc: add server option "usermode" (issue #377, issue #820)
  * irc: add tag "self_msg" on self messages (issue #840)

Improvements::

  * core, xfer: display more information on fork errors (issue #573)
  * core: add a slash before commands completed in arguments of /command, /debug time, /key bind, /key bindctxt, /mute, /repeat, /wait
  * core: add a warning in header of configuration files to not edit by hand (issue #851)
  * alias: add a slash before commands completed in arguments of /alias
  * exec: add option "-oc" in command /exec to execute commands in process output, don't execute commands by default with "-o" (issue #877)
  * irc: evaluate content of server option "ssl_fingerprint" (issue #858)
  * irc: change default value of option irc.network.lag_reconnect from 0 to 300 (issue #818)
  * trigger: do not hide email in command "/msg nickserv register password email" (issue #849)

Bug fixes::

  * core: fix deadlock when quitting after a signal SIGHUP/SIGQUIT/SIGTERM is received (issue #32)
  * core: fix display of empty lines in search mode (issue #829)
  * api: fix crash in function string_expand_home() when the HOME environment variable is not set (issue #827)
  * exec: fix memory leak in display of process output
  * irc: fix option "-temp" in command /server (issue #880)
  * irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873)
  * irc: fix buffer switching on manual join for forwarded channels (issue #876)
  * irc: add missing tags on CTCP message sent
  * lua: fix integers returned in Lua >= 5.3 (issue #834)
  * relay: make HTTP headers case-insensitive for WebSocket connections (issue #888)
  * relay: set status to "authentication failed" and close immediately connection in case of authentication failure in weechat and irc protocols (issue #825)
  * script: reload a script after upgrade only if it was loaded, set autoload only if the script was auto-loaded (issue #855)

Build::

  * core, irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276)
  * core: add build of xz package with make dist (cmake)
  * tests: fix compilation of tests on FreeBSD 11.0
jperkin pushed a commit that referenced this issue Mar 20, 2017
# Change Log

## [3.5.5] - 2017-02-24

[3.5.5]: hashie/hashie@v3.5.4...v3.5.5

### Added

* [#326](hashie/hashie#326): Added `Hashie::Extensions::Mash::KeepOriginalKeys` to give Mashes the ability to keep the original structure given to it - [@michaelherold](https://github.com/michaelherold).

### Fixed

* [#415](hashie/hashie#415): Fixed Mash logging keys multiple times which lead to a bad user experience or, in some cases, errors - [@michaelherold](https://github.com/michaelherold).

## [3.5.4] - 2017-02-22

[3.5.4]: hashie/hashie@v3.5.3...v3.5.4

### Added

* [#412](hashie/hashie#412): Added a Hashie::Extensions::Mash::SymbolizeKeys extension that overrides the default stringification behavior for keys - [@michaelherold](https://github.com/michaelherold).

### Fixed

* [#409](hashie/hashie#409): Fixed Railtie detection for projects where Rails is defined but Railties are not availble - [@CallumD](https://github.com/callumd).
* [#411](hashie/hashie#411): Fixed a performance regression from 3.4.3 that caused a 10x slowdown in OmniAuth - [@michaelherold](https://github.com/michaelherold).

## [3.5.3] - 2017-02-11

[3.5.3]: hashie/hashie@v3.5.2...v3.5.3

### Fixed

* [#402](hashie/hashie#402): Use a Railtie to set Hashie.logger on rails boot - [@matthewrudy](https://github.com/matthewrudy).
* [#406](hashie/hashie#406): Ensure that subclasses that disable warnings propagate that setting to grandchild classes - [@michaelherold](https://github.com/michaelherold).
* Your contribution here.

## [3.5.2] - 2017-02-10

[3.5.2]: hashie/hashie@v3.5.1...v3.5.2

### Added

* [#395](hashie/hashie#395): Add the ability to disable warnings in Mash subclasses - [@michaelherold](https://github.com/michaelherold).
* [#400](hashie/hashie#400): Fix Hashie.logger load and set the Hashie logger to the Rails logger in a Rails environment - [@michaelherold](https://github.com/michaelherold).

### Fixed

* [#396](hashie/hashie#396): Fix for specs in #381: Incorrect use of shared context meant example was not being run - [@biinari](https://github.com/biinari).
* [#399](hashie/hashie#399): Fix passing Pathname object to Hashie::Mesh.load() - [@albb0920](https://github.com/albb0920).

### Miscellanous

* [#397](hashie/hashie#397): Add the integration specs harness into the main test tasks - [@michaelherold](https://github.com/michaelherold).

## [3.5.1] - 2017-01-31

* [#392](hashie/hashie#392): Fix for #391: Require all dependencies of Hashie::Mash - [@dblock](https://github.com/dblock).

[3.5.1]: hashie/hashie@v3.5.0...v3.5.1

## [3.5.0] - 2017-01-31

* [#386](hashie/hashie#386): Fix for #385: Make `deep_merge` always `deep_dup` nested hashes before merging them in so that there are no shared references between the two hashes being merged. - [@mltsy](https://github.com/mltsy).
* [#389](hashie/hashie#389): Support Ruby 2.4.0 - [@camelmasa](https://github.com/camelmasa).

[3.5.0]: hashie/hashie@v3.4.6...v3.5.0

### Added

* [#381](hashie/hashie#381): Add a logging layer that lets us report potential issues to our users. As the first logged issue, report when a `Hashie::Mash` is attempting to overwrite a built-in method, since that is one of our number one questions - [@michaelherold](https://github.com/michaelherold).

### Changed

* [#384](hashie/hashie#384): Updated to CodeClimate 1.x - [@boffbowsh](https://github.com/boffbowsh).

### Fixed

* [#369](hashie/hashie#369): If a translation for a property exists when using IndifferentAccess and IgnoreUndeclared, use the translation to find the property - [@whitethunder](https://github.com/whitethunder).
* [#376](hashie/hashie#376): Leave string index unchanged if it can't be converted to integer for Array#dig - [@sazor](https://github.com/sazor).
* [#377](hashie/hashie#377): Dont use Rubygems to check ruby version - [@sazor](https://github.com/sazor).
* [#378](hashie/hashie#378): Deep find all searches inside all nested hashes - [@sazor](https://github.com/sazor).
* [#380](hashie/hashie#380): Evaluate procs default values of Dash in object initialization - [@sazor](https://github.com/sazor).

### Miscellanous

* [#387](hashie/hashie#387): Fix builds failing due to Rake 11 having a breaking change - [@michaelherold](https://github.com/michaelherold).
jperkin pushed a commit that referenced this issue Mar 20, 2017
kramdown 1.13.2 released				2017/01/07

This release fixes some minor issues - updating is recommended.

Changes

3 bug fixes:

* Fix footnote link spacing to use non-breaking space (pull request #399 by
  Martyn Chamberlin)

* Show warning for unreferenced footnote definitions (fixes #400 reported by
  Kyle Barbour)

* Fix test cases with respect to Ruby 2.4 (fixes #401 reported by Connor Shea)


kramdown 1.13.1 released				2016/11/25

This release fixes the GFM header ID generation for more cases, updating is
very recommended.

Changes

1 bug fix:

* Fix GFM header ID generation when code spans, math elements, entities,
  typographic symbols or smart quotes are used (fixes #391 reported by Nick
  Fagerlund)


kramdown 1.13.0 released				2016/11/20

The biggest change in this release is the introduction of a converter for man
pages. Although there already exist two solutions (ronn and kramdown-man),
both are not completely satisfactory:

* Ronn doesn't use standard Markdown syntax for all elements.
* kramdown-man only converts a subset of the available element types.

The new man page converter uses standard kramdown syntax and supports nearly
all element types, including tables.

This release also brings some enhancements for the GFM parser. One thing to
note is that the header ID generation is now more compatible to GFM which also
means that some IDs will be different - so check the documents on which you
use the GFM parser, especially when you are using Jekyll or Github Pages.

Organizational-wise, issues and pull requests on Github that pertain to
feature requests have been closed and are now tracked through a dedicated
kramdown project on Github.

Changes

4 minor changes:

* Add new converter for man pages
* Header ID generation for the GFM parser is now more compatible to GFM (fixes
  #267, requested by chadpowers)
* Update to the MathJax math engine to allow formatting the preview as code /
  pre > code (pull request #372 by Florian Klampfer)
* Allow tabs in table separator lines (pull request #370 by Shuanglei Tao)

2 bug fixes:

* Compactly nested lists are now handled correctly after fixing a bug in
  indentation detection (fixes #368 reported by Christopher Brown)
* GFM parser: Allow indenting the delimiting lines of fenced code blocks for
  better GFM compatibility (pull request #369 by Shuanglei Tao)

2 other fixes and enhancements:

* Added information on how to run tests to README.md (fixes #377 reported by
  Aron Griffis)
* Added information about how to use KaTeX with the MathJax math engine (fixes
  #292 reported by Adrian Sieber, information by Dato Sim�«Ñ)
wiedi pushed a commit to wiedi/pkgsrc-legacy that referenced this issue Jan 28, 2018
pkgsrc changes:
- switch to using qt5 (to follow upstream)
- handle ${PREFIX} in more places
- fix package COMMENT (remove "for IBus")
- GCC_REQD 4.7 for c++11
- add patch comments

See PR pkg/52689 for more details.

Upstream changes:
(from https://github.com/google/mozc/blob/master/docs/release_history.md)

Summary of changes between 2.19.2644.102 and 2.20.2673.102 as follows.

    Third party libraries:
        None.
    Build related changes:
        --qtver GYP build option was removed (280e38f).
        Mozc for macOS now uses macOS 10.11 SDK by default (b2a74bb).
    Major changes:
        src/data/installer/credits_ja.html was removed (2ec6c8f).
        Mozc for macOS now generates 64-bit executables. 32-bit machine is no longer supported on macOS.
        Mozc for Android now has more translations (d914458).
    Fixed issues:
        TritonDataCenter#187: build_mozc.py always generates 32 bit binaries on 64 bit OSX
        TritonDataCenter#327: Switch to Qt5 from Qt4
        TritonDataCenter#348: DirectWrite may fail to render text in certain enviromnents
        TritonDataCenter#391: ImportError: gen_zip_code_seed.py
        TritonDataCenter#399: OK/Cancel buttons on Mozc key binding editor dialog cannot be clicked on Windows
        TritonDataCenter#400: Close icon on GUI dialogs do not work on Windows
    Total commits:
        30 commits.

Summary of changes between 2.18.2613.102 and 2.19.2643.102 as follows.

    Third party libraries:
        protobuf: e8ae137 -> c44ca26
        Dropped dependency on fonttools
    Build related changes:
        --qtver=5 GYP build option is implicitly assumed on macOS and Linux builds (f76c304). On Windows, --qtver=4 is still the default.
    Major changes:
        Mozc for macOS now supports 10.12 as a runtime environment.
        Mozc for Android now uses on-device font to render keytop icons (f5dcad).
    Fixed issues:
        TritonDataCenter#263: Incorrect position in voiced sound marks on the key pad in Android
        TritonDataCenter#384: HUAWEI P9 lite does not show MozcView.
        TritonDataCenter#388: Having multiple abbreviation user dictionary entries with the same reading should be supported
        TritonDataCenter#389: Emoticon user dictionary entry should not be treated a content word
    Total commits:
        39 commits.

Summary of changes between 2.17.2532.102 and 2.18.2612.102 as follows.

    Third party libraries:
        protobuf: d5fb408 -> e8ae137
        GYP: e2e928b -> 4ec6c4e
        breakpad: d2904bb -> 85b27e4
        Dropped dependency on zlib
    Build related changes:
        Renamed src/mozc_version_template.txt to src/data/version/mozc_version_template.bzl
        Reference build environment now uses Ubuntu 14.04.5 (a7cbf72)
        Reference build environment now uses Ninja 1.7.1 (d2bc62b)
        Removed --android_compiler GYP option (5ce7fa6)
        Android build requires Android NDK r12b (5ce7fa6)
    Major changes:
        Improved Store Apps compatibility on Windows (0488082)
    Fixed issues:
        NPE in UserDictionaryToolActivity.onPostResume on Android (09b47c3)
        TritonDataCenter#273: Compilation errors in Android arm64 and mips64 build
        TritonDataCenter#373: Unexpected size bloat of the APK
        TritonDataCenter#374: Duplicate candidates after Undo
        TritonDataCenter#375: 90- is suggested from 090-
        TritonDataCenter#376: Suggestion-only user dictionary entry may not work
        TritonDataCenter#377: Abbreviation user dictionary entry may not work
        TritonDataCenter#378: Suppression word may not work
        TritonDataCenter#379: Single character noun user dictionary entry may not work
        TritonDataCenter#380: Dependency on dictionary/pos_matcher.h from session/session_server.cc is missing in GYP rules
        TritonDataCenter#382: Fix typo
    Total commits:
        84 commits.

Summary of changes between 2.17.2405.102 and 2.17.2531.102 as follows.

    Third party libraries:
        protobuf: 1a59a71 -> d5fb408
    Build related changes:
        Building Mozc for Windows requires Visual Studio 2015 update 3.
        --qtdir option is no longer supported in Linux desktop build (d003076).
    Major changes:
        Updated system dictionary.
        Removed several Shift-JIS-based normalizations on Windows (26241b0).
        Mozc for Windows requires SSE2 even on 32-bit environment.
        Mozc for Windows supports Windows 7 SP1 and later only.
        Mozc for macOS supports macOS 10.9 and later only.
        Mozc for desktop platforms (Windows, macOS, desktop Linux) supports Qt5 behind --qtver=5 GYP option.
    Fixed issues:
        Fix OOM when importing too large dictionary file on Android (5c859ae)
        TritonDataCenter#298: Fix NPE on Samsung devices on showing toast
        TritonDataCenter#315: Switch to Visual C++ 2015
        TritonDataCenter#372: Discontinue the support of Windows Vista
    Total commits:
        128 commits.

Summary of changes between 2.17.2355.102 and 2.17.2404.102 as follows.

    Third party libraries:
        protobuf: 172019c -> 1a59a71
    Build related changes:
        Building Mozc requires protobuf 3.0 or later.
        --android_stl GYP option is removed in Android build. You cannot use GNU STL to build Mozc for Android anymore.
    Major changes:
        None.
    Fixed issues:
        TritonDataCenter#369: Unexpected software keyboard layout can be chosen
        TritonDataCenter#370: Mozc keeps crashing on Android N Developer Preview 5
        TritonDataCenter#371: Shortcut word in personal dictionary should not be used for multi segment conversion
    Total commits:
        50 commits.

Summary of changes between 2.17.2323.102 and 2.17.2354.102 as follows.

    Third party libraries:
        None.
    Build related changes:
        None.
    Major changes:
        2.17.2323.102 and later commits in OSS repository preserve the original CL commit date in Google internal repository.
            Consider to specify --topo-order option to git log to see commits in the actual commit order.
        Multiple performance improvements in Android.
    Fixed issues:
        None.
    Total commits:
        32 commits.

Summary of changes between 2.17.2314.102 and 2.17.2322.102 as follows.

    Third party libraries:
        googletest: 1d53731 -> 82b11b8
        WTL: 9.0.4140 -> 9.1.5321
    Build related changes:
        Building macOS binaries now requires Ninja instead of xcodebuild.
    Major changes:
        None.
    Fixed issues:
        TritonDataCenter#247: Use ninja to build Mac binaries
        TritonDataCenter#355: Native resource leak due to the missing pthread_detach call in mozc::Thread::Detach
        TritonDataCenter#361: ImmSetCandidateWindow() with CFS_EXCLUDE isn't supported on Win Vista and Win7
    Total commits:
        15 commits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants