Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2014 09:43:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195493] New: postgresql93-server port install with dtrace enabled fails
Message-ID:  <bug-195493-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195493

            Bug ID: 195493
           Summary: postgresql93-server port install with dtrace enabled
                    fails
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: weberge42@gmail.com

A fresh install of postgresql93-server port fails with dtrace enabled:
Freebsd uname -a:
FreeBSD freebsd 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11
21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
 amd64

running on vmware workstation


steps:
cd /usr/ports/databases/postgresql93-server
make config
- enable dtrace
- enable optimized_cflags
make install



config.status: linking src/backend/port/dynloader/freebsd.h to
src/include/dynloader.h
config.status: linking src/include/port/freebsd.h to src/include/pg_config_os.h
config.status: linking src/makefiles/Makefile.freebsd to src/Makefile.port
===>  Building for postgresql93-server-9.3.5

  =========== BACKUP YOUR DATA! =============
  As always, backup your data before
  upgrading. If the upgrade leads to a higher
  minor revision (e.g. 8.3.x -> 8.4), a dump
  and restore of all databases is
  required. This is *NOT* done by the port!

  Press ctrl-C *now* if you need to pg_dump.
  ===========================================
gmake[2]: Entering directory
`/usr/ports/databases/postgresql93-server/work/postgresql-9.3.5/src/backend'
prereqdir=`cd 'parser/' >/dev/null && pwd` && \
  cd '../../src/include/parser/' && rm -f gram.h && \
  ln -s "$prereqdir/gram.h" .
prereqdir=`cd 'utils/' >/dev/null && pwd` && \
  cd '../../src/include/utils/' && rm -f fmgroids.h && \
  ln -s "$prereqdir/fmgroids.h" .
gmake -C utils probes.h
gmake[3]: Entering directory
`/usr/ports/databases/postgresql93-server/work/postgresql-9.3.5/src/backend/utils'
dtrace -C -h -s probes.d -o probes.h.tmp
dtrace: failed to compile script probes.d: line 150: failed to resolve
INP_IPV4: Unknown variable name
gmake[3]: *** [probes.h] Error 1
gmake[3]: Leaving directory
`/usr/ports/databases/postgresql93-server/work/postgresql-9.3.5/src/backend/utils'
gmake[2]: *** [utils/probes.h] Error 2
gmake[2]: Leaving directory
`/usr/ports/databases/postgresql93-server/work/postgresql-9.3.5/src/backend'
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/databases/postgresql93-server
*** Error code 1

Stop.


port builds fine without dtrace

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195493-13>