Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30652 - Can't emerge dev-libs/cryptlib
Summary: Can't emerge dev-libs/cryptlib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-08 03:33 UTC by David Marín
Modified: 2003-10-09 16:59 UTC (History)
2 users (show)

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


Attachments
proposed cryptlib3.1_beta5 multi-line string patch. (cryptlib.patch,616 bytes, patch)
2003-10-09 04:21 UTC, Brandy Westcott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Marín 2003-10-08 03:33:10 UTC
I've tried to emerge cryptlib.

With USE="", I get the next compiling error:

test/testdev.c:852:68: missing terminating " character
test/testdev.c:853:25: missing terminating " character
make[2]: *** [testdev.o] Error 1
make[2]: Leaving directory `/home/gentoo/var/tmp/portage/cryptlib-3.1_beta04/work'
make[1]: *** [Linux] Error 2
make[1]: Leaving directory `/home/gentoo/var/tmp/portage/cryptlib-3.1_beta04/work'
make: *** [shared] Error 2
 
!!! ERROR: dev-libs/cryptlib-3.1_beta04 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! could not make shared


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-10-09 00:03:49 UTC
Post the output of `emerge --info` as requested on the bug submission page
please.
Comment 2 David Marín 2003-10-09 02:14:01 UTC
Well. When I try to emerge cryptlib with my current USE variable, this is
what I get:

kolbe root # emerge cryptlib
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/cryptlib-3.1_beta04 to /
>>> md5 src_uri ;-) cl31beta04.zip
>>> md5 src_uri ;-) manual.pdf
>>> Unpacking source...
caution: filename not matched:  manual.pdf
>>> Source unpacked.
make: *** No rule to make target `shared'.  Stop.
 
!!! ERROR: dev-libs/cryptlib-3.1_beta04 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! could not make shared
 
Here is my emerge --info:

Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) MP 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 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -msse -m3dnow -mmmx -falign-functions=4
-fomit-frame-pointer"
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/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -msse -m3dnow -mmmx -falign-functions=4
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache fixpackages"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.caliu.info/pub/gentoo/
http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm libg++ mad mikmod xv gdbm slang svga tcpd libwww python qt motif
snmp X gtk gnome -alsa 3dnow acpi avi berkdb bonobo crypt cups dga doc emacs
encode esd evo foomaticdb gb gd ggi gif gpm gstreamer gtk2 imlib java jpeg
ldap libgda mcal mmx mozilla mpeg mysql ncurses nls oggvorbis opengl oss
pam pdflib perl png postgres quicktime readline samba scanner sdl spell ssl
tcltk tetex tiff truetype usb wmf xml2 xmms zlib -kde -arts"
 

Comment 3 Brandy Westcott (RETIRED) gentoo-dev 2003-10-09 04:21:13 UTC
Created attachment 18996 [details, diff]
proposed cryptlib3.1_beta5 multi-line string patch.

The first error reported is caused by multi-line string literals.
(which incidentally has been fixed upstream in cryptlib3.1_beta5)
Patching this is trivial (even sed could do the trick.) :)

The second error is caused by the source files not being unzipped.
This is because ${A} translates to "cl31beta04.zip manual.pdf" when
doc is included in USE flags:

	unzip -qoa ${DISTDIR}/${A}

It may be better to run the unzip command as:

	unzip -qoa ${DISTDIR}/cl${MY_PV}

Another note. The manual.pdf file downloaded when doc is set in USE
flags is not installed.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2003-10-09 16:25:49 UTC
Heh.  Thanks for the pointer on the new version.  I'll just version bump
it in CVS and that should get David going.  I'd already fixed the other
"issues" with the ebuild. ;-)
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2003-10-09 16:59:04 UTC
Should be fixed in CVS.  Thanks for the bug report David.