Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104214 - Ebuild for postfix fails with Access violation
Summary: Ebuild for postfix fails with Access violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 19:37 UTC by Ben Maynard
Modified: 2005-08-31 19:22 UTC (History)
0 users

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 Ben Maynard 2005-08-29 19:37:37 UTC
Trying to install postfix (which I have done dozens of times previously on
different boxes with gentoo) I get the following error:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-mail-mta_-_postfix-2.1.5-r2-5334.log"

open_wr:   /var/cache/samba/gencache.tdb
--------------------------------------------------------------------------------

I have tried to emerge several times, I have already unmerged ssmtp.

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

Actual Results:  
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-mail-mta_-_postfix-2.1.5-r2-5334.log"

open_wr:   /var/cache/samba/gencache.tdb
--------------------------------------------------------------------------------

Expected Results:  
Successful emerge of postfix

From emerge.log

1125364894:  === (1 of 1) Compiling/Merging
(mail-mta/postfix-2.1.5-r2::/usr/portage/mail-mta/postfix/postfix-2.1.5-r2.ebuild)
1125365014:  *** terminating.
Comment 1 Ben Maynard 2005-08-29 19:38:43 UTC
I installed using minimal 2005.1 with the most recent release of stage1 and the
most recent version of portage.

emerge info:

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://mirror.iawnet.sandia.gov/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.seren.com/gentoo
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/
http://cudlug.cudenver.edu/gentoo/
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="acl alsa apache2 apm arts avi bash-completion bcmath berkdb bitmap-fonts
bzip2 clamav crypt cups curl dbm directfb eds emacs emboss encode expat
foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 java
javascript jpeg kde libg++ libwww mad maildir mhash mikmod mime mmx motif mp3
mpeg mysql ncurses nls oav ogg oggvorbis opengl oss pam pcre pdflib perl php png
python qt quicktime readline samba sdl snmp soap spell sse ssl tcpd threads tiff
truetype truetype-fonts type1-fonts vorbis winbind x86 xml xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2005-08-30 02:16:46 UTC
I can't reproduce this one. In which part of the installation it fails ?
(configuring, compiling, installing, merging...). And please post the contents of:

/var/log/sandbox/sandbox-mail-mta_-_postfix-2.1.5-r2-5334.log

Also an excerpt of what was going on before the access violation might help.

Cheers,
Ferdy
Comment 3 Ben Maynard 2005-08-30 06:35:15 UTC
It happens during the compilation stage, the only contents in the error log file
are also shown in the access violation message:

open_wr:   /var/cache/samba/gencache.tdb
Comment 4 Ben Maynard 2005-08-30 06:36:28 UTC
As far as the excerpt goes I am at work right now I will post when I get home
tonight.

thanks
Comment 5 Ben Maynard 2005-08-31 19:22:20 UTC
It was due to the domainname not setting correctly, when it attempted to
gethostname it got an access violation.  I have had this problem several times
with /etc/conf.d/domainname not setting up correctly.