Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914453 - app-misc/jdupes-1.26.1: error: ‘LIBJODYCODE_API_FEATURE_LEVEL’ undeclared here
Summary: app-misc/jdupes-1.26.1: error: ‘LIBJODYCODE_API_FEATURE_LEVEL’ undeclared here
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jakov Petrina
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-20 06:02 UTC by Massimo Burcheri
Modified: 2024-05-06 13:54 UTC (History)
2 users (show)

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


Attachments
app-misc:jdupes-1.26.1:20230920-055905.log (app-misc:jdupes-1.26.1:20230920-055905.log,11.44 KB, text/x-log)
2023-09-20 06:05 UTC, Massimo Burcheri
Details
emerge.info (emerge.info,13.40 KB, text/plain)
2023-09-20 06:07 UTC, Massimo Burcheri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2023-09-20 06:02:52 UTC
app-misc/jdupes-1.26.1 fails to emerge:



Reproducible: Always

Actual Results:  
x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall -Wwrite-strings -Wcast-align -Wstrict-aliasing -Wstrict-prototypes -Wpointer-arith -Wundef -Wshadow -Wfloat-equal -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wconversion -Wunreachable-code -Wformat=2 -std=gnu11 -D_FILE_OFFSET_BITS=64 -fstrict-aliasing -pipe -DNO_ATIME -Wextra -Wstrict-overflow=5 -Winit-self -DNDEBUG -Wl,-z,stack-size=16777216 -DENABLE_DEDUPE    -c -o loaddir.o loaddir.c
libjodycode_check.c:23:39: error: ‘LIBJODYCODE_API_FEATURE_LEVEL’ undeclared here (not in a function)
   23 | const int jc_build_api_featurelevel = LIBJODYCODE_API_FEATURE_LEVEL;
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libjodycode_check.c:74:23: error: ‘LIBJODYCODE_ERROR_VER’ undeclared here (not in a function); did you mean ‘LIBJODYCODE_SORT_VER’?
   74 |  #define MY_ERROR_REQ LIBJODYCODE_ERROR_VER
      |                       ^~~~~~~~~~~~~~~~~~~~~
libjodycode_check.c:93:9: note: in expansion of macro ‘MY_ERROR_REQ’
   93 |         MY_ERROR_REQ,
      |         ^~~~~~~~~~~~
libjodycode_check.c:78:23: error: ‘LIBJODYCODE_ALARM_VER’ undeclared here (not in a function); did you mean ‘LIBJODYCODE_SORT_VER’?
   78 |  #define MY_ALARM_REQ LIBJODYCODE_ALARM_VER
      |                       ^~~~~~~~~~~~~~~~~~~~~
libjodycode_check.c:94:9: note: in expansion of macro ‘MY_ALARM_REQ’
   94 |         MY_ALARM_REQ,
      |         ^~~~~~~~~~~~
libjodycode_check.c: In function ‘libjodycode_version_check’:
libjodycode_check.c:136:61: error: ‘jc_api_featurelevel’ undeclared (first use in this function); did you mean ‘jc_build_featurelevel’?
  136 |                                 jc_version, jc_api_version, jc_api_featurelevel);
      |                                                             ^~~~~~~~~~~~~~~~~~~
      |                                                             jc_build_featurelevel
libjodycode_check.c:136:61: note: each undeclared identifier is reported only once for each function it appears in
make: *** [<builtin>: libjodycode_check.o] Error 1
make: *** Waiting for unfinished jobs....
jdupes.c: In function ‘main’:
jdupes.c:634:5: warning: implicit declaration of function ‘jc_start_alarm’ [-Wimplicit-function-declaration]
  634 |     jc_start_alarm(1, 1);
      |     ^~~~~~~~~~~~~~
jdupes.c:636:5: error: ‘jc_alarm_ring’ undeclared (first use in this function)
  636 |     jc_alarm_ring = 1;
      |     ^~~~~~~~~~~~~
jdupes.c:636:5: note: each undeclared identifier is reported only once for each function it appears in
filehash.c: In function ‘get_filehash’:
filehash.c:128:9: error: ‘jc_alarm_ring’ undeclared (first use in this function)
  128 |     if (jc_alarm_ring != 0) {
      |         ^~~~~~~~~~~~~
filehash.c:128:9: note: each undeclared identifier is reported only once for each function it appears in
jdupes.c:801:39: warning: implicit declaration of function ‘jc_stop_alarm’ [-Wimplicit-function-declaration]
  801 |   if (!ISFLAG(flags, F_HIDEPROGRESS)) jc_stop_alarm();
      |                                       ^~~~~~~~~~~~~
make: *** [<builtin>: filehash.o] Error 1
make: *** [<builtin>: jdupes.o] Error 1
loaddir.c: In function ‘loaddir’:
loaddir.c:182:9: error: ‘jc_alarm_ring’ undeclared (first use in this function)
  182 |     if (jc_alarm_ring != 0) {
      |         ^~~~~~~~~~~~~
loaddir.c:182:9: note: each undeclared identifier is reported only once for each function it appears in
Comment 1 Massimo Burcheri 2023-09-20 06:05:22 UTC
Created attachment 870990 [details]
app-misc:jdupes-1.26.1:20230920-055905.log
Comment 2 Massimo Burcheri 2023-09-20 06:07:11 UTC
Created attachment 870991 [details]
emerge.info
Comment 3 Larry the Git Cow gentoo-dev 2023-10-08 06:44:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d56b1e030d21e6c799d09ee1e1793169fc1319

commit d4d56b1e030d21e6c799d09ee1e1793169fc1319
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-08 06:43:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-08 06:43:55 +0000

    app-misc/jdupes: fix libjodycode minimum version
    
    https://github.com/jbruchon/libjodycode/commit/213990a15fddaa35a11082b318a862fc26b8411c
    seems to have been the first commit to introduce LIBJODYCODE_API_FEATURE_LEVEL.
    
    Closes: https://bugs.gentoo.org/914453
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/jdupes/jdupes-1.26.1.ebuild | 4 +++-
 app-misc/jdupes/jdupes-9999.ebuild   | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-05-06 13:54:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a20a7385d6afac53d97f858cee047ceb1053c5b

commit 6a20a7385d6afac53d97f858cee047ceb1053c5b
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2024-05-04 23:55:18 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2024-05-06 13:50:52 +0000

    dev-db/psqlodbc: add 16.00.0000
    
    Bug: https://bugs.gentoo.org/914453
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 dev-db/psqlodbc/Manifest                   |  1 +
 dev-db/psqlodbc/psqlodbc-16.00.0000.ebuild | 37 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)