View previous topic :: View next topic |
Author |
Message |
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat May 25, 2002 6:34 pm Post subject: rpm-4.0.4 borked |
|
|
I'm having problems with the latest rpm package, which is required by the latest kdeadmin package, which is installed with the latest KDE package, which is installed automagically on my computer with an emerge -u world.
Code: |
# emerge rpm
... standard config...
... standard compilation...
db_server.h:914: warning: function declaration isn't a prototype
db_server.h:916: warning: function declaration isn't a prototype
db_server.h:918: warning: function declaration isn't a prototype
db_server.h:920: warning: function declaration isn't a prototype
db_server.h:922: warning: function declaration isn't a prototype
db_server.h:924: warning: function declaration isn't a prototype
db_server.h:926: warning: function declaration isn't a prototype
db_server.h:928: warning: function declaration isn't a prototype
db_server.h:930: warning: function declaration isn't a prototype
db_server.h:932: warning: function declaration isn't a prototype
db_server.h:934: warning: function declaration isn't a prototype
db_server.h:936: warning: function declaration isn't a prototype
db_server.h:938: warning: function declaration isn't a prototype
db_server.h:940: warning: function declaration isn't a prototype
db_server.h:942: warning: function declaration isn't a prototype
db_server.h:944: warning: function declaration isn't a prototype
db_server.h:946: warning: function declaration isn't a prototype
... standard compilation ...
... DEATH APPROACHES! Many error lines cut.
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 .
|
The db_server.h errors repeat many times, and is likely not the source of the problem, but I thought I'd mention it anyway. This appears to be a problem with the RPM source, so I'm not entirely sure what I should do.[/code] |
|
Back to top |
|
|
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat May 25, 2002 6:42 pm Post subject: |
|
|
Thanks! Compiling... |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat May 25, 2002 7:07 pm Post subject: |
|
|
Yep, worked fine.
Perhaps a new version of Portage could have integrated bug reporting/querying so that if an emerge fails, it could see if someone has reported a workaround? That'd be nice |
|
Back to top |
|
|
ack n00b
Joined: 26 May 2002 Posts: 8 Location: Fl, USA
|
Posted: Mon May 27, 2002 8:08 pm Post subject: rpm borked the saga continues |
|
|
I've run the procedures listed in https://forums.gentoo.org/viewtopic.php?t=3312&highlight=rpm
It seems my original error is different.
Here is a summary of the error:
status: creating txn_ext.h
config.status: creating xa_ext.h
config.status: creating db_config.h
cd . && aclocal
aclocal: /usr/share/aclocal/xine.m4: 29: duplicated macro `AM_PATH_XINE'
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-r1.ebuild .
I am trying to emerge kde3.0.1. _________________ Radio Shack, You have questions we have blank stares. |
|
Back to top |
|
|
proxy Apprentice
Joined: 20 Apr 2002 Posts: 260 Location: Chantilly, VA
|
Posted: Mon May 27, 2002 8:40 pm Post subject: |
|
|
i got that after updating my xine, it went after after i did an "emerge clean" to get rid of old xine install
give that a try |
|
Back to top |
|
|
ack n00b
Joined: 26 May 2002 Posts: 8 Location: Fl, USA
|
Posted: Tue May 28, 2002 2:24 am Post subject: |
|
|
Ok, I went and did an "emerge clean" but now emerge refuses to work at all. Here is the error.
emerge -c rsync
Traceback (most recent call last):
File "/usr/bin/emerge", line 6, in ?
import output
File "/usr/lib/python2.2/site-packages/output.py", line 4, in ?
import portage;
File "/usr/lib/python2.2/site-packages/portage.py", line 3331, in ?
db["/"]["porttree"]=portagetree("/",virts)
File "/usr/lib/python2.2/site-packages/portage.py", line 2461, in __init__
self.portroot=settings["PORTDIR"]
File "/usr/lib/python2.2/site-packages/portage.py", line 678, in __getitem__
self.populate()
File "/usr/lib/python2.2/site-packages/portage.py", line 656, in populate
self.configdict["globals"]=getconfig("/etc/make.globals")
File "/usr/lib/python2.2/site-packages/portage.py", line 422, in getconfig
f=open(mycfg,'r')
IOError: [Errno 2] No such file or directory: '/etc/make.globals'
Its looking for make.globals. What do I need to do now?
Thanks _________________ Radio Shack, You have questions we have blank stares. |
|
Back to top |
|
|
ack n00b
Joined: 26 May 2002 Posts: 8 Location: Fl, USA
|
Posted: Tue May 28, 2002 2:26 am Post subject: |
|
|
Sorry, the command I showed in my last post was wrong. I get the same error when trying any emerge. Somehow make.globals was removed? _________________ Radio Shack, You have questions we have blank stares. |
|
Back to top |
|
|
proxy Apprentice
Joined: 20 Apr 2002 Posts: 260 Location: Chantilly, VA
|
Posted: Tue May 28, 2002 2:35 am Post subject: |
|
|
that command is broken and actually unmerges rsync!
you needed to do: "emerge clean" and if you want to get a fresh portage tree "emerge --clean rsync"
d'oh!
i dunno how to fix that, but it is a reported bug
proxy |
|
Back to top |
|
|
ack n00b
Joined: 26 May 2002 Posts: 8 Location: Fl, USA
|
Posted: Tue May 28, 2002 2:55 am Post subject: |
|
|
Yeah, I found that out. I just went into IRC and somebody told me about a rescue for portage. Luckily it worked and emerge is working again normally ( I think) I did an emerge rsync and it ran fine so I tried emerge rpm and still came up with the same error as before.
Jack _________________ Radio Shack, You have questions we have blank stares. |
|
Back to top |
|
|
ack n00b
Joined: 26 May 2002 Posts: 8 Location: Fl, USA
|
Posted: Tue May 28, 2002 3:15 am Post subject: resoloution finally |
|
|
Ok, RPM is compiling. I believe I may have compiled XINE from source sometime back. I looked closer at the error moved the file
/usr/share/aclocal/xine.m4
to /tmp and walla RPM compiles now.
Thanks for the help Proxy!! _________________ Radio Shack, You have questions we have blank stares. |
|
Back to top |
|
|
|