ports/184509: benchmarks/bonnie++ incorrectly requires lang/gcc

Jeremy Chadwick jdc at koitsu.org
Thu Dec 5 08:10:01 UTC 2013


>Number:         184509
>Category:       ports
>Synopsis:       benchmarks/bonnie++ incorrectly requires lang/gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 05 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD icarus.home.lan 9.2-STABLE FreeBSD 9.2-STABLE #0 r258959: Wed Dec 4 22:38:16 PST 2013 root at icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64
>Description:
	PR 183432 has introduced a completely unnecessary dependency
	on gcc 4.6.4 (more specifically, building of ports/lang/gcc):

root at icarus:/usr/ports/benchmarks/bonnie++ # make all-depends-list
/usr/ports/lang/gcc
/usr/ports/devel/binutils
/usr/ports/devel/gmake
/usr/ports/lang/gcc-ecj45
/usr/ports/archivers/zip
/usr/ports/lang/perl5.16
/usr/ports/math/gmp
/usr/ports/math/mpfr
/usr/ports/math/mpc
/usr/ports/converters/libiconv
/usr/ports/devel/bison
/usr/ports/devel/libtool
/usr/ports/devel/m4

	bonnie++ builds just fine using the base system gcc on RELENG_9
	(gcc 4.2.1).  I do not use clang anywhere on my system (I use
	WITHOUT_CLANG=true in /etc/src.conf).

	The cause of this dependency is the introduction of USE_GCC=yes
	into the Makefile.  What you probably should be using is:

	USE_GCC=any

	...which I can verify solves the issue I describe above.

	But please check with folks who use clang first.  I've CC'd the
	author of PR 183432 so he can check to see if USE_GCC=any still
	works for him on his clang-based system.

	If it doesn't, then bapt@ needs to be involved in this discussion
	and explain to ports maintainers how to properly use USE_GCC or
	how to make this port work with both base system gcc as well as
	clang.
>How-To-Repeat:
	See above.
>Fix:
	See above.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list