[qmailtoaster] Re: newmodel upgrade script --> make: *** [chkuser.o] Error 1

2010-06-10 Thread Eric Shubert

qmailtoas...@infor-conseils.be wrote:

*I did not make something special...


I was able to install the clamav-toaster package...

but for the qmail-toaster, i got the same error:*


Thanks for the insight.

First off, I'd recommend upgrading qmailtoaster-plus, as there is a 
newer qtp-newmodel available:

# yum update qmailtoaster-plus

Secondly, here are the pertinent errors:
chkuser.c:37:45: error: /home/vpopmail/include/vpopmail.h: No such file 
or directory
chkuser.c:38:42: error: /home/vpopmail/include/vauth.h: No such file or 
directory
chkuser.c:39:52: error: /home/vpopmail/include/vpopmail_config.h: No 
such file or directory


These files are not used in normal operations, but are required for 
building the qmail-toaster package (as you're experiencing). The easiest 
way to restore them would be to use qtp-newmodel to rebuild/reinstall 
the vpopmail-toaster package. The latest version of qtp-newmodel will 
allow you to select a current package for rebuilding.


That should fix you up. :)

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: newmodel upgrade script --> make: *** [chkuser.o] Error 1

2010-06-10 Thread qmailtoas...@infor-conseils.be
I did not make something special...

I was able to install the clamav-toaster package...

but for the qmail-toaster, i got the same error:
qtp-newmodel v0.3.14 starting Thu Jun 10 20:31:13 CEST 2010
qtp-whatami v0.3.5
DISTRO=CentOS
OSVER=5.3
QTARCH=i686
QTKERN=2.6.18-128.7.1.el5
BUILD_DIST=cnt50
BUILD_DIR=/usr/src/redhat
This machine's OS is supported and has been tested

Let's get on with it!

The following packages have already been selected:
qmail-toaster-1.03-1.3.20.src.rpm

Do you want to process this selection?
Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y

Getting source packages ...(this may take a while)
qmail-toaster-1.03-1.3.20.src.rpm is already downloaded, bypassed
qtp-install-rpmforge v0.3 - getting latest version of rpmforge-release ...
qtp-install-rpmforge - installed package rpmforge-release-0.3.6-1.el5.rf is
the latest - nothing done.
qtp-newmodel - installing perl(Encode::Detect)) perl(Razor2::Client::Agent)
..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.connexeon.net
 * updates: centos.mirror.connexeon.net
 * addons: centos.mirror.connexeon.net
 * extras: centos.mirror.connexeon.net
Setting up Install Process
Parsing package install arguments
No package perl(Encode::Detect)) available.
No package perl(Razor2::Client::Agent) available.
Nothing to do
qtp-newmodel - updating dependencies ...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.connexeon.net
 * updates: centos.mirror.connexeon.net
 * addons: centos.mirror.connexeon.net
 * extras: centos.mirror.connexeon.net
Setting up Update Process
No Packages marked for Update

Shall we build a new sandbox at /mnt/qtp-sandbox? [y]/n: y

Removing sandbox at /mnt/qtp-sandbox ...
qtp-umount-sandbox v0.3.1
qtp-umount-sandbox: sandbox not mounted

Would you like a unioned sandbox (quicker, smaller) [y]/n: y

Using union filesystem ...
qtp-mount-sandbox v0.3.1
qtp-build-unionfs v0.3.1
qtp-build-unionfs: The aufs module is already installed.
qtp-mount-sandbox: sandbox mounted successfully

Starting to build the binary rpms ...(pizza anyone?)

If you want to view compile messages, you can open another terminal and:
# tail -f /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log

qtp-build-rpms v0.3.3
qtp-remove-pkgs v0.3.1
Building qmail-toaster-1.03-1.3.20 ...
qtp-build-rpms - rpmbuild failed for qmail-toaster-1.03-1.3.20
qtp-build-rpms - see
/mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log

Build failed, Exiting.

THE LAST LINES FROM /MNT/QTP-SANDBOX/USR/SRC/QTP-UPGRADE/LOG/BUILD-RECENT.LOG
ARE:
 error.a str.a fs.a auto_qmail.o auto_split.o
cat warn-auto.sh qmail-qstat.sh 
 | sed s}QMAIL}"`head -1 conf-qmail`"}g 
 | sed s}BREAK}"`head -1 conf-break`"}g 
 | sed s}SPLIT}"`head -1 conf-split`"}g 
 > qmail-qstat
chmod 755 qmail-qstat
/compile qmail-tcpto.c
qmail-tcpto.c:36: warning: return type of 'main' is not 'int'
qmail-tcpto.c: In function 'main':
qmail-tcpto.c:46: warning: implicit declaration of function 'chdir'
qmail-tcpto.c:49: warning: implicit declaration of function 'open_write'
qmail-tcpto.c:51: warning: implicit declaration of function 'open_read'
qmail-tcpto.c:54: warning: implicit declaration of function 'read'
qmail-tcpto.c:55: warning: implicit declaration of function 'close'
qmail-tcpto.c:68: warning: implicit declaration of function 'byte_copy'
/load qmail-tcpto ip.o now.o open.a lock.a substdio.a 
 error.a str.a fs.a auto_qmail.o
/compile qmail-tcpok.c
qmail-tcpok.c:15: warning: return type of 'main' is not 'int'
qmail-tcpok.c: In function 'main':
qmail-tcpok.c:19: warning: implicit declaration of function 'chdir'
/load qmail-tcpok open.a lock.a strerr.a substdio.a 
 error.a str.a auto_qmail.o
/compile qmail-pop3d.c
qmail-pop3d.c: In function 'pop3_quit':
qmail-pop3d.c:185: warning: implicit declaration of function
'maildir_getquota'
qmail-pop3d.c:202: warning: implicit declaration of function 'unlink'
qmail-pop3d.c:227: warning: implicit declaration of function 'close'
qmail-pop3d.c: At top level:
qmail-pop3d.c:330: warning: return type of 'main' is not 'int'
qmail-pop3d.c: In function 'main':
qmail-pop3d.c:337: warning: implicit declaration of function 'chdir'
/compile commands.c
/compile maildir.c
maildir.c: In function 'maildir_chdir':
maildir.c:21: warning: implicit declaration of function 'chdir'
maildir.c: In function 'maildir_clean':
maildir.c:39: warning: suggest parentheses around assignment used as truth
value
maildir.c:47: warning: implicit declaration of function 'unlink'
maildir.c: In function 'append':
maildir.c:68: warning: suggest parentheses around assignment used as truth
value
maildir.c: In function 'maildir_scan':
maildir.c:98: warning: unused variable 'r'
/compile maildirflags.c
/load qmail-pop3d commands.o case.a timeoutread.o 
 timeoutwrite.o maildir.o prioq.o now.o env.a strerr.a sig.a 
 open.a getln.a stralloc.a alloc.a substdio.a error.a str.a 
 fs.a `cat socket.lib` maildi

[qmailtoaster] Re: newmodel upgrade script --> make: *** [chkuser.o] Error 1

2010-06-07 Thread Eric Shubert

qmailtoas...@infor-conseils.be wrote:

Dear QmailToaster List Members,

When launching the up2date entry from the wtp-menu, I got:
Issuing command: qtp-ami-up2date
New Qmail-Toaster Packages Available:
 available: ucspi-tcp-toaster-0.88-1.3.9
(installed: ucspi-tcp-toaster-0.88-1.3.8)
 available: qmail-toaster-1.03-1.3.20
(installed: qmail-toaster-1.03-1.3.18)
 available: squirrelmail-toaster-1.4.20-1.3.17
(installed: squirrelmail-toaster-1.4.19-1.3.15)
 available: clamav-toaster-0.96.1-1.3.36
(installed: clamav-toaster-0.95.3-1.3.31)


After that I launched the newmodel upgrade script...  and this is when the
things were going wrong...

It stops with the error:

...
chkuser.c:813: warning: assignment makes pointer from integer without a cast
chkuser.c:824: error: dereferencing pointer to incomplete type
chkuser.c:824: error: 'BOUNCE_MAIL' undeclared (first use in this function)
chkuser.c:824: error: (Each undeclared identifier is reported only once
chkuser.c:824: error: for each function it appears in.)
chkuser.c:829: error: dereferencing pointer to incomplete type
chkuser.c:830: error: dereferencing pointer to incomplete type
chkuser.c:834: warning: implicit declaration of function 'vmaildir_readquota'
chkuser.c:834: warning: implicit declaration of function 'format_maildirquota'
chkuser.c:834: error: dereferencing pointer to incomplete type
make: *** [chkuser.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.58494 (%build)


RPM build errors:
user shubes does not exist - using root
group shubes does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.58494 (%build)


Any idea?

Best Regards,
Christian



-


That's odd. I'm guessing that qtp-newmodel was in the process of 
building the qmail-toaster package. A little more of the output might be 
helpful.


It looks odd that my user name is in the package. Did you get this one 
from the qtp source repo?


Is there anything out of the ordinary that you did?
--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com