Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47202 - gnutls 1.0.4 build problem, lzo1x.h not found
Summary: gnutls 1.0.4 build problem, lzo1x.h not found
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-08 04:13 UTC by Ruben Vermeersch
Modified: 2004-06-15 08:05 UTC (History)
0 users

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 Ruben Vermeersch 2004-04-08 04:13:35 UTC
I'm getting this huge build error:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libextra -Iminitasn1/ -I../includes -I/usr/include -O3 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer -D_REENTRANT -finline-functions -pipe -I/usr/include -MT gnutls_compress_int.lo -MD -MP -MF .deps/gnutls_compress_int.Tpo -c gnutls_compress_int.c  -fPIC -DPIC -o .libs/gnutls_compress_int.o
gnutls_compress_int.c:32:20: lzo1x.h: No such file or directory
gnutls_compress_int.c: In function `_gnutls_comp_init':
gnutls_compress_int.c:99: error: `LZO1X_1_MEM_COMPRESS' undeclared (first use in this function)
gnutls_compress_int.c:99: error: (Each undeclared identifier is reported only once
gnutls_compress_int.c:99: error: for each function it appears in.)
gnutls_compress_int.c: In function `_gnutls_compress':
gnutls_compress_int.c:150: error: `lzo_uint' undeclared (first use in this function)
gnutls_compress_int.c:150: error: syntax error before "out_len"
gnutls_compress_int.c:164: error: `out_len' undeclared (first use in this function)
gnutls_compress_int.c:166: error: `LZO_E_OK' undeclared (first use in this function)
gnutls_compress_int.c: In function `_gnutls_decompress':
gnutls_compress_int.c:241: error: `lzo_uint' undeclared (first use in this function)
gnutls_compress_int.c:241: error: syntax error before "out_size"
gnutls_compress_int.c:248: error: `out_size' undeclared (first use in this function)
gnutls_compress_int.c:259: error: `new_size' undeclared (first use in this function)
gnutls_compress_int.c:263: error: `LZO_E_OUTPUT_OVERRUN' undeclared (first use in this function)
gnutls_compress_int.c:265: error: `LZO_E_OK' undeclared (first use in this function)
make[3]: *** [gnutls_compress_int.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libextra -Iminitasn1/ -I../includes -I/usr/include -O3 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer -D_REENTRANT -finline-functions -pipe -I/usr/include -MT gnutls_session.lo -MD -MP -MF .deps/gnutls_session.Tpo -c gnutls_session.c  -fPIC -DPIC -o .libs/gnutls_session.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libextra -Iminitasn1/ -I../includes -I/usr/include -O3 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer -D_REENTRANT -finline-functions -pipe -I/usr/include -MT gnutls_session.lo -MD -MP -MF .deps/gnutls_session.Tpo -c gnutls_session.c -o gnutls_session.o >/dev/null 2>&1
make[3]: Leaving directory `/var/tmp/portage/gnutls-1.0.4/work/gnutls-1.0.4/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnutls-1.0.4/work/gnutls-1.0.4/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnutls-1.0.4/work/gnutls-1.0.4'
make: *** [all] Error 2

!!! ERROR: net-libs/gnutls-1.0.4 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge -uDv world
(I have a breakmygentoo overlay, but that shouldn't affect gnutls, it comes from the main portage tree)



Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-ck1)
=================================================================
System uname: 2.6.4-ck1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.4
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/bmg-main"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage/"
USE="X aalib acpi acpi4linux alsa apache2 apm avi berkdb cdr cjk crypt cups curl
doc dvd encode esd evo fam foomaticdb gdbm gif gnome gnomedb gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile imap imlib java jpeg ldap libg++ libwww mad
mcal mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses
nls nntp oggvorbis opengl oss pam pdflib perl png python quicktime radeon
readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype
video_cards_radeon x86 xml2 xmms xv zlib"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-04-09 07:51:23 UTC
try emerging lzo
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-06-15 08:05:34 UTC
gnutls uses its own minilzo rather than the system one to prevent api breakages.

we need the whole build log to find anything useful.