| View previous topic :: View next topic |
| Author |
Message |
swarrenjr n00b

Joined: 31 Mar 2006 Posts: 2 Location: Iowa
|
Posted: Tue Apr 25, 2006 8:21 pm Post subject: Jabberd gets error with enewgroup |
|
|
I am not sure what is causing this. I have searched the forums and haven't come up with a solution. I am trying to emerge jabberd and always come up with the following error.
>>> Install jabberd-1.4.3-r5 into /var/tmp/portage/jabberd-1.4.3-r5/image/ category net-im
* 'enewgroup()' called from 'install()' which is not a pkg_* function.
* Package fails at QA and at life. Please file a bug.
!!! ERROR: net-im/jabberd-1.4.3-r5 failed.
!!! Function enewgroup, Line 648, Exitcode 0
!!! Bad package! enewgroup is only for use in pkg_* functions!
!!! If you need support, post the topmost build error, NOT this status message.
I am guessing this may be something simple I am overlooking. I ran the following commands:
emerge --sync
emerge portage
emerge -av mu-conference
The emerge for mu-conference starts off with jabberd first. I never get past that. Thanks for any help! _________________ Sam Warren, Jr. |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Tue Apr 25, 2006 8:24 pm Post subject: |
|
|
| That's a bug in the ebuild. Report it at bugs.gentoo.org - but please make sure, that this wasn't reported before. |
|
| Back to top |
|
 |
mariourk l33t


Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Fri Apr 28, 2006 10:09 am Post subject: |
|
|
Is there any solution for this? I'm getting the same error with both version 2.0.9 and 2.0.10.
I tried to uninstall jabberd 1.4 before installing 2.x but that didn't make any difference. _________________ If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all. |
|
| Back to top |
|
 |
mariourk l33t


Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Fri Apr 28, 2006 10:30 am Post subject: |
|
|
I found a solution. The error was caused because the ebuild was trying to add the group and user 'jabber'.
But those allready existed from an old 1.4 install. So, I edited /usr/portage/net-im/jabberd/jabberd-2.0.10.ebuild
| Code: |
nano -w /usr/portage/net-im/jabberd/jabberd-2.0.10.ebuild
|
and I commented those 2 lines in the src_install-section.
| Code: |
## add user and group
#enewgroup jabber
#enewuser jabber -1 -1 /var/jabberd jabber
|
After that I installed jabberd-2.0.10 succesfully with
| Code: |
ACCEPT_KEYWORDS="~x86" emerge --digest jabberd
|
As I sayd, the user and group jabber allready existed on my system. So it didn't really matter if I commented the stuff.
Otherwise the group and user could be added manually.
Hope that helps someone
source _________________ If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all. |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Fri Apr 28, 2006 5:09 pm Post subject: |
|
|
| mariourk wrote: | Hope that helps someone  |
It would help even more people if someone reported that bug. |
|
| Back to top |
|
 |
mariourk l33t


Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Fri Apr 28, 2006 9:32 pm Post subject: |
|
|
Ok, I filed it.
As far as I could see, it wasn't filed allready.
update:
Well, I'll be... I was filed allready after all...  _________________ If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
Last edited by mariourk on Tue May 02, 2006 7:39 am; edited 1 time in total |
|
| Back to top |
|
 |
swarrenjr n00b

Joined: 31 Mar 2006 Posts: 2 Location: Iowa
|
Posted: Mon May 01, 2006 4:20 pm Post subject: Thought it was filed. |
|
|
I looked at the bugs and it looked like it was already filed when I looked. Sorry if I should have done something and didn't. My work around was to go back to an older portage. I restored my server to before I updated Portage and I could do the e-merge without any problem. I guess you could also get an older portage snapshot from the Gentoo mirrors instead of doing a restore. _________________ Sam Warren, Jr. |
|
| Back to top |
|
 |
|