Bug 91904

Summary: rio500 port seems to conflict with kdemultimedia build
Product: Ports & Packages Reporter: Joseph Kerian <jkerian>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Joseph Kerian 2006-01-17 12:50:06 UTC
When updating/building kde3.5 according to the instructions in ports/UPDATING, the kmultimedia3 port fails under the following build chain:
kdemultimedia3 -> kdemultimedia-juk -> kdemultimedia-akode

The error given is:
In file included from akodeplay.cpp:29:
/usr/local/include/getopt.h:136: error: declaration of C function 'int getopt()' conflicts with /usr/include/unistd.h:377: error: previous declaration 'getopt(int, char* const*, const char*)' here
gmake[1\: *** akodeplay.o Error 1

The /usr/local/include/getopt.h file seems to be part of the rio500 port. Removing the port allowed the build to continue.

Fix: 

Removing the rio500 port allows the build to continue, a note about the conflict in UPDATING seems appropriate.
How-To-Repeat: Install the rio500 port, attempt to portupgrade to the new kde3.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2006-01-17 13:19:59 UTC
State Changed
From-To: open->closed

A fix has been committed to the rio500 port. Please upgrade it and try 
again. Thanks for reporting!