Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31126 - app-benchmarks/siege-2.55 failed on compile
Summary: app-benchmarks/siege-2.55 failed on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Markus Nigbur (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 08:50 UTC by Michal Luczak
Modified: 2003-10-16 14:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Changes include of openssl/e_os.h to openssl/e_os2.h (siege-gentoo_openssl.patch,304 bytes, patch)
2003-10-14 16:55 UTC, Bryan Østergaard (RETIRED)
Details | Diff
Ebuild diff which includes include fix (siege-ebuild.diff,342 bytes, patch)
2003-10-14 16:56 UTC, Bryan Østergaard (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Luczak 2003-10-14 08:50:12 UTC
When I try to emerge siege, I get following errors 
# emerge  -u siege
Calculating dependencies ...done!
>>> emerge (1 of 1) app-benchmarks/siege-2.55 to /
>>> md5 src_uri ;-) siege-2.55.tar.gz
>>> Unpacking source...
>>> Unpacking siege-2.55.tar.gz to /var/tmp/portage/siege-2.55/work
>>> Source unpacked.
[...]
Making all in src
make[1]: Entering directory `/var/tmp/portage/siege-2.55/work/siege-2.55/src'
[...]
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include/openssl -I/usr/include 
  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c `test -f sock.c || echo './'`sock.c
In file included from main.c:44:
ssl.h:33:27: openssl/e_os.h: No such file or directory
make[1]: *** [main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/siege-2.55/work/siege-2.55/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-benchmarks/siege-2.55 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge  -u openssl
2. emerge  -u siege





Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test5-bk11)
=================================================================
System uname: 2.6.0-test5-bk11 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.linux.no/ http://www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell xmms xv zlib gdbm berkdb slang readline
arts tetex svga tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python esd
imlib oggvorbis gtk motif opengl mozilla ldap cdr -gnome -kde -qt sasl tiff jpeg
xml2 truetype"
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2003-10-14 16:53:57 UTC
This error only happens when using openssl-0.9.7* and USE="ssl".

The include file e_os2.h is provided by openssl-0.9.6 as well as 0.9.7, whereas
e_os.h is only provided by 0.9.6.

I'll attach a patch that just changes the #include <openssl/e_os.h> to #include
<openssl/e_os2.h>. I've tested this patch using both 0.9.6 and 0.9.7 versions
of openssl and siege emerges and runs fine apparently.

Feel free to correct me if anybody knows of a better fix.
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2003-10-14 16:55:08 UTC
Created attachment 19241 [details, diff]
Changes include of openssl/e_os.h to openssl/e_os2.h
Comment 3 Bryan Østergaard (RETIRED) gentoo-dev 2003-10-14 16:56:47 UTC
Created attachment 19242 [details, diff]
Ebuild diff which includes include fix
Comment 4 Markus Nigbur (RETIRED) gentoo-dev 2003-10-16 14:00:40 UTC
in cvs