Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2010 18:44:48 GMT
From:      Carsten Bäcker <carbaecker@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145891: distcc-3.1 build fails on i386
Message-ID:  <201004201844.o3KIimM9099063@www.freebsd.org>
Resent-Message-ID: <201004201850.o3KIo28F060327@freefall.freebsd.org>

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

>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@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:



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