pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52753: postgresql95-server build fails with PREFER_PKGSRC=openssl

>Number:         52753
>Category:       pkg
>Synopsis:       postgresql95-server build fails with PREFER_PKGSRC=openssl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 22 17:35:00 +0000 2017
>Originator:     Andreas Gustafsson
>Release:        NetBSD 7.0 userland, NetBSD-7 kernel

System: NetBSD
Architecture: x86_64
Machine: amd64

Updating pkgsrc on one of my machines, the build of the
databases/postgresql95-server package (version 9.5.10)
failed with the error message:

  configure: error: thread test program failed
  This platform is not thread-safe.  Check the file 'config.log' or compile
  and run src/test/thread/thread_test for the exact reason.
  Use --disable-thread-safety to disable thread safety.
  *** Error code 1

I tracked down the cause of this to a warning message emitted by the linker
during the autoconfiguration process:

  ld: warning:, needed by /usr/lib/, may conflict with

which appars to be causing the following "if" condition in the
configure script to evaluate to false:

  if test "`(eval $ac_link 2>&1 1>&5)`" = "" && test "`(eval $ac_compile 2>&1 1>&5)`" = ""; then

The machine in case has PREFER_PKGSRC=openssl in /etc/mk.conf, for
reasons I no longer remember.  Without this setting, the package
build succeeds.

PR 46882 may be related.


Attempt to build databases/postgresql95-server with
PREFER_PKGSRC=openssl in /etc/mk.conf.


Home | Main Index | Thread Index | Old Index