Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2013 18:35:39 GMT
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179643: devel/valgrind: looking at the build host when building the package for enabling 64-bit support on AMD64; is a REALLY bad idea
Message-ID:  <201306171835.r5HIZdXf075372@oldred.freebsd.org>
Resent-Message-ID: <201306171840.r5HIe0Ai009572@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179643
>Category:       ports
>Synopsis:       devel/valgrind: looking at the build host when building the package for enabling 64-bit support on AMD64; is a REALLY bad idea
>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:   Mon Jun 17 18:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD gran-tourismo.west.isilon.com 10.0-CURRENT FreeBSD 10.0-CURRENT #8 r+c97ea43: Tue Jun 11 13:11:04 PDT 2013     gcooper@gran-tourismo.west.isilon.com:/usr/obj/usr/src/sys/GRAN-TOURISMO  amd64
>Description:
The devel/valgrind port is wonky when it goes and decides that it needs to build 32-bit vs 64-bit, as it looks for /usr/lib32 on the build host:

. if !exists(/usr/lib32/libc.so)
CONFIGURE_ARGS+=        --enable-only64bit
PLIST_SUB+=     X86="@comment "

This really needs to be turned into a proper option that defaults to on that a user can override and the path that should be checked should be in DESTDIR, not /usr/lib32 .
>How-To-Repeat:

>Fix:


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



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