unable to build 4.3.1 - issue with help.c

Bug #1395227 reported by Jason
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xpad
Fix Released
Medium
Arthur Borsboom

Bug Description

Unable to build on 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401

fails with this error: (also in attached log)

help.o: In function `show_help':
help.c:(.text+0x135): undefined reference to `gtk_button_new_from_icon_name'

Related branches

Revision history for this message
Jason (jason-helfman) wrote :
Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Hi Jason,

Thanks for reporting this issue.
It is defect in the configure.ac, which does not specify a minumum gtk version.

The function above needs gtk 3.10 or newer.
Can you verify if you manually change this

PKG_CHECK_MODULES(GTK, gtk+-3.0 gio-2.0)

to

PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.10 gio-2.0)

and rerun configure, if it gives the error message that you need GTK 3.10 or newer?
Once you have upgraded GTK to this version, is the issue manully resolved?

Also, I noticed that there are warnings in your build log, which I haven't seen before.
These warnings need to be fixed, of course.

Can it be you use a different compiler?

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Module version dependency added in v4.4

Changed in xpad:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Arthur Borsboom (arthurborsboom)
milestone: none → 4.4
Changed in xpad:
status: Confirmed → Fix Committed
Changed in xpad:
status: Fix Committed → Fix Released
Revision history for this message
Jason (jason-helfman) wrote :

I am using clang to compile the software. It builds now with no issue. I did find, though, a missing run-time dependency:
gnome-icon-theme

It will install and work, but no icons on bottom of any notes.
Attached is a buildlog of the software.

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Hi Jason,

Thanks for reporting back.
Would you mind to create a new bug report for the missing dependency?

Revision history for this message
Jason (jason-helfman) wrote : Re: [Bug 1395227] Re: unable to build 4.3.1 - issue with help.c

Submitted bug #1399294 for this
https://bugs.launchpad.net/xpad/+bug/1399294

On Thu, Dec 4, 2014 at 1:58 AM, Arthur Borsboom <email address hidden>
wrote:

> Hi Jason,
>
> Thanks for reporting back.
> Would you mind to create a new bug report for the missing dependency?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1395227
>
> Title:
> unable to build 4.3.1 - issue with help.c
>
> Status in Xpad:
> Fix Released
>
> Bug description:
> Unable to build on 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401
>
> fails with this error: (also in attached log)
>
> help.o: In function `show_help':
> help.c:(.text+0x135): undefined reference to
> `gtk_button_new_from_icon_name'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/xpad/+bug/1395227/+subscriptions
>

--
 "At any given moment, you may find the ticket to the circus that has
always been in your possession."

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.