[Bug 204314] databases/postgresql94-server: (and previos versions): don't strip binaries when building with DTRACE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 5 20:57:17 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204314
Bug ID: 204314
Summary: databases/postgresql94-server: (and previos versions):
don't strip binaries when building with DTRACE
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: pgsql at FreeBSD.org
Reporter: cmt at burggraben.net
Attachment #162822 maintainer-approval?
Flags:
Assignee: pgsql at FreeBSD.org
Flags: maintainer-feedback?(pgsql at FreeBSD.org),
maintainer-feedback?
Created attachment 162822
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162822&action=edit
set INSTALL_TARGET=install when DTRACE is on
The PostgreSQL server ports use INSTALL_TARGET=install-strip. This is fine,
except when building with DTrace support (DTRACE=on):
cmt at elch:/tmp/test$ sudo /usr/local/etc/rc.d/postgresql start
WARNING: number of probes fixed does not match the number of defined probes (62
!= 77, respectively)
WARNING: some probes might not fire or your program might crash
WARNING: number of probes fixed does not match the number of defined probes (62
!= 77, respectively)
WARNING: some probes might not fire or your program might crash
LOG: ending log output to stderr
HINT: Future log output will go to log destination "syslog".
Yes, I managed to crash the server while using DTrace.
This can easily prevented by not stripping binaries when building with DTrace
support. As all postgresql servers use the same infrastructure in
databaases/postgresql92-server/Makefile, this can be fixed with a simple
one-line patch.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list