Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18136 closed defect (fixed)

Can't build screen 4.0.3_2 on Tiger PPC

Reported by: pgijnxn02@… Owned by: digdog@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: screen

Description

Xcode 2.5, Tiger 10.4, PPC, Macports Trunk

I am unable to build the latest screen.

DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_screen/work/screen-4.0.
3" && nice -n 10 make all'
CPP="/usr/bin/cpp-4.0 -I/opt/local/include" srcdir=. sh ./osdef.sh
AWK=gawk srcdir=. sh ./comm.sh
AWK=gawk srcdir=. sh ./term.sh
/usr/bin/gcc-4.0 -c -I. -I.    -O2 screen.c
screen.c:105:19: error: vproc.h: No such file or directory
In file included from screen.c:106:
vproc_priv.h:23:26: error: Availability.h: No such file or directory
In file included from screen.c:106:
vproc_priv.h:69: error: parse error before 'vprocmgr_lookup_vproc'
vproc_priv.h:69: warning: data definition has no type or storage class
vproc_priv.h:70: error: parse error before 'vproc_retain'
vproc_priv.h:70: error: parse error before 'vp'
vproc_priv.h:70: warning: data definition has no type or storage class
vproc_priv.h:71: error: parse error before 'vp'
vproc_priv.h:73: error: parse error before 'vproc_swap_integer'
vproc_priv.h:73: error: parse error before 'vp'
vproc_priv.h:73: warning: data definition has no type or storage class
vproc_priv.h:74: error: parse error before 'vproc_swap_complex'
vproc_priv.h:74: error: parse error before 'vp'
vproc_priv.h:74: warning: data definition has no type or storage class
vproc_priv.h:76: error: parse error before '_vproc_get_last_exit_status'
vproc_priv.h:76: warning: data definition has no type or storage class
vproc_priv.h:77: error: parse error before '_vproc_set_global_on_demand'
vproc_priv.h:77: warning: data definition has no type or storage class
vproc_priv.h:81: error: parse error before '_vprocmgr_log_drain'
vproc_priv.h:81: error: parse error before 'vp'
vproc_priv.h:81: warning: data definition has no type or storage class
vproc_priv.h:83: error: parse error before '_vproc_send_signal_by_label'
vproc_priv.h:83: warning: data definition has no type or storage class
vproc_priv.h:84: error: parse error before '_vproc_kickstart_by_label'
vproc_priv.h:84: error: parse error before 'mach_port_t'
vproc_priv.h:84: warning: data definition has no type or storage class
vproc_priv.h:85: error: parse error before '_vproc_wait_by_label'
vproc_priv.h:85: warning: data definition has no type or storage class
vproc_priv.h:97: error: parse error before '_vprocmgr_move_subset_to_user'
vproc_priv.h:97: warning: data definition has no type or storage class
vproc_priv.h:98: error: parse error before '_vprocmgr_switch_to_session'
vproc_priv.h:98: warning: data definition has no type or storage class
vproc_priv.h:99: error: parse error before '_vprocmgr_detach_from_console'
vproc_priv.h:99: warning: data definition has no type or storage class
vproc_priv.h:101: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:101: warning: parameter names (without types) in function declaration
vproc_priv.h:101: warning: data definition has no type or storage class
vproc_priv.h:102: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:102: warning: parameter names (without types) in function declaration
vproc_priv.h:102: warning: data definition has no type or storage class
vproc_priv.h:103: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:103: warning: parameter names (without types) in function declaration
vproc_priv.h:103: warning: data definition has no type or storage class
vproc_priv.h:104: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:104: warning: parameter names (without types) in function declaration
vproc_priv.h:104: warning: data definition has no type or storage class
vproc_priv.h:106: error: parse error before '_vproc_transaction_count_for_pid'
vproc_priv.h:106: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:106: warning: parameter names (without types) in function declaration
vproc_priv.h:106: warning: data definition has no type or storage class
vproc_priv.h:107: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:107: warning: parameter names (without types) in function declaration
vproc_priv.h:107: warning: data definition has no type or storage class
vproc_priv.h:108: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:108: warning: parameter names (without types) in function declaration
vproc_priv.h:108: warning: data definition has no type or storage class
vproc_priv.h:109: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:109: warning: parameter names (without types) in function declaration
vproc_priv.h:109: warning: data definition has no type or storage class
vproc_priv.h:110: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:110: warning: parameter names (without types) in function declaration
vproc_priv.h:110: warning: data definition has no type or storage class
vproc_priv.h:111: error: parse error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:111: warning: parameter names (without types) in function declaration
vproc_priv.h:111: warning: data definition has no type or storage class
screen.c: In function 'main':
screen.c:1220: warning: comparison between pointer and integer
make: *** [screen.o] Error 1

I was able to build screen after reverting the Portfile to version 4.0.3_1 and restoring files/patch-osdef.h.in.

Change History (10)

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

Owner: changed from macports-tickets@… to digdog@…

comment:2 Changed 15 years ago by blb@…

I believe those patches in the 'platform darwin' sections should be moved to a 'platform darwin 9' section as (at least) Availability.h is only available on 10.5.

comment:3 Changed 15 years ago by digdog@…

Resolution: fixed
Status: newclosed

Fixed in r45786 (Test on 10.4.11 x86, both x86 and universal version are ok)

comment:4 Changed 15 years ago by james.herdman@…

Problem seems to persist for me:

--->  Building screen
/usr/bin/gcc-4.0 -c -I. -I.    -O2 screen.c
In file included from screen.c:106:
vproc_priv.h:23:26: error: Availability.h: No such file or directory
In file included from screen.c:106:
vproc_priv.h:101: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:101: warning: parameter names (without types) in function declaration
vproc_priv.h:101: warning: data definition has no type or storage class
vproc_priv.h:102: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:102: warning: parameter names (without types) in function declaration
vproc_priv.h:102: warning: data definition has no type or storage class
vproc_priv.h:103: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:103: warning: parameter names (without types) in function declaration
vproc_priv.h:103: warning: data definition has no type or storage class
vproc_priv.h:104: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:104: warning: parameter names (without types) in function declaration
vproc_priv.h:104: warning: data definition has no type or storage class
vproc_priv.h:106: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:106: warning: parameter names (without types) in function declaration
vproc_priv.h:106: warning: data definition has no type or storage class
vproc_priv.h:107: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:107: warning: parameter names (without types) in function declaration
vproc_priv.h:107: warning: data definition has no type or storage class
vproc_priv.h:108: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:108: warning: parameter names (without types) in function declaration
vproc_priv.h:108: warning: data definition has no type or storage class
vproc_priv.h:109: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:109: warning: parameter names (without types) in function declaration
vproc_priv.h:109: warning: data definition has no type or storage class
vproc_priv.h:110: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:110: warning: parameter names (without types) in function declaration
vproc_priv.h:110: warning: data definition has no type or storage class
vproc_priv.h:111: error: syntax error before '__OSX_AVAILABLE_STARTING'
vproc_priv.h:111: warning: parameter names (without types) in function declaration
vproc_priv.h:111: warning: data definition has no type or storage class
make: *** [screen.o] Error 1
Warning: the following items did not execute (for screen): org.macports.activate org.macports.build org.macports.destroot org.macports.install

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Did you run the following?

sudo port selfupdate
sudo port clean screen
sudo port install screen

comment:6 in reply to:  5 Changed 15 years ago by james.herdman@…

Replying to macsforever2000@…:

Did you run the following?

sudo port selfupdate
sudo port clean screen
sudo port install screen

Yes. It didn't solve the issue though. I had the same errors.

comment:7 Changed 15 years ago by james.herdman@…

Cc: james.herdman@… added

Cc Me!

comment:8 Changed 15 years ago by james.herdman@…

Problem solved: I upgraded to the latest version of Apple's developer tools.

comment:9 Changed 15 years ago by james.herdman@…

Cc: james.herdman@… removed

Cc Me!

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.