[MacPorts] #43804: girara @0.2.0 build fails on SL
#43804: girara @0.2.0 build fails on SL -------------------------+-------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: girara -------------------------+-------------------------------- Default compiler on SL fails to build the port #43794 Made a change so on SL and earlier macports-gcc-4.6 is used while disabling universal_variant. Unless somebody opens a ticket requesting +universal on those platforms I'll leave it at that. -- Ticket URL: <https://trac.macports.org/ticket/43804> MacPorts <http://www.macports.org/> Ports system for OS X
#43804: girara @0.2.0 build fails on SL --------------------------+--------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch maintainer Port: girara | --------------------------+--------------------------------- Changes (by ryandesign@…): * keywords: => haspatch maintainer Comment: Thanks but that is not the solution we would usually want to use. We would want to use "compiler.blacklist" to specify the compilers that do not work for this port. If none of the compilers in "compiler.fallback" work, additional compilers that work can be added to that list. There is no need to increase the port's revision if this only fixes a build failure (as opposed to a runtime failure, for which a revision increase is necessary). -- Ticket URL: <https://trac.macports.org/ticket/43804#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43804: girara @0.2.0 build fails on SL --------------------------+--------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch maintainer Port: girara | --------------------------+--------------------------------- Comment (by starkhalo@…): How about we just make sure to use a newer Xcode? -- Ticket URL: <https://trac.macports.org/ticket/43804#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43804: girara @0.2.0 build fails on SL --------------------------+--------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch maintainer Port: girara | --------------------------+--------------------------------- Comment (by ryandesign@…): The version of Xcode is not tied to the version of the Xcode command line tools in all cases. Users can forget to update one or the other. On Snow Leopard, although they are tied together, Xcode 3.2.6, which is the latest free version and therefore the recommended version for Snow Leopard, uses gcc-4.2; Xcode 4.x for Snow Leopard is not free, and can only be obtained by paying Apple for a developer membership. compiler.blacklist is the correct solution for this issue. -- Ticket URL: <https://trac.macports.org/ticket/43804#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43804: girara @0.2.0 build fails on SL --------------------------+--------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch maintainer Port: girara | --------------------------+--------------------------------- Comment (by starkhalo@…): This ''should'' fix the build on SL too, if it doesn't then I'll blacklist gcc < 4.6 -- Ticket URL: <https://trac.macports.org/ticket/43804#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43804: girara @0.2.0 build fails on SL --------------------------+--------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch maintainer Port: girara | --------------------------+--------------------------------- Comment (by devans@…): Most recent fix committed in r120388. This fixes the compiler issue but build still fails on SL as follows {{{ ar rcs libgirara-gtk3.a callbacks.o commands.o completion.o config.o datastructures.o input-history-io.o input-history.o session.o settings.o shortcuts.o statusbar.o tabs.o utils.o /usr/bin/gcc-4.2 -Wl,-dylib_install_name,/opt/local/lib/libgirara- gtk3.1.dylib -dynamiclib -current_version 1.1 -compatibility_version 1 -arch x86_64 -fPIC -fno-common -o libgirara-gtk3.1.1.dylib callbacks.o commands.o completion.o config.o datastructures.o input-history-io.o input-history.o session.o settings.o shortcuts.o statusbar.o tabs.o utils.o -L/opt/local/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfontconfig -lfreetype -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lm Undefined symbols: "_getline", referenced from: _girara_file_read_line in utils.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libgirara-gtk3.so.1.1] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_mports_dports_devel_girara/girara/work/girara-0.2.0' }}} Function getline() is not available on 10.6 and earlier (introduced in 10.7). -- Ticket URL: <https://trac.macports.org/ticket/43804#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43804: girara @0.2.0 build fails on SL --------------------------+--------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch maintainer Port: girara | --------------------------+--------------------------------- Comment (by devans@…): One way to fix this is illustrated [http://svn.macports.org/repository/macports/trunk/dports/gnome/gnome- session/files/patch-gnome-session-check-accelerated-helper.c.diff here] in port gnome-session. -- Ticket URL: <https://trac.macports.org/ticket/43804#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43804: girara @0.2.0 build fails on SL --------------------------+--------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch maintainer Port: girara | --------------------------+--------------------------------- Comment (by starkhalo@…): This should provide _getline for SL. -- Ticket URL: <https://trac.macports.org/ticket/43804#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#43804: girara @0.2.0 build fails on SL --------------------------+--------------------------------- Reporter: starkhalo@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch maintainer Port: girara | --------------------------+--------------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: getline patch committed in r120397, build on SL buildbot now successful. -- Ticket URL: <https://trac.macports.org/ticket/43804#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts