Opened 15 years ago

Closed 15 years ago

#20843 closed defect (fixed)

proctools 0.4pre1 fails to build on snow leopard

Reported by: andrius.laikina@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: proctools

Description

proctools fails to build on snow leopard:

--->  Extracting proctools
--->  Configuring proctools
--->  Building proctools
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_proctools/work/proctools-0.4pre1" && /usr/bin/bsdmake -j2 all " returned error 2
Command output: ===> proctools (all)
"/usr/share/mk/bsd.compat.mk", line 36: warning: NOLINT is deprecated in favor of NO_LINT
"/usr/share/mk/bsd.compat.mk", line 36: warning: NOPIC is deprecated in favor of NO_PIC
"/usr/share/mk/bsd.compat.mk", line 36: warning: NOPROFILE is deprecated in favor of NO_PROFILE
cc -Os -pipe    -c fmt.c
cc -Os -pipe    -c proctools.c
fmt.c:10:17: error: kvm.h: No such file or directory
fmt.c: In function 'fmt_argv':
fmt.c:32: error: expected declaration specifiers before 'kvm_t'
fmt.c:37: warning: comparison between pointer and integer
fmt.c:38: warning: assignment makes pointer from integer without a cast
*** Error code 1
In file included from proctools.c:22:
proctools.h:8:17: error: kvm.h: No such file or directory
proctools.c:26: error: expected ')' before '*' token
proctools.c: In function 'getProcList':
proctools.c:922: warning: passing argument 5 of 'regexec' makes integer from pointer without a cast
proctools.c:963: warning: passing argument 5 of 'regexec' makes integer from pointer without a cast
proctools.c:998: warning: passing argument 5 of 'regexec' makes integer from pointer without a cast
proctools.c:1040: warning: passing argument 5 of 'regexec' makes integer from pointer without a cast
*** Error code 1
2 errors
*** Error code 2
1 error

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:2 Changed 15 years ago by tobypeterson

Keywords: proctools build snow leopard removed
Summary: proctools 0.4pre1 build error/snow leopard (10A432)proctools 0.4pre1 fails to build on snow leopard
Version: 1.8.99

need debug log ... although, if it needs kvm.h I doubt this has ever worked

comment:3 Changed 15 years ago by tobypeterson

actually in this case, probably just need to make those patches default, instead of limited to darwin 9

comment:4 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.