bugGluster - Bugs: bug #25170, FreeBSD does not compile with...

 
 

bug #25170: FreeBSD does not compile with tv_nsec

Submitted by:  swankier <swankier>
Submitted on:  Wed 24 Dec 2008 08:40:04 PM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: harshavardhana <harshavardhana>Originator Name: swankier
Open/Closed: ClosedRelease: 
Operating System: *BSDReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Tue 03 Feb 2009 12:05:19 AM UTC, comment #6:

this was a valid bug, and harsha has fixed this.

Amar Tumballi <amarts>
Project Member
Mon 05 Jan 2009 08:38:22 AM UTC, comment #5:

contained in config.log is:

HAVE_TV_NSEC=''

meaning, there is no error. It's silently ignored.

swankier <swankier>
Mon 05 Jan 2009 07:02:20 AM UTC, comment #4:

Hi Swankier,
Sorry if my reply looked wrong, I never meant you were lying. Actually, I don't have access to a FreeBSD machine right now, so couldn't go through the exact problem myself. Hence I asked for the output of configure & make.

Regards,
Amar

Amar Tumballi <amarts>
Project Member
Mon 05 Jan 2009 06:50:39 AM UTC, comment #3:

see the following bug for an example FreeBSD crash:

https://savannah.nongnu.org/bugs/index.php?25208

swankier <swankier>
Mon 05 Jan 2009 06:42:32 AM UTC, comment #2:

when gluster crashes on FreeBSD, it doesn't include the nt_nsec in the output.

The ./configure code does not properly handle FreeBSD.

Could you try a compile on FreeBSD for yourself, or perhaps request the specific information you need?

It's not there. Scout's honour, I wouldn't lie about it.

swankier <swankier>
Fri 02 Jan 2009 01:51:25 AM UTC, comment #1:

We already have check for tv_nsec, and have corresponding reference to tv_nsec of stat structure inside #ifdef HAVE_TV_NSEC code, (which is set by ./configure).

So, if you give the build failure logs, it will help to pin point such places, and fix the errors sooner.

Thanks for report.

Regards,
Amar

Amar Tumballi <amarts>
Project Member
Wed 24 Dec 2008 08:40:04 PM UTC, original submission:

please see http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=m4/stat-time.m4

for examples of cross platform checks for stat-related time functions.

swankier <swankier>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amarts (Posted a comment)
  • -unavailable- added by swankier (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 logged-in users can vote.

     

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

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 03 Feb 2009 12:05:19 AM UTCamartsStatusNeed Info=>Fixed
      Assigned toamarts=>harshavardhana
      Open/ClosedOpen=>Closed
    Fri 02 Jan 2009 01:51:25 AM UTCamartsStatusNone=>Need Info
      Assigned toNone=>amarts
      Originator Name=>swankier

    Back to the top


    Powered by Savane 3.1-cleanup1