Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 191508
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Colin Morey <peitolm@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexandre Gauthier <alex@underwares.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 191508 depends on: 198489 Show dependency tree
Bug 191508 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-06 16:27 0000
The compilation fails when ssl support is enabled in the use flags.

Reproducible: Always

Steps to Reproduce:
1. enable "ssl" use flag by the means of your choice
2. emerge -va exim
3. (not) profit!

Actual Results:  
Ebuiled failed with compilation error when compiling tls.c

gcc tls.c
In file included from tls.c:86:
tls-openssl.c: In function 'tls_init':
tls-openssl.c:346: error: wrong type argument to unary exclamation mark
make[1]: *** [tls.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mail-mta/exim-4.60-r1/work/exim-4.60/build-exim-gentoo'
make: *** [go] Error 2

!!! ERROR: mail-mta/exim-4.60-r1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  exim-4.60-r1.ebuild, line 215:   Called die

!!! 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/mail-mta/exim-4.60-r1/temp/build.log'.


Expected Results:  
exim should have been built successfully.

Interesting tidbit: This is actually a Xen DomU running on a to-be-production
server, thus why it uses a -xen kernel.

Portage 2.1.2.12 (default-linux/amd64/2007.0/server, gcc-4.1.2, glibc-2.5-r4,
2.6.20-xen-r2 x86_64)
=================================================================
System uname: 2.6.20-xen-r2 x86_64 Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 06 Sep 2007 01:20:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer sandbox sfperms strict userprivs
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://172.16.64.4/gentoo-portage"
USE="acl amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 cli cracklib
crypt cups dri fortran gd gdbm gif gpm iconv isdnlog jpg latin1 logrotate midi
mmx mudflap mysql ncurses nls no-htdocs nptl nptlonly offensive openmp pam pcre
pdf perl png pppd python readline reflection session snmp spl sse sse2 ssl tcpd
threads tiff truetype truetype-fonts type1-fonts unicode urandom vhosts xml
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 mulaw multi null plug rate route
share shm softvol" 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="apm ark chips cirrus cyrix
dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3
s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via
vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLA

------- Comment #1 From Colin Morey 2007-09-06 18:49:34 0000 -------
could you tell me which version of openssl you have installed? and if you
could, could you try one of the later versions? (4.68 hit the tree recently). 

exim-4.60-r1 built fine for me just now on x86_64 with openssl-0.9.7e-r2 and
with 0.9.8d.

Cheers,

Colin

------- Comment #2 From Alexandre Gauthier 2007-09-06 19:00:15 0000 -------
I currently have OpenSSL 0.9.8e-r2.

Exim 4.68 built fine with SSL, but I'd rather keep the unstable branch stuff to
a strict minimum, if possible...

------- Comment #3 From Colin Morey 2007-09-13 19:10:17 0000 -------
That's odd, ah, I'm building with gcc 3.4.4, let me try and upgrade and see if
that works, failling that, I expect exim-4.67 to be going stable within a
fortnight. I would do it now, but it would be irresponsible for me to put
soemthing stable and then leave for over a week

------- Comment #4 From John Waymouth 2007-10-07 18:30:29 0000 -------
I seem to have reproduced this bug, also in a xen domU at slicehost.com running
on x86_64.

gcc tls.c
In file included from tls.c:86:
tls-openssl.c: In function 'tls_init':
tls-openssl.c:346: error: wrong type argument to unary exclamation mark
make[1]: *** [tls.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mail-mta/exim-4.60-r1/work/exim-4.60/build-exim-gentoo'
make: *** [go] Error 2
 * 
 * ERROR: mail-mta/exim-4.60-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   exim-4.60-r1.ebuild, line 215:   Called die
 * 
 * make failed

exim-4.60-r1, with openssl-0.9.8e-r3 installed.


emerge --info:

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4,
2.6.16.29-xen x86_64)
=================================================================
System uname: 2.6.16.29-xen x86_64 Dual Core AMD Opteron(tm) Processor 265
Timestamp of tree: Sun, 07 Oct 2007 16:30:02 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
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"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow aac acl amd64 apache2 bd berkdb bitmap-fonts bzip2 cli cracklib
crypt dba dri exif expat ffmpeg flac fortran ftp gd gpm gsl iconv imagemagick
inifile ipv6 isdnlog jpeg mbox midi mmx mudflap mysql mysqli ncurses nls nptl
nptlonly openmp pam pcre pdo perl php png posix pppd python readline reflection
session sharedext soap sockets spell spl sse sse2 ssl syslog tcpd theora
threads tiff truetype truetype-fonts type1-fonts unicode xml xml2 xmlrpc xorg
xsl xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106
cmipci emu10k1x ens13
0 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
mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES
"keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk 
d44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark c
ips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon
rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l
vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LING
AS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR
OVERLAY

------- Comment #5 From Slava Gorbunov 2007-10-14 22:35:56 0000 -------
I have this bug too.  openssl-0.9.8-r3, exim-4.60-r1:

gcc tls.c
In file included from tls.c:86:
tls-openssl.c: In function 'tls_init':
tls-openssl.c:346: error: wrong type argument to unary exclamation mark
make[1]: *** [tls.o] Ошибка 1
make[1]: Leaving directory
`/var/tmp/portage/mail-mta/exim-4.60-r1/work/exim-4.60/build-exim-gentoo'
make: *** [go] Ошибка 2

exim-4.68 (currently unstable on amd64) doesn't have this problem.

------- Comment #6 From Lorand Kelemen 2007-11-10 17:31:48 0000 -------
Just stumbled open this:
http://bugs.exim.org/show_bug.cgi?id=478

------- Comment #7 From Lorand Kelemen 2007-11-10 18:17:44 0000 -------
fyi after manually patching the exim 4.60-r1 source w/ patch from exim
bugzilla, source compiled. upstream contains the fix.

Openssl version: dev-libs/openssl-0.9.8f

Portage 2.1.3.16 (hardened/amd64, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-hardened-r1
x86_64)
=================================================================
System uname: 2.6.17-hardened-r1 x86_64 Intel(R) Xeon(TM) CPU 3.20GHz
Timestamp of tree: Thu, 08 Nov 2007 11:46:01 +0000
ccache version 2.3 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.3
sys-apps/baselayout: 1.12.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php4/ext-active/
/etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild
/etc/terminfo"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/usr/egatrop/tmp"
PORTDIR="/usr/portage"
USE="acl amd64 apache2 bash-completion berkdb bzip2 calendar caps chroot clamav
cli cracklib crypt cscope ctype curl expat extensions freetype gd geoip
hardened hardenedphp hpn iconv idn iodbc justify maildir mcal memlimit mhash
midi mime ncurses nls nptl nptlonly odbc openssh pam pam_chroot pam_console
pam_timestamp pcre perl pic posix postgres python readline session sharedext
sharedmem slang sockets sse sse2 ssl truetype udev unicode urandom utf8 vhosts
xml xorg xsl zip 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 mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint
i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage
siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

------- Comment #8 From Colin Morey 2007-12-02 21:16:07 0000 -------
Should be resolved in the new 4.68 ebuild, please re-open if you're still
seeing problems after upgrade.


Cheers,

Colin

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug