Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917524 - app-text/liblangtag-0.6.4 fails to build with dev-libs/libxml2-2.12.0
Summary: app-text/liblangtag-0.6.4 fails to build with dev-libs/libxml2-2.12.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL: https://bitbucket.org/tagoh/liblangta...
Whiteboard:
Keywords: UPSTREAM
: 917533 (view as bug list)
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2023-11-17 20:46 UTC by Kostadin Shishmanov
Modified: 2023-11-24 19:28 UTC (History)
1 user (show)

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


Attachments
build log (liblangtag.log,63.66 KB, text/x-log)
2023-11-17 20:46 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2023-11-17 20:46:38 UTC
Created attachment 875010 [details]
build log

lt-tag.c:103:65: error: 'free' undeclared (first use in this function)
  103 |                 lt_mem_add_ref(&retval->parent, retval->string, free);
      |                                                                 ^~~~
lt-tag.c:103:65: note: 'free' is defined in header '<stdlib.h>'; did you forget to '#include <stdlib.h>'?
lt-tag.c:103:65: note: each undeclared identifier is reported only once for each function it appears in
Comment 1 Andreas Sturmlechner gentoo-dev 2023-11-21 20:55:24 UTC
 One can add this missing header in two .c files, but that ends up with:
 
> * QA Notice: Package triggers severe warnings which indicate that it
> *            may exhibit random runtime failures.
> * lt-grandfathered-db.c:155:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-grandfathered-db.c:200:18: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
> * lt-grandfathered-db.c:205:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-grandfathered-db.c:311:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-extlang-db.c:187:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-extlang-db.c:236:18: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
> * lt-extlang-db.c:241:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-extlang-db.c:347:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-lang-db.c:190:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-lang-db.c:241:18: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
> * lt-lang-db.c:246:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-lang-db.c:351:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:90:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:600:45: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:725:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:789:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:1213:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:1230:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:1296:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:1507:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:1536:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:2032:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:2042:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:2321:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-tag.c:2426:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-xml.c:415:41: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-xml.c:418:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-ext-ldml-u.c:163:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-ext-ldml-t.c:138:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-ext-ldml-u.c:404:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * lt-ext-ldml-t.c:395:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
> * reg2xml.c:177:57: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
> * reg2xml.c:186:41: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
Comment 2 Andreas Sturmlechner gentoo-dev 2023-11-24 19:27:03 UTC
*** Bug 917533 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2023-11-24 19:28:33 UTC
The bug has been closed via the following commit(s):

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

commit 189edc361ad0b191cec80d111ccab58ad33ee990
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-11-24 19:27:40 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-11-24 19:28:11 +0000

    app-text/liblangtag: add 0.6.5
    
    Closes: https://bugs.gentoo.org/917524
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-text/liblangtag/Manifest                |  1 +
 app-text/liblangtag/liblangtag-0.6.5.ebuild | 55 +++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)