Bug 243599 - net/frr7: packaging failure in poudriere when built with LDPD
Summary: net/frr7: packaging failure in poudriere when built with LDPD
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Olivier Cochard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-26 05:09 UTC by O. Hartmann
Modified: 2020-01-31 16:07 UTC (History)
2 users (show)

See Also:
w.schwarzenfeld: maintainer-feedback? (olivier)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2020-01-26 05:09:48 UTC
Port net/frr7 fails to package if options is to build with LDPD enabled on, see below.

Host is running most recent CURRENT, jails are 12-STABLE and CURRENT.


[...]
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
===========================================================================
=======================<phase: package        >============================
===>  Building package for frr7-7.2.1
pkg-static: Unable to access file /wrkdirs/usr/ports/net/frr7/work/stage/usr/local/man/man8/ldpd.8.gz:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/net/frr7
[...]


Environment:


[...]
=>> Building net/frr7
build started at Sat Jan 25 17:01:32 UTC 2020
port directory: /usr/ports/net/frr7
package name: frr7-7.2.1
building for: FreeBSD grossd.de 12.1-STABLE FreeBSD 12.1-STABLE 1201510 amd64
maintained by: olivier@FreeBSD.org
Makefile ident:      $FreeBSD: head/net/frr7/Makefile 523418 2020-01-18 13:30:09Z olivier $
Poudriere version: 3.3.3
Host OSVERSION: 1300076
Jail OSVERSION: 1201510
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1201510
UNAME_v=FreeBSD 12.1-STABLE 1201510
UNAME_r=12.1-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.3
MAKEOBJDIRPREFIX=/pool/sources/12-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/12-amd64-head-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=12-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for frr7-7.2.1:
     CONFIGROLLBACKS=off: Enable configuration rollback support
     DATACENTER=off: Use reduced BGP timers
     FPM=on: Enable Forwarding Plane Manager support
     LDPD=on: Build ldpd
     MANPAGES=on: Build and/or install manual pages
     MULTIPATH=off: Enable multipath function
     PAM=on: Use libpam for PAM support in vtysh
     RPKI=on: Add BGP RPKI (RFC 6810) support
     SHELLACCESS=off: Allow users to access shell/telnet/ssh
     SNMP=on: SNMP support
     TCMALLOC=off: Use tcmalloc
     TCPSOCKETS=on: Use TCP/IP sockets for protocol daemons
     VTYSH=on: Build integrated vty shell
===> Use 'make config' to modify these settings
---End OPTIONS List---
Comment 1 Olivier Cochard freebsd_committer 2020-01-27 18:13:52 UTC
Thanks for the report: I will fix that.

But what's your use case with LDPD ? (because there is no LDPD kernel support on FreeBSD)
Comment 2 O. Hartmann 2020-01-28 13:40:07 UTC
(In reply to Olivier Cochard from comment #1)

Hello,
thanks for picking up the PR.
There is no real usecase, we are fiddling around with some routing software and enabled optionally LDPD - not being aware that it isn't supported on FreeBSD. I'll disable that option in future poudriere builds.

Regards,

O. Hartmann
Comment 3 commit-hook freebsd_committer 2020-01-31 16:06:31 UTC
A commit references this bug:

Author: olivier
Date: Fri Jan 31 16:06:03 UTC 2020
New revision: 524722
URL: https://svnweb.freebsd.org/changeset/ports/524722

Log:
  Fixing pkg-plist when option LDPD is set

  PR:		243599
  Reported by:	O. Hartmann <ohartmann@walstatt.org>

Changes:
  head/net/frr7/pkg-plist
Comment 4 Olivier Cochard freebsd_committer 2020-01-31 16:07:29 UTC
Thanks for the report.