Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 18:00:58 GMT
From:      Graeme Geldenhuys <graemeg@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175484: default install method for firebird server 2.5 in ports doesn't work
Message-ID:  <201301211800.r0LI0wls086941@red.freebsd.org>
Resent-Message-ID: <201301211810.r0LIA0HU042292@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175484
>Category:       ports
>Synopsis:       default install method for firebird server 2.5 in ports doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 21 18:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Graeme Geldenhuys
>Release:        FreeBSD 9.1
>Organization:
OpenSoft Ltd
>Environment:
FreeBSD graeme-desktop 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I just tried to install Firebird 2.5.x database server and got a error in the lines of "you must not be root when trying to build this port".

The full message in /usr/ports/databases/firebird25-server/Makefile is
  ==> Please do not build ${PORTNAME} as 'root' because this may cause conflicts with SysV semaphores of running services.

I was using the usual command:

  make install clean

Trying to compile as my normal user obviously failed too, as I don't have write access in that directory.

A quick Google search revealed what I had to do instead (as root).
Code:

  make -DPACKAGE_BUILDING
  make install
  make clean

That worked perfectly, even though I have no idea what the extra parameter to make means. Searching these forums I found the same issue mentioned back in 2010-2011. Can't the ports collection be updated for the Firebird DB packages to default to the the correct instructions - instead of tripping up every person that tries to install Firebird server, and then has to Google for a solution?

I'm new to FreeBSD, but the rest of ports works so seamless ('make install clean' everywhere), and it is a shame that Firebird server doesn't follow suit.

I discussed this issue in the Forums, and was told to file a PR
  http://forums.freebsd.org/showthread.php?p=205920


>How-To-Repeat:
su  <Enter and type root password>
cd /usr/ports/databases/firebird25-server/
make install clean
>Fix:
Type these commands as root instead:

  cd /usr/ports/databases/firebird25-server/
  make -DPACKAGE_BUILDING
  make install
  make clean

>Release-Note:
>Audit-Trail:
>Unformatted:



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