Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89376 - eix-0.2.2 compilation failure - missing unistd.h
Summary: eix-0.2.2 compilation failure - missing unistd.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-16 20:18 UTC by Mike Gardiner (RETIRED)
Modified: 2005-04-23 06:44 UTC (History)
2 users (show)

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


Attachments
eix-0.2.2-unistd.h.patch (eix-0.2.2-unistd.h.patch,716 bytes, patch)
2005-04-16 20:20 UTC, Mike Gardiner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gardiner (RETIRED) gentoo-dev 2005-04-16 20:18:50 UTC
eix-0.2.2 fails to compile with gcc-3.2.3, with a couple of undeclared errors (readlink in cascadingprofile.cc and close in eix.cc). I've attached a small patch to include the required header (unistd.h) in those files.

It compiles fine with gcc-3.4.3, but I can't see any reason why it shouldn't be including the required header.

Portage 2.0.51.19 (default-linux/ppc/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r8 ppc)
=================================================================
System uname: 2.6.10-gentoo-r8 ppc 7447A, altivec supported
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr  3 2005, 16:11:55)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.4_p6, 1.9.4, 1.6.3, 1.5, 1.7.9
sys-devel/binutils:  2.15.90.0.3-r4
sys-devel/libtool:   1.4.3-r4, 1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks noauto sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa berkdb bitmap-fonts cdr crypt cups curl dvd dvdr eds emboss esd flac font-server fortran gdbm gif gnome gstreamer gtk gtk2 hal imagemagick imlib jpeg libwww mad motif mozilla mp3 mpeg mysql ncurses nls ogg opengl pam perl png ppc python readline samba sdl sqlite ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis xinerama xml2 xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2005-04-16 20:20:49 UTC
Created attachment 56485 [details, diff]
eix-0.2.2-unistd.h.patch
Comment 2 Emil Beinroth 2005-04-17 07:01:53 UTC
Thanks, commited to upstream cvs
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2005-04-23 06:44:11 UTC
fixed