after an emerge sync using the stable (not x86) tree, an emerge synce shows vpopmail has an available update. When trying to emerge vpopmail-5.2.1-r9 the error during compile presents and compile fails. Current vpopmail ver: vpopmail-5.2.1-r8 compile flags are: CFLAGS="-march=pentium4 -O3 -pipe" Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge -up world 3.emerge -u vpopmail Actual Results: ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \ cdbmake_add.o make[2]: Leaving directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail- 5.2.1/cdb' make[2]: Entering directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail- 5.2.1' gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vpopmail.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c md5.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c bigdir.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vauth.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c file_lock.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vpalias.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vchkpw.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vdelivermail.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c maildirquota.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c clearopensmtp.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vadddomain.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vdeldomain.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vpasswd.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vadduser.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vdeluser.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vaddaliasdomain.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vsetuserquota.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vpopbull.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vdeloldusers.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vmoduser.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c valias.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vuserinfo.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vmkpasswd.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vipmap.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vdominfo.c gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vconvert.c In file included from vconvert.c:35: vmysql.h:53:22: missing terminating " character In file included from vconvert.c:35: vmysql.h:55: error: syntax error before "char" vmysql.h:60:35: missing terminating " character gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vqmaillocal.c make[2]: *** [vconvert.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail- 5.2.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail- 5.2.1' make: *** [all-recursive-am] Error 2 !!! ERROR: net-mail/vpopmail-5.2.1-r9 failed. !!! Function src_compile, Line 129, Exitcode 2 !!! Make failed. Expected Results: installed correctly ..
I am getting the same issue, only on I'm a non-64 bit CPU AMD system. I tried to go from r8 to r9 and have `USE="-mysql" emerge -v -u vpopmail` to try and upgrade it. I've found that if you leave mysql options on, it compiles fine, but screws up vpopmail for cdb password file systems. I've also found that if I go into the post-patched vconvert.c and remove the `#include "vmysql.h"` line, after running `USE="-mysql" emerge -v u vpopmail` line and having it fail, you can go into the working directory and type `make` and have it compile fine. The patch that places the `#include "vmysql.h"` line is "vpopmail-5.2.1-gcc33mysql.diff". I hope this helps more
Well am not using mysql so i will try to remove that from the ebuild and try to compile again .. I will post results if sucessful or not... Regards .. LB
Ok .. so i made the change to the vconvert.c file, typed make and got the following result .. -------------------------------------------------------------------------- make make all-recursive make[1]: Entering directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail-5.2.1' Making all in cdb make[2]: Entering directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail-5.2.1/cdb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail-5.2.1/cdb' make[2]: Entering directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail-5.2.1' rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o cdb/*.o ranlib libvpopmail.a gcc -march=pentium4 -O3 -pipe -Wall -o vchkpw vchkpw.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vdelivermail vdelivermail.o maildirquota.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o clearopensmtp clearopensmtp.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vadddomain vadddomain.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vdeldomain vdeldomain.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vpasswd vpasswd.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vadduser vadduser.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vdeluser vdeluser.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vaddaliasdomain vaddaliasdomain.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vsetuserquota vsetuserquota.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vpopbull vpopbull.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vdeloldusers vdeloldusers.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vmoduser vmoduser.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o valias valias.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vuserinfo vuserinfo.o maildirquota.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vmkpasswd vmkpasswd.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vipmap vipmap.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vdominfo vdominfo.o libvpopmail.a -lnsl -lcrypt gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vconvert.c gcc -march=pentium4 -O3 -pipe -Wall -o vconvert vconvert.o libvpopmail.a -lnsl -lcrypt gcc -march=pentium4 -O3 -pipe -Wall -o vqmaillocal vqmaillocal.o libvpopmail.a -lnsl -lcrypt gcc -I. -Icdb -march=pentium4 -O3 -pipe -Wall -c vkill.c gcc -march=pentium4 -O3 -pipe -Wall -o vkill vkill.o libvpopmail.a -lnsl -lcrypt make[2]: Leaving directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail-5.2.1' make[1]: Leaving directory `/var/tmp/portage/vpopmail-5.2.1-r9/work/vpopmail-5.2.1' ---------------------------------------------------------------------------- Where shall i go from here? More so, is anyone working to fix this?
Is this still a issue with the latest stable vpopmail?
closing as NEEDINFO