#5912 closed defect (worksforme)
BUG: gv 3.5.8 will not compile
Reported by: | kyle-opendarwinbugzilla@… | Owned by: | tobypeterson |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | gv |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I get this error:
[kyle@tunican kyle]$ sudo port install gv ---> Fetching gv ---> Attempting to fetch gv-3.5.8.tar.gz from ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/ ---> Verifying checksum(s) for gv ---> Extracting gv ---> Applying patches to gv ---> Configuring gv ---> Building gv with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_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
The line it's referring to is this:
set = bw->command.set;
And I checked, command is a CommandPart, as defined in ButtonP.h, but CommandPart isn't defined anywhere, and that's why it's failing.
Change History (4)
comment:1 Changed 19 years ago by mww@…
Owner: | changed from darwinports-bugs@… to toby@… |
---|---|
Summary: | gv 3.5.8 will not compile → BUG: gv 3.5.8 will not compile |
comment:2 Changed 19 years ago by kyle-opendarwinbugzilla@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Milestone: | → Port Bugs |
Port: | gv added |
Note: See
TracTickets for help on using
tickets.
I don't know why it compiles, but I recently deleted my entire /opt/local tree and started over again (the ports registry had become corrupted and wouldn't let me uninstall things). When I did, gv compiled and installed just fine.