Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

A lot of packages fail to emerge...

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
Berni
n00b
n00b
Posts: 71
Joined: Mon Aug 25, 2003 4:31 pm

A lot of packages fail to emerge...

  • Quote

Post by Berni » Sun Jul 04, 2004 9:56 pm

I have a lot of ebuilds which don't emerge properly anymore when trying to update them. For example curl exits because of this error (the whole log is longer but as far as I can see, this is the main reason for the compile failing)
In file included from main.c:96:
/usr/include/sys/poll.h:30: error: syntax error before "int16_t"
/usr/include/sys/poll.h:36: error: syntax error before "events"
/usr/include/sys/poll.h:37: error: syntax error before "revents"
/usr/include/sys/poll.h:48: error: syntax error before "nfds_t"
I found that this file (poll.h) belongs to the glibc-ebuild and the other ebuilds also fail because of files belonging to it (for example dirent.h when emerging cvs), I tried reemerging gcc and glibc but it changed nothing. My emerge info is the following:
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-mat
h"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-m
ath"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/down ... oo-mirror/ http:
//ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmst
adt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb crypt cups directfb encode esd foomaticdb gdbm
gif gpm gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad mikmod mmx mmx2 motif mp
eg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt
quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xm
ms xv zlib"
I tried lowering or even removing the Cflags when emerging curl, cvs etc. but this didn't help either. Has anyone a hint what I could try?
BTW: I'm only using stable versions of all ebuilds (no ~x86)!


Edit: What I also think is strange: I cannot understand the errors because the file /usr/include/sys/poll.h for example nowhere has int16_t in it (line 30 is in fact "typedef unsigned long int nfds_t"...).
Please also note my other two threads (Apache and pureftpd) which also fail but because of another reason like it seems.
Top
Berni
n00b
n00b
Posts: 71
Joined: Mon Aug 25, 2003 4:31 pm

  • Quote

Post by Berni » Mon Jul 05, 2004 7:18 pm

PLEASE help me. Even if you don't know a solution: What would you try in my situation (apart from reinstalling which would take at least a week on this notebook)?
Top
Post Reply

2 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic