Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3002 - Kde 3.0.1 upgrade breaks at rpm-4.0.4-r1
Summary: Kde 3.0.1 upgrade breaks at rpm-4.0.4-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 3136 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-24 19:49 UTC by Matthew Daubenspeck
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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 Matthew Daubenspeck 2002-05-24 19:49:44 UTC
Wow. This is a long one. I was trying up upgrade to the new kde 3.0.1, and this
is where it broke during rpm-4.0.4-r1.ebuild:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../build -I../lib -I../rpmio
-I../beecrypt -march=i686 -O3 -pipe -D_GNU_SOURCE -D_REENTRANT -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -D_GNU_SOURCE
-D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts -c dbconfig.c    -fPIC -DPIC -o .libs/dbconfig.lo
dbconfig.c:57: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:57: initializer element is not constant
dbconfig.c:57: (near initialization for `rdbOptions[0].argInfo')
dbconfig.c:60: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:60: initializer element is not constant
dbconfig.c:60: (near initialization for `rdbOptions[1].argInfo')
dbconfig.c:63: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:63: initializer element is not constant
dbconfig.c:63: (near initialization for `rdbOptions[2].argInfo')
dbconfig.c:65: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:65: initializer element is not constant
dbconfig.c:65: (near initialization for `rdbOptions[3].argInfo')
dbconfig.c:68: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:68: initializer element is not constant
dbconfig.c:68: (near initialization for `rdbOptions[4].argInfo')
dbconfig.c:70: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:70: initializer element is not constant
dbconfig.c:70: (near initialization for `rdbOptions[5].argInfo')
dbconfig.c:72: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:72: initializer element is not constant
dbconfig.c:72: (near initialization for `rdbOptions[6].argInfo')
dbconfig.c:74: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:74: initializer element is not constant
dbconfig.c:74: (near initialization for `rdbOptions[7].argInfo')
dbconfig.c:76: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:76: initializer element is not constant
dbconfig.c:76: (near initialization for `rdbOptions[8].argInfo')
dbconfig.c:78: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:78: initializer element is not constant
dbconfig.c:78: (near initialization for `rdbOptions[9].argInfo')
dbconfig.c:80: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:80: initializer element is not constant
dbconfig.c:80: (near initialization for `rdbOptions[10].argInfo')
dbconfig.c:82: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:82: initializer element is not constant
dbconfig.c:82: (near initialization for `rdbOptions[11].argInfo')
dbconfig.c:84: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:84: initializer element is not constant
dbconfig.c:84: (near initialization for `rdbOptions[12].argInfo')
dbconfig.c:86: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:86: initializer element is not constant
dbconfig.c:86: (near initialization for `rdbOptions[13].argInfo')
dbconfig.c:88: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:88: initializer element is not constant
dbconfig.c:88: (near initialization for `rdbOptions[14].argInfo')
dbconfig.c:90: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:90: initializer element is not constant
dbconfig.c:90: (near initialization for `rdbOptions[15].argInfo')
dbconfig.c:92: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:92: initializer element is not constant
dbconfig.c:92: (near initialization for `rdbOptions[16].argInfo')
dbconfig.c:94: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:94: initializer element is not constant
dbconfig.c:94: (near initialization for `rdbOptions[17].argInfo')
dbconfig.c:96: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:96: initializer element is not constant
dbconfig.c:96: (near initialization for `rdbOptions[18].argInfo')
dbconfig.c:99: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:99: initializer element is not constant
dbconfig.c:99: (near initialization for `rdbOptions[19].argInfo')
dbconfig.c:101: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:101: initializer element is not constant
dbconfig.c:101: (near initialization for `rdbOptions[20].argInfo')
dbconfig.c:104: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:104: initializer element is not constant
dbconfig.c:104: (near initialization for `rdbOptions[21].argInfo')
dbconfig.c:106: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:106: initializer element is not constant
dbconfig.c:106: (near initialization for `rdbOptions[22].argInfo')
dbconfig.c:108: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:108: initializer element is not constant
dbconfig.c:108: (near initialization for `rdbOptions[23].argInfo')
dbconfig.c:110: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:110: initializer element is not constant
dbconfig.c:110: (near initialization for `rdbOptions[24].argInfo')
dbconfig.c:112: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:112: initializer element is not constant
dbconfig.c:112: (near initialization for `rdbOptions[25].argInfo')
dbconfig.c:182: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:182: initializer element is not constant
dbconfig.c:182: (near initialization for `rdbOptions[57].argInfo')
dbconfig.c:184: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:184: initializer element is not constant
dbconfig.c:184: (near initialization for `rdbOptions[58].argInfo')
dbconfig.c:186: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:186: initializer element is not constant
dbconfig.c:186: (near initialization for `rdbOptions[59].argInfo')
dbconfig.c:188: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:188: initializer element is not constant
dbconfig.c:188: (near initialization for `rdbOptions[60].argInfo')
dbconfig.c:226: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:226: initializer element is not constant
dbconfig.c:226: (near initialization for `rdbOptions[73].argInfo')
dbconfig.c:228: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:228: initializer element is not constant
dbconfig.c:228: (near initialization for `rdbOptions[74].argInfo')
dbconfig.c:230: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:230: initializer element is not constant
dbconfig.c:230: (near initialization for `rdbOptions[75].argInfo')
dbconfig.c:232: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:232: initializer element is not constant
dbconfig.c:232: (near initialization for `rdbOptions[76].argInfo')
dbconfig.c:235: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:235: initializer element is not constant
dbconfig.c:235: (near initialization for `rdbOptions[77].argInfo')
dbconfig.c:237: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:237: initializer element is not constant
dbconfig.c:237: (near initialization for `rdbOptions[78].argInfo')
dbconfig.c:244: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:244: initializer element is not constant
dbconfig.c:244: (near initialization for `rdbOptions[81].argInfo')
dbconfig.c:246: `POPT_BIT_SET' undeclared here (not in a function)
dbconfig.c:246: initializer element is not constant
dbconfig.c:246: (near initialization for `rdbOptions[82].argInfo')
dbconfig.c: In function `dbSaveLong':
dbconfig.c:267: `POPT_ARGFLAG_NOT' undeclared (first use in this function)
dbconfig.c:267: (Each undeclared identifier is reported only once
dbconfig.c:267: for each function it appears in.)
dbconfig.c:270: `POPT_ARGFLAG_LOGICALOPS' undeclared (first use in this function)
dbconfig.c:274: `POPT_ARGFLAG_OR' undeclared (first use in this function)
dbconfig.c:277: `POPT_ARGFLAG_AND' undeclared (first use in this function)
dbconfig.c:280: `POPT_ARGFLAG_XOR' undeclared (first use in this function)
dbconfig.c:284: `POPT_ERROR_BADOPERATION' undeclared (first use in this function)
dbconfig.c:272: warning: unreachable code at beginning of switch statement
dbconfig.c: In function `dbSaveInt':
dbconfig.c:293: `POPT_ARGFLAG_NOT' undeclared (first use in this function)
dbconfig.c:296: `POPT_ARGFLAG_LOGICALOPS' undeclared (first use in this function)
dbconfig.c:300: `POPT_ARGFLAG_OR' undeclared (first use in this function)
dbconfig.c:303: `POPT_ARGFLAG_AND' undeclared (first use in this function)
dbconfig.c:306: `POPT_ARGFLAG_XOR' undeclared (first use in this function)
dbconfig.c:310: `POPT_ERROR_BADOPERATION' undeclared (first use in this function)
dbconfig.c:298: warning: unreachable code at beginning of switch statement
dbconfig.c: In function `db3New':
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:365: warning: pointer of type `void *' used in arithmetic
dbconfig.c:410: `POPT_BIT_SET' undeclared (first use in this function)
dbconfig.c:411: `POPT_BIT_CLR' undeclared (first use in this function)
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c:479: warning: pointer of type `void *' used in arithmetic
dbconfig.c: In function `prDbiOpenFlags':
dbconfig.c:531: `POPT_BIT_SET' undeclared (first use in this function)
make[2]: *** [dbconfig.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/rpm-4.0.4-r1/work/rpm-4.0.4/rpmdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rpm-4.0.4-r1/work/rpm-4.0.4'
make: *** [all-recursive-am] Error 2

!!! ERROR: the make command did not complete successfully.
!!! ("make")
!!! Since this is a critical task, ebuild will be stopped.

!!! emerge aborting on  /usr/portage/app-arch/rpm/rpm-4.0.4-r1.ebuild
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-24 20:23:51 UTC
emerge popt and give it a go again
Comment 2 Spider (RETIRED) gentoo-dev 2002-05-24 20:32:47 UTC
this is because the old version of rpm was installed above the new version of
popt which will mungle some headers :

do this and it should solve itself:
emerge -C popt rpm
emerge rpm
Comment 3 Keith Gross 2002-05-28 20:29:48 UTC
*** Bug 3136 has been marked as a duplicate of this bug. ***