[MacPorts] #17971: mg @20081211 - fails to build on Panther
#17971: mg @20081211 - fails to build on Panther ----------------------------------+----------------------------------------- Reporter: face@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mg ----------------------------------+----------------------------------------- {{{ admin@x:admin:200 $ sudo port install mg ---> Building mg Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_mg/work/mg-20081211" && make all " returned error 2 Command output: gcc -O2 -pipe -g -Wall -Werror -Wno-strict-aliasing -c autoexec.c In file included from def.h:13, from autoexec.c:5: sysdef.h:49: error: field `fi_mtime' has incomplete type make: *** [autoexec.o] Error 1 Error: Status 1 encountered during processing. }}} for Panther the addition of "#include <time.h>" in sysdef.h solves the problem. -- Ticket URL: <http://trac.macports.org/ticket/17971> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17971: mg @20081211 - fails to build on Panther ----------------------------------+----------------------------------------- Reporter: face@… | Owner: lfk@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mg ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => lfk@… Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/17971#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17971: mg @20081211 - fails to build on Panther ----------------------------------+----------------------------------------- Reporter: face@… | Owner: lfk@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mg ----------------------------------+----------------------------------------- Comment(by lfk@…): Thanks for the report, I don't have any machines still running Panther these days. I'll make sure that adding <time.h> doesn't introduce other build issues in more recent releases. -- Ticket URL: <http://trac.macports.org/ticket/17971#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17971: mg @20081211 - fails to build on Panther ----------------------------------+----------------------------------------- Reporter: face@… | Owner: lfk@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mg ----------------------------------+----------------------------------------- Changes (by jmr@…): * cc: jmr@… (added) Comment: There's no need to worry about that if you do something like: {{{ platform darwin 7 { patchfiles-append my_timespec_patch.diff } }}} -- Ticket URL: <http://trac.macports.org/ticket/17971#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17971: mg @20081211 - fails to build on Panther ----------------------------------+----------------------------------------- Reporter: face@… | Owner: lfk@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mg ----------------------------------+----------------------------------------- Comment(by lfk@…): There is no harm in including time.h directly and though I like the idea of adding a platform directive to the portfile, I really don't have a way to test it. I've attached a Portfile update and an additional file containing the patch for the timespec issue. -- Ticket URL: <http://trac.macports.org/ticket/17971#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17971: mg @20081211 - fails to build on Panther -----------------------------------+---------------------------------------- Reporter: face@… | Owner: lfk@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: mg | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Committed in r45848. -- Ticket URL: <http://trac.macports.org/ticket/17971#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts