Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 18:13:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230673] java/jikes: fix build on FreeBSD 11.2
Message-ID:  <bug-230673-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 230673
           Summary: java/jikes: fix build on FreeBSD 11.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: lantw44@gmail.com

Created attachment 196256
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196256&action=
=3Dedit
Fix jikes on FreeBSD 11.2 with USES=3Dautoreconf

jikes currently fails to build on FreeBSD 11.2 during the configure step:

checking whether the compiler implements namespaces... yes
checking whether the compiler supports ISO C++ standard library... no
checking whether the compiler recognizes bool as a built-in type... yes
checking for VC++ style set_new_handler... no
checking for standard set_new_handler... no
configure: error: Could not find standard set_new_handler function
=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to ports@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/java/jikes/work/jikes-1.22/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

After reading config.log, It looks like that the pre-generated configure sc=
ript
is too old to work with the current version of the compiler, so the easiest=
 fix
is to add USES=3Dautoreconf to generate the configure script with newer aut=
oconf.

I think this should also fix build on FreeBSD 12, but I currently don't hav=
e a
FreeBSD 12 system to test so I don't remove the BROKEN_FreeBSD_12 line.

--=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-230673-7788>