Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292473 (bcddd214) - net-mail/vpopmail-5.4.16 failed to compile: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
Summary: net-mail/vpopmail-5.4.16 failed to compile: error: call to '__open_missing_mo...
Status: RESOLVED DUPLICATE of bug 290461
Alias: bcddd214
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 07:03 UTC by brad
Modified: 2009-11-09 07:11 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 brad 2009-11-09 07:03:46 UTC
Trying to install vpopmail, encountered this error, updated gcc and then tried to re emerge vpopmail and I am getting the same error. Googling shows no solution so I am guessing this is new

vpopmail.c:3266: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
vpopmail.c: In function 'extract_domain':
vpopmail.c:1671: warning: array subscript is below array bounds
vpopmail.c:1672: warning: array subscript is below array bounds
In function 'open',
    inlined from 'remove_lines' at vpopmail.c:1204:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
In function 'open',
    inlined from 'sort_file' at vpopmail.c:1758:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
In function 'open',
    inlined from 'update_file' at vpopmail.c:1867:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [libvpopmail_a-vpopmail.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-mail/vpopmail-5.4.16/work/vpopmail-5.4.16'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-mail/vpopmail-5.4.16/work/vpopmail-5.4.16'
make: *** [all] Error 2
 *
 * ERROR: net-mail/vpopmail-5.4.16 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2838:  Called die
 * The specific snippet of code:
 *       emake || die "Make failed."
 *  The die message:
 *   Make failed.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-mail/vpopmail-5.4.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/vpopmail-5.4.16/temp/environment'.
 *

>>> Failed to emerge net-mail/vpopmail-5.4.16, Log file:

>>>  '/var/tmp/portage/net-mail/vpopmail-5.4.16/temp/build.log'

 * Messages for package net-mail/vpopmail-5.4.16:

 * Massive important warning if you are upgrading to 5.2.1-r8 or older
 * The internal structure of the mail storage has changed for
 * consistancy with the rest of Gentoo! Please review and utilize the
 * script at /var/vpopmail/bin/vpopmail-Maildir-dotmaildir-fix.sh
 * to upgrade your system! (It can do conversions both ways).
 * You should be able to run it right away without any changes.
 *
 * ERROR: net-mail/vpopmail-5.4.16 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2838:  Called die
 * The specific snippet of code:
 *       emake || die "Make failed."
 *  The die message:
 *   Make failed.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-mail/vpopmail-5.4.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/vpopmail-5.4.16/temp/environment'.
 *
Comment 1 brad 2009-11-09 07:04:42 UTC
Gentoo-DC1 ~ # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 19 Oct 2009 03:35:01 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="(-selinux) acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Sebastian Luther (few) 2009-11-09 07:11:04 UTC

*** This bug has been marked as a duplicate of bug 290461 ***