Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 119997
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Michal Januszewski <spock@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Guy <notellin@speakeasy.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xfractint-20.4.03.ebuild xfractint-20.4.03.ebuild text/plain Chris White (RETIRED) 2006-01-22 18:13 0000 1.20 KB Details
xfractint-20.4.03-makefile.patch xfractint-20.4.03-makefile.patch patch Chris White (RETIRED) 2006-01-22 18:14 0000 2.73 KB Details | Diff
xfractint-20.4.03.ebuild.diff xfractint-20.4.03.ebuild.diff patch Chris White (RETIRED) 2006-01-22 18:14 0000 771 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 119997 depends on: Show dependency tree
Bug 119997 blocks:
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: 2006-01-22 17:27 0000
I tried both march=k8 and march=opteron

fyremaster ~ # emerge -pDv xfractint

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

Calculating dependencies ...done!
[ebuild     U ] x11-misc/xfractint-20.4.03 [20.4.00] 0 kB

Total size of downloads: 0 kB
fyremaster ~ # emerge -Dv xfractint
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/xfractint-20.4.03 to /
>>> checksums files   ;-) xfractint-20.3.02.ebuild
>>> checksums files   ;-) xfractint-20.4.03.ebuild
>>> checksums files   ;-) xfractint-20.3.01.ebuild
>>> checksums files   ;-) xfractint-20.4.00.ebuild
>>> checksums files   ;-) files/xfractint-20.03p00.patch
>>> checksums files   ;-) files/digest-xfractint-20.3.01
>>> checksums files   ;-) files/digest-xfractint-20.3.02
>>> checksums files   ;-) files/digest-xfractint-20.4.00
>>> checksums files   ;-) files/digest-xfractint-20.4.03
>>> checksums files   ;-) files/xfractint.envd
>>> checksums files   ;-) files/xfractint-20.02p05.patch
>>> checksums files   ;-) files/xfractint-20.03p01-make.patch
>>> checksums src_uri ;-) xfractint-20.04p03.tar.gz
>>> Unpacking source...
>>> Unpacking xfractint-20.04p03.tar.gz to /var/tmp/portage/xfractint-20.4.03/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xfractint-20.4.03/work/xfractint-20.04p03 ...
/usr/bin/gcc -march=opteron -O2 -pipe -I./headers -DXFRACT -DNOBSTRING   -g
-DBIG_ANSI_C -DLINUX -Os -mcpu=pentium -fno-builtin   -c -o common/hc.o
common/hc.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
common/hc.c:1: error: CPU you selected does not support x86-64 instruction set
make: *** [common/hc.o] Error 1
>>> Source compiled.
>>> Test phase [not enabled]: x11-misc/xfractint-20.4.03

>>> Install xfractint-20.4.03 into /var/tmp/portage/xfractint-20.4.03/image/ category x11-misc
/usr/bin/gcc -march=opteron -O2 -pipe -I./headers -DXFRACT -DNOBSTRING   -g
-DBIG_ANSI_C -DLINUX -Os -mcpu=pentium -fno-builtin   -c -o common/hc.o
common/hc.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
common/hc.c:1: error: CPU you selected does not support x86-64 instruction set
make: *** [common/hc.o] Error 1

!!! ERROR: x11-misc/xfractint-20.4.03 failed.
!!! Function src_install, Line 43, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

fyremaster ~ # emerge info
Portage 2.1_pre3-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r2,
2.6.15.1 x86_64)
=================================================================
System uname: 2.6.15.1 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/lib64/mozilla/defaults/pref
/usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acl acpi aim alsa apache2 arts
audiofile avi bash-completion berkdb bitmap-fonts bmp bonobo browserplugin
bzip2 cdparanoia cdr chroot crypt cups curl curlwrappers directfb divx4linux
dmx dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif expat fam
fbcon ffmpeg flac flash foomaticdb fortran gcj gd gd-external gdbm gif gimp
gimpprint glut gnome gnutils gpm gstreamer gtk gtk2 gtkhtml guile hal
hardenedphp icq idn imagemagick imlib ipv6 irc jabber java javascript jikes
jpeg junit kde kerberos lcms ldap libcaca libedit libwww lm_sensors lzw
lzw-tiff mad mhash mikmod mime ming mmap mng motif mozcalendar mozilla mozsvg
mp3 mpeg mysql nas ncurses nls nptl nsplugin odbc offensive ogg oggvorbis
openal opengl pam pcre pda pdflib perl php png portaudio posix postgres ppds
python qt quicktime readline recode ruby samba scanner sdk sdl shorten
simplexml slang slp sndfile snmp sockets sox speex spell spl sqlite ssl svg
tckltk tcltk tcpd tetex theora threads tidy tiff tokenizer truetype
truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vchroot verbose
vhosts videos vorbis wmf wxgtk1 xface xine xinerama xml xml2 xmlrpc xmms xpm
xprint xscreensaver xsl xv xvid yahoo zeo zlib elibc_glibc kernel_linux
userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

fyremaster ~ #

------- Comment #1 From Chris White (RETIRED) 2006-01-22 18:12:07 0000 -------
This juicy package apparently wants to force pentium cpu's only: -mcpu=pentium

Boooo! Not only that, but it's deprecated (as gcc spews out).

So, I'm attaching a patch, ebuild, and a cvs diff to show the changes.

Until it's commited, please see this link on how to test the ebuild:

http://www.gentoo.org/doc/en/bugzilla-howto.xml#doc_chap8

------- Comment #2 From Chris White (RETIRED) 2006-01-22 18:13:16 0000 -------
Created an attachment (id=77872) [details]
xfractint-20.4.03.ebuild

The updated ebuild.  Adds epatch and a couple of other cleanups.

------- Comment #3 From Chris White (RETIRED) 2006-01-22 18:14:05 0000 -------
Created an attachment (id=77873) [details]
xfractint-20.4.03-makefile.patch

The patch. Put this in filesdir.

------- Comment #4 From Chris White (RETIRED) 2006-01-22 18:14:43 0000 -------
Created an attachment (id=77874) [details]
xfractint-20.4.03.ebuild.diff

A cvs diff of the ebuild to show the changes made.

------- Comment #5 From Chris White (RETIRED) 2006-01-22 18:15:32 0000 -------
Also adding amd64 as they might want to mark this updated version.

------- Comment #6 From Michal Januszewski 2006-01-29 14:39:18 0000 -------
Thanks for the patches. I've slightly modified the makefile patch to allow
compiling with custom CFLAGS and prevent hc segfaults.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug