Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#23065 closed defect (duplicate)

redis 1.01 compile fails on PPC 10.5 with unknowns struct member

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

Description (last modified by jmroot (Joshua Root))

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 (3)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to brianjlandau@…
Port: redis added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #20295, please search before filing new tickets.

comment:3 Changed 15 years ago by arto.bendiken@…

Cc: arto.bendiken@… added

Cc Me!

Note: See TracTickets for help on using tickets.