Opened 16 years ago

Closed 13 years ago

#15088 closed defect (fixed)

sheepshaver 2.3-20060318 build failure on Leopard

Reported by: macforge@… Owned by: opendarwin.nospam@…
Priority: Low Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: sheepshaver

Description

Attempting to install sheepshaver fails during build with what appear to be scope problems. This is on a PPC system with Mac OS X 10.5.2 installed along with the iPhone SDK Beta 3. Debug output below


DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/emulators/sheepshaver
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/emulators/sheepshaver
DEBUG: Requested variant powerpc is not provided by port sheepshaver.
DEBUG: Requested variant darwin is not provided by port sheepshaver.
DEBUG: Requested variant macosx is not provided by port sheepshaver.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl
DEBUG: Requested variant powerpc is not provided by port libsdl.
DEBUG: Requested variant darwin is not provided by port libsdl.
DEBUG: Requested variant macosx is not provided by port libsdl.
DEBUG: Searching for dependency: libsdl
DEBUG: Found Dependency: receipt exists for libsdl
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2
DEBUG: Requested variant powerpc is not provided by port gtk2.
DEBUG: Requested variant darwin is not provided by port gtk2.
DEBUG: Requested variant macosx is not provided by port gtk2.
DEBUG: Executing variant x11 provides x11
DEBUG: Searching for dependency: gtk2
DEBUG: Found Dependency: receipt exists for gtk2
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/autoconf
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/autoconf
DEBUG: Requested variant powerpc is not provided by port autoconf.
DEBUG: Requested variant darwin is not provided by port autoconf.
DEBUG: Requested variant macosx is not provided by port autoconf.
DEBUG: Searching for dependency: autoconf
DEBUG: Found Dependency: receipt exists for autoconf
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/automake
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/automake
DEBUG: Requested variant powerpc is not provided by port automake.
DEBUG: Requested variant darwin is not provided by port automake.
DEBUG: Requested variant macosx is not provided by port automake.
DEBUG: Searching for dependency: automake
DEBUG: Found Dependency: receipt exists for automake
DEBUG: Skipping completed org.macports.main (sheepshaver)
DEBUG: Skipping completed org.macports.fetch (sheepshaver)
DEBUG: Skipping completed org.macports.checksum (sheepshaver)
DEBUG: Skipping completed org.macports.extract (sheepshaver)
DEBUG: Skipping completed org.macports.patch (sheepshaver)
DEBUG: Skipping completed org.macports.configure (sheepshaver)
--->  Building sheepshaver with target all
DEBUG: Executing org.macports.build (sheepshaver)
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_sheepshaver/work/SheepShaver/src/Unix" && make all'
/usr/bin/g++-4.0 -I/opt/local/include -I../include -I. -I../slirp -DHAVE_CONFIG_H -D_REENTRANT -DDATADIR=\"/opt/local/share/SheepShaver\" -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/pixman-1   -mdynamic-no-pic -c main_unix.cpp -o obj/main_unix.o
sigregs.h:82: error: declaration of C function 'int sigaltstack(const sigaltstack*, sigaltstack*)' conflicts with
/usr/include/signal.h:89: error: previous declaration 'int sigaltstack(const stack_t*, stack_t*)' here
sigregs.h:88: error: expected class-name before '{' token
sigregs.h: In member function 'uint32& machine_regs::cr()':
sigregs.h:89: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::cr() const':
sigregs.h:90: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::lr() const':
sigregs.h:91: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::ctr() const':
sigregs.h:92: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::xer() const':
sigregs.h:93: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::msr() const':
sigregs.h:94: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::dar() const':
sigregs.h:95: error: 'es' was not declared in this scope
sigregs.h: In member function 'uint32& machine_regs::pc()':
sigregs.h:96: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::pc() const':
sigregs.h:97: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32& machine_regs::gpr(int)':
sigregs.h:98: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::gpr(int) const':
sigregs.h:99: error: 'ss' was not declared in this scope
main_unix.cpp: At global scope:
main_unix.cpp:227: error: aggregate 'sigaltstack sig_stack' has incomplete type and cannot be defined
main_unix.cpp:228: error: aggregate 'sigaltstack extra_stack' has incomplete type and cannot be defined
make: *** [obj/main_unix.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_emulators_sheepshaver/work/SheepShaver/src/Unix" && make all " returned error 2
Command output: /usr/bin/g++-4.0 -I/opt/local/include -I../include -I. -I../slirp -DHAVE_CONFIG_H -D_REENTRANT -DDATADIR=\"/opt/local/share/SheepShaver\" -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/pixman-1   -mdynamic-no-pic -c main_unix.cpp -o obj/main_unix.o
sigregs.h:82: error: declaration of C function 'int sigaltstack(const sigaltstack*, sigaltstack*)' conflicts with
/usr/include/signal.h:89: error: previous declaration 'int sigaltstack(const stack_t*, stack_t*)' here
sigregs.h:88: error: expected class-name before '{' token
sigregs.h: In member function 'uint32& machine_regs::cr()':
sigregs.h:89: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::cr() const':
sigregs.h:90: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::lr() const':
sigregs.h:91: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::ctr() const':
sigregs.h:92: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::xer() const':
sigregs.h:93: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::msr() const':
sigregs.h:94: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::dar() const':
sigregs.h:95: error: 'es' was not declared in this scope
sigregs.h: In member function 'uint32& machine_regs::pc()':
sigregs.h:96: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::pc() const':
sigregs.h:97: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32& machine_regs::gpr(int)':
sigregs.h:98: error: 'ss' was not declared in this scope
sigregs.h: In member function 'uint32 machine_regs::gpr(int) const':
sigregs.h:99: error: 'ss' was not declared in this scope
main_unix.cpp: At global scope:
main_unix.cpp:227: error: aggregate 'sigaltstack sig_stack' has incomplete type and cannot be defined
main_unix.cpp:228: error: aggregate 'sigaltstack extra_stack' has incomplete type and cannot be defined
make: *** [obj/main_unix.o] Error 1

Warning: the following items did not execute (for sheepshaver): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Cc: opendarwin.nospam@… added
Keywords: removed

Cc'ed maintainer.

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Cc: opendarwin.nospam@… removed
Keywords: sheepshaver removed
Owner: changed from macports-tickets@… to opendarwin.nospam@…
Port: sheepshaver added

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Updated to newer CVS version in r74920 which seems to allow the port to build and run on Leopard now.

Note: See TracTickets for help on using tickets.