Bug 145891 - distcc-3.1 build fails on i386
Summary: distcc-3.1 build fails on i386
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steven Kreuzer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 19:50 UTC by carbaecker
Modified: 2010-05-04 21:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carbaecker 2010-04-20 19:50:01 UTC
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

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)
How-To-Repeat: build distcc-3.1 on i386
Comment 1 Thomas Abthorpe freebsd_committer freebsd_triage 2010-04-22 05:23:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->skreuzer

Over to maintainer.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-04-27 14:21:12 UTC
skreuzer    2010-04-27 13:20:59 UTC

  FreeBSD ports repository

  Modified files:
    devel/distcc         Makefile 
  Log:
  Unbreak on i386
  
  PR:             ports/145891
  Submitted by:   Carsten Bäcker <carbaecker@gmx.de>
  Reviewed by:    Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
  
  Revision  Changes    Path
  1.63      +1 -1      ports/devel/distcc/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Steven Kreuzer freebsd_committer freebsd_triage 2010-05-04 21:42:48 UTC
State Changed
From-To: open->closed

Committed. Thanks!