From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 19 16:10:10 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C16CC16A41F for ; Thu, 19 Jan 2006 16:10:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B95943D46 for ; Thu, 19 Jan 2006 16:10:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0JGAAt7008713 for ; Thu, 19 Jan 2006 16:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0JGAA5J008712; Thu, 19 Jan 2006 16:10:10 GMT (envelope-from gnats) Resent-Date: Thu, 19 Jan 2006 16:10:10 GMT Resent-Message-Id: <200601191610.k0JGAA5J008712@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Chou Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCEB316A41F for ; Thu, 19 Jan 2006 16:03:45 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00BA743D62 for ; Thu, 19 Jan 2006 16:03:40 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k0JG3eWC074665 for ; Thu, 19 Jan 2006 16:03:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k0JG3eZj074664; Thu, 19 Jan 2006 16:03:40 GMT (envelope-from nobody) Message-Id: <200601191603.k0JG3eZj074664@www.freebsd.org> Date: Thu, 19 Jan 2006 16:03:40 GMT From: Chris Chou To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/92002: multimedia/kdemultimedia3 compilation failure when prozilla is installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2006 16:10:10 -0000 >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: