Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267749 - >=www-client/lynx-2.8.7_rc2: USE="-gnutls openssl" fails if dev-libs/openssl has been built with kerberos USE-flag being enabled
Summary: >=www-client/lynx-2.8.7_rc2: USE="-gnutls openssl" fails if dev-libs/openssl ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Wormo (RETIRED)
URL:
Whiteboard:
Keywords:
: 275792 279336 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-28 10:04 UTC by Michelangelo Scopelliti
Modified: 2009-08-13 06:41 UTC (History)
10 users (show)

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


Attachments
www-client/lynx-2.8.7_rc4 build.log (build.log,20.22 KB, text/plain)
2009-05-26 07:26 UTC, renato gallo
Details
patch to ebuild (ebuild.diff,452 bytes, text/plain)
2009-05-28 07:15 UTC, Michelangelo Scopelliti
Details
lynx configure script patch (lynx-2.8.7-configure-openssl.patch,1.19 KB, patch)
2009-08-01 07:13 UTC, Wormo (RETIRED)
Details | Diff
lynx-2.8.7_p1 ebuild updated to apply patch (lynx-2.8.7_p1.ebuild,2.89 KB, text/plain)
2009-08-01 07:14 UTC, Wormo (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michelangelo Scopelliti 2009-04-28 10:04:41 UTC
compilation with USE=openss fails. From build log:

make[1]: Entering directory `/var/tmp/portage/www-client/lynx-2.8.7_rc2/work/lynx2-8-7/WWW/Library/Implementation'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I../../.. -I../../../src -I../../.. -I../../../src  -I../../../WWW/Library/Implementation  -D_GNU_SOURCE  -DLINUX  -I/usr/kerberos/include -I/usr/include/ncursesw -march=native -O2 -pipe    -I../../../WWW/Library/Implementation/ -DACCESS_AUTH -c ../../../WWW/Library/Implementation/HTParse.c
In file included from ../../../WWW/Library/Implementation/HTParse.c:8:
../../../WWW/Library/Implementation/HTUtils.h:710:17: error: ssl.h: No such file or directory
../../../WWW/Library/Implementation/HTUtils.h:711:20: error: crypto.h: No such file or directory
../../../WWW/Library/Implementation/HTUtils.h:712:18: error: rand.h: No such file or directory
In file included from ../../../WWW/Library/Implementation/HTParse.c:8:
../../../WWW/Library/Implementation/HTUtils.h:751: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[1]: *** [HTParse.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-client/lynx-2.8.7_rc2/work/lynx2-8-7/WWW/Library/Implementation'
make: *** [all] Error 2


Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-28 20:44:10 UTC
Please post your "emerge --info" and the output of 

  emerge -qpv openssl

Did you try to re-emerge openssl?
Comment 2 Michelangelo Scopelliti 2009-04-29 06:59:36 UTC
(In reply to comment #1)
> Please post your "emerge --info" and the output of 

Portage 2.2_rc31 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.0
Timestamp of tree: Wed, 29 Apr 2009 06:20:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it en fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/enlightenment /usr/local/portage/kernelpanic"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext SECURITY_HAZARD X a52 aac aalib acl acpi adns alsa amd64 amr amrnb amrwb ao apache2 apm archive audiofile bcmath berkdb bidi bzip2 cacao cairo caps cdda cddb cdparanoia chm cjk cleartype cli clisp consolekit contrast cracklib crypt cups curl cvs dbus detex dirac disk-partition djbfft djvu doc dri dts dv dvb dvd dvi2tty dynamic ebook enca encode examples exif expat extra faac faad ffmpeg fftw flac fltk fontconfig fontforge foomaticdb fortran fpx ftp fuse games gcj gcrypt gd gdbm gif gimp git gmp gnome gnuplot gnutls gpm graphics graphviz gs gsm gstreamer gtk hal hdri heterogeneous hfs hpn html iconv id3 id3tag idn imagemagick imlib inotify ipod iproute2 ipv6 isdnlog jack jadetex java java6 jbig jpeg jpeg2k kdrive kerberos kpathsea ladspa lame lapack lasi latex lcms libcaca libffi libsamplerate live logrotate loop-aes lua lzma lzo mad matroska md5sum metis metric midi mikmod mjpeg mktemp mmap mmx mmxext mng motif mp2 mp3 mp4 mpeg mpi-threads mudflap multilib multitarget musepack musicbrainz mysql ncurses nemesi nethack network network-cron nls nodrm nptl nptlonly nsplugin nss ntfs nuv objc octave odbc offensive ogg ogm openal openexr opengl openmp oss pam pango passwdqc pch pcre pdf perl pgplot phonon php physfs player plotutils plugins png pnm portaudio postgres postproc ppds pppd pstricks pth publishers python q32 q8 qt3support qt4 quicktime rar raw readline reflection reiserfs rle romio rtc ruby samba sasl scanner schroedinger science sdl session sftp slang slp smi smux sndfile snmp socks5 soundtouch sparse speex spell spl spoof-source sqlite sqlite3 srt sse sse2 ssl subversion supernodal svg sysfs tcl teletext tetex tex4ht tftp tga theora threads tidy tiff timezone timidity tk tordns truetype twolame type3 unicode urandom usb v4l v4l2 vamp vcd vdr vhook vim vim-syntax vim-with-x vorbis wavpack webdav wmf wxwindows x264 xanim xcb xcomposite xetex xft xindy xml xmlrpc xmp xorg xpm xrender xscreensaver xsl xulrunner xv xvid xvmc yv12 zero zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LINGUAS="it en fr" USERLAND="GNU" VIDEO_CARDS="nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

> 
>   emerge -qpv openssl

[ebuild   R   ] dev-libs/openssl-0.9.8k  USE="gmp kerberos (sse2) zlib -bindist -test" 

> 
> Did you try to re-emerge openssl?
> 

of course. Nothing changed.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-29 14:56:36 UTC
Please attach the entire build log to this bug report.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-29 15:09:34 UTC
Looks like it might be one of these newfangled compiler problems.
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-29 15:59:41 UTC
Please post the output of:
USE="openssl" emerge -pv lynx
Comment 6 Michelangelo Scopelliti 2009-04-30 06:45:07 UTC
(In reply to comment #5)

USE="openssl" emerge -pv lynx

[ebuild   R   ] www-client/lynx-2.8.7_rc2  USE="bzip2 cjk gnutls ipv6 nls openssl* unicode" 0 kB
Comment 7 Grégoire Favre 2009-05-01 14:09:44 UTC
Same here.
Portage 2.2_rc31 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Fri, 01 May 2009 08:45:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://www.gigaload.org/gentoo.org/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gechi /usr/portage/local/layman/berkano /usr/portage/local/layman/kde-testing /usr/portage/local/layman/qting-edge /usr/portage/local/layman/devnull /usr/portage/local/layman/sunrise /usr/portage/local/layman/gcc-porting /usr/local/portage"
SYNC="rsync://rsync.ch.gentoo.org/gentoo-portage"
USE="3dnowext 64bit 7zip X Xaw3d a52 aac aalib accessibility acl acpi additions aften aim aio alsa amd amd64 amr amrnb amrwb ansi aotuv apm ass async atm auctex audacious audiofile avahi bash-completion berkdb bidi binary-drivers bl blas buffysize buttons bzip2 bzlib cairo caps cdda cddb cdio cdparanoia cdr chm chroot cli clisp console consolekit context cracklib crypt cryptoworks cscope css csv ctype cups curl curlwrappers cxx daap dar64 dga dirac divx djbfft djvu dri dts dv dvb dvd dvdr dvdread dvi ecc encode exif expat extra fam fame fasttrack fat fbcon ffmpeg fftw firefox firefox3 flac fltk fontconfig foomaticdb fortran fping fpx freetext g15 gadu games gcj gd gdal gdbm general ggi gif gimp gimpprint ginac glibc-omitfp glitz glsa glut glx gmedia gmp gmtfull gmthigh gmtsuppl gmttria gnutella gnutls gopher gpgme gpm grammar graphics graphviz grass gs gtalk gtk gtk2 guile h323 hardcoded-tables hdf5 howl-compat httpd humanities iconv icq id3 id3tag idn ieee1394 imagemagick imlib inquisitio ipv6 irc isdnlog ithreads jabber jack jack-tmpfs java javascript jbig jikes jpeg jpeg2k kdeprefix kerberos kig-scripting kpathsea kqemu lame laptop latex lcd lcms libcaca libedit libnotify libsamplerate libtommath libvisual libwww live lj lm_sensors lnbsharing logitech-mouse logrotate lzo lzw mad matroska mbox midi mikmod mime mimencode mjpeg mmx mmxext mng mod mono motif moznocompose moznoirc moznomail moznoroaming mozsvg mozxmlterm mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer msn msnextras mudflap multilib musepack music mysql mythtv nautilus ncurses nethack netpbm network networking nfs nls nntp normalizemime nptl nptlonly nsplugin nvidia nvtv offensive ogg oggvorbis ole omega on-the-fly-crypt openexr opengl openmp openssl oscar otr pam pcre pdf perl player plotutils png posix pppd preview-latex pstricks psyrdo psytrellis publishers python pyzor qa qhull qt3 qt4 quicktime rar readline realmedia recode reflection regex reiser4 reiserfs rss rtc rtsp sasl schroedinger science screen sdl session shl shout sid silc slang slp smime sms sndfile soundtouch sox speex spell spl sqlite srt sse sse-filters sse2 ssl ssse3 stream subtitles svg svgz sysfs szip tcl tcltk tcpd tetex theora thesaurus threads threadsafe tiff tk tomsfastmath tools transcode truetype tv_check tv_combiner twolame type1 uk_bleb uk_rt unicode usb userlocales utf8 uudeview v4l v4l2 vamp vcd vcdimager vdpau vdr vim vim-pager vim-syntax vim-with-x visibility vlm vorbis wavpack webdav wma wma123 wmf wmp wordperfect wv wxgtk1 wxwindows x264 xanim xattr xcb xetex xext xfs xine xinerama xinetd xml xml2 xmlrpc xorg xpm xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias apache2_modules_proxy apache2_modules_proxy_ajp apache2_modules_proxy_balancer apache2_modules_proxy_connect apache2_modules_proxy_ftp apache2_modules_proxy_http auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Roby 2009-05-01 17:15:59 UTC
Switching to gcc 4.2.4 still results in the same error.
Comment 9 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-01 20:47:30 UTC
I've stared and stared at that code and the only way I could figure out how this would fail so, would be if pkgconfig wasn't installed, so I looked at the ebuild and it doesn't pull it in (fixed now). Could someone try:
USE="openssl" emerge -1 dev-util/pkgconfig && emerge -1 lynx
Comment 10 Grégoire Favre 2009-05-01 22:34:30 UTC
pkgconfig is installed here. But anyway I tried and first it emerged all perfectly but I forgot to remove the mask I put on 2.8.7_rc2...
Unmasked and it fails like in the first repport.
Comment 11 Michelangelo Scopelliti 2009-05-01 23:01:32 UTC
I had pkgconfig already installed, but I re-emerged it (you never know...) but nothing to do, same failure than before.
I tried also to compile lynx as normal user (just compile, no install, no sandbox). Compilation fails with the same error.
Comment 12 renato gallo 2009-05-26 07:24:49 UTC
tried here www-client/lynx-2.8.7_rc4 same error

(In reply to comment #9)
> I've stared and stared at that code and the only way I could figure out how
> this would fail so, would be if pkgconfig wasn't installed, so I looked at the
> ebuild and it doesn't pull it in (fixed now). Could someone try:
> USE="openssl" emerge -1 dev-util/pkgconfig && emerge -1 lynx
> 

Comment 13 renato gallo 2009-05-26 07:26:17 UTC
Created attachment 192467 [details]
www-client/lynx-2.8.7_rc4 build.log
Comment 14 Roby 2009-05-27 19:45:59 UTC
Confirmed renato gallo. Using www-client/lynx-2.8.7_rc4, same error.
Comment 15 Michelangelo Scopelliti 2009-05-28 06:55:16 UTC
(In reply to comment #4)
> Looks like it might be one of these newfangled compiler problems.

No, it's not a gcc problem. It's a configure problem.
Namely, configure fails to correctly detect openssl, and thus fails to properly set the appropriate CPPFLAGS.
A quick hack could be fixing the makefile _after_ the configure phase (you need to add "-DUSE_OPENSSL_INCL" to CPPFLAGS; adding it to DEFS does not work).
I was not able to fix the configure, and I didn't find a bugtracker on the developer's site, so I will soon post a patch to the ebuild (patch to lynx-2.8.7_rc4.ebuild)
Comment 16 Michelangelo Scopelliti 2009-05-28 07:15:10 UTC
Created attachment 192682 [details]
patch to ebuild

works for me
Comment 17 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-28 16:35:00 UTC
(In reply to comment #16)
> Created an attachment (id=192682) [edit]
> patch to ebuild
> 
> works for me

Still not acceptable for the ebuild in-tree. We should find the bug in the configure script and fix it.
Comment 18 brent 2009-06-21 01:23:36 UTC
hey, i'm getting the same thing with www-client/lynx-2.8.7_rc4



zsh 643 % emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9100_@_3.06GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 19 Jun 2009 07:20:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r3, 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/games /usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib accessibility acl acpi alsa amd64 applet ares async asyncns atmo automount avahi bash-completion berkdb bidi bluetooth bluez bookmarks branding bzip2 cairo caps cdda cddax cddb cdinstall cdio cdr cli colordiff cracklib crypt cups curl dbus dc1394 dga dirac directfb disk-partition diskio double-precision dri dts dvb dvd dvdr dvdread eds elf emboss emerald encode esd evo extensible fam fbcon fbcondecor ffmpeg firefox flac fluidsynth fontconfig fortran fuse gcrypt gdbm gedit ggi gif glitz gnome gnome-keyring gnutls gpm gstreamer gtk hal hald hdaps howl-compat html httpd iconv icu id3tag idn imagemagick ipod iproute2 ipv6 isdnlog jack java jpeg kerberos krb4 krb5 laptop ldap libass libcaca libnotify libsamplerate libssh2 libsysfs libv4l2 libwww lirc live lm_sensors loop-aes lua lzo mad matroska mdnsresponder-compat mfd-rewrites midi mikmod mmap mmx modplug mono motif mp3 mpeg mudflap multilib multislot musepack nautilus ncurses nls nptl nptlonly nsplugin nss offensive ogg opengl openmp openssl optimisememory overlays pam pcap pcre pda pdf perl php pic png ppds pppd pulseaudio pvr python qt3 qt3support qt4 quicktime quotas readline reflection remoteosd rtsp samba sasl scanner schroedinger sdl sdl-image seamonkey session shout skey skins smbkrb5passwd smux socks5 speex spell spl sse sse2 ssl startup-notification stream svg sysfs syslog taglib tcpd theora threads tiff tk tools tpctlir truetype twolame unicode upnp usb utils v4l v4l2 vcdinfo vcdx vde videos vim-pager vim-syntax vim-with-x vlm vorbis winbind wmf x264 xattr xcb xinerama xinetd xml xorg xosd xulrunner xv zeroconf zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



passing USE="-openssl" emerge -uvat lynx allows the compile to occur (and complete successfully). once openssl is enabled, however, the build fails.
Comment 19 anomen 2009-06-29 10:28:31 UTC
I encountered this problem only with openssl emerged with USE=kerberos.

running "pkg-config --cflags openssl" returns "-I/usr/kerberos/include" which seems to be the reason why aclocal.m4 in lynx disables USE_OPENSSL_INCL
Comment 20 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-05 18:23:08 UTC
*** Bug 275792 has been marked as a duplicate of this bug. ***
Comment 21 Wormo (RETIRED) gentoo-dev 2009-07-27 16:52:06 UTC
*** Bug 279336 has been marked as a duplicate of this bug. ***
Comment 22 Timothy Miller 2009-07-31 02:45:17 UTC
Maybe I can't help, or maybe I can, but I'd like to try.  I figured out how to unpack the ebuild and found it in "/var/tmp/portage/www-client/lynx-2.8.7_p1/work/lynx2-8-7".

Apparently, "./configure" does not make it use my make.conf environment, so it compiles without error.  I'm having no luck with google to find out how to do this manually, mostly because I guess I don't know what to look for.  Help?  :)
Comment 23 Wormo (RETIRED) gentoo-dev 2009-07-31 06:30:43 UTC
Thanks for the offer to help, Timothy. 

Do you have openssl built with kerberos? If not, then you won't get this error. I have been able to reproduce the bug even when building outside of portage, as long as 'pkg-config --cflags openssl' returns '-I/usr/include/kerberos' as indicated in comment 19. 

Where I'm at now:
* modified lynx aclocal.m4 to do a better job of finding openssl include dir
* tried to regenerate configure using standard autoconf, and failed
* realized lynx project uses a patched autoconf
  http://invisible-island.net/autoconf/autoconf.html
* changing strategy to patching configure directly, since eautoreconf would just bomb with the non-standard configure.in

When I have a configure patch, I'll post it here for a little testing before committing it...
Comment 24 Wormo (RETIRED) gentoo-dev 2009-08-01 07:13:14 UTC
Created attachment 199788 [details, diff]
lynx configure script patch

patch lynx configure script to prevent breakage when 'pkg-config --cflags openssl ' has extra "-I" CFLAGS (e.g. when compiled with USE=kerberos)
Comment 25 Wormo (RETIRED) gentoo-dev 2009-08-01 07:14:46 UTC
Created attachment 199789 [details]
lynx-2.8.7_p1 ebuild updated to apply patch
Comment 26 Wormo (RETIRED) gentoo-dev 2009-08-01 07:15:55 UTC
Works for me, more test results will be appreciated :)
Comment 27 Guy 2009-08-12 15:02:24 UTC
patch and modified ebuild works for me.

Thank you!!!
Comment 28 Wormo (RETIRED) gentoo-dev 2009-08-13 06:41:59 UTC
Thanks for testing Guy, fix is now in cvs and this bug can finally be closed out :)