Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70206 - patch p7zip ebuild for amd64
Summary: patch p7zip ebuild for amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-05 16:14 UTC by Benjamin Paul Kay
Modified: 2005-01-11 12:39 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 Benjamin Paul Kay 2004-11-05 16:14:03 UTC
p7zip will run under amd64 if the below steps are followed. A new ebuild should be released, and the ~amd64 flag added. I have all the stable emul-linux-x86 ebuild installed.

Reproducible: Always
Steps to Reproduce:
1. May need to emerge some emul-linux-x86... ?
2. Edit /usr/portage/app-arch/p7zip/p7zip-4.10.ebuild
3. Immediately above this line: 'make || die "compilation error"' add this line: 'cp makefile.linux_amd64 makefile.machine'
4. WARNING: this will probably break the ebuild for non-amd64 systems. Someone who knows what he's doing should script it to overwrite makefile.machine if and only if the user has an amd64 system.
4. 'emerge p7zip' and enjoy!

Actual Results:  
p7zip emerged without error or warning. It compresses files just fine. 


Portage 2.0.51-r2 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 
2.6.9-gentoo-r1y x86_64) 
================================================================= 
System uname: 2.6.9-gentoo-r1y x86_64 Mobile AMD Athlon(tm) 64 Processor 3400+ 
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/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon64 -fPIC -mmmx -msse -msse2 -m3dnow -mfpmath=sse,387 
-maccumulate-outgoing-args -pipe -fomit-frame-pointer -ffast-math 
-fexpensive-optimizations -funroll-loops -fforce-addr -O3 
-fprefetch-loop-arrays" 
CHOST="x86_64-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 /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="-march=athlon64 -fPIC -mmmx -msse -msse2 -m3dnow -mfpmath=sse,387 
-maccumulate-outgoing-args -pipe -fomit-frame-pointer -ffast-math 
-fexpensive-optimizations -funroll-loops -fforce-addr -O3 
-fprefetch-loop-arrays" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distlocks" 
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ 
http://mirror.datapipe.net/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="X Xaw3d aalib acl acpi aim alsa amd64 apache2 apm arts audiofile avi 
berkdb bidi bitmap-fonts bonobo bzlib caps cdb cdr crypt cscope ctype cups curl 
curlwrappers dga dio directfb divx4linux dvd dvdr encode esd ethereal exif f77 
fam fastcgi fftw flac flash foomaticdb freetds ftp gd gdbm ggi gif ginac gmp 
gnome gpm gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imap imlib 
innodb iodbc ipv6 java joystick jpeg junit kde kerberos lcms ldap libg++ libwww 
mad memlimit mhash mikmod ming mmap motif mozilla mpeg mpi msql mssql multilib 
mysql mysqli nas ncurses netcdf nls nogcj odbc offensive oggvorbis opengl oscar 
oss pam pcmcia pcntl pcre pdflib perl php pic pie plotutils png pnp posux ppds 
prelude python qt quicktime readline recode ruby samba sasl scanner sdl session 
shared sharedmem simplexml slang slp snmp soap sockets spell spl sqlite ssl svg 
szip tcltk tcpd tetex theora tidy tiff tokenizer truetype trusted unicode usb 
videos wmf wxwindows xml xml2 xmlrpc xmms xosd xsl xv xvid zlib"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-11-12 06:06:51 UTC
Hi,

making it amd64 dependant ins't that hard:

use amd64 && cp makefile.linux_amd64 makefile.machine

that's it.

Poly
Comment 2 Malcolm Lashley (RETIRED) gentoo-dev 2005-01-11 12:39:18 UTC
Keyworded p7zip-4.13 as ~amd64.