NetBSD Problem Report #40632

From www@NetBSD.org  Fri Feb 13 23:59:46 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 2D02963C181
	for <gnats-bugs@gnats.netbsd.org>; Fri, 13 Feb 2009 23:59:46 +0000 (UTC)
Message-Id: <20090213235945.EBED363C17C@narn.NetBSD.org>
Date: Fri, 13 Feb 2009 23:59:45 +0000 (UTC)
From: kamelderouiche@yahoo.com
Reply-To: kamelderouiche@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: Transmission-1.42  build fails
X-Send-Pr-Version: www-1.0

>Number:         40632
>Category:       pkg
>Synopsis:       Transmission-1.42  build fails
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 14 00:00:00 +0000 2009
>Closed-Date:    Sun Feb 15 05:58:30 +0000 2009
>Last-Modified:  Sun Feb 15 21:25:01 +0000 2009
>Originator:     Derouiche
>Release:        5.99.01
>Organization:
Algerie Motors 
>Environment:
NetBSD Torabora 5.99.01 NetBSD 5.99.01 (JIHBED-$Revision: 1.233 $) #0: Sun Jan 
18 15:59:42 PST 2009   root@faloudja:/usr/obj/sys/arch/amd64/compile/JIHBED 
>Description:

>How-To-Repeat:
add to USE_LANGUAGES= c c++, no resolve problem

c++ -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.42\" -DPACKAGE_STRING=\"transmission\ 1.42\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.42\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRLCPY=1 -DHAVE_DAEMON=1 -DHAVE_DIRNAME=1 -DHAVE_BASENAME=1 -DHAVE_DAEMON=1 -DHAVE_STRCASECMP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_PTHREAD=1 -DHAVE__TMP_DUMMY1_ZLIB_H=1 -DHAVE_ZLIB=1 -DHAVE_GIO=1 -DHAVE_LIBNOTIFY=1 -DHAVE_DBUS_GLIB=1 -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I.  -I.. -I/usr/pkg/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/pkg/include/wx-2.6 -
 DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../third-party/libevent -DBSD -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/include/krb5 -I/usr/include -I/usr/pkg/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/pkg/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -g -Wall -Wformat-security -W -O3 -funroll-loops -MT speed-stats.o -MD -MP -MF .deps/speed-stats.Tpo -c -o speed-stats.o speed-stats.cc
speed-stats.cc:21:25: error: wx/dcclient.h: No such file or directory
speed-stats.cc:22:25: error: wx/dcmemory.h: No such file or directory
speed-stats.cc:23:22: error: wx/event.h: No such file or directory
speed-stats.cc:24:24: error: wx/gbsizer.h: No such file or directory
speed-stats.cc:25:25: error: wx/stattext.h: No such file or directory
speed-stats.cc:26:21: error: wx/intl.h: No such file or directory
In file included from speed-stats.cc:29:
speed-stats.h:26:23: error: wx/colour.h: No such file or directory
speed-stats.h:27:22: error: wx/panel.h: No such file or directory
speed-stats.h:36: error: expected class-name before '{' token
speed-stats.h:39: error: expected `)' before '*' token
speed-stats.h:66: error: expected ',' or '...' before '&' token
speed-stats.h:66: error: ISO C++ forbids declaration of 'wxColour' with no type
speed-stats.h:68: error: 'wxString' does not name a type
speed-stats.h:72: error: 'wxSizeEvent' has not been declared
speed-stats.h:74: error: 'wxPaintEvent' has not been declared
speed-stats.h:76: error: ISO C++ forbids declaration of 'DECLARE_EVENT_TABLE' with no type
speed-stats.h:78: error: expected ';' before 'private'
speed-stats.h:104: error: 'wxColour' does not name a type
speed-stats.cc:33: error: 'wxPanel' has not been declared
speed-stats.cc:34: error: expected constructor, destructor, or type conversion before 'EVT_SIZE'
speed-stats.cc: In destructor 'virtual SpeedStats::~SpeedStats()':
speed-stats.cc:61: error: 'myBitmap' was not declared in this scope
speed-stats.cc: At global scope:
speed-stats.cc:69: error: expected ',' or '...' before '&' token
speed-stats.cc:69: error: ISO C++ forbids declaration of 'wxColour' with no type
speed-stats.cc: In member function 'void SpeedStats::SetColor(int, int)':
speed-stats.cc:71: error: 'assert' was not declared in this scope
speed-stats.cc:73: error: 'myColors' was not declared in this scope
speed-stats.cc:73: error: 'c' was not declared in this scope
speed-stats.cc: At global scope:
speed-stats.cc:69: warning: unused parameter 'wxColour'
speed-stats.cc:76: error: 'wxString' does not name a type
speed-stats.cc:95: error: variable or field 'OnSize' declared void
speed-stats.cc:95: error: 'int SpeedStats::OnSize' is not a static member of 'class SpeedStats'
speed-stats.cc:95: error: 'wxSizeEvent' was not declared in this scope
speed-stats.cc:95: error: 'event' was not declared in this scope
speed-stats.cc:96: error: expected ',' or ';' before '{' token
speed-stats.cc:105: error: variable or field 'OnPaint' declared void
speed-stats.cc:105: error: 'int SpeedStats::OnPaint' is not a static member of 'class SpeedStats'
speed-stats.cc:105: error: 'wxPaintEvent' was not declared in this scope
speed-stats.cc:105: error: 'event' was not declared in this scope
speed-stats.cc:105: error: 'WXUNUSED' was not declared in this scope
speed-stats.cc:106: error: expected ',' or ';' before '{' token
speed-stats.cc: In member function 'void SpeedStats::Pulse(tr_handle*)':
speed-stats.cc:241: error: 'Refresh' was not declared in this scope
gmake[2]: *** [speed-stats.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/net/Transmission/work/transmission-1.42/wx'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/net/Transmission/work/transmission-1.42/wx'

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 15 Feb 2009 05:58:30 +0000
State-Changed-Why:
wx should not be picked up, it's PR 40631.


From: kamel derouiche <kamelderouiche@yahoo.com>
To: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
  obache@NetBSD.org, gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40632 (Transmission-1.42  build fails)
Date: Sun, 15 Feb 2009 13:22:16 -0800 (PST)

 > wx should not be picked up, it's PR 40631.

 I have to apply make without modifying the Makefile and options.mk, 




>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.