Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 08:20:07 GMT
From:      Norihiko Murase <mur1080224@inter7.jp>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/170417: Update port: sysutils/grub2 to 2.00
Message-ID:  <201208070820.q778K7s4018104@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/170417; it has been noted by GNATS.

From: Norihiko Murase <mur1080224@inter7.jp>
To: bug-followup@FreeBSD.org, rick@sloservers.com, mur1080224@inter7.jp
Cc:  
Subject: Re: ports/170417: Update port: sysutils/grub2 to 2.00
Date: 7 Aug 2012 17:16:41 +0900

 > Have you tried building this under FBSD versions less than 9?
 
 No. It is only 9.0-RELEASE-p3 that I tried building under.
 I do NOT have the FreeBSD 8.x box, so it is impossible for me
 to test under 8.x-RELEASE.
 
 
 > I
 > encountered numerous build errors that this patch does not appear to
 > address including: ports flex dependency, newer as dependency from
 > updated binutils, patch to remove treating certain erroneous warnings as
 > errors / build failures under FBSD base GCC.
 
 Hmm..., yes, they are not addressed in the patch I submitted
 on Aug 06 2012.
 
 The version of flex that GRUB2 requires is 2.5.35 or later, 
 which is available via the ports "textproc/flex"; however, 
 I have no idea about how to write it in the ports skeleton.
 
 The build w/ gcc on the base system (/usr/bin/gcc) can be 
 finished by the following modification.
   1. DELETE the '-Wempty-body' option from the gcc options
        - You should delete '-Wempty-body' from 
          grub-2.00/configure (line 20053) (WARN_FLAGS)
   2. Add the '--disable-werror' option to the configure script
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208070820.q778K7s4018104>