Bug 204723 - build error on net-mgmt/icinga2 in FreeBSD-9.3 amd64/i386
Summary: build error on net-mgmt/icinga2 in FreeBSD-9.3 amd64/i386
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Lars Engels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-21 21:39 UTC by CTS - FreeBSD Team
Modified: 2015-11-24 21:15 UTC (History)
1 user (show)

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


Attachments
poudriere build log from amd64 jail (i386 shows the same error) (23.51 KB, text/plain)
2015-11-21 21:39 UTC, CTS - FreeBSD Team
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description CTS - FreeBSD Team 2015-11-21 21:39:32 UTC
Created attachment 163392 [details]
poudriere build log from amd64 jail (i386 shows the same error)

I get a build error on my poudriere build server running and building for FreeBSD-9.3 amd64 and i386

Excerpt of the log (full log attached)

=======================<phase: build          >============================
===>  Building for icinga2-2.4.0_2
/usr/local/bin/cmake -H/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0 -B/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/cmake -E cmake_progress_start /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0/CMakeFiles /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0/CMakeFiles/progress.marks
/usr/bin/make -f CMakeFiles/Makefile2 all
/usr/bin/make -f third-party/mmatch/CMakeFiles/mmatch.dir/build.make third-party/mmatch/CMakeFiles/mmatch.dir/depend
cd /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0 && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0 /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0/third-party/mmatch /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0 /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0/third-party/mmatch /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0/third-party/mmatch/CMakeFiles/mmatch.dir/DependInfo.cmake
Scanning dependencies of target mmatch
/usr/bin/make -f third-party/mmatch/CMakeFiles/mmatch.dir/build.make third-party/mmatch/CMakeFiles/mmatch.dir/build
[  0%] Building C object third-party/mmatch/CMakeFiles/mmatch.dir/mmatch.c.o
cd /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0/third-party/mmatch && /usr/bin/cc  -DI2_MMATCH_BUILD -Doverride="" -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -g -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -fPIC -I/usr/local/include -I/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0 -I/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0/lib -o CMakeFiles/mmatch.dir/mmatch.c.o   -c /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0/third-party/mmatch/mmatch.c
[  1%] Linking C shared library ../../Bin/Release/libmmatch.so
cd /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0/third-party/mmatch && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/mmatch.dir/link.txt --verbose=1
/usr/bin/cc  -fPIC -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -g -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing  -L/usr/local/lib -L/usr/local/lib -Wl,--gc-sections -Wl,--no-export-dynamic -Bsymbolic-functions -Wl,--dynamic-list-cpp-typeinfo -Wl,--dynamic-list-data -shared -Wl,-soname,libmmatch.so -o ../../Bin/Release/libmmatch.so CMakeFiles/mmatch.dir/mmatch.c.o  -L/usr/local/lib -Wl,-rpath,::::::::::::::
/usr/bin/ld: unrecognized option '--no-export-dynamic'
/usr/bin/ld: use the --help option for usage information
*** [Bin/Release/libmmatch.so] Error code 1

Stop in /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0.
*** [third-party/mmatch/CMakeFiles/mmatch.dir/all] Error code 1

Stop in /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0.
*** [all] Error code 1

Stop in /wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.4.0.
*** [do-build] Error code 1

Stop in /usr/ports/net-mgmt/icinga2.
====>> Cleaning up wrkdir
===>  Cleaning for icinga2-2.4.0_2
Comment 1 Lars Engels freebsd_committer freebsd_triage 2015-11-24 21:14:50 UTC
Fixed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-11-24 21:15:24 UTC
A commit references this bug:

Author: lme
Date: Tue Nov 24 21:14:38 UTC 2015
New revision: 402376
URL: https://svnweb.freebsd.org/changeset/ports/402376

Log:
  Fix build on 9.x

  PR:		204723
  Submitted by:	Markus Mann <freebsd-public@it64.de>

Changes:
  head/net-mgmt/icinga2/Makefile