Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153569 - net-misc/curl:-7.15.1-r1 Compilation failed
Summary: net-misc/curl:-7.15.1-r1 Compilation failed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 09:40 UTC by Laget Fabrice
Modified: 2007-03-16 12:38 UTC (History)
1 user (show)

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 Laget Fabrice 2006-10-31 09:40:29 UTC
emerge --info :

Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 30 Oct 2006 17:50:01 +0000
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -funroll-loops -finline-functions"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -funroll-loops -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr/ http://gentoo.mirror.solnet.ch"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="fr"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="/mnt/Z/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 S3TC X acpi acpi4linux activefilter alsa amd apache2 apm autofs berkdb bitmap-fonts cacheemu cgi chroot clanVoice cli codecs cracklib crypt cups dedicated dga dhcp distribution divx4linux dlloader dri dvd dvdread elibc_glibc emacs emacs-w3 emboss encode esd examples ext-png ext-zlib faad fastcgi fbcon flash foomaticdb freetype gdbm gif glade gmail gnome gpm gstreamer gtk gtk2 i8x0 iconv imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipalias ipv6 ipv6arpa ithreads j-noaim j-nojud j-nomuconf j-noyahoo jack-caps javascript jikes jpeg justify kernel_linux libg++ libwww lids linguas_fr mad md5sum memlimit mikmod mmx mmx2 motif mozctl mozinterfaceinfo moznoirc mp3 mpeg mpeg4 mplayer msn music native ncurses net nls nptl nptlonly nvidia oav ogg opengl openssh oss pam pcre perl php png posix pppd prelude pthreads python qt3 qt4 quicktime readline real reflection regexp ruby18 sdl session spell spl src sse sse2 ssl tcpd transcode truetype truetype-fonts type1-fonts udev uptimed usagi userland_GNU video_cards_nvidia videos vim vim-with-x vorbis win32codecs wxwin wxwindows xchatdccserver xchattext xface xfs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS

Error :

In file included from main.c:99:
/usr/include/sys/poll.h:37: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'int16_t'
/usr/include/sys/poll.h:43: erreur: expected ':', ',', ';', '}' or '__attribute__' before 'events'
/usr/include/sys/poll.h:58: erreur: expected declaration specifiers or '...' before 'nfds_t'
In file included from ../lib/setup.h:112,
                 from ../lib/strtoofft.h:31,
                 from ../lib/curlx.h:41,
                 from main.c:109:
/usr/include/assert.h:69: erreur: expected ';', ',' or ')' before '__line'
/usr/include/assert.h:74: erreur: expected ';', ',' or ')' before '__line'
In file included from ../lib/strtoofft.h:31,
                 from ../lib/curlx.h:41,
                 from main.c:109:
../lib/setup.h:243: erreur: conflicting types for 'fileno'
setup.h:86: erreur: previous declaration of 'fileno' was here
main.c:250: erreur: 'trace' redeclared as different kind of symbol
/usr/include/ncurses.h:1289: erreur: previous declaration of 'trace' was here
main.c:278: erreur: expected ':', ',', ';', '}' or '__attribute__' before 'porttouse'
main.c: In function 'warnf':
main.c:370: erreur: 'struct Configurable' has no member named 'conf'
main.c:383: erreur: 'struct Configurable' has no member named 'errors'
main.c:392: erreur: 'struct Configurable' has no member named 'errors'
main.c:393: erreur: 'struct Configurable' has no member named 'errors'
main.c:398: erreur: 'struct Configurable' has no member named 'errors'
main.c: In function 'clean_getout':
main.c:691: erreur: 'struct Configurable' has no member named 'url_list'
main.c: In function 'new_getout':
main.c:711: erreur: 'struct Configurable' has no member named 'url_last'
main.c:720: erreur: 'struct Configurable' has no member named 'url_list'
main.c:723: erreur: 'struct Configurable' has no member named 'url_last'
main.c: In function 'formparse':
main.c:1003: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'i'
main.c:1003: erreur: 'i' undeclared (first use in this function)
main.c:1003: erreur: (Each undeclared identifier is reported only once
main.c:1003: erreur: for each function it appears in.)
main.c:1003: erreur: 'count' undeclared (first use in this function)
main.c: In function 'getparameter':
main.c:1270: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'j'
main.c:1270: erreur: 'j' undeclared (first use in this function)
main.c:1491: erreur: 'struct Configurable' has no member named 'cipher_list'
main.c:1502: erreur: 'struct Configurable' has no member named 'trace_dump'
[...]
main.c:4226: erreur: 'struct Configurable' has no member named 'errors'
main.c: In function 'checkfds':
main.c:4245: attention : passing argument 1 of 'pipe' from incompatible pointer type
main.c: In function 'main':
main.c:4260: erreur: 'struct Configurable' has no member named 'errors'
main.c:4255: attention : return type of 'main' is not 'int'
make[2]: *** [main.o] Erreur 1
make[1]: *** [all] Erreur 2
make: *** [all-recursive] Erreur 1

!!! ERROR: net-misc/curl-7.15.1-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  curl-7.15.1-r1.ebuild, line 83:   Called die

!!! install failed for current version
!!! If you need support, post the topmost build error, and the call stack if relevant.


I have the same problem with wine, it seems that the problem come from glibc headers files.
I re-emerge them twice.
If something is missing tell me and i put it on reply.
(Sorry for my english :( )
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-31 09:58:01 UTC
On a side note, you definitely shouldn't have multiple linux-headers versions installed at the same time.

> virtual/os-headers:  2.6.8.1-r1, 2.6.17-r1
Comment 2 Laget Fabrice 2006-11-01 07:50:20 UTC
(In reply to comment #1)
> On a side note, you definitely shouldn't have multiple linux-headers versions
> installed at the same time.
> 
> > virtual/os-headers:  2.6.8.1-r1, 2.6.17-r1
> 

I have unmerge linux-headers-2.6.8.1-r1 and emerge glibc and I have the same problem
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-16 12:38:29 UTC
Try w/ glibc-2.5; cannot reproduce this.