Bug 91904 - rio500 port seems to conflict with kdemultimedia build
Summary: rio500 port seems to conflict with kdemultimedia build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 12:50 UTC by Joseph Kerian
Modified: 2006-01-17 13:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!