First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 73786
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: gentoo_lan <devinkinder@comcast.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge-info emerge info text/plain gentoo_lan 2004-12-08 04:19 0000 1.99 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 73786 depends on: Show dependency tree
Bug 73786 blocks: 72521
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-08 04:17 0000
sys-app/file-4.12 fails every time I try to emerge it.  Here is the error:

make[2]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12/src'
Making all in magic
make[2]: Entering directory `/var/tmp/portage/file-4.12/work/file-4.12/magic'
cat ./Header ./Localstuff > magic
../src/file -C -m ./magic.mime
for frag in Magdir/acorn Magdir/adi Magdir/adventure Magdir/allegro Magdir/alliant Magdir/alpha Magdir/amanda Magdir/amigaos Magdir/animation Magdir/apl Magdir/apple Magdir/applix Magdir/archive Magdir/asterix Magdir/att3b Magdir/audio Magdir/bFLT Magdir/blender Magdir/blit Magdir/bout Magdir/bsdi Magdir/cad Magdir/c-lang Magdir/c64 Magdir/cddb Magdir/chi Magdir/chord Magdir/cisco Magdir/citrus Magdir/claris Magdir/clipper Magdir/spec Magdir/commands Magdir/communications Magdir/compress Magdir/console Magdir/convex Magdir/ctags Magdir/dact Magdir/database Magdir/diamond Magdir/diff Magdir/digital Magdir/dolby Magdir/dump Magdir/editors Magdir/elf Magdir/encore Magdir/epoc Magdir/esri Magdir/fcs Magdir/filesystems Magdir/flash Magdir/fonts Magdir/frame Magdir/freebsd Magdir/fsav Magdir/games Magdir/geos Magdir/gcc Magdir/gimp Magdir/gnu Magdir/grace Magdir/gringotts Magdir/hdf Magdir/hitachi-sh Magdir/hp Magdir/human68k Magdir/ibm370 Magdir/ibm6000 Magdir/iff Magdir/images Magdir/intel Magdir/interleaf Magdir/island Magdir/ispell Magdir/java Magdir/jpeg Magdir/karma Magdir/lecter Magdir/lex Magdir/lif Magdir/linux Magdir/lisp Magdir/mach Magdir/macintosh Magdir/magic Magdir/mail.news Magdir/maple Magdir/mathematica Magdir/matroska Magdir/mcrypt Magdir/mime Magdir/mips Magdir/mirage Magdir/misctools Magdir/mkid Magdir/mlssa Magdir/mmdf Magdir/modem Magdir/motorola Magdir/msdos Magdir/msvc Magdir/natinst Magdir/ncr Magdir/netbsd Magdir/netscape Magdir/news Magdir/nitpicker Magdir/ocaml Magdir/octave Magdir/olf Magdir/os2 Magdir/os9 Magdir/osf1 Magdir/palm Magdir/parix Magdir/pbm Magdir/pdf Magdir/pdp Magdir/perl Magdir/pgp Magdir/pkgadd Magdir/plan9 Magdir/plus5 Magdir/printer Magdir/project Magdir/psdbms Magdir/psion Magdir/pulsarMagdir/pyramid Magdir/python Magdir/revision Magdir/riff Magdir/rpm Magdir/rtf Magdir/sc Magdir/sccs Magdir/sendmail Magdir/sequent Magdir/sgi Magdir/sgml Magdir/sharc Magdir/sinclair Magdir/sketch Magdir/smalltalk Magdir/sniffer Magdir/dyadic Magdir/softquad Magdir/spectrum Magdir/sql Magdir/sun Magdir/sysex Magdir/teapot Magdir/terminfo Magdir/tex Magdir/tgif Magdir/ti-8x Magdir/timezone Magdir/troff Magdir/tuxedo Magdir/typeset Magdir/unknown Magdir/uuencode Magdir/varied.out Magdir/varied.script Magdir/vax Magdir/vicar Magdir/virtutech Magdir/visx Magdir/vms Magdir/vmware Magdir/vorbis Magdir/vxl Magdir/wordprocessors Magdir/xdelta Magdir/xenix Magdir/xo65 Magdir/xwindows Magdir/zilog Magdir/zyxel; do \
  if test -f ./$frag; then \
    f=./$frag; \
  else \
    f=$frag; \
  fi; \
          cat $f; \
done >> magic
../src/file -C -m magic
WARNING: type lestring16 >0 Description: %15.15s invalid
lt-file: could not find any magic files!
make[2]: *** [magic.mgc] Error 255
make[2]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12/magic'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12'
make: *** [all] Error 2

!!! ERROR: sys-apps/file-4.12 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #1 From gentoo_lan 2004-12-08 04:19:46 0000 -------
Created an attachment (id=45516) [details]
emerge info

The attachment is my emerge info information.

------- Comment #2 From solar 2004-12-08 16:23:46 0000 -------
Please relax off the CFLAGS a little --sync and try again. In the future please
just paste the emerge info into the bug vs attaching it.

------- Comment #3 From gentoo_lan 2004-12-08 17:08:03 0000 -------
I changed my CFLAGS to -O2 -march=pentium4 -pipe.  The results were still the
same.

------- Comment #4 From solar 2004-12-08 17:24:17 0000 -------
I'm unable to reproduce this.

------- Comment #5 From Dirk Krummacker 2004-12-09 01:55:48 0000 -------
I am suffering from the very same behaviour.

emerge info output:

----- 8< ----- snip ----- 8< -----

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6-new i686)
=================================================================
System uname: 2.6.9-gentoo-r6-new i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.16
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.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /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/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portdir-overlay"
USE="X alsa avi bash-completion bdf berkdb bitmap-fonts codecs crypt cups dio divx4linux dvd faac fam flac foomaticdb gdbm gifgpm gtk gtk2 idea imap imlib jabber java jpeg junit kde ldap libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oci8 oggvorbis opengl oracle oss pam pdflib perl png python qt quicktime readline recode samba sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts x86 xine xml2 xmms xprint xv xvid zlib linguas_de"

----- 8< ----- snip ----- 8< -----


emerge -Duvp =file-4.12 output:

----- 8< ----- snip ----- 8< -----

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] sys-apps/file-4.12 [4.10-r1] -build -debug +python 0 kB

Total size of downloads: 0 kB

----- 8< ----- snip ----- 8< -----

I can also add that I have another machine which has compiled this fine. However, the other machine's cpu is a double processor P3, and the machine on which it fails has a P4.





------- Comment #6 From Dirk Krummacker 2004-12-09 02:03:19 0000 -------
I have also removed all CFLAGS, but to no avail.

------- Comment #7 From Jack Vande Bunte 2004-12-13 15:19:16 0000 -------
I am also suffering from this bug/error. I have a dual p3/1.4gig, it does seem
to work fine on my other amd tbird. 

emerge info: 

emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4,
glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) III CPU family      1400MHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
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.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/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/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
http://gentoo.netnitco.net"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi alsa apm arts audiofile avi berkdb bitmap-fonts cdr
crypt dga directfb doc emacs encode esd ethereal evo f77 fam fbcon flac
foomaticdb fortran gb gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml
imagemagick imap imlib java jpeg kde kerberos krb4 lesstif libg++ libwww mad
mbox mikmod mmx motif mozilla mpeg mysql ncurses nls nocd oggvorbis opengl oss
pam pdflib perl png python qt quicktime readline ruby samba sdl slang snmp
spell sse ssl svga tcltk tcpd tiff truetype usb vhosts wxwindows x86 xml xml2
xmms xv zlib"

emerge -Duvp world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] sys-apps/file-4.12 [4.10-r1] -build -debug +python 0 kB 


OUTPUT: 

make[2]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12/src'
Making all in magic
make[2]: Entering directory `/var/tmp/portage/file-4.12/work/file-4.12/magic'
cat ./Header ./Localstuff > magic
../src/file -C -m ./magic.mime
for frag in Magdir/acorn Magdir/adi Magdir/adventure Magdir/allegro
Magdir/alliant Magdir/alpha Magdir/amanda Magdir/amigaos Magdir/animation
Magdir/apl Magdir/apple Magdir/applix Magdir/archive Magdir/asterix
Magdir/att3b Magdir/audio Magdir/bFLT Magdir/blender Magdir/blit Magdir/bout
Magdir/bsdi Magdir/cad Magdir/c-lang Magdir/c64 Magdir/cddb Magdir/chi
Magdir/chord Magdir/cisco Magdir/citrus Magdir/claris Magdir/clipper
Magdir/spec Magdir/commands Magdir/communications Magdir/compress
Magdir/console Magdir/convex Magdir/ctags Magdir/dact Magdir/database
Magdir/diamond Magdir/diff Magdir/digital Magdir/dolby Magdir/dump
Magdir/editors Magdir/elf Magdir/encore Magdir/epoc Magdir/esri Magdir/fcs
Magdir/filesystems Magdir/flash Magdir/fonts Magdir/frame Magdir/freebsd
Magdir/fsav Magdir/games Magdir/geos Magdir/gcc Magdir/gimp Magdir/gnu
Magdir/grace Magdir/gringotts Magdir/hdf Magdir/hitachi-sh Magdir/hp
Magdir/human68k Magdir/ibm370 Magdir/ibm6000 Magdir/iff Magdir/images
Magdir/intel Magdir/interleaf Magdir/island Magdir/ispell Magdir/java
Magdir/jpeg Magdir/karma Magdir/lecter Magdir/lex Magdir/lif Magdir/linux
Magdir/lisp Magdir/mach Magdir/macintosh Magdir/magic Magdir/mail.news
Magdir/maple Magdir/mathematica Magdir/matroska Magdir/mcrypt Magdir/mime
Magdir/mips Magdir/mirage Magdir/misctools Magdir/mkid Magdir/mlssa Magdir/mmdf
Magdir/modem Magdir/motorola Magdir/msdos Magdir/msvc Magdir/natinst Magdir/ncr
Magdir/netbsd Magdir/netscape Magdir/news Magdir/nitpicker Magdir/ocaml
Magdir/octave Magdir/olf Magdir/os2 Magdir/os9 Magdir/osf1 Magdir/palm
Magdir/parix Magdir/pbm Magdir/pdf Magdir/pdp Magdir/perl Magdir/pgp
Magdir/pkgadd Magdir/plan9 Magdir/plus5 Magdir/printer Magdir/project
Magdir/psdbms Magdir/psion Magdir/pulsar Magdir/pyramid Magdir/python
Magdir/revision Magdir/riff Magdir/rpm Magdir/rtf Magdir/sc Magdir/sccs
Magdir/sendmail Magdir/sequent Magdir/sgi Magdir/sgml Magdir/sharc
Magdir/sinclair Magdir/sketch Magdir/smalltalk Magdir/sniffer Magdir/dyadic
Magdir/softquad Magdir/spectrum Magdir/sql Magdir/sun Magdir/sysex
Magdir/teapot Magdir/terminfo Magdir/tex Magdir/tgif Magdir/ti-8x
Magdir/timezone Magdir/troff Magdir/tuxedo Magdir/typeset Magdir/unknown
Magdir/uuencode Magdir/varied.out Magdir/varied.script Magdir/vax Magdir/vicar
Magdir/virtutech Magdir/visx Magdir/vms Magdir/vmware Magdir/vorbis Magdir/vxl
Magdir/wordprocessors Magdir/xdelta Magdir/xenix Magdir/xo65 Magdir/xwindows
Magdir/zilog Magdir/zyxel; do \
  if test -f ./$frag; then \
    f=./$frag; \
  else \
    f=$frag; \
  fi; \
          cat $f; \
done >> magic
../src/file -C -m magic
WARNING: type lestring16 >0 Description: %15.15s invalid
lt-file: could not find any magic files!
make[2]: *** [magic.mgc] Error 255
make[2]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12/magic'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12'
make: *** [all] Error 2

------- Comment #8 From Richard C 2004-12-13 20:35:34 0000 -------
This is caused by a busted entry in the :

       file-4.12/magic/Magdir/msdos

magic file from the source file file-4.12.tar.gz archive.

The busted entry is:

>>(64.l)  lestring16 >0 Description: %15.15s

There is no such type lestring16 (according to man 4 magic)

I changed lestring16 to string, and everything compiled fine.

I don't see how this could possibly work on any install.  Unless there is a different version of file the supports a 'lestring16' type, there is no way that file 4.12 is going to compile.

If I am correct, perhaps this should be upgraded to a higher severity, as it blocks an emerge -uDav world

------- Comment #9 From SpanKY 2004-12-13 20:41:51 0000 -------
a version of file the supports 'lestring16' must be somewhat common considering
ive been able to emerge 4.12 on 8 different architectures and about 12
different machines ;)

------- Comment #10 From Richard C 2004-12-13 20:48:19 0000 -------
I had 4.10-r1 on before this.  Perhaps there is something in the configure
script that is causing the msdos magic file from being included ?

------- Comment #11 From SpanKY 2004-12-13 20:51:37 0000 -------
also, you should read the source code instead of manpages:
$ grep -r lestring16 *
magic/Magdir/msdos:>>(64.l)  lestring16 >0 Description: %15.15s
src/apprentice.c:       } else if (strncmp(l, "lestring16", NLESTRING16)==0) {
src/file.h:/* 19 */                     "lestring16",

------- Comment #12 From Johan Petersson 2004-12-13 20:58:09 0000 -------
I believe the culprit is file-4.12-cross-compile.patch, which (A) isn't
supposed to be applied unless you are cross compiling, and (B) doesn't look
like it does the right thing to begin with. From file-4.12.ebuild:

        # The build process tries to run the compiled file ... not a good
        # thing if file was cross compiled ;)
        tc-is-cross-compiler && epatch ${FILESDIR}/${P}-cross-compile.patch

tc-is-cross-compiler does not appear to work as intended on my boxes; the patch
gets applied even though I'm not cross compiling (x86 only boxes and gcc).
After commenting out the tc-is-cross-compiler line, package will merge for me.

This problem will not be reproducible if you have file-4.12 already merged,
because the patch causes /usr/bin/file to be run during build instead of the
version being built, which won't work unless /usr/bin/file is also version
4.12.

------- Comment #13 From Richard C 2004-12-13 21:01:30 0000 -------
Well, that explains it :)

------- Comment #14 From SpanKY 2004-12-13 21:02:48 0000 -------
i highly doubt it's the cross-compile patch considering that patch was added
after this bug was filed

------- Comment #15 From SpanKY 2004-12-13 21:05:25 0000 -------
which isnt to say that the patch doesnt trigger this bug ... i neglected to
return ${ret} in tc-is-cross-compiler() which means the patch would always been
applied and trigger this bug in the upgrade path ... i've fixed that in
toolchain-funcs.eclass

however, the bug still can occur without the patch

------- Comment #16 From SpanKY 2004-12-13 21:29:06 0000 -------
on the off chance this is a parallel build issue, could you guys try:
env MAKEOPTS=-j1 emerge file

------- Comment #17 From Richard C 2004-12-13 21:43:36 0000 -------
Did as you requested.  I don't have the toolchain-funcs.eclass fix, so I did it
once with "tc-is-cross-compiler && epatch ${FILESDIR}/${P}-cross-compile.patch"
left alone, and once with it commented out.

I unmerged file, so there was nothing around to mess with anything.

With "tc-is-cross-compiler && epatch ${FILESDIR}/${P}-cross-compile.patch":

--snip--
cat $f; \
done >> magic
/usr/bin/file -C -m magic
make[2]: /usr/bin/file: Command not found
make[2]: *** [magic.mgc] Error 127
make[2]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12/magic'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/file-4.12/work/file-4.12'
make: *** [all] Error 2
--snip--

With the "tc-is-cross-compiler" commented out, it emerged fine.
--snip--
done >> magic
../src/file -C -m magic
../src/file -C -m ./magic.mime
--snip--

------- Comment #18 From SpanKY 2004-12-13 21:51:49 0000 -------
look at the error output in the original comment and in comment #7

they run ../src/file and still get the error

in order to reproduce, you need an older file already installed on your system

------- Comment #19 From gentoo_lan 2004-12-13 22:20:40 0000 -------
In order for me to finally build it I had to comment out the patch and unmerge
the previous instance of file-4.10-r1.  Then it finally installed.

------- Comment #20 From Ariel Shaqed (Scolnicov) 2004-12-14 06:06:36 0000 -------
I had the same issue.  Performing

  env MAKEOPTS=-j1 emerge file

as suggested in #16 resolved the problem.


root@shaqed root # emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r9 i686)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
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 /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 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirror.nutsmaas.nl/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 fam foomaticdb fortran gdbm gif gnome gpm gtk gtk2 guile imagemagick imlib java jpeg junit kde ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png postgres python qt quicktime readline sdl spell ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xv zlib"

------- Comment #21 From Lucero del Alba 2004-12-14 08:25:27 0000 -------
I have had the same problem here (a single Athlon XP 2000+).  Nor MAKEOPTS=-j1
(#16) nor relaxing the CFLAGS (#2) solved this issue.

I edited file-4.12/magic/Magdir/msdos as suggested by Richard (#8) and it
worked; all the same, when I commented out the cross-compiler patch line on
/usr/portage/sys-apps/file/file-4.12.ebuild (#12), compilation went fine as
well.

------- Comment #22 From SpanKY 2004-12-16 09:10:54 0000 -------
*** Bug 74597 has been marked as a duplicate of this bug. ***

------- Comment #23 From SpanKY 2004-12-16 09:11:11 0000 -------
fine, cross-compiling logic has been fixed

------- Comment #24 From SpanKY 2004-12-17 06:34:07 0000 -------
*** Bug 74743 has been marked as a duplicate of this bug. ***

------- Comment #25 From Greg Hellings 2005-01-24 05:40:53 0000 -------
I consistantly get this bug on all of my machines which are pre-pentium2 (one
pentium-pro 200 and one pentium 133).  My symptoms are the same as the others
which are listed.  I tried eliminating the parallel builds, which some people
say worked for them, but I was unsuccessful in my attempt to do that, I still
received the same error.  After taking out the cross-compile patch, I still
receive the same errors on all of the machines.  Any recommendations?

------- Comment #26 From REdOG 2005-01-25 09:06:15 0000 -------
I too have seen this bug on several occasions. Currently it showed up on my
main development box, a PIII useing
/usr/portage/profiles/default-linux/x86/2004.3 

------- Comment #27 From Joachim Breuer 2005-02-09 04:38:56 0000 -------
Today (2005/02/09) I still have this problem on multiple machines.
MAKEOPTS="-j1" makes no difference, as does commenting out the cross-compile patch.
The only solution for me was to remove the lestring16 line from the input data.

It seems to me that evaluating the lestring16 definiton line works on some machines and not on others - does 'lestring16' perhaps stand for a 'wide' string
which might not be available due to USE flag settings in a different package (glibc, whatever)?
Wild guess: Looking at the machines where it works (for me) and those where it doesn't, it *might* be that the bug appears when the machine has USE="-nls". All of 'my' affected machines have -nls, at least one where it worked does not (doesn't have nls explicitly set either way, which turns it on here).

As this blocks 'emerge world' on the affected machines, I move to reopen this bug, or open another one for the 'lt-file does not work unrelated to cross-compile fix' situation.

------- Comment #28 From Rob Armstrong 2005-02-26 21:32:23 0000 -------
Same thing again.  Athlon XP.  This time commenting out the cross compile had
no effect.  Editing ./magic/magic for the same lestring16 -> string
substitution worked.  Note that was "magic" not "msdos".  It seems this bug
should be reopened.

First Last Prev Next    No search results available      Search page      Enter new bug