First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 5425
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Seemant Kulleen (RETIRED) <seemant@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jason Leidigh <jleidigh@uol.com.ar>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 5425 depends on: Show dependency tree
Show dependency graph
Bug 5425 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-22 17:01 0000
RPM 4.0.4-r2 Fails to build giving these messages (And more...):

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: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: 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-r2/work/rpm-4.0.4/rpmdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rpm-4.0.4-r2/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-r2.ebuild .


*******************************************************************************

After investigating the problem I have found that this "missing" declarations
are in ./popt/popt.h" yet the ebuild file summarily dels the folder:
rm -rf ${S}/popt

I commented the line in the ebuild file, however this is only half the problem.
 The offending file ./rpmdb/dbconfig.c fails in include the header and I did not
find it to be included from within another include (which would have coused an
error anyway as it doesn't exist).

Is there a way to alter the dbconfig.c file to include the header and then run
emerge?  Emerge unpacks the downloaded package each time and I cant fool it by
editing and repacking as this will fail the checksum test......help.....?

Ah PS....found this problem as I was try to upate KDE 3.0 => 3.0.2 Thanks!!

------- Comment #1 From Seemant Kulleen (RETIRED) 2002-07-22 18:46:27 0000 -------
emerge popt, and see if that works, please

------- Comment #2 From Balaji Rangaswamy 2002-07-23 17:02:41 0000 -------
it doesnt build for me either. Im doing a fresh first-time-ever install of 
Gentoo. Tried getting the X and KDE up and rpm was a dependancy. These are the 
messages I get: 

config.status: creating xa_ext.h 
config.status: creating db_config.h 
cd . && aclocal 
aclocal: configure.in: 188: macro 'AM_PROG_LIBTOOL' not found in library 
aclocal: configure.in: 188: macro 'AM_GNU_GETTEXT' not found in library 
make: ** [aclocal.m4] Error 1 

!!! 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-r2.ebuild 


Also posted on the forums here: 
http://forums.gentoo.org/viewtopic.php?p=49488&highlight=#49488

------- Comment #3 From Seemant Kulleen (RETIRED) 2002-07-23 20:43:11 0000 -------
the -r3 version of the rpm ebuild should take care of Balaji's problem anyway.

As for Jason,  did it get sorted when you emerged popt?

First Last Prev Next    No search results available      Search page      Enter new bug