Re: [qmailtoaster] Fedora Core 5 installation issues

2006-04-03 Thread Mark Martin
On Mon, 2006-04-03 at 19:30 +0200, Samuel Díaz García wrote:
 Hi guys, I'm writing this because I'm having issues installing 
 qmail-toaster into a FC5 distro.
 
 I upgraded from a FC4 distro, but before the upgrade process I had to 
 uninstall qmail-toaster packages, and now, I'm having problems 
 installing over a FC5 distro.
 
 I can install, without apparent problems:
 
 daemontools
 ucspi-tcp
 vpopmail
 
 But when I try qmail, there are too many errors (see at the end of e-mail).
 
 The problem appears to be 2:
 1) Error in headers (not found or incorrect).
 2) Error in libs (not found or incorrect).
 
 I had installed compat packages:
 
 [EMAIL PROTECTED] qtms-install]# yum list | grep compat
 compat-gcc-32.i386   3.2.3-55.fc5   installed
 compat-gcc-32-c++.i386   3.2.3-55.fc5   installed
 compat-libstdc++-33.i386 3.2.3-55.fc5   installed
 
 Please, please, please, any help. I need to reinstall the qmail and 
 after the upgrade, the downgrade is not posible for this server.
 
 Thanks
 
 
 === BEGIN DUMP ===
 [EMAIL PROTECTED] qtms-install]# rpmbuild --rebuild --with fdr40 --target 
 i686 
 qmail
 qmailadmin-toaster-1.2.9-1.2.11.src.rpm 
 qmailmrtg-toaster-4.2-1.2.8.src.rpm  qmail-toaster-1.03-1.2.10.src.rpm
 [EMAIL PROTECTED] qtms-install]# rpmbuild --rebuild --with fdr40 --target 
 i686 
 qmail-toaster-1.03-1.2.10.src.rpm
 Installing qmail-toaster-1.03-1.2.10.src.rpm
 Building target platforms: i686
 Building for target i686
 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97010
 + umask 022
 + cd /usr/src/redhat/BUILD
 + LANG=C
 + export LANG
 + unset DISPLAY
 + cd /usr/src/redhat/BUILD
 + rm -rf qmail-1.03
 + /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/qmail-1.03.tar.bz2
 + tar -xf -
 + STATUS=0
 + '[' 0 -ne 0 ']'
 + cd qmail-1.03
 ++ /usr/bin/id -u
 + '[' 0 = 0 ']'
 + /bin/chown -Rhf root .
 ++ /usr/bin/id -u
 + '[' 0 = 0 ']'
 + /bin/chgrp -Rhf root .
 + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
 + echo 'Patch #0 (qmailtoaster-0.6.patch.bz2):'
 Patch #0 (qmailtoaster-0.6.patch.bz2):
 + /usr/bin/bzip2 -d
 + patch -p0 -s
 + STATUS=0
 + '[' 0 -ne 0 ']'
 + '[' -f /var/tmp/qmail-1.03-gcc ']'
 + '[' -x /usr/bin/gcc-3.2.3 ']'
 + '[' -x /usr/bin/gcc-3.2.2 ']'
 + '[' -x /usr/bin/gcc-3.2.1 ']'
 + '[' -x /usr/bin/gcc-3.2 ']'
 + '[' -x /usr/bin/gcc-3.1.1 ']'
 + echo gcc
 + '[' -f /var/tmp/qmail-1.03-show_flags ']'
 + cat
 + chmod u+x /var/tmp/qmail-1.03-show_flags
 + /var/tmp/qmail-1.03-show_flags
 
 
   RPM RELEASE: qmail-toaster-1.03-1.2.10
   OS TYPE IS : Fedora Core 4 Linux
   BUILD DATE : Sun Nov 20 2005
   CCFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
 -mtune=generic -fasynchronous-unwind-tables -DTLS=20040120
   LDFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
 -mtune=generic -fasynchronous-unwind-tables
 
 
 + '[' -f /var/tmp/qmail-1.03-show_flags ']'
 + rm -f /var/tmp/qmail-1.03-show_flags
 + exit 0
 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.41948
 + umask 022
 + cd /usr/src/redhat/BUILD
 + cd qmail-1.03
 + LANG=C
 + export LANG
 + unset DISPLAY
 + '[' -n /var/tmp/qmail-toaster-1.03 -a /var/tmp/qmail-toaster-1.03 '!=' 
 / ']'
 + rm -rf /var/tmp/qmail-toaster-1.03
 + mkdir -p /var/tmp/qmail-toaster-1.03
 ++ /usr/bin/id -g nofiles
 + '[' -z '' ']'
 + /usr/sbin/groupadd -g 2107 -r nofiles
 groupadd: group nofiles exists
 + :
 ++ /usr/bin/id -g qmail
 + '[' -z '' ']'
 + /usr/sbin/groupadd -g 2108 -r qmail
 groupadd: group qmail exists
 + :
 ++ /usr/bin/id -u alias
 + '[' -z 7790 ']'
 ++ /usr/bin/id -u qmaild
 + '[' -z 7791 ']'
 ++ /usr/bin/id -u qmaill
 + '[' -z 7792 ']'
 ++ /usr/bin/id -u qmailp
 + '[' -z 7793 ']'
 ++ /usr/bin/id -u qmailq
 + '[' -z 7794 ']'
 ++ /usr/bin/id -u qmailr
 + '[' -z 7795 ']'
 ++ /usr/bin/id -u qmails
 + '[' -z 7796 ']'
 ++ cat /var/tmp/qmail-1.03-gcc
 + echo 'gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
 -mtune=generic -fasynchronous-unwind-tables -DTLS=20040120'
 ++ cat /var/tmp/qmail-1.03-gcc
 + echo 'gcc -s -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
 -mtune=generic -fasynchronous-unwind-tables'
 + '[' -f /var/tmp/qmail-1.03-gcc ']'
 + rm -f /var/tmp/qmail-1.03-gcc
 + make clean
 rm -f `cat TARGETS`
 + make compile makelib
 ( cat warn-auto.sh; \
 echo CC=\'`head -1 conf-cc`\'; \
 echo LD=\'`head -1 conf-ld`\' \
 )  auto-ccld.sh
 cat auto-ccld.sh make-compile.sh  make-compile
 chmod 755 make-compile
 cat auto-ccld.sh find-systype.sh  find-systype
 chmod 755 find-systype
 ./find-systype  systype
 ( cat warn-auto.sh; ./make-compile `cat systype` )  \
 compile
 chmod 755 compile
 cat auto-ccld.sh make-makelib.sh  make-makelib
 chmod 755 make-makelib
 ( cat warn-auto.sh; 

Re: [qmailtoaster] Fedora Core 5 installation issues

2006-04-03 Thread Samuel Díaz García

Thanks Mark, when receibed your e-mail the issue where solved.

The packages with problems encountered where:
   1) qmail-toaster
   2) ezmlm-toaster

The first where solved commenting the declaration of strerror function.
The second, changing the cc config in the spec file, putting gcc instead 
of gcc32.


Perhaps this help to upgrade the packages and allow them to compile and 
install correctly in FC5.


Thanks again.

Mark Martin escribió:

On Mon, 2006-04-03 at 19:30 +0200, Samuel Díaz García wrote:
Hi guys, I'm writing this because I'm having issues installing 
qmail-toaster into a FC5 distro.


I upgraded from a FC4 distro, but before the upgrade process I had to 
uninstall qmail-toaster packages, and now, I'm having problems 
installing over a FC5 distro.


I can install, without apparent problems:

daemontools
ucspi-tcp
vpopmail

But when I try qmail, there are too many errors (see at the end of e-mail).

The problem appears to be 2:
1) Error in headers (not found or incorrect).
2) Error in libs (not found or incorrect).

I had installed compat packages:

[EMAIL PROTECTED] qtms-install]# yum list | grep compat
compat-gcc-32.i386   3.2.3-55.fc5   installed
compat-gcc-32-c++.i386   3.2.3-55.fc5   installed
compat-libstdc++-33.i386 3.2.3-55.fc5   installed

Please, please, please, any help. I need to reinstall the qmail and 
after the upgrade, the downgrade is not posible for this server.


Thanks


=== BEGIN DUMP ===
[EMAIL PROTECTED] qtms-install]# rpmbuild --rebuild --with fdr40 --target i686 
qmail
qmailadmin-toaster-1.2.9-1.2.11.src.rpm 
qmailmrtg-toaster-4.2-1.2.8.src.rpm  qmail-toaster-1.03-1.2.10.src.rpm
[EMAIL PROTECTED] qtms-install]# rpmbuild --rebuild --with fdr40 --target i686 
qmail-toaster-1.03-1.2.10.src.rpm

Installing qmail-toaster-1.03-1.2.10.src.rpm
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97010
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf qmail-1.03
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/qmail-1.03.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd qmail-1.03
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (qmailtoaster-0.6.patch.bz2):'
Patch #0 (qmailtoaster-0.6.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p0 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ '[' -f /var/tmp/qmail-1.03-gcc ']'
+ '[' -x /usr/bin/gcc-3.2.3 ']'
+ '[' -x /usr/bin/gcc-3.2.2 ']'
+ '[' -x /usr/bin/gcc-3.2.1 ']'
+ '[' -x /usr/bin/gcc-3.2 ']'
+ '[' -x /usr/bin/gcc-3.1.1 ']'
+ echo gcc
+ '[' -f /var/tmp/qmail-1.03-show_flags ']'
+ cat
+ chmod u+x /var/tmp/qmail-1.03-show_flags
+ /var/tmp/qmail-1.03-show_flags


  RPM RELEASE: qmail-toaster-1.03-1.2.10
  OS TYPE IS : Fedora Core 4 Linux
  BUILD DATE : Sun Nov 20 2005
  CCFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
-mtune=generic -fasynchronous-unwind-tables -DTLS=20040120
  LDFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
-mtune=generic -fasynchronous-unwind-tables



+ '[' -f /var/tmp/qmail-1.03-show_flags ']'
+ rm -f /var/tmp/qmail-1.03-show_flags
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.41948
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd qmail-1.03
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' -n /var/tmp/qmail-toaster-1.03 -a /var/tmp/qmail-toaster-1.03 '!=' 
/ ']'

+ rm -rf /var/tmp/qmail-toaster-1.03
+ mkdir -p /var/tmp/qmail-toaster-1.03
++ /usr/bin/id -g nofiles
+ '[' -z '' ']'
+ /usr/sbin/groupadd -g 2107 -r nofiles
groupadd: group nofiles exists
+ :
++ /usr/bin/id -g qmail
+ '[' -z '' ']'
+ /usr/sbin/groupadd -g 2108 -r qmail
groupadd: group qmail exists
+ :
++ /usr/bin/id -u alias
+ '[' -z 7790 ']'
++ /usr/bin/id -u qmaild
+ '[' -z 7791 ']'
++ /usr/bin/id -u qmaill
+ '[' -z 7792 ']'
++ /usr/bin/id -u qmailp
+ '[' -z 7793 ']'
++ /usr/bin/id -u qmailq
+ '[' -z 7794 ']'
++ /usr/bin/id -u qmailr
+ '[' -z 7795 ']'
++ /usr/bin/id -u qmails
+ '[' -z 7796 ']'
++ cat /var/tmp/qmail-1.03-gcc
+ echo 'gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
-mtune=generic -fasynchronous-unwind-tables -DTLS=20040120'

++ cat /var/tmp/qmail-1.03-gcc
+ echo 'gcc -s -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 
-mtune=generic -fasynchronous-unwind-tables'

+ '[' -f /var/tmp/qmail-1.03-gcc ']'
+ rm -f /var/tmp/qmail-1.03-gcc
+ make clean
rm -f `cat TARGETS`
+ make compile makelib
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
)  auto-ccld.sh
cat auto-ccld.sh make-compile.sh