Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 49094

Summary: vmailmgr 0.96.9-r1 did not compile cleanly
Product: Gentoo Linux Reporter: Dj Statik <djstatik>
Component: Current packagesAssignee: Alin Năstac (RETIRED) <mrness>
Status: RESOLVED DUPLICATE    
Severity: normal CC: net-mail+disabled
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 38498    
Bug Blocks:    
Attachments: fixed ebuild
source code patch

Description Dj Statik 2004-04-26 19:06:11 UTC
vmailmgr 0.96.9-r1 would not emerge on any of my systems.  Upon examining the source code under the commands/ directory I noticed strings split up over multiple lines which the compiler was not happy about.  A diff is attached which corrects this problem.


Reproducible: Always
Steps to Reproduce:
emerge vmailmgr
Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -DBINDIR=\"/usr/bin\"    -mcpu=athlon-
xp -O3 -pipe -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


Expected Results:  
Only in vmailmgr-0.96.9/commands: pod2htmd.tmp
Only in vmailmgr-0.96.9/commands: pod2htmi.tmp
diff -u -r vmailmgr-0.96.9.orig/commands/vcheckquota.cc vmailmgr-
0.96.9/commands/vcheckquota.cc
--- vmailmgr-0.96.9.orig/commands/vcheckquota.cc	2000-08-19 
12:05:57.000000000 -0500
+++ vmailmgr-0.96.9/commands/vcheckquota.cc	2004-04-26 20:21:44.000000000 -
0500
@@ -31,10 +31,8 @@
 
 const char* cli_program = "vcheckquota";
 const char* cli_help_prefix = "vmailmgr quota enforcement program\n";
-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";
+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";
 const char* cli_args_usage = "";
 const int cli_args_min = 0;
 const int cli_args_max = 0;
diff -u -r vmailmgr-0.96.9.orig/commands/vchforwards.cc vmailmgr-
0.96.9/commands/vchforwards.cc
--- vmailmgr-0.96.9.orig/commands/vchforwards.cc	2000-08-15 
21:08:35.000000000 -0500
+++ vmailmgr-0.96.9/commands/vchforwards.cc	2004-04-26 20:22:50.000000000 -
0500
@@ -25,8 +25,7 @@
 const char* cli_help_prefix =
 "Change virtual user forwarding addresses.\n";
 const char* cli_help_suffix =
-"If no forwarding addresses are given, forwarding is disabled.
-";
+"If no forwarding addresses are given, forwarding is disabled.  ";
 const char* cli_args_usage = "USERNAME [DESTINATION1 ...]";
 const int cli_args_min = 1;
 const int cli_args_max = -1;
diff -u -r vmailmgr-0.96.9.orig/commands/vpasswd2cdb.cc vmailmgr-
0.96.9/commands/vpasswd2cdb.cc
--- vmailmgr-0.96.9.orig/commands/vpasswd2cdb.cc	2000-08-15 
21:02:01.000000000 -0500
+++ vmailmgr-0.96.9/commands/vpasswd2cdb.cc	2004-04-26 20:20:56.000000000 -
0500
@@ -27,9 +27,7 @@
 const char* cli_program = "vpasswd2cdb";
 const char* cli_help_prefix = "Converts text password tables to CDB format\n";
 const char* cli_help_suffix =
-"Reads in a standard virtual password table in the current directory,
-and writes it out to a CDB table.  The file names for the text and CDB
-tables are determined from the configuration file.";
+"Reads in a standard virtual password table in the current directory, and 
writes it out to a CDB table.  The file names for the text and CDB tables are 
determined from the configuration file.";
 const char* cli_args_usage = "";
 const int cli_args_min = 0;
 const int cli_args_max = 0;
diff -u -r vmailmgr-0.96.9.orig/commands/vpasswd2db.cc vmailmgr-
0.96.9/commands/vpasswd2db.cc
--- vmailmgr-0.96.9.orig/commands/vpasswd2db.cc	2000-08-15 21:02:04.000000000 -
0500
+++ vmailmgr-0.96.9/commands/vpasswd2db.cc	2004-04-26 20:20:32.000000000 -
0500
@@ -26,9 +26,7 @@
 const char* cli_program = "vpasswd2db";
 const char* cli_help_prefix = "Converts text password tables to current 
vpwtable DB format\n";
 const char* cli_help_suffix =
-"Reads in a standard virtual password table in the current directory,
-and writes it out to a table.  The file names for the input and output
-tables are determined from the configuration file.";
+"Reads in a standard virtual password table in the current directory, and 
writes it out to a table.  The file names for the input and output tables are 
determined from the configuration file."; 
 const char* cli_args_usage = "";
 const int cli_args_min = 0;
 const int cli_args_max = 0;


Gentoo Base System version 1.4.9
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 AMD Athlon(tm) XP 2200+
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="berkdb crypt curl flac gdbm hardened imap innodb java jikes libwww mad 
maildir mmx msn mysql ncurses nls oggvorbis pam perl python readline sasl slang 
spell sqlite ssl svga tcpd vhosts x86 xml2 yahoo zlib"
Comment 1 ingenius 2004-05-24 12:40:59 UTC
Created attachment 31953 [details]
fixed ebuild
Comment 2 ingenius 2004-05-24 12:41:50 UTC
Created attachment 31954 [details, diff]
source code patch
Comment 3 ingenius 2004-05-24 12:43:03 UTC
Fixed compiling problems
Comment 4 Allen Parker 2004-06-02 14:57:05 UTC
you might want to fix the mis-label of qmail... it's mail-mta, not net-mail...
Comment 5 Chris Rebert 2004-08-23 00:05:02 UTC
this bug sounds identical to bug 38498, the error message is the same
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2004-12-24 05:40:37 UTC
You're right, Chris.
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2005-03-03 23:46:37 UTC
taking over of vmailmgr bugs, being primary maintainer 'n stuff
Comment 8 Alin Năstac (RETIRED) gentoo-dev 2005-03-05 03:41:25 UTC
then it is a duplicate... it should be the other way around, but that bug is already fixed

*** This bug has been marked as a duplicate of 65400 ***