bugGNU Mailutils - Bugs: bug #54778, configure doesn't find dbm_dirfno...

 
 

bug #54778: configure doesn't find dbm_dirfno dbm_pagfno when they are macros

Submitter:  None
Submitted:  Wed 03 Oct 2018 11:35:42 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 21 Dec 2018 12:37:48 AM UTC, comment #6: 

You should at least fail at configure time instead of compile time for this one.  I can work around it, but requiring those to be functions is not portable.

Anonymous
Fri 19 Oct 2018 07:36:16 AM UTC, comment #5: 

You can try the attached patch. It is not general enough, but it should fix this particular issue. If you can think of a general solution - patches are quite welcome.

(file #45245)

Sergey Poznyakoff <gray>
Group administrator
Fri 19 Oct 2018 12:35:22 AM UTC, comment #4: 

You should at least fail at configure time instead of compile time for this one.  I can work around it, but requiring those to be functions is not portable.

Anonymous
Tue 09 Oct 2018 07:56:32 AM UTC, comment #3: 

Perhaps. Unfortunately, I have no Solaris machine to verify. If you are willing to provide a patch (that takes into account a possibility of
any of the two macros always returning -1), you are quite welcome.

Sergey Poznyakoff <gray>
Group administrator
Mon 08 Oct 2018 10:46:03 PM UTC, comment #2: 

Incorrect, that is not so on Solaris.

Anonymous
Sat 06 Oct 2018 09:34:47 AM UTC, comment #1: 

This is intentional: in most implementations these macros just return -1, and therefore are completely useless. Is it not so on your OS?

Sergey Poznyakoff <gray>
Group administrator
Wed 03 Oct 2018 11:35:42 PM UTC, original submission:  

The build fails with:

ndbm.c:63:4: error: #error "neither dbm_pagfno nor dbm_dirfno available"
 #  error "neither dbm_pagfno nor dbm_dirfno available"
    ^
ndbm.c:72:4: error: #error "neither dbm_pagfno nor dbm_dirfno available"
 #  error "neither dbm_pagfno nor dbm_dirfno available"

Solaris 10

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #45245:  ndbm.diff added by gray (823B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gray (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-10 gray Open/ClosedOpen Closed
    2018-10-19 gray Attached File- Added ndbm.diff, #45245
    2018-10-06 gray StatusNone Wont Fix

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code