Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235035 - mail-mta/postfix-2.4.7-r1 USE=vda - virtual.c:533: error: conflicting types for 'bool_table'
Summary: mail-mta/postfix-2.4.7-r1 USE=vda - virtual.c:533: error: conflicting types f...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-17 20:29 UTC by Alessio Cassibba (X-Drum)
Modified: 2008-08-19 18:33 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 Alessio Cassibba (X-Drum) 2008-08-17 20:29:13 UTC
I'm unable to compile postfix-2.4.7-r1 with the vda support:

[snip]
i686-pc-linux-gnu-gcc -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" -DDEF_MANPAGE_DIR=\"/usr/share/man\" -DDEF_README_DIR=\"/usr/share/doc/postfix-2.4.7-r1/readme\" -DDEF_HTML_DIR=\"/usr/share/doc/postfix-2.4.7-r1/html\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -mtune=i686 -Os -pipe -fforce-addr -I. -I../../include -DLINUX2 -c verify.c
i686-pc-linux-gnu-gcc -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" -DDEF_MANPAGE_DIR=\"/usr/share/man\" -DDEF_README_DIR=\"/usr/share/doc/postfix-2.4.7-r1/readme\" -DDEF_HTML_DIR=\"/usr/share/doc/postfix-2.4.7-r1/html\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -mtune=i686 -Os -pipe -fforce-addr -I. -I../../include -DLINUX2 -o verify verify.o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -lpcre -lcrypt -lpthread -lpam -lmysqlclient -lm -lz -lssl -lcrypto -lsasl2 -ldb -lnsl -lresolv
cp verify ../../libexec
[src/virtual]
i686-pc-linux-gnu-gcc -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" -DDEF_MANPAGE_DIR=\"/usr/share/man\" -DDEF_README_DIR=\"/usr/share/doc/postfix-2.4.7-r1/readme\" -DDEF_HTML_DIR=\"/usr/share/doc/postfix-2.4.7-r1/html\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -mtune=i686 -Os -pipe -fforce-addr -I. -I../../include -DLINUX2 -c virtual.c
i686-pc-linux-gnu-gcc -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" -DDEF_MANPAGE_DIR=\"/usr/share/man\" -DDEF_README_DIR=\"/usr/share/doc/postfix-2.4.7-r1/readme\" -DDEF_HTML_DIR=\"/usr/share/doc/postfix-2.4.7-r1/html\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -mtune=i686 -Os -pipe -fforce-addr -I. -I../../include -DLINUX2 -c mailbox.c
i686-pc-linux-gnu-gcc -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" -DDEF_MANPAGE_DIR=\"/usr/share/man\" -DDEF_README_DIR=\"/usr/share/doc/postfix-2.4.7-r1/readme\" -DDEF_HTML_DIR=\"/usr/share/doc/postfix-2.4.7-r1/html\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -mtune=i686 -Os -pipe -fforce-addr -I. -I../../include -DLINUX2 -c recipient.c
i686-pc-linux-gnu-gcc -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" -DDEF_MANPAGE_DIR=\"/usr/share/man\" -DDEF_README_DIR=\"/usr/share/doc/postfix-2.4.7-r1/readme\" -DDEF_HTML_DIR=\"/usr/share/doc/postfix-2.4.7-r1/html\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -mtune=i686 -Os -pipe -fforce-addr -I. -I../../include -DLINUX2 -c deliver_attr.c
virtual.c: In function `main':
virtual.c:533: error: conflicting types for 'bool_table'
virtual.c:528: error: previous definition of 'bool_table' was here
make: *** [virtual.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [update] Error 1
 *
 * ERROR: mail-mta/postfix-2.4.7-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2777:  Called die
 * The specific snippet of code:
 *       emake || die "compile problem"
 *  The die message:
 *   compile problem
[snip]



Reproducible: Always

Steps to Reproduce:
1. USE="hardened mysql pam sasl ssl vda" emerge =mail-mta/postfix-2.4.7-r1


Actual Results:  
build fails

Expected Results:  
build postfix-2.4.7-r1 with vda support

Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r11 i686)
=================================================================
System uname: 2.6.23-hardened-r11 i686 Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz
Timestamp of tree: Fri, 15 Aug 2008 22:00:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r14
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=i686 -O2 -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mtune=i686 -O2 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb cracklib crypt hardened logrotate midi nls nptl nptlonly pam pic readline ssl tcpd urandom vhosts x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 asis auth_basic auth_digest authz_host autoindex cache dav deflate dir env expires filter headers include info log_config logio mime negotiation prox y rewrite setenvif speling status unique_id userdir usertrack authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_owne r authz_user cern_meta charset_lite dbd disk_cache dumpio ext_filter file_cache ident imagemap log_forensic mem_cache mime_magic version vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tobias Scherbaum (RETIRED) gentoo-dev 2008-08-19 11:37:24 UTC
Ok, i can confirm this problem. This is related to fixes incorporated due to #232642 - can you please check if 2.5.3-r1 with USE="vda" works for you?
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2008-08-19 12:01:22 UTC
FYI: I just committed 2.4.8 which also should fix your problem. Please test and report back. Thanks!
Comment 3 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2008-08-19 12:15:20 UTC
* error with 2.4.7-r1

* OK with 2.4.8, with 2.5.3-r1, and with 2.5.4

Thanks Tobias
Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2008-08-19 12:17:33 UTC
(In reply to comment #3)
> * error with 2.4.7-r1
> 
> * OK with 2.4.8, with 2.5.3-r1, and with 2.5.4

yeah, should have provided that overview ;)

> Thanks Tobias

np :)

Comment 5 Alessio Cassibba (X-Drum) 2008-08-19 18:26:09 UTC
(In reply to comment #2)
> FYI: I just committed 2.4.8 which also should fix your problem. Please test and
> report back. Thanks!
> 
just returned at home and installed 2.4.8 on my server(s), runs fine here with vda
support, thanks for your quick reply i needed it to fix GLSA 200808-12 :)
Comment 6 Tobias Scherbaum (RETIRED) gentoo-dev 2008-08-19 18:33:30 UTC
Thanks for your feedback! :)