Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134933 - sys-apps/coreutils-5.96 redefines tee()
Summary: sys-apps/coreutils-5.96 redefines tee()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 151871 152879 166762 172568 178903 179509 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-30 10:28 UTC by Ahmed Ammar (RETIRED)
Modified: 2007-05-23 13:19 UTC (History)
8 users (show)

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


Attachments
sys-apps/coreutils-5.96 with patch (coreutils.tar.bz2,14.89 KB, application/x-bzip)
2006-05-30 10:30 UTC, Ahmed Ammar (RETIRED)
Details
Just the patch (coreutils-tee.patch,978 bytes, patch)
2006-05-30 10:31 UTC, Ahmed Ammar (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmed Ammar (RETIRED) gentoo-dev 2006-05-30 10:28:45 UTC
Attached is a working ebuild + patch, and patch alone.

Basically, some declerations in tee.h are defined in the new headers.
Comment 1 Ahmed Ammar (RETIRED) gentoo-dev 2006-05-30 10:30:21 UTC
Created attachment 87886 [details]
sys-apps/coreutils-5.96 with patch

Credit to tscolin for bringing this to my attention in #gentoo-amd64 and providing the package
Comment 2 Ahmed Ammar (RETIRED) gentoo-dev 2006-05-30 10:31:41 UTC
Created attachment 87887 [details, diff]
Just the patch
Comment 3 Jory A. Pratt 2006-05-31 14:29:57 UTC
I am unable to confirm this bug, all is well with 2.6.16 headers and gcc-4.1.1!
Comment 4 Ahmed Ammar (RETIRED) gentoo-dev 2006-06-02 11:55:20 UTC
Portage 2.1_rc3-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4.90.20060516-r0, 2.6.17-rc4-g99bc1bd9-dirty x86_64)
=================================================================
System uname: 2.6.17-rc4-g99bc1bd9-dirty x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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.93
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer -ffast-math"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg clean confcache cvs distlocks metadata-transfer notitles sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LDFLAGS="-Wl,-O1 -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"
MAKEOPTS="-j2"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/overlay/local /overlay/glibc /overlay/xgl-coffee /overlay/gnome-experimental"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi beagle berkdb bitmap-fonts bluetooth cairo cli crypt cups dbus dri dvd eds emboss encode firefox foomaticdb fortran gif glitz gnome gnomecanvas gpm gstreamer gstreamer10 gtk gtk2 hal imlib isdnlog jpeg lzw lzw-tiff mono mp3 mpeg ncurses nls nptl nptlonly nvidia opengl pam pcre pdf pdflib perl pic png pppd python quicktime readline reflection samba sdl session spell spl ssl svg syslog tcpd tiff truetype truetype-fonts type1-fonts unicode usb xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 SpanKY gentoo-dev 2006-06-07 04:56:24 UTC
fedora does this as well:

* Wed Apr 26 2006 Tim Waugh <twaugh@redhat.com> 5.94-4
- Avoid redeclared 'tee' function.

however, i fail to see where this is being defined
Comment 6 SpanKY gentoo-dev 2006-06-24 19:48:17 UTC
upstream released this fix in 5.97
Comment 7 SpanKY gentoo-dev 2006-10-18 14:07:38 UTC
*** Bug 151871 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-10-26 11:13:39 UTC
*** Bug 152879 has been marked as a duplicate of this bug. ***
Comment 9 Alexey Fisher 2007-01-23 14:20:51 UTC
i have same problem on selinux/x86/hardened. Thirst problem is that it use coreutils-5.94-r1, all other are masked. Unmasking will cos coreutils-6.7-r1 fail to merge with error:
===================================================================
>>> Unpacking coreutils-6.7-patches-1.1.tar.bz2 to /var/tmp/portage/sys-apps/coreutils-6.7-r1/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /var/tmp/portage/sys-apps/coreutils-6.7-r1/work/patch/selinux
 *   ( selinux )


!!! ERROR: sys-apps/coreutils-6.7-r1 failed.
======================================================================

Any suggestions? 
i use glibc 2.5 and gcc-4.1.1-r3
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-02-13 23:43:28 UTC
*** Bug 166762 has been marked as a duplicate of this bug. ***
Comment 11 Marek Wróbel 2007-02-14 00:05:19 UTC
Why this bug is marked as FIXED? 6.* coreutils are OK, but there are some people (especially those using selinux), who can use only 5.* . According to bug #144509, coreutils 6.* are not likely to work with selinux in a short period of time, so I think that adding 5.97 to portage could be a good fix.
Comment 12 SpanKY gentoo-dev 2007-02-14 03:55:03 UTC
that sucks to be you, we're not backporting
Comment 13 Marek Wróbel 2007-02-17 12:45:29 UTC
(In reply to comment #12)
> that sucks to be you, we're not backporting
> 

But it affects many selinux people... And adding patch from comment #2 to portage tree isn't harmful (and it works).
Comment 14 SpanKY gentoo-dev 2007-02-17 12:58:44 UTC
then the selinux people should be taking more care of their system now shouldnt they
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-03-28 16:02:04 UTC
*** Bug 172568 has been marked as a duplicate of this bug. ***
Comment 16 SpanKY gentoo-dev 2007-05-18 19:47:50 UTC
*** Bug 178903 has been marked as a duplicate of this bug. ***
Comment 17 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-18 19:55:00 UTC
I don't understand why not fix this simple issue...
Comment 18 Christian Heim (RETIRED) gentoo-dev 2007-05-23 13:19:38 UTC
*** Bug 179509 has been marked as a duplicate of this bug. ***