source fails to build in freebsd 8

Bug #467472 reported by ubiquity
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Desktop Agnostic Library for GLib-based Projects
In Progress
Medium
Mark Lee

Bug Description

libdesktop-agnostic from bzr revision 382 fails to build in FreeBSD 8. Fails at [43/144] in waf command. (Script of the build attached) All dependencies are met other than not running on linux. (May be an incompatability between freebsd and gnu libc's?)

[ 41/144] cc: build/default/libdesktop-agnostic/vfs-file.c -> build/default/libdesktop-agnostic/vfs-file_2.o
[ 42/144] cc: build/default/libdesktop-agnostic/vfs-file-monitor.c -> build/default/libdesktop-agnostic/vfs-file-monitor_2.o
[ 43/144] cc: build/default/libdesktop-agnostic/vfs-glob.c -> build/default/libdesktop-agnostic/vfs-glob_2.o
default/libdesktop-agnostic/vfs-glob.c: In function 'desktop_agnostic_vfs_glob_instance_init':
default/libdesktop-agnostic/vfs-glob.c:373: error: 'GLOB_TILDE_CHECK' undeclared (first use in this function)
default/libdesktop-agnostic/vfs-glob.c:373: error: (Each undeclared identifier is reported only once
default/libdesktop-agnostic/vfs-glob.c:373: error: for each function it appears in.)
Waf: Leaving directory `/usr/home/slunk/builds/libdesktop-agnostic/build'
Build failed
 -> task failed (err #1):
 {task: cc vfs-glob.c -> vfs-glob_2.o}

Tags: build
Revision history for this message
ubiquity (slunky) wrote :
Revision history for this message
Mark Lee (malept) wrote :

Yep, the glob implementation depends on the GNU implementation of glob. There's also a fundamental problem there if you attempt to build for Windows :)

What I'll probably end up doing is check for a) glob existence and b) GNU extensions to glob, and bundle some copy of gnulib's glob implementation.

Changed in libdesktop-agnostic:
assignee: nobody → Mark Lee (malept)
importance: Undecided → Medium
milestone: none → 0.3.9
status: New → Confirmed
Revision history for this message
ubiquity (slunky) wrote :

Thanks. Until then, I'll be building it on Fedora and running it under FreeBSD's linux compatability layer. Let me know if you need patches tested on this issue. I'd be more than happy to help.

Revision history for this message
Henry Hu (henryhu) wrote :

Just a "me too" here. Currently I changed GLOB_TILDE_CHECK to GLOB_TILDE, and I will see the results.

Mark Lee (malept)
Changed in libdesktop-agnostic:
milestone: 0.3.90 → 0.4.0
Mark Lee (malept)
Changed in libdesktop-agnostic:
status: Confirmed → In Progress
Revision history for this message
Kirill Yelizarov (ykirill) wrote :

Is this work is still in progress? I build libdesktop-agnostic on FreeBSD 8.1 Stable with the patch mentioned above (GLOB_TILDE) and then successfully build awn 0.4 and awn-extras 0.4 (most of the applets are not working yet). Are there any plans of building a port libdesktop-agnostic for FreeBSD?

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.