BUG: gv 3.5.8_2 won't build on 10.4.10
Hi,
I just did a resync and wanted to upgrade to the latest versions of my ports. Xaw3d is built fine but gv fails.
gv 3.5.8_1 < 3.5.8_2
Xaw3d 1.5E_0 < 1.5E_1
1x178047:~ Martin$ sudo port upgrade gv
---> Fetching Xaw3d
---> Verifying checksum(s) for Xaw3d
---> Extracting Xaw3d
---> Configuring Xaw3d
---> Building Xaw3d with target all SHLIBGLOBALSFLAGS=-L/usr/X11R6/lib INCDIR=/opt/local/include SHLIBDIR=/opt/local/lib USRLIBDIR=/opt/local/lib
---> Staging Xaw3d into destroot
---> Deactivating Xaw3d 1.5E_0
---> Installing Xaw3d 1.5E_1
---> Activating Xaw3d 1.5E_1
---> Cleaning Xaw3d
---> Fetching gv
---> Verifying checksum(s) for gv
---> Extracting gv
---> Applying patches to gv
---> Configuring gv
---> Building gv with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_gv/work/gv-3.5.8" && make all " returned error 2
Command output: Button.c:320: error: request for member 'set' in something not a structure or union
Button.c:320: warning: statement with no effect
Button.c:321: error: dereferencing pointer to incomplete type
Button.c:321: error: request for member 'command' in something not a structure or union
Button.c:321: error: request for member 'set' in something not a structure or union
Button.c:321: warning: statement with no effect
Button.c:323: error: dereferencing pointer to incomplete type
Button.c:323: error: request for member 'command' in something not a structure or union
Button.c:323: error: request for member 'set' in something not a structure or union
Button.c:323: warning: statement with no effect
Button.c: In function 'ButtonSet':
Button.c:337: error: dereferencing pointer to incomplete type
Button.c:337: error: request for member 'command' in something not a structure or union
Button.c:337: error: request for member 'set' in something not a structure or union
Button.c:338: error: dereferencing pointer to incomplete type
Button.c:338: error: request for member 'command' in something not a structure or union
Button.c:338: error: request for member 'set' in something not a structure or union
Button.c:338: warning: statement with no effect
Button.c: In function 'ButtonUnset':
Button.c:354: error: dereferencing pointer to incomplete type
Button.c:354: error: request for member 'command' in something not a structure or union
Button.c:354: error: request for member 'set' in something not a structure or union
Button.c:354: warning: statement with no effect
Button.c: In function 'ButtonReset':
Button.c:369: error: dereferencing pointer to incomplete type
Button.c:369: error: request for member 'button' in something not a structure or union
Button.c:369: error: request for member 'highlighted' in something not a structure or union
Button.c:369: warning: statement with no effect
make[1]: *** [Button.o] Error 1
make: *** [all] Error 2
Error: Unable to upgrade port: 1
Just to add some information to this one: Prior to the error messages mentioned in the original bug report, I get the error message
I started poking around in the work directory, and found that config.Unix had not been patched, even though the state file had recorded the patch as having been performed! Running
sudo port clean gv
cured the problem: After that, the install went smoothly.My guess is that the ticket can be closed.