Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94735 - net-misc/openssh-4.1_p1 fails to build due to zlib check
Summary: net-misc/openssh-4.1_p1 fails to build due to zlib check
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 07:14 UTC by Brian Hall
Modified: 2005-06-04 19:26 UTC (History)
1 user (show)

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


Attachments
output from openssh configure step (config.log,131.83 KB, text/plain)
2005-06-01 07:17 UTC, Brian Hall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Hall 2005-06-01 07:14:44 UTC
openssh configure fails at the start of the emerge, claiming that zlib is too
old, even though 1.2.2 > 1.2.1.2. Re-emerging zlib doesn't help, may be a
problem in openssh.

Reproducible: Always
Steps to Reproduce:
1. emerge =net-misc/openssh-4.1_p1
2.
3.

Actual Results:  
checking for zlib.h... yes
checking for possibly buggy zlib... yes
configure: error: *** zlib too old - check config.log ***
Your reported zlib version has known security problems.  It's possible your
vendor has fixed these problems without changing the version number.  If you
are sure this is the case, you can disable the check by running
"./configure --without-zlib-version-check".
If you are in doubt, upgrade zlib to version 1.2.1.2 or greater.
See http://www.gzip.org/zlib/ for details.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/openssh-4.1_p1/work/openssh-4.1p1/config.log

!!! ERROR: net-misc/openssh-4.1_p1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

# epm -q zlib
zlib-1.2.2


Expected Results:  
emerged openssh successfully

Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-ck3s x86_64)
=================================================================
System uname: 2.6.11-ck3s x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.6.12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fweb -frename-registers -ftracer -mtune=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -fweb -frename-registers -ftracer -mtune=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks nodoc noinfo sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/
http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo
http://gentoo.osuosl.org/ http://gentoo.llarian.net/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 3dnowex X aac avi bash-completion berkdb bitmap-fonts bzip2 bzlib
cdparanoia cdr chroot commercial crypt cups curl dedicated dga dio dnd dvd dvdr
dvdread encode faac faad fam ffmpeg flac font-server foomaticdb fortran freetype
gb gd gdbm gif gimpprint ginac gs gtk gtkhtml imagemagick imlib imlib2 java
jikes jp2 jpeg lcd lesstif libdsk lzw lzw-tiff mad maildir matrox mbox md5sum
mhash mikmod mmap mng motif mp3 mpeg mpeg4 mplayer multilib native ncurses net
network no-old-linux nptl nptlonly ofx ogg opengl oss pam parse-clocks pdf perl
pic pie png ppds python qt quicktime readline samba scanner sdl slang sox ssl
svg tcltk tcpd theora threads tiff transcode truetype truetype-fonts type1
type1-fonts usb userlocales v4l v4l2 vnc vorbis wmf wxwindows x11vnc xft xine
xml xml2 xpm xrandr xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Comment 1 Brian Hall 2005-06-01 07:17:13 UTC
Created attachment 60363 [details]
output from openssh configure step

This is the config.log the error message says should be included with the bug
report.
Comment 2 Brian Hall 2005-06-01 07:51:09 UTC
Fails identically on 2004.3 and 2005.0 (I have two AMD64 Gentoo boxes on
different  releases).
Comment 3 SpanKY gentoo-dev 2005-06-03 05:42:54 UTC
looks like the zlib check doesnt take into the account we patched that version

just upgrade your zlib to 1.2.2 and it should emerge fine
Comment 4 Brian Hall 2005-06-04 08:23:32 UTC
My zlib is ALREADY at 1.2.2. I have unmerge and reemerged zlib several times now
to no effect.

# epm -q zlib
zlib-1.2.2

Comment 5 SpanKY gentoo-dev 2005-06-04 17:21:39 UTC
what does this show on your machine ?

$ echo -e '#include <zlib.h>\nZLIB_VERSION' | gcc -E - | tail
Comment 6 Brian Hall 2005-06-04 18:14:07 UTC
Hmm, that shows 1.2.1

I don't understand, I've removed and reinstalled it and portage claims its 1.2.2?

# echo -e '#include <zlib.h>\nZLIB_VERSION' | gcc -E - | tail
extern int inflateBackInit_ (z_stream *strm, int windowBits, unsigned char
*window, const char *version, int stream_size);
# 1189 "/usr/local/include/zlib.h" 3
    struct internal_state {int dummy;};


extern const char * zError (int err);
extern int inflateSyncPoint (z_streamp z);
extern const uLongf * get_crc_table (void);
# 2 "<stdin>" 2
"1.2.1"

Comment 7 SpanKY gentoo-dev 2005-06-04 18:22:14 UTC
you have crap in /usr/local

you should remove it
Comment 8 Brian Hall 2005-06-04 19:26:59 UTC
Thanks.