Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138566 - net-misc/curl-7.15.1-r1 emerge fails after gcc 3.3 to 3.4 upgrade
Summary: net-misc/curl-7.15.1-r1 emerge fails after gcc 3.3 to 3.4 upgrade
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-30 03:29 UTC by Marko Djukic
Modified: 2006-07-10 12:58 UTC (History)
2 users (show)

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


Attachments
Output from configure command in emerge (config.log,107.01 KB, text/plain)
2006-06-30 03:33 UTC, Marko Djukic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Djukic 2006-06-30 03:29:52 UTC
After a gcc 3.3.6 -> 3.4.6-r1 upgrade, curl fails to emerge. I have followed the gcc upgrade docs, doing an emerge -e system, followed by an emerge -e world.

The curl emerge when doing emerge -e world fails with:
checking size of curl_off_t... configure: error: cannot compute sizeof (curl_off_t), 77
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/curl-7.15.1-r1/work/curl-7.15.1/config.log

!!! ERROR: net-misc/curl-7.15.1-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  curl-7.15.1-r1.ebuild, line 81:   Called econf '--disable-ldap' '--without-libidn' '--disable-gssapi' '--enable-ipv6' '--enable-http' '--enable-ftp' '--enable-gopher' '--enable-file' '--enable-dict' '--enable-manual' '--enable-telnet' '--enable-nonblocking' '--enable-largefile' '--disable-ares' '--disable-krb4' '--without-gnutls' '--with-ssl=/usr'
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

config.log is attached.

sgrsil31 curl-7.15.1 # emerge --info 
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.15
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages/i686/pentium4"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="x86 apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode esd foomaticdb fortran gdbm gif gstreamer gtk2 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marko Djukic 2006-06-30 03:33:12 UTC
Created attachment 90516 [details]
Output from configure command in emerge
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2006-06-30 05:16:07 UTC
> configure:30672: ./conftest
> ./conftest: error while loading shared libraries: /usr/lib/libz.so.1: invalid ELF header
> configure:30675: $? = 127
> configure: program exited with status 127

This probably has nothing to do with curl. Does reinstalling zlib fix things? If not, do other programs using zlib (your currently installed curl, for example) work correctly?
Comment 3 Marko Djukic 2006-06-30 05:55:34 UTC
This probably has nothing to do with curl. Does reinstalling zlib fix things?
If not, do other programs using zlib (your currently installed curl, for
example) work correctly?

No, reinstalling zlib did not help.

I have no previous version of curl, I deinstalled it at some point when trying to fix this. I have tried installing the next version up (~x86) and that failed too.

However, running "make test" which is part of the zlib source I think it looks like the zlib libraries are working:
uncompress(): hello, hello!
gzread(): hello, hello!
gzgets() after gzseek:  hello!
inflate(): hello, hello!
large_inflate(): OK
after inflateSync(): hello, hello!
inflate with dictionary: hello, hello!
                *** zlib test OK ***

Trying out other packages, openssl seems to compile and run fine, and that depends on zlib.
Comment 4 Marko Djukic 2006-06-30 06:01:02 UTC
Ok, I just unmerged zlib ignoring all the "'sys-libs/zlib' is part of your system profile" warnings and then emerged it again. Curl now compiles. Ah should have done this yesterday...

Thanks for the help.
Comment 5 Yassine ELassad 2006-07-07 07:52:42 UTC
i have exeactly the same issue i will provide more info on my system tonight
Comment 6 Yassine ELassad 2006-07-10 12:58:20 UTC
hi guys, 

i have something similar to this bug, here is the nummber of the bug i submitted about it : 138725

and this is the url to my config.log

http://bigleo.dyndns.org/config.log

thanks for your engagements if i can help with providing more info please mail me

Regards
yassine elassad
Cologne, Germany