Bug 167865 - [PATCH] net-im/jabberd: does not compile when WITHOUT_DEBUG is defined
Summary: [PATCH] net-im/jabberd: does not compile when WITHOUT_DEBUG is defined
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: Martin Matuska
Depends on:
Reported: 2012-05-14 10:30 UTC by Guido Falsi
Modified: 2012-05-20 22:50 UTC (History)
1 user (show)

See Also:

file.diff (3.38 KB, patch)
2012-05-14 10:30 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer 2012-05-14 10:30:02 UTC
When WITHOUT_DEBUG is activated the port fails to compile:

/bin/sh ../libtool --quiet --tag=CC    --mode=link cc  -O2 -pipe -march=core2 -fno-strict-aliasing -funsigned-char -export-dynamic  -L/usr/lib -L/usr/local/lib  -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -o c2s c2s-authreg.o c2s-bind.o  c2s-c2s.o c2s-main.o c2s-sm.o  c2s-pbx.o c2s-pbx_commands.o ../sx/libsx.la ../mio/libmio.la  ../util/libutil.la ../subst/libsubst.la -lssl -lcrypto -lgsasl -ludns -lidn -lexpat -lcrypt  -lz
c2s-main.o: In function `main':
main.c:(.text+0x41d): undefined reference to `set_debug_log_from_config'
main.c:(.text+0x14ce): undefined reference to `set_debug_log_from_config'
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/net-im/jabberd.
*** Error code 1

Stop in /usr/ports/net-im/jabberd.

Disable teh DEBUG option in net-im/jabberd and try to compile the port.
Comment 1 Edwin Groothuis freebsd_committer 2012-05-14 10:30:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2012-05-14 13:11:55 UTC
mm          2012-05-14 12:11:44 UTC

  FreeBSD ports repository

  Added files:
    net-im/jabberd/files patch-41884d9919 
  Fix build for WITHOUT_DEBUG
  Patch from upstream: https://github.com/Jabberd2/jabberd2/commit/41884d9919
  PR:             ports/167865
  Reported by:    Guido Falsi <madpilot@FreeBSD.org>
  Revision  Changes    Path
  1.1       +53 -0     ports/net-im/jabberd/files/patch-41884d9919 (new)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Matuska freebsd_committer 2012-05-20 22:50:23 UTC
State Changed
From-To: open->closed

Resolved. Thanks!