Opened 15 years ago

Last modified 15 years ago

#23065 closed defect

redis 1.01 compile fails on PPC 10.5 with unknowns struct member — at Initial Version

Reported by: macports-trac@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: redis

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.

Change History (0)

Note: See TracTickets for help on using tickets.