Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26619 - kdeadmin refuses to compile when using USE="-foreign-packages"
Summary: kdeadmin refuses to compile when using USE="-foreign-packages"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-14 06:28 UTC by daniel
Modified: 2003-08-27 19:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daniel 2003-08-14 06:28:44 UTC
trying to emerge kdeadmin fails every time when using "-foreign-packages" in the 
USE flags.  the error (sorry, don't have a copy on hand) seems to be rooted in rpm 
somehow complaining about problems with a .cpp file. 

Reproducible: Always
Steps to Reproduce:
1. USE="-foreign-packages" 
2. emerge kdeadmin 
3. 
Actual Results:  
kdeadmin compilation crash 

Expected Results:  
an actual emerge
Comment 1 daniel 2003-08-14 06:55:48 UTC
i have a copy of the error now: 
 
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/rpm -I/usr/kde/3.1/include 
-I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  
-D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W 
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -fno-builtin -g3 -march=athlon-tbird -O3 -pipe 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST  -c -o rpmInstall.o `test -f 'rpmInstall.cpp' || echo 
'./'`rpmInstall.cpp 
In file included from rpmInstall.cpp:17: 
rpmInstall.h:39: type specifier omitted for parameter `rpmDependencyConflict' 
rpmInstall.h:39: syntax error before `,' token 
In file included from rpmInstall.cpp:22: 
rpmutils.h:12: type specifier omitted for parameter `dbiIndexSet' 
rpmutils.h:12: syntax error before `*' token 
rpmutils.h:14: type specifier omitted for parameter `dbiIndexSet' 
rpmutils.h:14: syntax error before `*' token 
rpmInstall.cpp: In function `int doInstal(const char*, const QStringList&, int, 
   int, int, rpmRelocation*, QString&)': 
rpmInstall.cpp:148: `rpmTransactionSet' undeclared (first use this function) 
rpmInstall.cpp:148: (Each undeclared identifier is reported only once for each 
   function it appears in.) 
rpmInstall.cpp:148: syntax error before `=' token 
rpmInstall.cpp:152: `rpmDependencyConflict' undeclared (first use this 
   function) 
rpmInstall.cpp:219: `rpmReadPackageHeader' undeclared (first use this function) 
rpmInstall.cpp:247: `rpmdbOpen' undeclared (first use this function) 
rpmInstall.cpp:256: `rpmdep' undeclared (first use this function) 
rpmInstall.cpp:256: `rpmtransCreateSet' undeclared (first use this function) 
rpmInstall.cpp:281: `rpmtransAddPackage' undeclared (first use this function) 
rpmInstall.cpp:309: `conflicts' undeclared (first use this function) 
rpmInstall.cpp:310: `rpmdepCheck' undeclared (first use this function) 
rpmInstall.cpp:315: `rpmdepFreeConflicts' undeclared (first use this function) 
rpmInstall.cpp:323: `rpmdepOrder' undeclared (first use this function) 
rpmInstall.cpp:330: `rpmProblemSet' undeclared (first use this function) 
rpmInstall.cpp:330: syntax error before `=' token 
rpmInstall.cpp:334: `probs' undeclared (first use this function) 
rpmInstall.cpp:335: `rpmRunTransactions' undeclared (first use this function) 
rpmInstall.cpp:346: `rpmProblemString' undeclared (first use this function) 
rpmInstall.cpp:355: `rpmProblemSetFree' undeclared (first use this function) 
rpmInstall.cpp:358: `rpmtransFree' undeclared (first use this function) 
rpmInstall.cpp:381: cannot convert `const char*' to `rpmts_s*' for argument `1' 
   to `rpmRC rpmInstallSourcePackage(rpmts_s*, _FD_s*, const char**, const 
   char**)' 
rpmInstall.cpp:398: `rpmdbClose' undeclared (first use this function) 
rpmInstall.cpp: In function `int doUninstal(const char*, const QStringList&, 
   int, int, QString&)': 
rpmInstall.cpp:418: syntax error before `;' token 
rpmInstall.cpp:427: syntax error before `;' token 
rpmInstall.cpp:489: `rpmdbInitIterator' undeclared (first use this function) 
rpmInstall.cpp:490: `rpmdbNextIterator' undeclared (first use this function) 
rpmInstall.cpp:492: `rpmdbGetIteratorOffset' undeclared (first use this 
   function) 
rpmInstall.cpp:492: `rpmtransRemovePackage' undeclared (first use this 
   function) 
rpmInstall.cpp:500: `rpmdbFreeIterator' undeclared (first use this function) 
rpmInstall.cpp: In function `int doSourceInstall(const char*, const char*, 
   const char**, char**)': 
rpmInstall.cpp:555: cannot convert `const char*' to `rpmts_s*' for argument `1' 
   to `rpmRC rpmInstallSourcePackage(rpmts_s*, _FD_s*, const char**, const 
   char**)' 
rpmInstall.cpp: At global scope: 
rpmInstall.cpp:605: type specifier omitted for parameter `rpmDependencyConflict 
   ' 
rpmInstall.cpp:605: syntax error before `,' token 
rpmInstall.cpp: In function `QString KprintDepProblems(...)': 
rpmInstall.cpp:615: `numConflicts' undeclared (first use this function) 
rpmInstall.cpp:617: `f' undeclared (first use this function) 
rpmInstall.cpp:639: `rpmDependencyConflict_s' undeclared (first use this 
   function) 
rpmInstall.cpp:639: syntax error before `::' token 
make[3]: *** [rpmInstall.o] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
make[3]: Leaving directory 
`/var/tmp/portage/kdeadmin-3.1.3/work/kdeadmin-3.1.3/kpackage' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/kdeadmin-3.1.3/work/kdeadmin-3.1.3/kpackage' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/kdeadmin-3.1.3/work/kdeadmin-3.1.3' 
make: *** [all] Error 2 
 
!!! ERROR: kde-base/kdeadmin-3.1.3 failed. 
!!! Function kde_src_compile, Line 137, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-08-27 19:59:17 UTC
Okay, this has been commented out in the 3.1.3 ebuild, until a fix is provided upstream.