Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge vmailmgr fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
adelante
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2003
Posts: 133
Location: South Africa - Johannesburg

PostPosted: Thu Feb 26, 2004 4:38 am    Post subject: emerge vmailmgr fails Reply with quote

Quote:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DBINDIR=\"/usr/bin\" -march=athlon-xp -Os -pipe -fomit-frame-pointer -m3dnow -msse -mfpmath=sse -mmmx -fno-rtti -fno-exceptions -Wall -W -c vcommand.cc
vpasswd2cdb.cc:30:1: missing terminating " character
vpasswd2cdb.cc:31: error: `writes' was not declared in this scope
vpasswd2cdb.cc:31: error: parse error before `out'
vpasswd2cdb.cc:32:51: missing terminating " character
vpasswd2cdb.cc:43: warning: missing initializer for member `cli_option::name'
vpasswd2cdb.cc:43: warning: missing initializer for member `cli_option::type'
vpasswd2cdb.cc:43: warning: missing initializer for member `
cli_option::flag_value'
vpasswd2cdb.cc:43: warning: missing initializer for member `cli_option::dataptr
'
vpasswd2cdb.cc:43: warning: missing initializer for member `cli_option::helpstr
'
vpasswd2cdb.cc:43: warning: missing initializer for member `
cli_option::defaultstr'
make[2]: *** [vpasswd2cdb.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/vmailmgr-0.96.9-r1/work/vmailmgr-0.96.9/commands'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vmailmgr-0.96.9-r1/work/vmailmgr-0.96.9'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-mail/vmailmgr-0.96.9-r1 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! parallel make failed

anyone got any idea on how to sort this out?
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sat Feb 28, 2004 10:19 pm    Post subject: Reply with quote

Same thing for me. This happened when doing /usr/sbin/python-updater after upgrading python. For an unknown reason, it would seem constructs like

Code:
const char* cli_help_suffix =
"Warning: the soft-message is linked into the users maildir once for each message that is
received while the account is over its soft quota.  This may result in multiple warning
messages.\n";
will not compile anymore. Did it ever? I have no clue. All I know is that it builded before and now it wont. Probably because I upgraded gcc to version 3.3.2.

To remedy this, I went over all /var/tmp/portage/vmailmgr-0.96.9-r1/work/vmailmgr-0.96.9/commands/*.cc and removed the line breaks inside quotes (there are about 5 or 6 files to edit). It's always the same variable that is affected: cli_help_suffix, around line 25 to 30.

After, I went and did:

# ebuild /usr/portage/net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild compile
# ebuild /usr/portage/net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild install
# ebuild /usr/portage/net-mail/vmailmgr/vmailmgr-0.96.9-r1.ebuild qmerge

All in all, I don't know what broke. And I have yet to assess if this broke any functionalities on my server.

[rant mode]
And files still end up in /home/httpd after that braindead move to /var/www instead of implementing a user variable that would indicate where is the web server root. This is so much a bad move from Gentoo devs. And they say "we" have control.
[/rant mode]
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
bch
n00b
n00b


Joined: 05 Mar 2004
Posts: 27

PostPosted: Fri May 14, 2004 4:48 am    Post subject: Reply with quote

This is a bug that is noted in bugzilla.... checkout : https://bugs.gentoo.org/show_bug.cgi?id=38498

There is a patch available, or you can manually do as tecknojunky sugested.


brent
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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