Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to emerge Gnome--> gnome-power manager fails[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 211
Location: Arkansas

PostPosted: Fri Oct 19, 2007 11:21 am    Post subject: Trying to emerge Gnome--> gnome-power manager fails[solve Reply with quote

I don't even want power management so I would prefer if I could just skip this package, but it's being brought in as a dependency. Here is the end of the build log.

Quote:
db2omf: Could not construct the OMF maintainer element.
Add an author, corpauthor, editor, othercredit, or publisher
element with the role attribute set to "maintainer" to gnome-power-manager.xml.
xsltproc -o gnome-power-manager-sv.omf --stringparam db2omf.basename gnome-power-manager --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.3//EN" --stringparam db2omf.lang sv --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`/./gnome-power-manager.omf.in" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` sv/gnome-power-manager.xml
make[2]: *** [gnome-power-manager-C.omf] Error 10
make[2]: *** Waiting for unfinished jobs....
db2omf: Could not construct the OMF maintainer element.
Add an author, corpauthor, editor, othercredit, or publisher
element with the role attribute set to "maintainer" to gnome-power-manager.xml.
make[2]: *** [gnome-power-manager-ru.omf] Error 10
db2omf: Could not construct the OMF maintainer element.
Add an author, corpauthor, editor, othercredit, or publisher
element with the role attribute set to "maintainer" to gnome-power-manager.xml.
make[2]: *** [gnome-power-manager-sv.omf] Error 10
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.16.3/work/gnome-power-manager-2.16.3/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.16.3/work/gnome-power-manager-2.16.3'
make: *** [all] Error 2
*
* ERROR: gnome-extra/gnome-power-manager-2.16.3 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called gnome2_src_compile
* gnome2.eclass, line 71: Called die
*
* compile failure
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-extra/gnome-power-manager-2.16.3/temp/build.log'.
*

As I said, if there's a way to skip this package altogether, that would be best. I don't even have a laptop. I don't need power management or a maintainer.
_________________
Greg


Last edited by trigggl on Sat Nov 17, 2007 10:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Developer
Developer


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Oct 19, 2007 7:29 pm    Post subject: Reply with quote

Well, did you check what's depending on it? Perhaps there's a use flag you can turn off to prevent it from being added to the dep list? (-apm or similar?)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 211
Location: Arkansas

PostPosted: Sat Oct 20, 2007 2:48 am    Post subject: Reply with quote

I tried "-apm" for gnome just now, but it still got pulled in. Next I'll try to make it a system wide USE flag and emerge --newuse ...

EDIT: It only gets pulled in with emerge gnome. No other package pulls it in.
_________________
Greg
Back to top
View user's profile Send private message
JoseJX
Developer
Developer


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 29, 2007 1:29 am    Post subject: Reply with quote

Ah, that's why. "emerge gnome" is a meta-package that pulls in all of the gnome components, which that's probably a member of. You probably should file a bug on this error, if it's reproducible and the rest of your system is up to date.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
PS3cabe
n00b
n00b


Joined: 08 Nov 2007
Posts: 1

PostPosted: Thu Nov 08, 2007 7:36 am    Post subject: same problem, might have solved it Reply with quote

I am putting gentoo on my new playstation III and I ran into the same problem.
So I decided on a rather crude approach, Diddle the conf files! actually the only file I had to fool around with was .../help/C/gnome-power-manager.xml
I added a few lines between "</author>" and "<!-- This is appropriate place for other contributers" lines (around line 57)

I added:
Code:


<maintainer>
         <firstname>ME</firstname>
         <surname>meme</surname>
         <email>none@thevoid.com</email>
</maintainer>


then I backed out to the gnome-power-manager.x.x dir (cd ../..) , and ran configure, and make a few times (configure may not be needed) make kicked out errors the first couple of times while it copied my handywork into other copys of gnome-power-manager.xml in the sv, and ru dirs. then eventually, make ran clean, I ran "make install", then dropped back to the root dir, and reran emerge gnome. I was happy to see that it had one less psckage to build, and didn't seem to bother with gnome-power-manager.

Sloppy fix i know, and apologies for lack of code, but i am copying this by hand as my ps3 compiles the last of the gnome packages.

-cabe


EDIT: Wrote too soon! Make works fine, but portage comes back around, and tries to reinstall it (after it installs a few other packages).

EDIT2: after it crashed with the error, i typed emerge agaiun to make sure it would try the same package, then cancelled it, and typed emerge --skipnext
Now i have gnome on a playstation!
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 418
Location: London, U.K. & Lisbon, Portugal

PostPosted: Mon Nov 12, 2007 7:01 pm    Post subject: Reply with quote

PS3cabe, the easy, simple way was to add gnome-power-manager in /etc/portage/package.provided. :D This will skip the installation of said package.
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 211
Location: Arkansas

PostPosted: Mon Nov 12, 2007 7:13 pm    Post subject: Reply with quote

Sodki,

That sounds like an excellent idea. 8O (a real eye opener)

That's what I will do.
_________________
Greg
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Thu Nov 15, 2007 2:45 pm    Post subject: Reply with quote

this is now bug #199218
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 211
Location: Arkansas

PostPosted: Thu Nov 15, 2007 3:05 pm    Post subject: Reply with quote

Thanks for posting that bug report.

Edit: I just sync'ed and updated gnome. Gnome-power-manager emerged (or got ignored) with no problem. Problem solved.
_________________
Greg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum