Bug 210835 - [ports][net/quagga] version 1.0.20160315 build problems
Summary: [ports][net/quagga] version 1.0.20160315 build problems
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-05 06:41 UTC by dgilbert
Modified: 2016-07-19 14:17 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mat)


Attachments
full text of "make >& log" for quagga. (51.86 KB, text/plain)
2016-07-05 06:41 UTC, dgilbert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description dgilbert 2016-07-05 06:41:38 UTC
Created attachment 172126 [details]
full text of "make >& log" for quagga.

On FreeBSD-10.x (tested x=2, x=3) Quagga is failing to build.  The full log of the build is attached.

... but generally the log ends with a bunch of lines like the "Duplicate" line below repeated and then it would seem some test failing (89 instead of 92)

Duplicate CLI Function: no_match_ip_address_prefix_list_val_cmd
        From cli: "no match ip address prefix-list WORD" to New cli: "no match ip address prefix-list WORD"
        Original Protocol: VTYSH_RIPD to New Protocol: VTYSH_ZEBRA
Expected 89 command line stomps, but got 92 instead
Makefile:766: recipe for target 'vtysh_cmd.c' failed
gmake[4]: *** [vtysh_cmd.c] Error 92
gmake[4]: Leaving directory '/usr/ports/net/quagga/work/quagga-1.0.20160315/vtysh'
Makefile:461: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/net/quagga/work/quagga-1.0.20160315'
Makefile:393: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/net/quagga/work/quagga-1.0.20160315'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/quagga
*** Error code 1

Stop.
make: stopped in /usr/ports/net/quagga
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2016-07-05 09:20:11 UTC
It seems you have outdated software installed, for example, Perl 5.16 was removed from the ports tree six months ago, and the error you have seems to be related to net-snmp, but I can't reproduce it myself on an up-to-date 10.3 system.
Comment 2 Mihail R 2016-07-15 23:21:21 UTC
Confirmed. I've got same error if "OSPF_NEXTHOP" option is enabled.


Also "OSPF_OPAQUE_LSA" option seems to be obsolete now.
http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=36fef5708d074a3ef41f34d324c309c45bae119b
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-07-19 14:17:24 UTC
A commit references this bug:

Author: mat
Date: Tue Jul 19 14:16:24 UTC 2016
New revision: 418795
URL: https://svnweb.freebsd.org/changeset/ports/418795

Log:
  Fix the OSPF_NEXTHOP patch.

  PR:		210835
  Reported by:	dgilbert eicat ca, miha rylov rambler ru
  Sponsored by:	Absolight

Changes:
  head/net/quagga/files/extra-patch-ospf-nexthop