sys-apps/file-4.23 fails to cross-compile when building with python USE flag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gentoo for Pandora |
Triaged
|
Low
|
Unassigned | ||
Gentoo Linux |
Expired
|
Medium
|
Bug Description
make[1]: Leaving directory `/var/tmp/
running build
running build_ext
building 'magic' extension
creating build
creating build/temp.
i486-pc-
cc1: error: unrecognized command line option "-mfpu=neon"
cc1: error: unrecognized command line option "-mfloat-
py_magic.c:1: error: bad value (armv7-a) for -march= switch
py_magic.c:1: error: bad value (cortex-a8) for -mtune= switch
error: command 'i486-pc-
Workaround is to remove python support from file.
Changed in gentoo-arm-pandora: | |
importance: | Undecided → Low |
status: | Won't Fix → Triaged |
Changed in gentoo: | |
status: | Invalid → Confirmed |
Changed in gentoo: | |
importance: | Unknown → Medium |
Changed in gentoo: | |
status: | Confirmed → Expired |
armeb-softfloat -linux- uclibc- gcc -DHAVE_CONFIG_H -I. -I.. -DMAGIC= '"/usr/ share/misc/ file/magic" ' -Os -march=armv5t -mtune=xscale -pipe -I/home/ nslu2/usr/ include -D_GNU_SOURCE -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c usr/include/ sys/param. h:58:1: warning: "MIN" redefined -linux- uclibc- gcc -Os -march=armv5t -mtune=xscale -pipe -I/home/ nslu2/usr/ include -D_GNU_SOURCE -L/home/nslu2/lib -L/home/ nslu2/usr/ lib -o file file.o libmagic.la -lz -linux- uclibc- gcc -Os -march=armv5t -mtune=xscale -pipe -I/home/ nslu2/usr/ include -D_GNU_SOURCE -o .libs/file file.o -L/home/nslu2/lib -L/home/ nslu2/usr/ lib ./.libs/libmagic.so -lz portage/ sys-apps/ file-4. 23/work/ file-4. 23/src' portage/ sys-apps/ file-4. 23/work/ file-4. 23/magic' 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/efi Magdir/elf Magdir/encore Magdir/epoc Magdir/esri Magdir/fcs Magdir/filesystems Magdir/flash Magdir/fonts Magdir/fortran Magdir/frame Magdir/freebsd Magdir/fsav Magdir/games Magdir/geos Magdir/gcc Magdir/gimp Magdir/gnu Magdir/grace Magdir/gringotts 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/mup Magdir/natinst Magdir/ncr Magdir/netbsd Magdir/netscape Magdir/news Magdir/nitpicker Magdir/ocaml Magdir/octave Magdir/olf Magdir/os2 Magdir/os400 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 M...
In file included from file.c:40:
/home/nslu2/
In file included from file.c:32:
file.h:83:1: warning: this is the location of the previous definition
mv -f .deps/file.Tpo .deps/file.Po
/bin/sh ../libtool --tag=CC --mode=link armeb-softfloat
armeb-softfloat
creating file
make[2]: Leaving directory `/var/tmp/
Making all in magic
make[2]: Entering directory `/var/tmp/
cat ./Header ./Localstuff > magic
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/basis Magdir/bflt Magdir/blender Magdir/blit Magdir/bout Magdir/bsdi Magdir/btsnoop Magdir/cad Magdir/cafebabe Magdir/c-lang Magdir/c64 Magdir/cddb Magdir/chord Magdir/cisco Magdir/citrus Magdir/claris Magdir/clipper Magdir/cracklib Magdir/spec Magdir/commands Magdir/