Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 22:55:25 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        Jason Garrett <kingedgar@gmail.com>, amatus@gnu.org, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: lang/guile fails to build on amd64 / 9-CURRENT
Message-ID:  <790a9fff1003172055s6bc427a1j4a31e378ee6f2b39@mail.gmail.com>
In-Reply-To: <6201873e1003172045q4ba1d556la40afb9fb80b8755@mail.gmail.com>
References:  <970380131003171146g73c81069t4fff06a349c2acc3@mail.gmail.com> <970380131003171835i19383b57nc52886cc6e64ce25@mail.gmail.com> <9DAB6E99-9E7F-4444-BC25-5BF219A90E88@mac.com> <970380131003171900n1dfcab48o4f9d65ff761cf513@mail.gmail.com> <5EB1BD7C-F1AC-4FA7-B918-C7A661776CFD@mac.com> <970380131003171926y8ad3288x42a86507ea967873@mail.gmail.com> <970380131003171930t725c381av4ae8e508e2ec18e2@mail.gmail.com> <970380131003171935p64ecd09atde87db155692e7cd@mail.gmail.com> <970380131003172038g7f8697efsc79f1e279b226e8@mail.gmail.com> <6201873e1003172045q4ba1d556la40afb9fb80b8755@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 17, 2010 at 10:45 PM, Adam Vande More <amvandemore@gmail.com> w=
rote:
> On Wed, Mar 17, 2010 at 10:38 PM, Jason Garrett <kingedgar@gmail.com> wro=
te:
>
>> CC'ing port maintainer
>>
>> Here is the commit for timeb.h being deprecated and adding the #warning
>>
>> http://www.mail-archive.com/svn-src-all@freebsd.org/msg20965.html
>>
>> Solutions are to either use a replacement for timeb.h (unknown by me
>> at this point), quit using timeb.h (not sure how guile depends on
>> this), or omit the -Werror from
>> /usr/ports/lang/guile/work/guile-1.8.6/Makefile and
>> /usr/ports/lang/guile-1.8.6/libguile/Makefile.
>>
>> Maintainer, please direct on how to proceed. As it sits without
>> modification the port is broken, even with -Wno-error set in
>> /etc/make.conf.
>>
>
> I'm not sure about that. =A0The no-error stuff I believe is a CURRENT thi=
ng,
> at least when running betas and stuff you'll run into the warnings as err=
ors
> thing. =A0The port builds fine on other branches and I suspect would cont=
inue
> to build on CURRENT if you got rid of whatever controlling the compile
> setting. =A0Nevertheless, it seems the port should be fixed to use sys/ti=
me.h
> and gettimeofday(2) instead. =A0Just the way it looks to me, I'm no exper=
t
> here.
>
The port only uses sys/timeb.h in libguile/stime.c, and only to
include the header when HAVE_SYS_TIMEB_H is defined, removing
sys/timeb.h from the header include check in configure.in allows the
port to build on a recent CURRENT.

Scot



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