[MacPorts] #43589: When installing meld: Error: Failed to install libgnome
#43589: When installing meld: Error: Failed to install libgnome ----------------------------+-------------------------------- Reporter: hannesdottir@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ----------------------------+-------------------------------- Running a $sudo port install meld it fails installing libgnome. My machine is a MacBook, OS X 10.9.2, 2.9GHz Intel Core i7. I attach the log file -- Ticket URL: <https://trac.macports.org/ticket/43589> MacPorts <http://www.macports.org/> Ports system for OS X
#43589: libgnome: error: use of undeclared identifier 'g_threads_got_initialized' -----------------------------+-------------------------------- Reporter: hannesdottir@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libgnome | -----------------------------+-------------------------------- Changes (by ryandesign@…): * port: => libgnome Old description:
Running a
$sudo port install meld
it fails installing libgnome. My machine is a MacBook, OS X 10.9.2, 2.9GHz Intel Core i7.
I attach the log file
New description: Running a {{{ $sudo port install meld }}} it fails installing libgnome. My machine is a MacBook, OS X 10.9.2, 2.9GHz Intel Core i7. I attach the log file -- -- Ticket URL: <https://trac.macports.org/ticket/43589#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43589: libgnome: error: use of undeclared identifier 'g_threads_got_initialized' -----------------------------+-------------------------------- Reporter: hannesdottir@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libgnome | -----------------------------+-------------------------------- Comment (by paulccobb@…): I ran into this problem too, and found a change that seems relevant posted to the gnome git repository for libgnome-2.32.1 In a nutshell, the tweak is simply to remove -DG_DISABLE_DEPRECATED from the Makefile. The commit report, such as it is, can be viewed at: https://git.gnome.org/browse/libgnome/commit/?id=64a0443e26a50745c8fdc02eddf... I confirmed that with this change, the build of libgnome runs to completion on my system: PowerBook G4, Mac OS 10.5.8, XCode 3.1.4 I think this fixes the bug as described in this ticket, BUT I don't know any of the story with the deprecated code that gets enabled by this change - so the libgnome that gets built may contain broken things that I just haven't tripped over yet. I'm posting this info in case it's helpful (a) to anyone stuck on the same issue, or (b) to anyone looking into the ticket. -- Ticket URL: <https://trac.macports.org/ticket/43589#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43589: libgnome: error: use of undeclared identifier 'g_threads_got_initialized' -----------------------------+-------------------------------- Reporter: hannesdottir@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libgnome | -----------------------------+-------------------------------- Comment (by order@…): There already is a patch (patch-libgnome-Makefile.in.diff) in MacPorts to get rid of the -DG_DISABLE_DEPRECATED flag. The problem seems to be that the patch does not have the correct line numbers for the Makefile. In addition, the Makefile.am also needs to be patched. After fixing the Makefile.in patch, adding the Makefile.am patch and adjusting the Portfile, it works for me. It strikes me as odd that the patch command fails silently -- seems like a possibly serious problem. -- Ticket URL: <https://trac.macports.org/ticket/43589#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43589: libgnome: error: use of undeclared identifier 'g_threads_got_initialized' -----------------------------+-------------------------------- Reporter: hannesdottir@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libgnome | -----------------------------+-------------------------------- Comment (by mf2k@…): @order: [https://guide.macports.org/#development.patches Per the guidelines], please instead attach a unified diff of the Portfile so we can easily see what changes you are proposing. -- Ticket URL: <https://trac.macports.org/ticket/43589#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43589: libgnome: error: use of undeclared identifier 'g_threads_got_initialized' -----------------------------+-------------------------------- Reporter: hannesdottir@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: libgnome | -----------------------------+-------------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: libgnome build broken by my switch to autoreconf in r118282. Fixed (as indicated above) in r122755. Mea culpa. -- Ticket URL: <https://trac.macports.org/ticket/43589#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts