Bug 127848 - dns/dnsmasq fails link with dbus enabled/dbus pkg-config incomplete?
Summary: dns/dnsmasq fails link with dbus enabled/dbus pkg-config incomplete?
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Babak Farrokhi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-04 11:50 UTC by Matthias Andree
Modified: 2009-01-08 12:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree 2008-10-04 11:50:04 UTC
dnsmasq fails compile if dbus is enabled. This may be a problem with dbus's
pkg-config configuration that doesn't list -lpthread.

Symptom:

gmake[1]: Entering directory `/usr/home/emma/ports/dns/dnsmasq/work/dnsmasq-2.45
/src'
cc  -o dnsmasq  cache.o rfc1035.o util.o option.o forward.o isc.o network.o dnsm
asq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o helper.o tftp.o log.o -L/u
sr/local/lib -ldbus-1
/usr/local/lib/libdbus-1.so: undefined reference to `pthread_equal'
/usr/local/lib/libdbus-1.so: undefined reference to `pthread_cond_timedwait'
gmake[1]: *** [dnsmasq] Error 1
gmake[1]: Leaving directory `/usr/home/emma/ports/dns/dnsmasq/work/dnsmasq-2.45/
src'
gmake: *** [dnsmasq] Error 2
*** Error code 2

Stop in /usr/home/emma/ports/dns/dnsmasq.
*** Error code 1

Stop in /usr/home/emma/ports/dns/dnsmasq.

How-To-Repeat: cd /usr/ports/dns/dnsmasq
make config
# enable DBUS support
make
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-10-04 13:58:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->farrokhi

Over to maintainer.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2009-01-08 12:38:19 UTC
State Changed
From-To: open->closed

Fixed, thanks for reporting
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-01-08 12:39:04 UTC
pav         2009-01-08 12:38:49 UTC

  FreeBSD ports repository

  Modified files:
    dns/dnsmasq          Makefile 
  Log:
  - Fix link with dbus on FreeBSD 6.x
  
  PR:             ports/127848
  Reported by:    Matthias Andree <matthias.andree@gmx.de>
  Approved by:    maintainer timeout (farrokhi; 3 months)
  
  Revision  Changes    Path
  1.46      +5 -0      ports/dns/dnsmasq/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"