Bug 191412 - [PATCH] sysutils/rsyslog7 (sysutils/rsyslog*): broken options
Summary: [PATCH] sysutils/rsyslog7 (sysutils/rsyslog*): broken options
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: Brad Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-26 14:17 UTC by Dmitry Marakasov
Modified: 2014-12-17 22:08 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2014-06-26 14:17:43 UTC
In all rsyslog ports (rsyslog7, rsyslog7-devel, rsyslog8, rsyslog8-devel) RFC3195 option is broken: it has 

LIB_DEPENDS+=   liblogging.so:${PORTSDIR}/devel/liblogging

however devel/liblogging doesn't install such library. If liblogging.so is changed to liblogging-stdlog.so which is does install, the build fails, so as I guess different dependency is required instead.

Also in rsyslog8 and rsyslog8-devel ports, GSSAPI option is broken:

---
--- omgssapi_la-omgssapi.lo ---
  CC       omgssapi_la-omgssapi.lo
omgssapi.c:380:1: error: unknown type name 'wrkrInstanceData_t'
BEGINtryResume
^
../../runtime/module-template.h:440:27: note: expanded from macro 'BEGINtryResume'
static rsRetVal tryResume(wrkrInstanceData_t __attribute__((unused)) *pWrkrData)\
                          ^
omgssapi.c:380:1: error: expected ')'
../../runtime/module-template.h:440:70: note: expanded from macro 'BEGINtryResume'
static rsRetVal tryResume(wrkrInstanceData_t __attribute__((unused)) *pWrkrData)\
                                                                     ^
omgssapi.c:380:1: note: to match this '('
../../runtime/module-template.h:440:26: note: expanded from macro 'BEGINtryResume'
static rsRetVal tryResume(wrkrInstanceData_t __attribute__((unused)) *pWrkrData)\
                         ^
omgssapi.c:380:1: error: parameter name omitted
BEGINtryResume
^
../../runtime/module-template.h:440:46: note: expanded from macro 'BEGINtryResume'
static rsRetVal tryResume(wrkrInstanceData_t __attribute__((unused)) *pWrkrData)\
                                             ^
omgssapi.c:382:21: error: use of undeclared identifier 'pData'
        iRet = doTryResume(pData);
                           ^
omgssapi.c:385:1: error: unknown type name 'wrkrInstanceData_t'
BEGINdoAction
^
../../runtime/module-template.h:281:68: note: expanded from macro 'BEGINdoAction'
static rsRetVal doAction(uchar __attribute__((unused)) **ppString, wrkrInstanceData_t __attribute__((unused)) *pWrkrData)\
                                                                   ^
omgssapi.c:385:1: error: expected ')'
../../runtime/module-template.h:281:111: note: expanded from macro 'BEGINdoAction'
static rsRetVal doAction(uchar __attribute__((unused)) **ppString, wrkrInstanceData_t __attribute__((unused)) *pWrkrData)\
                                                                                                              ^
omgssapi.c:385:1: note: to match this '('
../../runtime/module-template.h:281:25: note: expanded from macro 'BEGINdoAction'
static rsRetVal doAction(uchar __attribute__((unused)) **ppString, wrkrInstanceData_t __attribute__((unused)) *pWrkrData)\
                        ^
omgssapi.c:385:1: error: parameter name omitted
BEGINdoAction
^
../../runtime/module-template.h:281:87: note: expanded from macro 'BEGINdoAction'
static rsRetVal doAction(uchar __attribute__((unused)) **ppString, wrkrInstanceData_t __attribute__((unused)) *pWrkrData)\
                                                                                      ^
omgssapi.c:390:10: error: use of undeclared identifier 'pData'
        switch (pData->eDestState) {
                ^
8 errors generated.
*** [omgssapi_la-omgssapi.lo] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/sysutils/rsyslog8/work/rsyslog-8.2.1/plugins/omgssapi
1 error

make[3]: stopped in /wrkdirs/usr/ports/sysutils/rsyslog8/work/rsyslog-8.2.1/plugins/omgssapi
*** [all-recursive] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/sysutils/rsyslog8/work/rsyslog-8.2.1
1 error

make[2]: stopped in /wrkdirs/usr/ports/sysutils/rsyslog8/work/rsyslog-8.2.1
*** [all] Error code 2

make[1]: stopped in /wrkdirs/usr/ports/sysutils/rsyslog8/work/rsyslog-8.2.1
1 error

make[1]: stopped in /wrkdirs/usr/ports/sysutils/rsyslog8/work/rsyslog-8.2.1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/rsyslog8
---

Port maintainer (brd@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN)
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2014-07-02 12:01:04 UTC
over to maintainer
Comment 2 Brad Davis freebsd_committer freebsd_triage 2014-12-17 22:08:12 UTC
Fixed in r374876.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-12-17 22:08:29 UTC
A commit references this bug:

Author: brd
Date: Wed Dec 17 22:07:57 UTC 2014
New revision: 374876
URL: https://svnweb.freebsd.org/changeset/ports/374876

Log:
  Upgrade to 8.6.0

  http://www.rsyslog.com/changelog-for-8-6-0-v8-stable/

  1: Enable omuxsock by default
  2: Fix broken build with RFC3195

  PR:		191327 [1], 191412 [2]
  Reviewed by:	swills

Changes:
  head/sysutils/rsyslog8/Makefile
  head/sysutils/rsyslog8/distinfo
  head/sysutils/rsyslog8/files/patch-grammar_rainerscript.c
  head/sysutils/rsyslog8/files/patch-plugins__mmexternal__mmexternal.c
  head/sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c
  head/sysutils/rsyslog8/files/patch-plugins_impstats_impstats.c
  head/sysutils/rsyslog8/files/patch-tools_rsyslogd.c
  head/sysutils/rsyslog8/pkg-plist