[MacPorts] #29621: libplist @1.4 Build failure: Missing Macro Definitions
#29621: libplist @1.4 Build failure: Missing Macro Definitions ------------------------------------+--------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libplist ------------------------------------+--------------------------------------- Hi... Libplist fails to build on 10.6.7 using XCode 3.2.6. It seems some macros (G_GNUC_INTERNAL, G_USEC_PER_SEC, etc.) are undeclared when they are needed in plist.h . A build log is attached. Excerpt (first lines with errors): {{{ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/plist.c:25: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/plist.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'plist_t' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/plist.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'plist_data_t' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/plist.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'plist_data_t' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/plist.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gboolean' In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/bplist.c:31: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/plist.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'plist_t' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/plist.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'plist_data_t' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/plist.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'plist_data_t' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libplist/work/libplist-1.4/src/plist.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gboolean' }}} -- Ticket URL: <https://trac.macports.org/ticket/29621> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29621: libplist @1.4 Build failure: Missing Macro Definitions ------------------------------------+--------------------------------------- Reporter: macports@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libplist ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: rmstonecipher@…, openmaintainer@… (removed) * owner: macports-tickets@… => rmstonecipher@… Comment: It builds fine for me on 10.6.7 with Xcode 3.2.6. Can you please attach a complete main.log -- one that does not contain lines containing "Skipping completed"? {{{ sudo port clean sudo port install libplist }}} -- Ticket URL: <https://trac.macports.org/ticket/29621#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29621: libplist @1.4 Build failure: Missing Macro Definitions ------------------------------------+--------------------------------------- Reporter: macports@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libplist ------------------------------------+--------------------------------------- Comment(by macports@…): attached complete main.log -- Ticket URL: <https://trac.macports.org/ticket/29621#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29621: libplist @1.4 Build failure: Missing Macro Definitions ------------------------------------+--------------------------------------- Reporter: macports@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libplist ------------------------------------+--------------------------------------- Comment(by macports@…): Is there a possibility, that we could try to figure out why libplist fails to recognize the glib headers ? I'm digging around a bit, but I am no port expert. What I see is, that glib.h should be included from the code, but somehow is not. Could this have its roots in the configure part? How is the path to the glib files obtained? -- Ticket URL: <https://trac.macports.org/ticket/29621#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29621: libplist @1.4 Build failure: Missing Macro Definitions ------------------------------------+--------------------------------------- Reporter: macports@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libplist ------------------------------------+--------------------------------------- Comment(by macports@…): Instead of using the headers from the macports directory, some old stuff which was installed to /Library/Frameworks/GLib.framework was included. I put that into the trash and now libplist builds. Would it be possible to change the configure script to prefer the glib installation from the macports directory (/opt/local/lib) before any other installation on the system? It would prevent such installation trouble... Thanks anyway. -- Ticket URL: <https://trac.macports.org/ticket/29621#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29621: libplist @1.4 Build failure: Missing Macro Definitions -------------------------------------+-------------------------------------- Reporter: macports@… | Owner: rmstonecipher@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: libplist | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: That's going to be a general problem with all ports -- software installed in /Library/Frameworks, /usr/local, /usr, /sw, can conflict with MacPorts ports. Just uninstall those other installations. -- Ticket URL: <https://trac.macports.org/ticket/29621#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts