Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21433 - postfix-2.0.9 and postfix-2.0.9-r1 fail to emerge
Summary: postfix-2.0.9 and postfix-2.0.9-r1 fail to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-21 12:48 UTC by Daniel Seyffer
Modified: 2003-06-18 16:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
stdout and stderr for "emerge -vu postifx" (output.log,40.44 KB, text/plain)
2003-05-21 12:49 UTC, Daniel Seyffer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Seyffer 2003-05-21 12:48:07 UTC
Hello all,

emerge postfix-2.0.9.ebuild and r1 both fail when I try to emerge them:

------
emerge -vup postfix

These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild    U ] net-mail/postfix-2.0.9 [2.0.3] +ssl +mysql +sasl -ldap -ipv6
+maildir -mbox
------

IMHO there seems to be something wrong with parsing CARGS in the ebuild (section
use sasl probably though I didn't seem something apparently wrong while having a
short look at it). Another reason might be my that I am still using gcc 3.1 and
an old profile on this machine (see emerge info below). But as it is a server
that is a few kilometers away and that I can only administrate remote through
ssh I don#t want to "touch" it more that neccessary... ;-) 

I'll append output for "emerge -uv postfix" but key part is:
---
[...]
 >>> Source unpacked.
set -e; for i in src/util src/global src/dns src/master src/postfix
src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local
src/lmtp src/trivial-rewrite src/qmgr src/smtp src/bounce src/pipe src/showq
src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock
src/postlog src/postmap src/postqueue src/postsuper src/nqmgr src/qmqpd
src/spawn src/flush src/virtual src/proxymap src/tlsmgr; do \
 (set -e; echo "[$i]"; cd $i; make 'CC=-DHAS_SSL -I/usr/include/sasl
-DUSE_SASL_AUTH -DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE' update MAKELEVEL=)
|| exit 1; \
done
[src/util]
DHAS_SSL -I/usr/include/sasl -DUSE_SASL_AUTH -DHAS_MYSQL -I/usr/include/mysql
-DHAS_PCRE  -march=pentium2 -O3 -pipe -fomit-frame-pointer -I. -DLINUX2 -c alldig.c
make: DHAS_SSL: Kommando nicht gefunden
make: [alldig.o] Fehler 127 (ignoriert)
[...]
---------

("Kommando nicht gefunden" meaning "command not found" and "Fehler 127
(ignoriert)" "error...ignored")

--------
emerge -s sasl
Searching...
[ Results for search key : sasl ]
[ Applications found : 2 ]

*  app-xemacs/sasl
      Latest version available: 1.12
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 26 kB
      Homepage:    http://xemacs.org/
      Description: Simple Authentication and Security Layer (SASL) library.

*  dev-libs/cyrus-sasl
      Latest version available: 2.1.10-r2
      Latest version installed: 2.1.10-r2
      Size of downloaded files: 1,294 kB
      Homepage:    http://asg.web.cmu.edu/sasl/
      Description: Based on the eutils eclass
------

As I have already said - this is quite an old Gentoo installation roughly 13-14
Months or so. So if you don't want to spend too much time on this one...no
problem :-)

Thanks. Regards,
Daniel

PS: strange just saw that "emerge info" says "sandbox" - these aren't the
effective settings, are they? Because I don't have sandbox in /etc/make.conf!
(ran env-update, logged out/on)

Reproducible: Always
Steps to Reproduce:
1. emerge postfix
2. 
3.

Actual Results:  
Portage 2.0.48 (default-1.0-gcc3, gcc-3.1.1, glibc-2.2.5-r4,2.2.5-r8)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Celeron (Mendocino)
GENTOO_MIRRORS=" ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/opt/tomcat/conf"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow arts avi cups encode gif jpeg kde gnome libg++ mikmod motif
mpeg nls oggvorbis pdflib png quicktime sdl spell truetype xml2 xmms xv zlib
gdbm berkdb slang readline svga tcltk X gpm tcpd libwww perl python esd imlib
gtk qt opengl snmp cdr imap apm crypt java maildir mmx ncurses pam ssl sasl
sasl2 mysql"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Daniel Seyffer 2003-05-21 12:49:05 UTC
Created attachment 12259 [details]
stdout and stderr for "emerge -vu postifx"
Comment 2 Daniel Seyffer 2003-05-24 04:01:52 UTC
FYI: just tested the postfix-2.0.10 ebuild - same problem...

thanks.
Comment 3 Brandon Low (RETIRED) gentoo-dev 2003-05-31 22:51:23 UTC
what version of sed do you have installed?
Comment 4 Daniel Seyffer 2003-06-01 14:10:44 UTC
#emerge -s sed

*  sys-apps/sed
      Latest version available: 4.0.7
      Latest version installed: 4.0.7
      Size of downloaded files: 677 kB
      Homepage:    http://www.gnu.org/software/sed/sed.html
      Description: Super-useful stream editor
Comment 5 Daniel Seyffer 2003-06-01 14:14:55 UTC
oh, wait! But there is also: 
 
*  sys-apps/supersed 
      Latest version available: 3.58-r2 
      Latest version installed: 3.58-r2 
      Size of downloaded files: 688 kB 
      Homepage:    http://queen.rett.polimi.it/~paolob/seders/ssed/ 
      Description: An enhanced version of sed which sports greater speed and the use of perl regular expressions than GNU sed. 
Comment 6 Brandon Low (RETIRED) gentoo-dev 2003-06-08 15:51:28 UTC
Here's what to do (I think) install a recent version of both gcc and gcc-config, then run gcc-config to select a profile to use.  Then exit and log back in to your system to confirm that $CC and $CXX are now set in your environment, the problem with postfix was apparently caused by CC and CXX being "" in your environment and therefore it was trying to use an argument as the CC command.
Comment 7 Daniel Seyffer 2003-06-09 03:20:19 UTC
ok, thanks. Will try this. At the moment I don't have the time to - just learning for my bachelor exams... :-( 
But I will do an update during the next few weeks and then update this bug's status accordingly... ;-)

Thanks again for you help.
Comment 8 Ohad Lutzky 2003-06-12 07:36:54 UTC
Experiencing the same problem here... I've emerge gcc-config alone, but it complains:
# gcc-config i686-pc-linux-gnu-2.95.3
 * /usr/sbin/gcc-config: Profile does not exist!

So I'm trying to emerge gcc-2.95.8.3-r8
Please tell me that postfix can be compiled with gcc2 and that I don't need to get gcc3... that would mean recompiling my whole system, and I have a really slow CPU.
Comment 9 Brandon Low (RETIRED) gentoo-dev 2003-06-12 08:01:17 UTC
you just need to merge a version of gcc which is gcc-config enabled... Let me check which that is for 2.95.3... yeah, -r8 will work dandy...
Comment 10 Ohad Lutzky 2003-06-12 08:39:52 UTC
Emerging gcc-2.95.3-r8 fixed it. The ebuild ran gcc-config, $CC was set, and the emerge went just fine. Thanks!
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-18 16:49:24 UTC
closing