bugGNU dbm - Bugs: bug #401, --enable-debug is broken

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #401: --enable-debug is broken

Submitted by:  Dmitry Zaitsev <hhrhhr>
Submitted on:  Fri 03 Aug 2018 07:14:10 AM EEST  
 
Category: NonePriority: 5 - Normal
Severity: 8 - BlockerStatus: Fixed
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: Closed

Fri 03 Aug 2018 11:51:36 AM EEST, comment #1:

Fixed (6311c6b4d7ebe989447151a3e0f8b8ae0b5997d3). Thank you.

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Fri 03 Aug 2018 07:14:10 AM EEST, original submission:

1) error in configure.ac:

--- gdbm-1.17-git/configure.ac 2018-07-30 23:43:13.000000000 +0300
+++ gdbm-1.17-fix/configure.ac 2018-08-02 13:54:21.109037600 +0300
@@ -166,7 +166,7 @@
AC_ARG_ENABLE([debug],
AC_HELP_STRING([--enable-debug],
[provide additional debugging information]),
- [status_debug=$withval],
+ [status_debug=$enableval],
[status_debug=no])

2) after "autoreconf -fi && configure --enable-debug && make" (used shadow build):

...
CC gdbmopen.lo
In file included from ../../../src/gdbm-1.17-fix/src/gdbmopen.c:23:0:
../../../src/gdbm-1.17-fix/src/gdbmopen.c: In function ‘gdbm_avail_table_valid_p’:
../../../src/gdbm-1.17-fix/src/gdbmdefs.h:302:27: error: expected expression before ‘)’ token
_func_, _VA_ARGS_)); \
^
../../../src/gdbm-1.17-fix/src/gdbmdefs.h:264:7: note: in definition of macro ‘SAVE_ERRNO’
code; \
^~~~
../../../src/gdbm-1.17-fix/src/gdbmopen.c:102:7: note: in expansion of macro ‘GDBM_DEBUG’
GDBM_DEBUG (GDBM_DEBUG_ERR, "restoring sort order");
^~~~~~~~~~

Dmitry Zaitsev <hhrhhr>

 

Attached Files
file #297:  config.log added by hhrhhr (46kB - application/octet-stream)
file #298:  make_with_debug.log added by hhrhhr (2kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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):

     

     

    6 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Aug 2018 03:26:57 PM EESTgrayOpen/ClosedOpen=>Closed
    Fri 03 Aug 2018 11:51:36 AM EESTgrayStatusNone=>Fixed
      Assigned toNone=>gray
    Fri 03 Aug 2018 07:14:10 AM EESThhrhhrAttached File-=>Added config.log, #297
      Attached File-=>Added make_with_debug.log, #298
      Carbon-Copy-=>Added hhrhhr
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray