Bug 175484

Summary: default install method for databases/firebird25-server in ports doesn't work
Product: Ports & Packages Reporter: graemeg
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description graemeg 2013-01-21 18:10:00 UTC
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

Fix: 

Type these commands as root instead:

  cd /usr/ports/databases/firebird25-server/
  make -DPACKAGE_BUILDING
  make install
  make clean
How-To-Repeat: su  <Enter and type root password>
cd /usr/ports/databases/firebird25-server/
make install clean
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-23 02:52:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->acm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2013-03-24 04:36:05 UTC
State Changed
From-To: open->closed

- Now firebird ports are build as root user (A warning message is displayed  
instead of break it)