Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2006 16:03:40 GMT
From:      Chris Chou <m2chrischou@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/92002: multimedia/kdemultimedia3 compilation failure when prozilla is installed
Message-ID:  <200601191603.k0JG3eZj074664@www.freebsd.org>
Resent-Message-ID: <200601191610.k0JGAA5J008712@freefall.freebsd.org>

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

>Number:         92002
>Category:       ports
>Synopsis:       multimedia/kdemultimedia3 compilation failure when prozilla is installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 19 16:10:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Chris Chou
>Release:        FreeBSD 6.0 i386
>Organization:
Sun Yat-sen University
>Environment:
FreeBSD www.kapv.com 6.0-STABLE FreeBSD 6.0-STABLE #3: Thu Jan 19 14:02:26 CST 2006     chris@www.kapv.com:/home/obj/home/src/sys/CHRIS  i386
>Description:
Port 'multimedia/kdemultimedia3' is failed to compile when prozilla is already installed. Following is the compilation output:

if /bin/sh ../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/arts -I/usr/local/include -I/usr/X11R6/include  -I/usr/local/include  -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT akodearts.lo -MD -MP -MF ".deps/akodearts.Tpo" -c -o akodearts.lo akodearts.cc; \
then mv -f ".deps/akodearts.Tpo" ".deps/akodearts.Plo"; else rm -f ".deps/akodearts.Tpo"; exit 1; fi
In file included from akodearts.h:6,
                 from akodearts.cc:3:
/usr/local/include/common.h:33:5: warning: "HAVE_STDIO_H" is not defined
/usr/local/include/common.h:59:5: warning: "HAVE_CTYPE_H" is not defined
/usr/local/include/common.h:63:5: warning: "HAVE_ERRNO_H" is not defined
/usr/local/include/common.h:75:5: warning: "HAVE_SYS_SOCKET_H" is not defined
/usr/local/include/common.h:79:5: warning: "HAVE_NETINET_IN_H" is not defined
/usr/local/include/common.h:94:5: warning: "HAVE_ARPA_INET_H" is not defined
/usr/local/include/common.h:98:5: warning: "HAVE_NETDB_H" is not defined
/usr/local/include/common.h:117:5: warning: "HAVE_ASSERT_H" is not defined
/usr/local/include/common.h:121:5: warning: "HAVE_PWD_H" is not defined
In file included from /usr/local/include/arts/kmedia2.h:11,
                 from akodearts.h:11,
                 from akodearts.cc:3:
/usr/local/include/arts/artsflow.h:15: error: expected class-name before '{' token
/usr/local/include/arts/artsflow.h:18: error: expected unqualified-id before '&' token
/usr/local/include/arts/artsflow.h:18: error: expected `,' or `...' before '&' token
/usr/local/include/arts/artsflow.h:18: error: ISO C++ forbids declaration of `parameter' with no type

... (there is thousands lines skipped)




>How-To-Repeat:
cd /usr/ports/ftp/prozilla
make install clean


cd /usr/ports/multimedia/kdemultimedia3
make install clean
>Fix:
The port 'ftp/prozilla' installs a c header file in '/usr/local/include' named 'common.h'. Unfortunately another port 'audio/arts' on which 'multimedia/kdemultimedia3' depends installs a c header file with the same name 'common.h' in '/usr/local/include/arts'.
And according to the screen output, the search sequence of include directories is '/usr/local/include', then '/usr/local/include/arts'. So it causes 'multimedia/kdemultimedia3' include incorrent header file 'common.h'.


It is easy to fix it for everyone understand the problem, but others not.

cd /usr/ports/ftp/prozilla
make deinstall

cd /usr/ports/multimedia/kdemultimedia3
make install clean

cd /usr/ports/ftp/prozilla
make install clean

Then everything is ok with 'ftp/prozilla' and 'multimedia/kdemultimedia3'


I hope some one, may be the port maintainers of prozilla or kde would give some patch.^_^


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



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