Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95964 - mail-mta/sendmail-8.13.3: sendmail.cf not found during install
Summary: mail-mta/sendmail-8.13.3: sendmail.cf not found during install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Other
: High minor (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 04:58 UTC by Toralf Förster
Modified: 2005-06-14 07:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2005-06-13 04:58:59 UTC
make: Leaving directory
`/var/tmp/portage/sendmail-8.13.3/work/sendmail-8.13.3/obj.Linux.2.6.11-gentoo-r6.i686/mail.local'
/var/tmp/portage/sendmail-8.13.3/image//etc/mail/sendmail.mc:3: m4: Cannot open
/usr/share/sendmail-cf/m4/cf.m4: No such file or dir
ectory


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




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-hardened-r13 i686)
=================================================================
System uname: 2.6.11-hardened-r13 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  6 2005, 16:34:26)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/
ftp://mirror.nutsmaas.nl/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://mir1.ovh.net/gentoo-distfiles/"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apache2 arts avi berkdb bitmap-fonts blas cardbus cddb
cdparanoia cdr crypt cups curl dvd dvdr dvdread emboss encode esd ethereal fam
font-server foomaticdb fortran gd gdbm gif gpm gtk gtk2 imagemagick imlib innodb
ipv6 jai java javascript jimi jpeg junit kde libg++ libwww live mad mbox mikmod
mmx mmxext mng motif mp3 mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-s
ncurses network nls no-old-linux ogg oggvorbis opengl oss pam pcmcia pdflib perl
png python qt quicktime readline real samba sasl scanner sdl slp smime snmp
spell sse sse2 ssl subversion svg svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts usb userlocales vorbis webdav wifi xanim xfs xine xml2 xmms xv zlib
linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Andrea Barisani (RETIRED) gentoo-dev 2005-06-13 12:50:08 UTC
I cannot reproduce this :/. Could you please unmerge sendmail, clear /etc/mail
and remove /usr/share/sendmail-cf and try again?

thx
Comment 2 Andrea Barisani (RETIRED) gentoo-dev 2005-06-13 13:16:03 UTC
Ok, I see the error myself. But it doesn't stop the ebuild and /etc/mail/sendmail.mc, /etc/mail/sendmail.cf are correctly generated by the ebuild, could you confirm that? I'm considering patching sendmail Makefile for getting rid of that error.
Comment 3 Toralf Förster gentoo-dev 2005-06-14 00:56:04 UTC
I copied a working sendmail.cf from an old gentoo system over the generated
sendmail.cf, the generated sendmail.mc I left untouched.
Here is the generated (wrong) sendmail.cf from the ebuild causing this bug report :

n22 ~ # cat /mnt/loop/etc/mail/sendmail.cf.old
VERSIONID($Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp
$)OSTYPE(linux)DOMAIN(generic)FEATURE(smrsh,/usr/sbin/smrsh)FEATURE(local_lmtp,/usr/sbin/mail.local)MAILER(local)MAILER(smtp)n22
~ #              

And here is the content of *.mc (works ok):

n22 ~ # cat /mnt/loop/etc/mail/sendmail.mc
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp $')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
MAILER(local)dnl
MAILER(smtp)dnl
Comment 4 Andrea Barisani (RETIRED) gentoo-dev 2005-06-14 07:57:28 UTC
Ok, a fix has been commited, could you test it and reopen if necessary?
The issue should be solved now.