Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35437 - net-libs/c-client-2002e-r1 fails because of wrong ssl include path
Summary: net-libs/c-client-2002e-r1 fails because of wrong ssl include path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-09 06:00 UTC by Carsten Lohrke (RETIRED)
Modified: 2003-12-23 02:46 UTC (History)
0 users

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


Attachments
c-client.log (c-client.log,16.43 KB, text/plain)
2003-12-18 01:33 UTC, Carsten Lohrke (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2003-12-09 06:00:56 UTC
<snip>
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl
-DSSL_CERT_DIRECTORY=\"/usr/local/ssl/certs\"
-DSSL_KEY_DIRECTORY=\"/usr/local/ssl/certs\" >> OSCFLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/local/ssl/lib -lssl -lcrypto  >> LDFLAGS
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make lnx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
osdep.c:217:18: x509.h: No such file or directory
osdep.c:218:17: ssl.h: No such file or directory
osdep.c:220:17: pem.h: No such file or directory
osdep.c:221:20: buffer.h: No such file or directory
osdep.c:222:17: bio.h: No such file or directory
osdep.c:223:20: crypto.h: No such file or directory
osdep.c:224:18: rand.h: No such file or directory
<snip>

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




as you can see, it's not only the include path that is not correct
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-12-18 00:13:50 UTC
please provide emerge info details, as well as the full output from 'emerge info' and 'emerge c-client' (attach the second one).

It works perfectly fine for me...
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2003-12-18 01:29:10 UTC
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r3, 2.4.20-gentoo-r9)
=================================================================
System uname: 2.4.20-gentoo-r9 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /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="-O2 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache fixpackages userpriv keeptemp keepwork noclean"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.berlios.de/pub/gentoo-deutsch http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif gtk2 jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner 3dnow acl acpi acpi4linux artswrappersuid auctex clisp cmucl cscope curl dga dnd doc dvb dvd dvdr emacs ext-png ext-zlib faad fbcon firebird gcl gd glut gstreamer hbci imagemagick imap innodb jack jack-caps jack-tmpfs java javascript jdepend jikes junit jython ladcca lcms lirc ltsp maildir matroska mbox md5sum mmx mng moznocompose moznoirc moznomail mozsvg mupad-noscilab oav odbc openal pcap pg-hier php physfs plotutils pnp ppds regexp samba sasl skey slp snmp speex sse tiff transcode unicode usb vim-with-x wmf X509 Xaw3d xml xvid zeo -gnome -guile -esd"
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2003-12-18 01:33:25 UTC
Created attachment 22395 [details]
c-client.log
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-12-22 17:18:09 UTC
your CFLAGS item "-mfpmath=sse,387" broken it. The sed expression was using commas for it's delimiter, and you had an extra one that wasn't expected.

I've changed the package to use ':' as the delimiter instead now.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2003-12-23 02:46:50 UTC
Oh, thx!