Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339860 - app-arch/unrar-3.9.10 fails to build with "Both LITTLE_ENDIAN and BIG_ENDIAN are defined."
Summary: app-arch/unrar-3.9.10 fails to build with "Both LITTLE_ENDIAN and BIG_ENDIAN ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 19:09 UTC by Robert Steinhäußer
Modified: 2014-01-14 19:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,3.30 KB, text/plain)
2010-10-05 19:10 UTC, Robert Steinhäußer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Steinhäußer 2010-10-05 19:09:15 UTC
On Mac OS X 10.5 PPC, unrar fails to build.
The prefix-specific patch "files/unrar-3.9.10-solaris-byteorder.patch" causes this. When removing the epatch command from the ebuild, it builds fine.

Reproducible: Always

Steps to Reproduce:
1. emerge =app-arch/unrar-3.9.10

Actual Results:  
see build.log

Expected Results:  
it builds

Portage 2.2.01.15553-prefix (prefix/darwin/macos/10.5/ppc, gcc-4.2.1, unavailable, 9.8.0 Power Macintosh)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-9.8.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Tue, 05 Oct 2010 17:41:11 +0000
distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.2-r00.1, 1.11.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
ACCEPT_KEYWORDS="~ppc-macos"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="ppc-macos"
AUTOCLEAN="yes"
Apple_PubSub_Socket_Render="/tmp/launch-Br9xpP/Render"
CBUILD="powerpc-apple-darwin9"
CFLAGS="-O2 -pipe -mcpu=G4 -mtune=G4"
CHOST="powerpc-apple-darwin9"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
COMMAND_MODE="legacy"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-O2 -pipe -mcpu=G4 -mtune=G4"
DEFAULT_PATH="/Users/robert/Gentoo/usr/sbin:/Users/robert/Gentoo/usr/bin:/Users/robert/Gentoo/sbin:/Users/robert/Gentoo/bin"
DISPLAY="/tmp/launch-Tlq9pE/:0"
DISTDIR="/Users/robert/Gentoo/usr/portage/distfiles"
ELIBC="Darwin"
EMERGE_DEFAULT_OPTS="--verbose --with-bdeps=y"
EMERGE_WARNING_DELAY="3"
EPREFIX="/Users/robert/Gentoo"
EROOT="/Users/robert/Gentoo/"
EXTRA_PATH="/usr/bin:/bin"
FEATURES="assume-digests collision-protect distlocks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/Users/robert/Gentoo/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
GCC_SPECS=""
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://distfiles.gentoo.org"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
HOME="/Users/robert"
INFOPATH="/Users/robert/Gentoo/usr/share/info:/Users/robert/Gentoo/usr/share/gcc-data/powerpc-apple-darwin9/4.2.1/info"
INPUT_DEVICES="keyboard mouse"
KERNEL="Darwin"
LANG="de"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_COLLATE="de_DE.UTF-8"
LC_CTYPE="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="de en"
LOGNAME="robert"
MACOSX_DEPLOYMENT_TARGET="10.5"
MAKEOPTS="-j2"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/X11/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/Users/robert/Gentoo/usr/portage/app-arch/unrar"
PAGER="/Users/robert/Gentoo/usr/bin/less"
PATH="/Users/robert/Gentoo/usr/bin:/Users/robert/Gentoo/bin:/Users/robert/Gentoo/usr/local/bin:/Users/robert/Gentoo/usr/sbin:/Users/robert/Gentoo/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
PKGDIR="/Users/robert/Gentoo/usr/portage/packages"
PKG_CONFIG_PATH="/Users/robert/Gentoo/usr/lib/pkgconfig:/Users/robert/Gentoo/usr/share/pkgconfig"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/Users/robert/Gentoo/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/Users/robert/Gentoo/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/Users/robert/Gentoo/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="robert@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="robert"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="20"
PORTAGE_GROUP="staff"
PORTAGE_INST_GID="20"
PORTAGE_INST_UID="502"
PORTAGE_PYM_PATH="/Users/robert/Gentoo/usr/lib/portage/pym"
PORTAGE_ROOT_USER="robert"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/Users/robert/Gentoo/var/tmp"
PORTAGE_USER="robert"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/Users/robert/Gentoo/usr/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/Users/robert/Gentoo/usr/portage/app-arch/unrar/files"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/Users/robert/Gentoo/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
ROOT="/"
ROOTPATH="/Users/robert/Gentoo/opt/bin:/Users/robert/Gentoo/usr/powerpc-apple-darwin9/gcc-bin/4.2.1"
RPMDIR="/Users/robert/Gentoo/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
TERM="linux"
TERM_PROGRAM="iTerm.app"
USE="aqua coreaudio cracklib cxx idn ipv6 modules ncurses nls objc objc++ ppc-macos prefix readline ssl unicode zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
USER="robert"
USERLAND="GNU"
USE_EXPAND="APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
XZ_OPT="--memory=max"
_="/Users/robert/Gentoo/usr/bin/emerge"
__CF_USER_TEXT_ENCODING="0x1F6:0:3"

=================================================================
                        Package Settings
=================================================================

app-arch/unrar-3.9.10 was built with the following:
USE="(prefix)"
Comment 1 Robert Steinhäußer 2010-10-05 19:10:49 UTC
Created attachment 249668 [details]
build.log
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-20 13:49:48 UTC
We could make the patch conditional for now, if there isn't a better proposed solution?
Comment 3 Fabian Groffen gentoo-dev 2014-01-14 19:09:58 UTC
4.2.4 and 5.0.13 compile fine