ports/145891: distcc-3.1 build fails on i386
Carsten Bäcker
carbaecker at gmx.de
Tue Apr 20 18:50:02 UTC 2010
>Number: 145891
>Category: ports
>Synopsis: distcc-3.1 build fails on i386
>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: Tue Apr 20 18:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Carsten Bäcker
>Release: RELENG_8
>Organization:
>Environment:
FreeBSD CB-FreeBSD-Mobile 8.0-STABLE FreeBSD 8.0-STABLE #3: Wed Feb 10 09:37:26 UTC 2010 root at CB-FreeBSD-Mobile:/usr/obj/usr/src/sys/CB-M60 i386
>Description:
Bunch of printf()-operation fails due to type-mismatch since time_t and long int differ on i386.
src/compile.c
src/exec.c
src/lsdistcc.c
>How-To-Repeat:
build distcc-3.1 on i386
>Fix:
Option #1: add --disable-Werror to CONFIGURE_ARGS
Option #2: patch affected files src/compile.c src/exec.c src/lsdistcc.c
There are already some (long) casts. Adding some more at certain positions would fix the problem, but it's far from beautiful.
Changing %ld to %d may break compilation on amd64. (not tested)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list