Check if execinfo.h header is found (only for *BSD)

Bug #1212761 reported by Olivier Duchateau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
High
André Stösel

Bug Description

With the latest release (0.5.5), new extension devpet.vala uses execinfo.h header.

Under FreeBSD, I get this error:
[...]
default/extensions/devpet.c:22:22: error: execinfo.h: No such file or directory
Waf: Leaving directory `/work/a/ports/www/midori/work/midori-0.5.5/_build'
Build failed: -> task failed (err #1):
 {task: cc devpet.c -> devpet_9.o}
*** [all] Error code 1
1 error
===> Compilation failed unexpectedly.

This header (only for *BSD) is not present by default. It's only available in devel/libexecinfo port.

Here configure log (excerpt under FreeBSD) with patch:

[...]
Checking for x11 : 1.4.4
Checking for header X11/extensions/scrnsaver.h : yes
Checking for library Xss : yes
Checking for header execinfo.h : yes
Checking for gtk+-2.0 >= 2.24.0 : 2.24.17
Checking for webkit-1.0 >= 1.8.3 : 1.8.3
Checking for javascriptcoregtk-1.0 >= 1.8.3 : 1.8.3
[...]

Related branches

Revision history for this message
Olivier Duchateau (duchateau-olivier) wrote :
André Stösel (ivaldi)
Changed in midori:
status: New → Confirmed
assignee: nobody → André Stösel (ivaldi)
importance: Undecided → High
milestone: none → 0.5.6
Revision history for this message
Cris Dywan (kalikiana) wrote :

When this gets fixed it should be done for cmake builds (bug 1211909).

Revision history for this message
Olivier Duchateau (duchateau-olivier) wrote :

Here new patch with cmake.

Revision history for this message
Olivier Duchateau (duchateau-olivier) wrote :

I think devpet.vala extension needs to be disabled under BSD system, new patch is available here, https://code.launchpad.net/~midori/midori/execinfo/+merge/185649/comments/423305

Donte Greene (flykidd)
Changed in midori:
status: Confirmed → In Progress
RabbitBot (rabbitbot-a)
Changed in midori:
status: In Progress → Fix Committed
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
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.