Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74743 - file 4.10 -> 4.12 upgrade
Summary: file 4.10 -> 4.12 upgrade
Status: RESOLVED DUPLICATE of bug 73786
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-17 04:23 UTC by Alex Efros
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Alex Efros 2004-12-17 04:23:47 UTC
In file-4.12 ebuild this line apply patch by mistake:
    tc-is-cross-compiler && epatch ${FILESDIR}/${P}-cross-compile.patch
I don't use cross-compiling, and as far as I understand this line should be:
    tc-is-cross-compiler || epatch ${FILESDIR}/${P}-cross-compile.patch
or function tc-is-cross-compiler() should return false if cross-compiling is not used.

Reproducible: Always
Steps to Reproduce:
1. (install file-4.10)
2. emerge =sys-apps/file-4.12

Actual Results:  
/usr/bin/file -C -m magic
WARNING: type lestring16 >0 Description: %15.15s invalid
file: could not find any magic files!
make[2]: *** [magic.mgc] Ошибка 255
make[2]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12/magic'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12'


Expected Results:  
../src/file -C -m magic
make[2]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12/magic'

Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
 2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) XP 1600+
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops   -ftrace
r -falign-loops=4 -falign-jumps=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3
/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /us
r/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops   -ftra
cer -falign-loops=4 -falign-jumps=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage-distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms userpriv 
usersandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/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="3dnow 3dnowex X Xaw3d aalib acpi aim alsa avi berkdb bindist bitmap-fonts b
onobo cdr crypt cscope dga directfb divx4linux dvd dvdr encode esd fam fbcon fbd
ev flac flash fortran gd gdbm gif gpm gtk gtk2 gtkhtml guile icq imagemagick ima
p imlib innodb jabber javascript jpeg libg++ libwww lirc mad mailbox mbox mmx mo
tif mpeg msn mysql ncurses nls oggvorbis opengl oss pam pcre pdflib perl png pyt
hon qt quicktime readline rtc samba sdl slang socks5 spell sse ssl svga tcltk tc
pd tiff truetype x86 xinetd xml2 xmms xv xvid yahoo zlib"
Comment 1 SpanKY gentoo-dev 2004-12-17 06:34:07 UTC

*** This bug has been marked as a duplicate of 73786 ***