Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64622 - net-libs/gnutls-1.0.17 emerge fails (missing header?)
Summary: net-libs/gnutls-1.0.17 emerge fails (missing header?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-19 05:04 UTC by Dennis Moehlmann
Modified: 2004-12-23 05:38 UTC (History)
1 user (show)

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


Attachments
compilation log (gnutls-compile-log,35.50 KB, text/plain)
2004-12-23 05:26 UTC, Daniel Drake (RETIRED)
Details
ebuild fix (gnutls-fix.patch,515 bytes, patch)
2004-12-23 05:37 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Moehlmann 2004-09-19 05:04:15 UTC
Using the +crypt -doc +zlib useflags, emerge gnutls fails with

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libextra -Iminitasn1/ -I../libextra/openpgp/ -I../libextra/opencdk -Ix509/ -I../includes -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -O2 -finline-functions -pipe -MT gnutls_hash_int.lo -MD -MP -MF .deps/gnutls_hash_int.Tpo -c gnutls_hash_int.c -o gnutls_hash_int.o >/dev/null 2>&1
gnutls_compress_int.c:35:21: lzo1x.h: No such file or directory
[...]

probably because the gnutls ebuild doesn't depend on dev-libs/lzo (at least it compiles after merging this package, not sure if other packages provide the same functionality)

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

Actual Results:  
merge fails

Expected Results:  
successful merge

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/own"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 avi berkdb cdr crypt cups dvd dvdr encode fam
foomaticdb gdbm gif glade gnome gpm gstreamer gtk gtk2 imlib java jpeg libg++
libwww linguas_de mad mikmod mmx motif mozilla moznocompose moznoirc moznomail
mpeg mysql ncurses nls nptl oggvorbis opengl pam pdflib perl png python
quicktime readline samba slang spell sse ssl tcltk tcpd tetex tiff truetype x86
xine xml2 xprint xv zlib"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-09-19 09:34:13 UTC
please include a full log. out gnutls package uses the internal minilzo if it doesn't find dev-libs/lzo, so it should of behaved correctly unless you have something different on your system.
Comment 2 Dennis Moehlmann 2004-09-21 05:43:12 UTC
You mean the full compiler output?
Comment 3 Dennis Moehlmann 2004-09-21 06:35:03 UTC
I have unmerged lzo and gnutls. However, I was not able to reproduce the error I had at its first merge (I've made sure the .h in question was not on my system prior to gnutls merge). I have since installed gnome-2.8 and possibly a new autotools version which I'm not going to unmerge (sorry). I've also disabled the ccache feature, but still no error.
Since everybody in the gnome-2.8 thread who built gnome-2.8 also had to build gnutls and none of them reported any error I'm going to asume that my system was just broken - which would probably render this bug invalid. Sorry.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-09-21 17:27:32 UTC
can't tell what's gone wrong. but i'll close this bug for now.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2004-12-23 05:23:43 UTC
Same problem here,
These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild  N    ] net-libs/gnutls-1.0.17  -crypt -doc +zlib 0 kB 

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] yes

will upload build log
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2004-12-23 05:26:10 UTC
Created attachment 46706 [details]
compilation log
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2004-12-23 05:37:03 UTC
Created attachment 46707 [details, diff]
ebuild fix

A quick inspection of the configure.in file shows that it listens out for
--with-included-lzo (as opposed to minilzo as specified in the ebuild). hope
you don't mind me committing this - compilation now completes.
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2004-12-23 05:38:35 UTC
In portage