[Bug 2259172] perl-Tk-804.036-12.fc40 FTBFS: objGlue.c: In function ‘Tcl_GetByteArrayFromObj’: /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of ‘Perl_SvPV_helper’ from incompatible pointer type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2259172

Neil Hanlon <neil@xxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |neil@xxxxxxxx



--- Comment #1 from Neil Hanlon <neil@xxxxxxxx> ---
I poked at this for a while -- the error I'm seeing now related to some Xlib
issue:

```
In file included from Xlib_f.c:17:
Xlib.t:334:1: warning: ‘XKeycodeToKeysym’ is deprecated
[-Wdeprecated-declarations]
  334 | VFUNC(KeySym,XKeycodeToKeysym,V_XKeycodeToKeysym,_ANSI_ARGS_((Display
*, unsigned int, int)))
      | ^~~~~
In file included from Xlib_f.c:4:
/usr/include/X11/Xlib.h:1687:15: note: declared here
 1687 | extern KeySym XKeycodeToKeysym(
      |               ^~~~~~~~~~~~~~~~
Xlib.t:334:14: error: initialization of ‘KeySym (*)(Display *, unsigned int, 
int)’ {aka ‘long unsigned int (*)(Display *, unsigned int,  int)’} from
incompatible pointer type ‘KeySym (*)(Display *, KeyCode,  int)’ {aka ‘long
unsigned int (*)(Display *, unsigned char,  int)’}
[-Wincompatible-pointer-types]
  334 | VFUNC(KeySym,XKeycodeToKeysym,V_XKeycodeToKeysym,_ANSI_ARGS_((Display
*, unsigned int, int)))
      |              ^~~~~~~~~~~~~~~~
Xlib_f.c:15:35: note: in definition of macro ‘VFUNC’
   15 | #define VFUNC(type,name,mem,args) name,
      |                                   ^~~~
Xlib.t:334:14: note: (near initialization for ‘XlibVtable.V_XKeycodeToKeysym’)
  334 | VFUNC(KeySym,XKeycodeToKeysym,V_XKeycodeToKeysym,_ANSI_ARGS_((Display
*, unsigned int, int)))
      |              ^~~~~~~~~~~~~~~~
Xlib_f.c:15:35: note: in definition of macro ‘VFUNC’
   15 | #define VFUNC(type,name,mem,args) name,
      |                                   ^~~~
make[1]: *** [Makefile:861: Xlib_f.o] Error 1
```

I did find https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271521 which seems
similar, but that patch only reveals other errors for the Fedora build (I
think). I also tried changing it to an unsigned char, as it suggests, but this
causes issues elsewhere due to that assertion.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2259172

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202259172%23c1
--
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux