Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914484 - gnustep-base/gnustep-base-1.27.0-r1 fails compilation due to xmlEntity having no member named "checked"
Summary: gnustep-base/gnustep-base-1.27.0-r1 fails compilation due to xmlEntity having...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on: 910265
Blocks:
  Show dependency tree
 
Reported: 2023-09-21 11:22 UTC by Michał Dec
Modified: 2023-09-26 00:54 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dec 2023-09-21 11:22:43 UTC
When emerging gnustep-base/gnustep-base-1.27.0-r1 I am not able to proceed past source file "NSData+GNUstepBase.m" in directory "Source/Additions".

Reproducible: Always

Steps to Reproduce:
1. emerge -q1v =gnustep-base/gnustep-base-1.27.0-r1
2. wait
3. get error
Actual Results:  
x86_64-pc-linux-gnu-gcc NSData+GNUstepBase.m -c \
      -MMD -MP -Wall -Wdeclaration-after-statement -DNO_GNUSTEP=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -march=znver1 -ggdb -fconstant-string-class=NSConstantString -I../. -I../ -I../../Headers -I. -I/var/tmp/portage/gnustep-base/gnustep-base-1.27.0-r1/work/GNUstep/Library/Headers -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/lib64/libffi/include -I/usr/lib64/libffi/include -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include \
       -o obj/Additions.obj/NSData+GNUstepBase.m.o
GSXML.m: In function ‘setupCache’:
GSXML.m:166:7: warning: ‘xmlDefaultSAXHandlerInit’ is deprecated [-Wdeprecated-declarations]
  166 |       xmlDefaultSAXHandlerInit();
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/globals.h:20,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:222,
                 from /usr/include/libxml2/libxml/tree.h:1310,
                 from GSXML.m:80:
/usr/include/libxml2/libxml/SAX2.h:169:17: note: declared here
  169 |                 xmlDefaultSAXHandlerInit        (void);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
GSXML.m: In function ‘getEntityDefault’:
GSXML.m:2594:22: error: ‘xmlEntity’ {aka ‘struct _xmlEntity’} has no member named ‘checked’
 2594 |               if (ret->checked == 0)
      |                      ^~
GSXML.m:2596:22: error: ‘xmlEntity’ {aka ‘struct _xmlEntity’} has no member named ‘checked’
 2596 |                   ret->checked = 1;
      |                      ^~

Expected Results:  
The package should compile

I have =dev-libs/libxml2-2.11.4
Comment 1 Mike Gilbert gentoo-dev 2023-09-25 17:28:17 UTC
Please attach the full build log and provide emerge --info.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-26 00:54:35 UTC
Stabilisation of fixed version was stuck, should be OK now.