[Debian GNUstep maintainers] Bug#1072736: lynkeos.app: FTBFS with gnustep-gui/0.31.x: MyPluginsController.m:27:36: error: redeclaration of enumerator ‘NSControlKeyMask’

Yavor Doganov yavor at gnu.org
Fri Jun 7 10:39:18 BST 2024


Source: lynkeos.app
Version: 3.7+dfsg-1
Severity: important
Tags: sid trixie ftbfs
User: pkg-gnustep-maintainers at lists.alioth.debian.org
Usertags: gnustep-gui0.31-transition gnustep-transition

This package fails to build with gnustep-gui/0.31.x (in experimental);
relevant part of the build log:

gcc /<<PKGBUILDDIR>>/application/GNUstep/../Sources/MyProcessingThread.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DCURRENT_PROJECT_VERSION=370.0 -I. -I.. -I/<<PKGBUILDDIR>>/application/GNUstep.. -I/<<PKGBUILDDIR>>/application/GNUstep/../Sources -I/<<PKGBUILDDIR>>/application/GNUstep/../ThreadConnectionSources -I/<<PKGBUILDDIR>>/application/GNUstep/../ThirdPartySources/SMDoubleSlider -DNO_FRAMEWORK_CHECK=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_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 -g -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu99 -Wno-unknown-pragmas -Wno-cpp -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Lynkeos.obj/MyProcessingThread.m.o
/<<PKGBUILDDIR>>/application/GNUstep/../Sources/MyPluginsController.m:27:36: error: redeclaration of enumerator ‘NSControlKeyMask’
   27 | #define NSEventModifierFlagControl NSControlKeyMask
      |                                    ^~~~~~~~~~~~~~~~
/usr/include/GNUstep/AppKit/NSEvent.h:234:3: note: in expansion of macro ‘NSEventModifierFlagControl’
  234 |   NSEventModifierFlagControl = NSControlKeyMask,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/GNUstep/AppKit/AppKit.h:89,
                 from ../LynkeosCore/LynkeosProcessing.h:48,
                 from ../LynkeosCore/LynkeosImageBuffer.h:31,
                 from /<<PKGBUILDDIR>>/application/GNUstep/../Sources/LynkeosFileReader.h:66,
                 from /<<PKGBUILDDIR>>/application/GNUstep/../Sources/MyPluginsController.m:39:
/usr/include/GNUstep/AppKit/NSEvent.h:225:3: note: previous definition of ‘NSControlKeyMask’ with type ‘int’
  225 |   NSControlKeyMask = 4 << 16,
      |   ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/application/GNUstep/../Sources/MyPluginsController.m:26:36: error: redeclaration of enumerator ‘NSCommandKeyMask’
   26 | #define NSEventModifierFlagCommand NSCommandKeyMask
      |                                    ^~~~~~~~~~~~~~~~
/usr/include/GNUstep/AppKit/NSEvent.h:236:3: note: in expansion of macro ‘NSEventModifierFlagCommand’
  236 |   NSEventModifierFlagCommand = NSCommandKeyMask,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/GNUstep/AppKit/NSEvent.h:227:3: note: previous definition of ‘NSCommandKeyMask’ with type ‘int’
  227 |   NSCommandKeyMask = 16 << 16,
      |   ^~~~~~~~~~~~~~~~
make[5]: *** [/usr/share/GNUstep/Makefiles/rules.make:534: obj/Lynkeos.obj/MyPluginsController.m.o] Error 1
...
make[1]: *** [debian/rules:23: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: binary] Error 2

The severity of this bug will be raised to "serious" as soon as the
forthcoming GNUstep transition begins.



More information about the pkg-GNUstep-maintainers mailing list