[MacPorts] #39536: yelp build failure
#39536: yelp build failure --------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: yelp --------------------------+---------------------- yelp fails to build: {{{ Undefined symbols for architecture x86_64: "_g_thread_init", referenced from: _main in yelp-yelp.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status }}} Would [ticket:35060 updating to yelp 3] help? -- Ticket URL: <https://trac.macports.org/ticket/39536> MacPorts <http://www.macports.org/> Ports system for OS X
#39536: yelp build failure ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: yelp | ---------------------------+---------------------- Changes (by devans@…): * status: new => assigned Comment: Replying to [ticket:39536 ryandesign@…]:
yelp fails to build:
{{{ Undefined symbols for architecture x86_64: "_g_thread_init", referenced from: _main in yelp-yelp.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status }}}
Would [ticket:35060 updating to yelp 3] help?
Not at this time. The gnome ports need to be updated to version 3 as a unit due to their inter-dependencies. That will be the next step. I want to get things stabilized at the final GNOME 2 level first. I'll take a look at the log files for now. -- Ticket URL: <https://trac.macports.org/ticket/39536#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39536: yelp build failure ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: yelp | ---------------------------+---------------------- Comment (by devans@…): I'm having trouble reproducing this problem. Universal build works for me with the following configuration: * Mac OS 10.8.4, Xcode 4.6.3 (4H1503), MacPorts 2.1.3. * Mac Mini Intel Core i5 (x86_64) Can you re-sync your ports tree and give it another try? I'll do the same and post my results for comparison. Also would appreciate it if you would try -universal as well. Build bot was successful with this configuration on 10.8. Thanks -- Ticket URL: <https://trac.macports.org/ticket/39536#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39536: yelp build failure ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: yelp | ---------------------------+---------------------- Comment (by devans@…): Rebuild works for me both for glib2 and glib2-devel (just in case). Attaching successful build log. -- Ticket URL: <https://trac.macports.org/ticket/39536#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39536: yelp build failure ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: yelp | ---------------------------+---------------------- Comment (by devans@…): I notice you are using ccache and I am not. Could this be the difference? -- Ticket URL: <https://trac.macports.org/ticket/39536#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39536: yelp build failure: Undefined symbols _g_thread_init ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Resolution: | Keywords: haspatch Port: yelp | ---------------------------+---------------------- Changes (by ryandesign@…): * keywords: => haspatch * version: 2.1.3 => 2.1.99 Comment: Replying to [comment:2 devans@…]:
Can you re-sync your ports tree and give it another try? I'll do the same and post my results for comparison.
My ports are up to date.
Also would appreciate it if you would try -universal as well.
Same problem with -universal.
Build bot was successful with this configuration on 10.8.
The buildbots are running MacPorts 2.1.x not trunk. Replying to [comment:4 devans@…]:
I notice you are using ccache and I am not. Could this be the difference?
No change if I disable the use of ccache. I am however using MacPorts trunk, which no longer overlinks libraries, and all my ports are built this way. I think this means that yelp uses libgthread, but has forgotten to add `-lgthread-2.0` to the LDFLAGS. The attached patch allows the port to build. -- Ticket URL: <https://trac.macports.org/ticket/39536#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39536: yelp build failure: Undefined symbols _g_thread_init ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Resolution: | Keywords: haspatch Port: yelp | ---------------------------+---------------------- Comment (by egall@…): Replying to [comment:1 devans@…]:
Replying to [ticket:39536 ryandesign@…]:
Would [ticket:35060 updating to yelp 3] help?
Not at this time. The gnome ports need to be updated to version 3 as a unit due to their inter-dependencies. That will be the next step. I want to get things stabilized at the final GNOME 2 level first.
Could GNOME 2 ports be kept around separately from GNOME 3 ports? I know there's been a lot of backlash against GNOME 3 in the Linux community at least, and not everyone might want to switch to it... -- Ticket URL: <https://trac.macports.org/ticket/39536#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39536: yelp build failure: Undefined symbols _g_thread_init ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Resolution: fixed | Keywords: haspatch Port: yelp | ---------------------------+---------------------- Changes (by ryandesign@…): * cc: jeremyhu@… (added) * status: assigned => closed * resolution: => fixed Comment: Fixed a better way in r107447. -- Ticket URL: <https://trac.macports.org/ticket/39536#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts