bugGNU Octave - Bugs: bug #39725, OpenBSD build failure with gnulib...

 
 

bug #39725: OpenBSD build failure with gnulib sys/time.h

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu 08 Aug 2013 03:41:34 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: Mike Miller <mtmiller>
Originator Name: Open/Closed: Closed
Release: devOperating System: BSD

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 19 Aug 2013 12:19:25 PM UTC, comment #4:

Ok, thanks for the tip. Done and pushed:

http://hg.savannah.gnu.org/hgweb/octave/rev/eb8bf49780fb

Building a dist tarball to test on OpenBSD VM again, this should now build cleanly.

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Tue 13 Aug 2013 01:25:32 PM UTC, comment #3:

> If someone can update the gnulib-hg mirror for Octave (I don't think I can),


Yes you can. Just pull from here:

http://hg.octave.org/gnulib

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Tue 13 Aug 2013 12:42:10 PM UTC, comment #2:

This bug has been fixed upstream with this change:

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=dc6d2b5b3652b68d4c62a3875c6960a473b4eaea

I got a successful build of Octave on OpenBSD (and Debian) using gnulib at the following commit, which is a few changes later and the current HEAD revision:

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3f5bf99e1290a6b46133385cc7c7515f96f4098b

If someone can update the gnulib-hg mirror for Octave (I don't think I can), we can update our pointer to use gnulib at the first commit listed above or newer.

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Fri 09 Aug 2013 03:12:20 PM UTC, comment #1:

Sent upstream on this discussion thread:

https://lists.gnu.org/archive/html/bug-gnulib/2013-08/msg00016.html

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Thu 08 Aug 2013 03:41:34 AM UTC, original submission:

Two files fail to compile on OpenBSD 5.3 due to errors from the gnulib sys/time.h include file. This is almost certainly an upstream gnulib bug and I will report it there when I have a minimal example, but reporting here to track it for Octave as well.

liboctave/system/oct-time.cc:

libinterp/corefcn/getrusage.cc:

The attached patch is a hack that gets around both of these compilation failures and the rest of Octave compiles successfully.

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by mtmiller (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Aug 2013 12:19:25 PM UTCmtmillerStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Fri 09 Aug 2013 03:12:20 PM UTCmtmillerStatusNone=>In Progress
      Assigned toNone=>mtmiller
    Thu 08 Aug 2013 03:41:34 AM UTCmtmillerAttached File-=>Added octave-openbsd-sys-time.patch, #28791

    Back to the top


    Powered by Savane 3.1-cleanup1