[MacPorts] #23065: redis 1.01 compile fails on PPC 10.5 with unknowns struct member
MacPorts
noreply at macports.org
Wed Dec 30 01:38:00 PST 2009
#23065: redis 1.01 compile fails on PPC 10.5 with unknowns struct member
----------------------------------------+-----------------------------------
Reporter: macports-trac@… | Owner: brianjlandau@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: redis
----------------------------------------+-----------------------------------
Changes (by jmr@…):
* owner: macports-tickets@… => brianjlandau@…
* port: => redis
Old description:
> On PPC running OS X 10.5.8, attempt to install redis 1.01 yields
> following compile error from referencing a struct component that
> apparently doesn't exist in the available includes:
>
> ---> Extracting redis-1.01.tar.gz
> DEBUG: setting option extract.args to
> /opt/local/var/macports/distfiles/redis/redis-1.01.tar.gz
> DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
> DEBUG: Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_redis/work"
> && /usr/bin/gzip -dc
> /opt/local/var/macports/distfiles/redis/redis-1.01.tar.gz |
> /usr/bin/gnutar --no-same-owner -xf -'
> DEBUG: Executing org.macports.patch (redis)
> ---> Configuring redis
> DEBUG: Using compiler 'Mac OS X gcc 4.0'
> DEBUG: Executing org.macports.configure (redis)
> ---> Building redis
> DEBUG: Executing org.macports.build (redis)
> DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' CC='/usr/bin/gcc-4.0'
> DEBUG: Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_redis/work/redis-1.01"
> && /usr/bin/make -j1 all'
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> adlist.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> ae.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> anet.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> dict.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> redis.c
> redis.c: In function 'getMcontextEip':
> redis.c:4309: error: 'struct __darwin_ppc_thread_state' has no member
> named '__eip'
> make: *** [redis.o] Error 1
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_redis/work/redis-1.01"
> && /usr/bin/make -j1 all " returned error 2
> Command output: /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g
> -rdynamic -ggdb adlist.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> ae.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> anet.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> dict.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> redis.c
> redis.c: In function 'getMcontextEip':
> redis.c:4309: error: 'struct __darwin_ppc_thread_state' has no member
> named '__eip'
> make: *** [redis.o] Error 1
>
> DEBUG: Backtrace: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_redis/work/redis-1.01"
> && /usr/bin/make -j1 all " returned error 2
> Command output: /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g
> -rdynamic -ggdb adlist.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> ae.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> anet.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> dict.c
> /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
> redis.c
> redis.c: In function 'getMcontextEip':
> redis.c:4309: error: 'struct __darwin_ppc_thread_state' has no member
> named '__eip'
> make: *** [redis.o] Error 1
>
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 9)
> invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for redis):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Status 1 encountered during processing.
New description:
On PPC running OS X 10.5.8, attempt to install redis 1.01 yields following
compile error from referencing a struct component that apparently doesn't
exist in the available includes:
{{{
---> Extracting redis-1.01.tar.gz
DEBUG: setting option extract.args to
/opt/local/var/macports/distfiles/redis/redis-1.01.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_redis/work"
&& /usr/bin/gzip -dc
/opt/local/var/macports/distfiles/redis/redis-1.01.tar.gz |
/usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (redis)
---> Configuring redis
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (redis)
---> Building redis
DEBUG: Executing org.macports.build (redis)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_redis/work/redis-1.01"
&& /usr/bin/make -j1 all'
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
adlist.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
ae.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
anet.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
dict.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
redis.c
redis.c: In function 'getMcontextEip':
redis.c:4309: error: 'struct __darwin_ppc_thread_state' has no member
named '__eip'
make: *** [redis.o] Error 1
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_redis/work/redis-1.01"
&& /usr/bin/make -j1 all " returned error 2
Command output: /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g
-rdynamic -ggdb adlist.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
ae.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
anet.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
dict.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
redis.c
redis.c: In function 'getMcontextEip':
redis.c:4309: error: 'struct __darwin_ppc_thread_state' has no member
named '__eip'
make: *** [redis.o] Error 1
DEBUG: Backtrace: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_redis/work/redis-1.01"
&& /usr/bin/make -j1 all " returned error 2
Command output: /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g
-rdynamic -ggdb adlist.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
ae.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
anet.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
dict.c
/usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb
redis.c
redis.c: In function 'getMcontextEip':
redis.c:4309: error: 'struct __darwin_ppc_thread_state' has no member
named '__eip'
make: *** [redis.o] Error 1
while executing
"command_exec build"
(procedure "portbuild::build_main" line 9)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for redis):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
}}}
--
Comment:
Please remember to preview and use WikiFormatting, fill in the Port field,
and cc the maintainer.
--
Ticket URL: <http://trac.macports.org/ticket/23065#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list