Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149442 - mail-client/elm-2.4_rc100-r1 fails to build
Summary: mail-client/elm-2.4_rc100-r1 fails to build
Status: RESOLVED TEST-REQUEST
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:
Blocks:
 
Reported: 2006-09-28 12:13 UTC by J.C. Wren
Modified: 2007-04-12 04:10 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 2006-09-28 12:13:26 UTC
gcc -I../include -fpcc-struct-return -fPIC  -Os -march=athlon-xp -pipe -fomit-frame-pointer   -c -o smtp.o smtp.c
ar r libsmtp.a smtp.o
ar: creating libsmtp.a
: libsmtp.a
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/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/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/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/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  -Os -march=athlon-xp -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:146: error: expected identifier or '(' before numeric constant
make[2]: *** [pop.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/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/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs'
make: *** [all] Error 2

!!! ERROR: mail-client/elm-2.4_rc100-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  elm-2.4_rc100-r1.ebuild, line 64:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


======================================

emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.4-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.12.5
Last Sync: Thu, 28 Sep 2006 13:30:08 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
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.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://mirror.espri.arizona.edu/gentoo/"
LINGUAS=""
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache1 apache2 berkdb cli crypt dba dlloader doc dri elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kernel_linux libg++ mailwrapper mysql ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session snmp spl ssl udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2006-10-06 16:23:48 UTC
This is a namespace clash issue:

elm:
hdrs/defs.h:#define	STORE	2

openssl:
/usr/include/openssl/ossl_typ.h:typedef struct store_st STORE;
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2006-10-06 16:34:59 UTC
I have added a sed call to the ebuild which renames elm's STORE to ELM_STORE. Package builds fine now.

Please sync your tree in few hours, and try again.