Bug 775 - Version 1.9.0 doesn't build on FreeBSD
Status:
RESOLVED FIXED
Component:
Build-Env
Version:
1.9.0
Hardware:
PC Other
Importance:
P3 major
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Aug 29 2008 19:48:37 UTC
by:
Renato Botelho
Modified:
Nov 7 2008 00:46:22 UTC
CC List:
Renato Botelho
IdWhoWhenSizeType
144Buildlog at FreeBSD
Renato BotelhoAug 29 2008 19:48:37 UTC97165application/octet-stream
WhoWhenWhatRemovedAdded
Renato BotelhoAug 29 2008 20:01:13 UTCccRenato Botelho
Rob CaelersNov 6 2008 21:41:34 UTCstatusNEWRESOLVED
resolutionFIXED
Description
Renato Botelho  Aug 29 2008 19:48:37 UTC
Created attachment 144
Buildlog at FreeBSD

I was preparing to update workrave to 1.9.0 at FreeBSD ports collection, but it doesn't build here.

Buildlog is attached, I took a look at it and the problem happens here:

std::string
Timer::serialize_state() const
{
  stringstream ss;

  ss << timer_id << " "
     << core->get_time() << " "
     << get_elapsed_time() << " "
     << last_pred_reset_time << " "
     << total_overdue_time << " "
     << snooze_inhibited << " "
     << last_limit_time << " "
     << last_limit_elapsed << " "
     << timezone;

  return ss.str();
}

This last var "timezone" seems to come from sys/time.h, here is its declaration:

struct timezone {
        int     tz_minuteswest; /* minutes west of Greenwich */
        int     tz_dsttime;     /* type of dst correction */
};

Isolating "timezone from Timer::serialize_state it builds fine.

Thanks in advance and let me know if you need more data, i can provide everything is necessary.
Comment 1
Rob Caelers  Nov 6 2008 21:41:34 UTC
Mmm, I think I fixed this a couple of weeks ago... 

Thanks.
Comment 2
Renato Botelho  Nov 7 2008 00:46:22 UTC
Do you have plans to release a new version soon?

If not, could you provide me a patch or point me how to generate one (which files you touch, which svn revision, ...)?

I really would like to update FreeBSD ports to 1.9.x