ports/183902: sysutils/cfengine: build fails with libvirt on i386

Mathieu Arnold mat at FreeBSD.org
Tue Nov 12 16:00:00 UTC 2013


>Number:         183902
>Category:       ports
>Synopsis:       sysutils/cfengine: build fails with libvirt on i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 12 16:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 9.2-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.in.absolight.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386

>Description:
When building any of sysutils/cfengine* with libvirt on i386, I always end up with :

===>    Verifying install clean for virt.1001 in /usr/ports/devel/libvirt
===>   Installing existing package /packages/All/libvirt-1.1.4.txz
[...]
checking for pcre.h... yes
checking for virConnectOpen in -lvirt... no
configure: error: Cannot find libvirt library

from http://pkg.absolight.net/logs/bulk/91i386-pkgng/2013-11-12_15h08m01s/logs/errors/cfengine-3.5.2.log

the config.log says :

...
configure:14901: cc -o conftest -D_THREAD_SAFE -pthread -O2 -pipe -Wno-return-type -fno-strict-aliasing -O2 -DNDEBUG -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/include  -Wl,-rpath=/usr/lib:/usr/local/lib -L/usr/local/lib/mysql -L/usr/local/lib -L/usr/local/lib conftest.c -lvirt   >&5
/usr/local/lib/libvirt.so: undefined reference to `__stack_chk_fail_local'
configure:14901: $? = 1
...

the wrkdir is available there :

http://pkg.absolight.net/wrkdirs/91i386-pkgng/pkgng/cfengine-3.5.2.tgz

>How-To-Repeat:
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list