Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924861 - dev-tcltk/tclxml-3.3.1-r1 fails to compile: docObj.c:124:60: error: incompatible function pointer types passing void (void , xmlErrorPtr) (aka void (void , struct _xmlError )) to parameter of type xmlStructuredErrorFunc (aka void ()(void , const struct _
Summary: dev-tcltk/tclxml-3.3.1-r1 fails to compile: docObj.c:124:60: error: incompati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TCL/TK Project
URL:
Whiteboard: fixed in 3.3.1-r1
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-02-18 07:32 UTC by Agostino Sarubbo
Modified: 2024-11-01 00:03 UTC (History)
0 users

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


Attachments
build.log (build.log,120.15 KB, text/plain)
2024-02-18 07:32 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-18 07:32:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-tcltk/tclxml-3.3.1-r1 fails to compile.
Discovered on: amd64 (internal ref: clang-lld_tinderbox)
System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-18 07:32:23 UTC
Created attachment 885278 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-18 07:32:25 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


       warning: | a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  215 | TdocObj.cc:l440x:m1l:_ Iwarning: na function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]i
  447 | #    define XML_DEPRECATED __attclxml.ct:r576i:b1u:t ewarning: _a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]_
  679 | TclXMLlibxml2_DocDup(srcPtr,tclxml-libxml2.c :d215s:t1P:t rwarning: )a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  886 | XMLdocObj.c_:GL297O:B1A:L Swarning: _Pa function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]A
  893 | Errortclxml.cC:o2109d:e1T:o Swarning: ta function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]r
 1076 | TclXMLCreateEntityParser(inttclxslt-libxslt.ce:r500p:,1 :tcldom-libxml2.ce :xwarning: 694ta function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]:e
 1340 | TclXSLTExtElementPreComp(sdocObj.ct:y1920l:e1,:  iwarning: na function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]s
 1375 | SchemaValtclxml.ci:d1944a:t1e:  (warning: ia function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]n
 1725 | TclDOMXIncludeCommand (dummy, interpdocObj.c,: 1941o:b1j:c ,warning:  a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]o
 2120 |     if (Tcl_ListObjAppendElement(extinfo->interp, elemObj, Tcl_NewStringObj((CONST char *) atttcldom-libxml2.cr:-2975>:n1a:m ewarning: ,a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 
 2120 |     if (Ttclxml.cc:l3313_:L1i:s twarning: Oa function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]b
 2124 |       if (Tcl_ListObjAppendElement(extinfo->intclxml.ct:e3260r:p1,:  tcldom-libxml2.cewarning: :la function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]3203e
 2124 |       if (Tcl_tcldom-libxml2.cL:i3226s:t1O:b jwarning: Aa function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]p
 2132 |     if (Tcl_ListObjAppendElement(extinfo->interp, elemObj, Tcl_NewStringObj((char *) xsltEvalAttrValueTemplate(ctxt, inst, attr->name, NULL)tclxml.c,: 2893-:11):) )warning:  a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]{
 2132 |     if (Tcl_ListObjAppendElement(extinfo->interp,tcldom-libxml2.c :e3145l:e1m:O bwarning: ja function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype],
 2172 | TclXMLGet (interp, xmlinfo, tclxslt-libxslt.co:b1230j:c1,:  owarning: ba function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]j
 2262 |     ctxt->itcldom-libxml2.cn:s3181e:r1t:  =warning:  a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]o
 2397 | TclXSLT_ConvertTclOtclxml.cb:j3547T:o1X:P awarning: ta function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]h
 2539 |   tclxml.c : 3601c:a1s:e  warning: Xa function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]P
 2706 |         (tclStubsPtr->tcl_ListObjAppendElementclxml.ct:)3457 :/1*:  4warning: 4a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 
 2706 |         tclxml.c(:t2824c:l1S:t uwarning: ba function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]s
 2721 | TclXSLTStcldom-libxml2.ce:c4482u:tclxml.cr1:i:3673t :ywarning: 1Wa function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]:r
 3511 | tclxslt-libxslt.cT:c2283l:X1M:L _warning: Ra function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]e
 4520 | void PostMuttclxml.cat:i3691o:n1E:v ewarning: na function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]t
 define XML_DEPRECATEDdocObj.c _:_876at:t1r:i bwarning: ua function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]t
 iwarning: t a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]e4482
 | T c2697l | DTOcMl_XNSoLdTetclxml.cSA:ep3655cp:ue1rn:di Ctwarning: ha function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]yi
1 t:2122r  | ,warning:   a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] o
1r:n   awarning: 500la function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] | ,
21252904 |  :        30331g | :oT tcwarning: ola function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] X
:m1O :b3260 j | warning: ,Ta function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c
C1 o:2122m m | warning: a a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]n 
L_ E2706l | e        m(etnctlDSetculbHsaPntdrl-e>rt(culs_tcldom-libxml2.ceL:ri3077Ds:at1tO:ab ,warning: j a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]An
Lwarning: _a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]D
MACRO(nadocObj.cm:e271) :(1*:_ _warning: #a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]#
a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]      
ea function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]      f
figureParserInstance (tcldom-libxml2.cx:m1499l:i1docObj.cn::f 1855owarning: ,:a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1
jApp e3313n | dTEclleXmMeLn_tE(nedxDtoicntfyop-e>DienctleHrapn,d leelre(tcldom-libxml2.cmu:Os3252be:jr1,D:a  twarning: aTa function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype])c
ne XML_DEPRECATED __attribute__((docObj.cd:e264p:r1e:c awarning: ta function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]e
o:p  t1499iwarning:  | oRa function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]ne
t3163l:tclxslt-libxslt.ci1:s:2128t :Dwarning: 11ea function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]:c
tcldom-libxml2.c  :916641 | :R1e:s uwarning: la function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]t
tcldom-libxml2.c :21213295 | : 1 :   warning:  a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 
tcldom-libxml2.c:4428:1:tclxslt-libxslt.c :warning: 2697a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]:
tcldom-libxml2.c:tclxslt-libxslt.c608::3491::1 :warning:  a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]warning: 
tclxml.c :16282278 | :T1r:i mwarning: Da function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]o
tclxml.c :27063475 | :        1(:t cwarning: la function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]S
tclxml.c :27063493 | :        1(:t cwarning: la function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]S
warning:  tcldom-libxml2.ca function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]:
warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
docObj.c:124:60: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
Comment 3 Larry the Git Cow gentoo-dev 2024-02-24 20:14:52 UTC
The bug has been closed via the following commit(s):

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

commit 5d7adf81044dbe3e035815dc85fa1127fa811970
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-02-24 20:13:15 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-02-24 20:14:31 +0000

    dev-tcltk/tclxml: fix incompatible function pointer
    
    Closes: https://bugs.gentoo.org/924861
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 .../tclxml/files/tclxml-3.3.1-funcPointer.patch    | 38 ++++++++++++++++++++++
 dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild            |  3 +-
 2 files changed, 40 insertions(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-11-01 00:03:05 UTC
The bug has been referenced in the following commit(s):

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

commit aac4d06dd344afaacbd169360e3c9b197bc88dfe
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-10-31 23:58:55 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-10-31 23:58:55 +0000

    dev-tcltk/tclxml: drop 3.2.7-r1
    
    Bug: https://bugs.gentoo.org/924861
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-tcltk/tclxml/Manifest                      |  1 -
 dev-tcltk/tclxml/files/tclxml-3.2.7-bool.patch | 26 ---------------
 dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild        | 44 --------------------------
 3 files changed, 71 deletions(-)