Bug#1078421: Removal of writeapi from siteinfo outout in upstream MediaWiki breaks mwclient

2024-08-10 Thread Taavi Väänänen

Package: python3-mwclient
Severity: important
Owner: Taavi Väänänen 
Tags: upstream

Upstream MediaWiki is trying to drop the 'writeapi' flag in the siteinfo
API output as a part of [0]. This has been always 'true' for the past
several years, but mwclient still always checks it and throws an error
if it's not there: [1]. That check should be removed from mwclient.

[0]: https://phabricator.wikimedia.org/T294397
[1]: https://phabricator.wikimedia.org/T371977


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1078371: Type missmatch, does not work on all architectures

2024-08-10 Thread Bastian Blank
Hi

I just looked at this bug and I wonder if nslint works correctly at all.
There are type mismatches in this exact mentioned spot.

qsort is called with "struct item **", so cmpaddr always gets "struct
item *".

| struct item **itemlist;
| qsort(itemlist, n, sizeof(itemlist[0]), cmpaddr);

But it interprets them as "const struct network *", not even as "const
struct addr *" as the name might imply.

| n1 = (const struct network *)arg1;
| n2 = (const struct network *)arg2;

I would assume this only works because on little endian the lower bytes
of the pointer to the hostname re-interpreted as family will change
between single allocations, but on big endian it will read the upper
bytes that do not change.

| if (n1->family != n2->family)
|   return ((n1->family == AF_INET) ? -1 : 1);

Bastian

-- 
We have found all life forms in the galaxy are capable of superior
development.
-- Kirk, "The Gamesters of Triskelion", stardate 3211.7



Bug#1075586: trickle: ftbfs with GCC-14

2024-08-10 Thread Florian Ernst
Control: tag 1075586 patch
Control: forwarded 1075586 
https://github.com/mariusae/trickle/issues/34#issuecomment-2134139388

On Wed, Jul 03, 2024 at 12:46:27PM +, Matthias Klose wrote:
> [...]
> xdr.c: In function ‘xdr_msg’:
> xdr.c:106:32: error: passing argument 5 of ‘xdr_union’ from incompatible 
> pointer type [-Wincompatible-pointer-types]
>   106 |   xdr_msg_discrim, _xdr_void));
>   |^
>   ||
>   |bool_t (*)(void) {aka int (*)(void)}
> [...]
> make[2]: *** [Makefile:529: xdr.o] Error 1
> make[2]: Leaving directory '/<>'
> make[1]: *** [Makefile:407: all] Error 2
> make[1]: Leaving directory '/<>'
> dh_auto_build: error: make -j1 returned exit code 2
> make: *** [debian/rules:6: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2

With the patch

| --- a/xdr.c
| +++ b/xdr.c
| @@ -103,7 +103,7 @@ xdr_msg(XDR *xdrs, struct msg *msg)
|  {
|   X(xdr_short(xdrs, &msg->status));
|   X(xdr_union(xdrs, (int *)&msg->type, (char *)&msg->data,
| -   xdr_msg_discrim, _xdr_void));
| +   xdr_msg_discrim, (xdrproc_t)_xdr_void));
| 
|   return (TRUE);
|  }

as mentioned in

trickle builds again.

Gürkan Myczko, do you still intend to adopt trickle as stated in
? If so, the
above might help. Otherwise please state there accordingly, easing the
path for a QA upload not stepping on your toes in any way. After all,
trickle has already been removed from testing due to this bug, cf.
.

Cheers,
Flo


signature.asc
Description: PGP signature


Processed: Re: Bug#1075586: trickle: ftbfs with GCC-14

2024-08-10 Thread Debian Bug Tracking System
Processing control commands:

> tag 1075586 patch
Bug #1075586 [src:trickle] trickle: ftbfs with GCC-14
Added tag(s) patch.
> forwarded 1075586 
> https://github.com/mariusae/trickle/issues/34#issuecomment-2134139388
Bug #1075586 [src:trickle] trickle: ftbfs with GCC-14
Set Bug forwarded-to-address to 
'https://github.com/mariusae/trickle/issues/34#issuecomment-2134139388'.

-- 
1075586: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075586
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: Re: Bug#1075586: trickle: ftbfs with GCC-14

2024-08-10 Thread Debian Bug Tracking System
Processing control commands:

> tag 1075586 patch
Bug #1075586 [src:trickle] trickle: ftbfs with GCC-14
Ignoring request to alter tags of bug #1075586 to the same tags previously set
> forwarded 1075586 
> https://github.com/mariusae/trickle/issues/34#issuecomment-2134139388
Bug #1075586 [src:trickle] trickle: ftbfs with GCC-14
Ignoring request to change the forwarded-to-address of bug#1075586 to the same 
value

-- 
1075586: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075586
994644: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994644
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processed: bump severity of openjdk 21 FTBFS bugs

2024-08-10 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> severity 1052570 serious
Bug #1052570 [src:jlapack] jlapack: FTBFS with OpenJDK 21 due to unsupported 
javac source/target level 7
Severity set to 'serious' from 'important'
> severity 1052574 serious
Bug #1052574 [src:geotranz] geotranz: FTBFS with OpenJDK 21 due to unsupported 
javac source/target level 7
Severity set to 'serious' from 'important'
> severity 1052576 serious
Bug #1052576 [src:clj-yaml-clojure] clj-yaml-clojure: FTBFS with OpenJDK 21 due 
to unsupported javac source/target level 7
Severity set to 'serious' from 'important'
> severity 1052583 serious
Bug #1052583 [src:com-hypirion-io-clojure] com-hypirion-io-clojure: FTBFS with 
OpenJDK 21 due to unsupported javac source/target level 7
Severity set to 'serious' from 'important'
> severity 1053015 serious
Bug #1053015 [src:cava] cava: FTBFS with OpenJDK 21 due to new compiler warnings
Severity set to 'serious' from 'important'
> severity 1053016 serious
Bug #1053016 [src:cheshire-clojure] cheshire-clojure: FTBFS with OpenJDK 21 due 
to unsupported javac source/target level 7
Severity set to 'serious' from 'important'
> severity 1053037 serious
Bug #1053037 [src:jsurf-alggeo] jsurf-alggeo: FTBFS with OpenJDK 21 due to 
unsupported javac source/target level 7
Severity set to 'serious' from 'important'
> severity 1053044 serious
Bug #1053044 [src:jzmq] jzmq: FTBFS with OpenJDK 21 due to unsupported javac 
source/target level 7
Severity set to 'serious' from 'important'
> severity 1053068 serious
Bug #1053068 [src:openhft-affinity] openhft-affinity: FTBFS with default Java 21
Severity set to 'serious' from 'important'
> severity 1053080 serious
Bug #1053080 [src:ssvnc] ssvnc: FTBFS with OpenJDK 21 due to unsupported javac 
source/target level 7
Severity set to 'serious' from 'important'
> severity 1053206 serious
Bug #1053206 [src:antlr-maven-plugin] antlr-maven-plugin fails with 
UnsupportedOperationException with Java 21
Severity set to 'serious' from 'important'
> severity 1057513 serious
Bug #1057513 [src:kotlin] kotlin:  FTBFS with default Java 21
Severity set to 'serious' from 'important'
> severity 1057522 serious
Bug #1057522 [src:libsvm] libsvm:  FTBFS with default Java 21
Severity set to 'serious' from 'important'
> severity 1057532 serious
Bug #1057532 [src:procyon] procyon:  FTBFS with default Java 21
Severity set to 'serious' from 'important'
> severity 1065522 serious
Bug #1065522 [src:android-platform-external-nist-sip] 
android-platform-external-nist-sip:  FTBFS with default Java 21
Severity set to 'serious' from 'important'
> severity 1053022 serious
Bug #1053022 [src:drmips] drmips: FTBFS with OpenJDK 21 due to unsupported javac
Severity set to 'serious' from 'important'
> severity 1053047 serious
Bug #1053047 [src:kryo-serializers] kryo-serializers: FTBFS with default Java 
21 in unstable
Severity set to 'serious' from 'important'
> severity 1053061 serious
Bug #1053061 [src:mecab] mecab: FTBFS with OpenJDK 21 due to unsupported javac 
source/target level 7
Severity set to 'serious' from 'important'
> severity 1053077 serious
Bug #1053077 [src:powermock] powermock: FTBFS with default Java 21 in unstable
Severity set to 'serious' from 'important'
> severity 1057490 serious
Bug #1057490 [src:bazel-bootstrap] bazel-bootstrap:  FTBFS with default Java 21
Severity set to 'serious' from 'important'
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1052570: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052570
1052574: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052574
1052576: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052576
1052583: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052583
1053015: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053015
1053016: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053016
1053022: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053022
1053037: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053037
1053044: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053044
1053047: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053047
1053061: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053061
1053068: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053068
1053077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053077
1053080: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053080
1053206: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053206
1057490: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057490
1057513: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057513
1057522: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057522
1057532: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057532
1065522: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065522
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1078371: Type missmatch, does not work on all architectures

2024-08-10 Thread Petter Reinholdtsen
[Bastian Blank]
> qsort is called with "struct item **", so cmpaddr always gets "struct
> item *".
>
> | struct item **itemlist;
> | qsort(itemlist, n, sizeof(itemlist[0]), cmpaddr);
>
> But it interprets them as "const struct network *", not even as "const
> struct addr *" as the name might imply.

Hm, interesting.  I tried modifying it to

  qsort(itemlist, n, sizeof(itemlist[0]), cmpitemaddr);

but alas, did not really solve much.

-- 
Happy hacking
Petter Reinholdtsen