Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637700 - app-admin/rsyslog-8.30.0::gentoo fails to compile with USE=debug
Summary: app-admin/rsyslog-8.30.0::gentoo fails to compile with USE=debug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Deutschmann (RETIRED)
URL: https://github.com/rsyslog/rsyslog/is...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-16 19:34 UTC by Austin English (RETIRED)
Modified: 2018-02-09 14:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (rsyslog.txt,62.34 KB, text/plain)
2017-11-16 19:34 UTC, Austin English (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austin English (RETIRED) gentoo-dev 2017-11-16 19:34:49 UTC
Created attachment 504526 [details]
build log

Lots of:

In file included from rsyslog.h:634:0,
                 from rsyslog.c:66:
debug.h:134:44: error: 'pdbgFuncDB' undeclared here (not in a function)
  int dbgCALLStaCK_POP_POINT = dbgEntrFunc(&pdbgFuncDB, __FILE__, __func__, __LINE__);
                                            ^
debug.h:134:66: warning: '__func__' is not defined outside of function scope
  int dbgCALLStaCK_POP_POINT = dbgEntrFunc(&pdbgFuncDB, __FILE__, __func__, __LINE__);
                                                                  ^
debug.h:146:66: error: expected declaration specifiers or '...' before string constant
  dbgprintf("%s:%d: %s: log point\n", __FILE__, __LINE__, __func__);
                                                                  ^
debug.h:146:12: error: expected declaration specifiers or '...' before string constant
  dbgprintf("%s:%d: %s: log point\n", __FILE__, __LINE__, __func__);
            ^
debug.h:129:46: note: in definition of macro 'dbgprintf'
 #define dbgprintf(...) r_dbgprintf(__FILE__, __VA_ARGS__)
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2017-11-16 19:44:36 UTC
Confirmed, thanks for the report.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-09 14:31:24 UTC
This was fixed in >=app-admin/rsyslog-8.32.0. Thanks for the report!