Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239459 - mail-client/elm-2.4_rc100-r1 - /usr/include/openssl/ossl_typ.h:149: error: expected identifier or '(' before numeric constant
Summary: mail-client/elm-2.4_rc100-r1 - /usr/include/openssl/ossl_typ.h:149: error: ex...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on: 251381
Blocks:
  Show dependency tree
 
Reported: 2008-10-03 18:22 UTC by J.C. Wren
Modified: 2009-02-15 21:17 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 J.C. Wren 2008-10-03 18:22:35 UTC
elm-2.4_rc1000-r1 fails to compile because of "/usr/include/openssl/ossl_typ.h:149: error: expected identifier or '(' before numeric constant".  

openssl-0.9.8i emerged with no errors.

gcc -fpcc-struct-return -fPIC  -shared -Xlinker -soname=libelmme-smtp.so -o ../../shlib/libelmme-smtp.so smtp.o 
make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp'
cd smtp; make  -w ../../shlib/libelmme-smtp.so
make[2]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp'
make[2]: `../../shlib/libelmme-smtp.so' is up to date.
make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp'
cd tls; make  -w all
make[2]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/tls'
/bin/chmod u+w elmtls.h
/bin/touch elmtls.h
gcc -I../include  -fpcc-struct-return -fPIC  -O2 -march=core2 -pipe -fomit-frame-pointer   -c -o pop.o pop.c
In file included from /usr/include/openssl/crypto.h:131,
                 from /usr/include/openssl/comp.h:5,
                 from /usr/include/openssl/ssl.h:176,
                 from elmtls.h:11,
                 from pop.c:9:
/usr/include/openssl/ossl_typ.h:149: error: expected identifier or '(' before numeric constant
distcc[9851] ERROR: compile pop.c on localhost failed
make[2]: *** [pop.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/tls'
make[1]: *** [tls/libtls.a] Error 2
make[1]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs'
make: *** [all] Error 2

emerge --info
Portage 2.2_rc11 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1quad i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1quad-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-glibc2.0
Timestamp of tree: Fri, 03 Oct 2008 04:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~arm ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks parallel-fetch preserve-libs 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"
MAKEOPTS="-j9"
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://portage.private.com/gentoo-portage"
USE="3dnow 3dnowext X a52 acl acpi alsa arts berkdb bzip2 cairo cddb cdr cli cracklib cups dbus dri dvd dvdr dvdread encode esd fam ffmpeg firefox flac fortran fuse gdbm gnome gpm gstreamer gtk hal httpd iconv imagemagick isdnlog jpeg kde kdepim libwww mad midi mikmod mmx mmxext mozdevelop mozdom mozilla moznocompose mp3 mpeg mplayer mudflap mysql mysqli ncurses nls nptl nptlonly nvidia offensive ogg opengl openmp pam pcre pda pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl server session smp spell spl sse ssl subversion svg sysfs tagwriting tcpd tiff tk truetype unicode vorbis win32codecs x86 xinerama xorg xv 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Sveningsson 2008-10-04 23:15:39 UTC
This only happens when I have LC_ALL="" and not LC_ALL="sv_SE.utf8" as I usually have.
Comment 2 David Sveningsson 2008-10-04 23:46:42 UTC
elm defines a constant which collides with openssl but the constant is never used. I cannot really explain why it is only reproducable 

./hdrs/defs.h:237:#define       STORE   2
Comment 3 David Sveningsson 2008-10-04 23:47:54 UTC
Sorry, what I meant to say was "I cannot really explain why it is only reproducable if I'm not using utf8"
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2009-02-15 21:17:32 UTC
elm was removed from the tree.