Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2016 00:13:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210545] [NEW PORT] devel/riemann-c-client: C client library for the Riemann monitoring system
Message-ID:  <bug-210545-13-4WxSbfwfFs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210545-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210545-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210545

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbeich@FreeBSD.org

--- Comment #1 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 171768
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171768
SHAR file

Install ports-mgmt/portlint and make sure it doesn't complain. In this case=
 all
are true positives.

  $ portlint -AC
  WARN: devel/riemann-c-client/pkg-plist: [11]: installing shared libraries,
please define USE_LDCONFIG as appropriate
  WARN: devel/riemann-c-client/pkg-plist: [12]: installing shared libraries,
please define USE_LDCONFIG as appropriate
  FATAL: devel/riemann-c-client/pkg-plist: [14]: installing pkg-config files
into lib/pkgconfig.  All pkg-config files must be installed into
libdata/pkgconfig for them to be found by pkg-config.
  FATAL: Makefile: [10]: use a tab (not space) after a variable name
  FATAL: Makefile: [11]: use a tab (not space) after a variable name
  FATAL: Makefile: [29]: use a tab (not space) after a variable name
  4 fatal errors and 2 warnings found.

The port fails to build inside poudriere as pkgconfig isn't installed.

  =3D=3D=3D>  Configuring for riemann-c-client-1.9.0
  libtoolize: putting auxiliary files in '.'.
  libtoolize: copying file './ltmain.sh'
  libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
  libtoolize: copying file 'm4/libtool.m4'
  libtoolize: copying file 'm4/ltoptions.m4'
  libtoolize: copying file 'm4/ltsugar.m4'
  libtoolize: copying file 'm4/ltversion.m4'
  libtoolize: copying file 'm4/lt~obsolete.m4'
  configure.ac:25: error: possibly undefined macro: AC_MSG_ERROR
        If this token and others are legitimate, please use m4_pattern_allo=
w.
        See the Autoconf documentation.
  configure.ac:44: error: possibly undefined macro: dnl
  configure.ac:51: error: possibly undefined macro: AC_CHECK_LIB
  autoreconf-2.69: /usr/local/bin/autoconf-2.69 failed with exit status: 1
  *** [do-autoreconf] Error code 1

Even successful build needs attention.

  =3D=3D=3D=3D> Running Q/A tests (stage-qa)
  Warning: 'lib/libriemann-client.so.0.9.0' is not stripped consider trying
INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CMD}

> XBUILD_DEPENDS=3D	libtool>=3D2.2:devel/libtool \
> X		protobuf-c>=3D1.2.1:devel/protobuf-c \
> X		gnutls>=3D2.8.0:security/gnutls \
> X		json-c>=3D0.12:devel/json-c
> XRUN_DEPENDS=3D	libtool>=3D2.2:devel/libtool \
> X		protobuf-c>=3D1.2.1:devel/protobuf-c \
> X		gnutls>=3D2.8.0:security/gnutls \
> X		json-c>=3D0.12:devel/json-c

Convert to LIB_DEPENDS, at least RUN_DEPENDS.

USES=3Dlibtool already covers BUILD_DEPENDS=3Dlibtool. Why do you need libt=
ool at
runtime as well?

> XGH_PROJECT=3D	riemann-c-client

GH_PROJECT is by default the same as PORTNAME.

> XGH_TAGNAME=3D	riemann-c-client-${PORTVERSION}

Convert to DISTVERSIONPREFIX.

> XUSES=3D	gmake autoreconf libtool
> XGNU_CONFIGURE=3D	yes
> XUSE_AUTOTOOLS=3D  autoheader:env

Mixing USES=3Dautoreconf with USE_AUTOTOOLS is not supported. Pick either o=
ne but
note USE_AUTOTOOLS is deprecated.

  $ echo DEVELOPER=3D1 >>/etc/make.conf
  $ make
  /!\ riemann-c-client-1.9.0: Makefile warnings, please consider fixing /!\

  USE_AUTOTOOLS is deprecated, please use USES=3Dautoreconf and GNU_CONFIGU=
RE=3Dyes
  [...]

> XCPPFLAGS+=3D	-I${LOCALBASE}/include

Convert to USES=3Dlocalbase.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210545-13-4WxSbfwfFs>