Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 13:29:07 -0800 (PST)
From:      Lane <lane@joeandlane.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/35221: kdenetwork2 won't compile
Message-ID:  <200202222129.g1MLT7X95733@freefall.freebsd.org>

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

>Number:         35221
>Category:       ports
>Synopsis:       kdenetwork2 won't compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 22 13:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lane
>Release:        4.5-PRERELEASE
>Organization:
>Environment:
FreeBSD bsd.vesta.com 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Thu Feb 14 09:23:45 CST 2002     root@freebsd.vesta.com:/usr/obj/usr/src/sys/GENERIC  i386     

>Description:
/usr/ports/net/kdenetwork2 won't compile.

The below-listed errors begin appearing when kscoring.cpp is compiled:
I have removed automake15 and installed automake14 and autoconf213.
kde2 and kdelibs2 are installed and working.
Making all in libkdenetwork
gmake[2]: Entering directory `/usr/ports/net/kdenetwork2/work/kdenetwork-2.2.2/libkdenetwork'
cd .. \
&& CONFIG_FILES=libkdenetwork/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating libkdenetwork/Makefile
gmake[2]: Leaving directory `/usr/ports/net/kdenetwork2/work/kdenetwork-2.2.2/libkdenetwork'
gmake[2]: Entering directory `/usr/ports/net/kdenetwork2/work/kdenetwork-2.2.2/libkdenetwork'
/usr/X11R6/bin/moc2 ./kscoring.h -o kscoring.moc
/bin/sh ../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/X11R6/include/qt2 -I/usr/include -I/usr/X11R6/include   -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_  -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 -D_THREAD_SAFE  -DNDEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST  -c kscoring.cpp
mkdir .libs
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/X11R6/include/qt2 -I/usr/include -I/usr/X11R6/include -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 -D_THREAD_SAFE -DNDEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wp,-MD,.deps/kscoring.pp -c kscoring.cpp  -fPIC -DPIC -o .libs/kscoring.o
kscoring.cpp: In method `NotifyDialog::NotifyDialog(QWidget * = 0)':
kscoring.cpp:74: implicit declaration of function `int i18n(...)'
kscoring.cpp:74: no matching function for call to `QCheckBox::QCheckBox (int, QFrame *&)'
/usr/X11R6/include/qt2/qcheckbox.h:54: candidates are: QCheckBox::QCheckBox(QWidget *, const char * = 0)
/usr/X11R6/include/qt2/qcheckbox.h:55:                 QCheckBox::QCheckBox(const QString &, QWidget *, const char * = 0)
/usr/X11R6/include/qt2/qcheckbox.h:76:                 QCheckBox::QCheckBox(const QCheckBox &)
kscoring.cpp: In method `void NotifyDialog::slotShowAgainToggled(bool)':
kscoring.cpp:83: implicit declaration of function `int kdDebug(...)'
kscoring.cpp:83: invalid operands `int' and `const char[7]' to binary `operator <<'
kscoring.cpp: In function `static void NotifyDialog::display(ScorableArticle &, const QString &)':
kscoring.cpp:88: invalid operands `int' and `const char[19]' to binary `operator <<'
kscoring.cpp:96: request for member `arg' in `i18n("Article\n<b>%1</b><br><b>%2</b><br>caused the following note to appear:<br>%3")', which is of non-aggregate type `int'
kscoring.cpp: In method `ActionBase::ActionBase()':
kscoring.cpp:125: invalid operands `int' and `const char[12]' to binary `operator <<'
kscoring.cpp: In method `ActionBase::~ActionBase()':
kscoring.cpp:130: invalid operands `int' and `const char[15]' to binary `operator <<'
kscoring.cpp: In function `static class ActionBase * ActionBase::factory(int, QString)':
kscoring.cpp:150: implicit declaration of function `int kdWarning(...)'
kscoring.cpp:150: invalid operands `int' and `const char[13]' to binary `operator <<'
kscoring.cpp: In function `static class QString ActionBase::userName(int)':
kscoring.cpp:158: conversion from `int' to non-scalar type `QString' requested
kscoring.cpp:159: conversion from `int' to non-scalar type `QString' requested
kscoring.cpp:160: conversion from `int' to non-scalar type `QString' requested
kscoring.cpp:162: invalid operands `int' and `const char[13]' to binary `operator <<'
kscoring.cpp: In function `static int ActionBase::getTypeForName(const QString &)':
kscoring.cpp:173: invalid operands `int' and `const char[21]' to binary `operator <<'
kscoring.cpp: In function `static int ActionBase::getTypeForUserName(const QString &)':
kscoring.cpp:185: invalid operands `int' and `const char[20]' to binary `operator <<'
kscoring.cpp: In method `class QString NotifyCollection::collection() const':
kscoring.cpp:320: conversion from `int' to non-scalar type `QString' requested
kscoring.cpp: In method `void NotifyCollection::displayCollection(QWidget * = 0) const':
kscoring.cpp:344: no matching function for call to `KDialogBase::KDialogBase (QWidget *&, int, bool, int, KDialogBase::ButtonCode, KDialogBase::ButtonCode)'
/usr/local/include/kdialogbase.h:326: candidates are: KDialogBase::KDialogBase(QWidget * = 0, const char * = 0, bool = true, const QString & = QString::null, int = 44, KDialogBase::ButtonCode = Ok, bool = false, const QString & = QString::null, const QString & = QString::null, const QString & = QString::null)
/usr/local/include/kdialogbase.h:357:                 KDialogBase::KDialogBase(int, const QString &, int, KDialogBase::ButtonCode, QWidget * = 0, const char * = 0, bool = true, bool = false, const QString & = QString::null, const QString & = QString::null, const QString & = QString::null)
/usr/local/include/kdialogbase.h:397:                 KDialogBase::KDialogBase(const QString &, int = 416, KDialogBase::ButtonCode = User2, KDialogBase::ButtonCode = Cancel, QWidget * = 0, const char * = 0, bool = true, bool = false, QString = QString::null, QString = QString::null, QString = QString::null)
/usr/local/include/kdialogbase.h:1470:                 KDialogBase::KDialogBase(const KDialogBase &)
kscoring.cpp: In method `KScoringExpression::KScoringExpression(const QString &, const QString &, const QString &, const QString &)':
kscoring.cpp:373: invalid operands `int' and `const char[37]' to binary `operator <<'
kscoring.cpp:379: invalid operands `int' and `const char[11]' to binary `operator <<'
kscoring.cpp: In function `static int KScoringExpression::getConditionForName(const QString &)':
kscoring.cpp:392: invalid operands `int' and `const char[23]' to binary `operator <<'
kscoring.cpp: In function `static class QString KScoringExpression::getNameForCondition(int)':
kscoring.cpp:402: conversion from `int' to non-scalar type `QString' requested
kscoring.cpp:403: conversion from `int' to non-scalar type `QString' requested
kscoring.cpp:404: conversion from `int' to non-scalar type `QString' requested
kscoring.cpp:405: conversion from `int' to non-scalar type `QString' requested
kscoring.cpp:406: conversion from `int' to non-scalar type `QString' requested
kscoring.cpp:408: invalid operands `int' and `const char[19]' to binary `operator <<'
kscoring.cpp: In method `bool KScoringExpression::match(ScorableArticle &) const':
kscoring.cpp:476: invalid operands `int' and `const char[14]' to binary `operator <<'
kscoring.cpp: In function `static class QString KScoringExpression::getTypeString(int)':
kscoring.cpp:521: invalid operands `int' and `const char[14]' to binary `operator <<'
kscoring.cpp: In method `KScoringRule::KScoringRule(const KScoringRule &)':
kscoring.cpp:541: invalid operands `int' and `const char[14]' to binary `operator <<'
kscoring.cpp: In method `void KScoringRule::addExpression(KScoringExpression *)':
kscoring.cpp:587: invalid operands `int' and `const char[28]' to binary `operator <<'
kscoring.cpp: In method `void KScoringRule::addAction(ActionBase *)':
kscoring.cpp:599: invalid operands `int' and `const char[27]' to binary `operator <<'
kscoring.cpp: In method `void KScoringRule::setExpire(const QString &)':
kscoring.cpp:618: invalid operands `int' and `const char[6]' to binary `operator <<'
kscoring.cpp: In method `void KScoringManager::load()':
kscoring.cpp:749: invalid operands `int' and `const char[29]' to binary `operator <<'
kscoring.cpp:753: invalid operands `int' and `const char[55]' to binary `operator <<'
kscoring.cpp:757: invalid operands `int' and `const char[12]' to binary `operator <<'
kscoring.cpp: In method `void KScoringManager::save()':
kscoring.cpp:762: invalid operands `int' and `const char[31]' to binary `operator <<'
kscoring.cpp:767: invalid operands `int' and `const char[37]' to binary `operator <<'
kscoring.cpp:769: invalid operands `int' and `const char[33]' to binary `operator <<'
kscoring.cpp: In method `class QDomDocument KScoringManager::createXMLfromInternal()':
kscoring.cpp:781: invalid operands `int' and `const char[42]' to binary `operator <<'
kscoring.cpp: In method `void KScoringManager::expireRules()':
kscoring.cpp:801: invalid operands `int' and `const char[6]' to binary `operator <<'
kscoring.cpp: In method `void KScoringManager::createInternalFromXML(QDomNode)':
kscoring.cpp:812: invalid operands `int' and `const char[25]' to binary `operator <<'
kscoring.cpp: In method `void KScoringManager::addRuleInternal(KScoringRule *)':
kscoring.cpp:902: invalid operands `int' and `const char[34]' to binary `operator <<'
kscoring.cpp: In method `void KScoringManager::cancelNewRule(KScoringRule *)':
kscoring.cpp:910: invalid operands `int' and `const char[15]' to binary `operator <<'
kscoring.cpp:914: invalid operands `int' and `const char[6]' to binary `operator <<'
kscoring.cpp: In method `void KScoringManager::setRuleName(KScoringRule *, const QString &)':
kscoring.cpp:928: invalid operands `int' and `const char[11]' to binary `operator <<'
kscoring.cpp:930: no matching function for call to `KLineEditDlg::KLineEditDlg (int, QString &, int)'
/usr/local/include/klineeditdlg.h:45: candidates are: KLineEditDlg::KLineEditDlg(const QString &, const QString &, QWidget *)
/usr/local/include/klineeditdlg.h:75:                 KLineEditDlg::KLineEditDlg(const KLineEditDlg &)
kscoring.cpp: In method `void KScoringManager::editorReady()':
kscoring.cpp:963: invalid operands `int' and `const char[32]' to binary `operator <<'
kscoring.cpp: In method `void KScoringManager::applyRules(ScorableGroup *)':
kscoring.cpp:977: invalid operands `int' and `const char[63]' to binary `operator <<'
kscoring.cpp: In method `void KScoringManager::initCache(const QString &)':
kscoring.cpp:1004: invalid operands `int' and `const char[25]' to binary `operator <<'
kscoring.cpp: In method `class QString KScoringManager::findUniqueName() const':
kscoring.cpp:1056: request for member `arg' in `i18n("rule %1")', which is of non-aggregate type `int'
kscoring.cpp: In method `void RuleStack::push(QList<KScoringRule> &)':
kscoring.cpp:1119: invalid operands `int' and `const char[35]' to binary `operator <<'
kscoring.cpp:1125: invalid operands `int' and `const char[15]' to binary `operator <<'
kscoring.cpp: In method `void RuleStack::pop(QList<KScoringRule> &)':
kscoring.cpp:1132: invalid operands `int' and `const char[31]' to binary `operator <<'
kscoring.cpp:1133: invalid operands `int' and `const char[15]' to binary `operator <<'
kscoring.cpp: In method `void RuleStack::drop()':
kscoring.cpp:1145: invalid operands `int' and `const char[21]' to binary `operator <<'
gmake[2]: *** [kscoring.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/net/kdenetwork2/work/kdenetwork-2.2.2/libkdenetwork'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/kdenetwork2/work/kdenetwork-2.2.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/net/kdenetwork2.
*** Error code 1

Stop in /usr/ports/net/kdenetwork2.
*** Error code 1

Stop in /usr/ports/net/kdenetwork2.

>How-To-Repeat:
It's easy for me:  just make all from /usr/ports/net/kdenetwork2
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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