Your message dated Fri, 15 Mar 2024 23:49:02 +0000
with message-id <e1rlhim-002qhe...@fasolo.debian.org>
and subject line Bug#1066944: fixed in ulfius 2.7.15-2.2
has caused the Debian Bug report #1066944,
regarding FTBFS on 32-bit arches with 64-bit time_t
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1066944: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066944
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ulfius
Version: 2.7.15-2.1
Severity: serious
Tags: ftbfs patch upstream fixed-upstream
Justification: fails to build from source (but built successfully in the past)

https://buildd.debian.org/status/fetch.php?pkg=ulfius&arch=armel&ver=2.7.15-2.1&stamp=1709168616&raw=0

/<<PKGBUILDDIR>>/src/u_websocket.c: In function ‘ulfius_websocket_wait_close’:
/<<PKGBUILDDIR>>/src/u_websocket.c:2316:28: error: conversion from ‘long long 
int’ to ‘long int’ may change value [-Werror=conversion]
 2316 |         abstime.tv_nsec += (((time_t)timeout%1000) * 1000000);
      |                            ^

>From 9457809a5321ca4a87f19fdc3f7f4af68e72afa8 Mon Sep 17 00:00:00 2001
From: Nicolas Mora <git...@babelouest.org>
Date: Wed, 28 Feb 2024 20:36:03 -0500
Subject: [PATCH] Fix timespec.tv_nsec value conversion

---
 src/u_websocket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/u_websocket.c b/src/u_websocket.c
index efca309..771f872 100644
--- a/src/u_websocket.c
+++ b/src/u_websocket.c
@@ -2322,7 +2322,7 @@ int ulfius_websocket_wait_close(struct _websocket_manager * websocket_manager, u
       if (timeout) {
         clock_gettime(CLOCK_REALTIME, &abstime);
         abstime.tv_sec += ((time_t)timeout / 1000);
-        abstime.tv_nsec += (((time_t)timeout%1000) * 1000000);
+        abstime.tv_nsec += ((((long int)timeout)%1000) * 1000000);
         if (abstime.tv_nsec > 999999999) {
           abstime.tv_nsec %= 1000000000;
           abstime.tv_sec ++;
-- 
2.43.0


--- End Message ---
--- Begin Message ---
Source: ulfius
Source-Version: 2.7.15-2.2
Done: Amin Bandali <band...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ulfius, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1066...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Amin Bandali <band...@debian.org> (supplier of updated ulfius package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 15 Mar 2024 16:10:29 -0400
Source: ulfius
Architecture: source
Version: 2.7.15-2.2
Distribution: unstable
Urgency: medium
Maintainer: Debian IoT Maintainers 
<debian-iot-maintain...@lists.alioth.debian.org>
Changed-By: Amin Bandali <band...@debian.org>
Closes: 1066944
Changes:
 ulfius (2.7.15-2.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * debian/patches/fix-ftbfs-32bit-arches-64bit-time_t.patch: Add
     upstream patch to fix FTBFS on 32-bit arches with 64-bit time_t.
     (Closes: #1066944)
Checksums-Sha1:
 de62b43e8e9962af18760df12869dbcb80b6dbd9 2423 ulfius_2.7.15-2.2.dsc
 f89232e1c719e9b1b9dab5cccd8f9a8f6b1e2015 453596 ulfius_2.7.15.orig.tar.gz
 127cd868b7cd368ebec998ddbc14cbd1be5518b9 9452 ulfius_2.7.15-2.2.debian.tar.xz
 893a1282a8cce8cc8c9e168942408502da06462b 7100 
ulfius_2.7.15-2.2_source.buildinfo
Checksums-Sha256:
 49cec76d9d5e0befa69b8884019f94c23cc03f5bea8e38b971e29fab1ba42ec8 2423 
ulfius_2.7.15-2.2.dsc
 19cf789b2af1919b69f77c7701237bfc318a9781ec657b68fd4b6ffa9d53f111 453596 
ulfius_2.7.15.orig.tar.gz
 21919cc261fbcf0238c9f321353f41fea09ebebcf93ca23fc9122d9b1af78c54 9452 
ulfius_2.7.15-2.2.debian.tar.xz
 e299a3f066068c307be4d746431826c336cfd2b8ca8a88661fc268e15d3e4308 7100 
ulfius_2.7.15-2.2_source.buildinfo
Files:
 acc462d2f78855a37032795dcf067286 2423 devel optional ulfius_2.7.15-2.2.dsc
 72101c6b274ea373ae48f8c29a5f7dcb 453596 devel optional 
ulfius_2.7.15.orig.tar.gz
 5f65aa0780414505a5bcedd52c1390ce 9452 devel optional 
ulfius_2.7.15-2.2.debian.tar.xz
 1e18d166c77fa1977a83a0f46fe7dee1 7100 devel optional 
ulfius_2.7.15-2.2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEObM8jZRIDS3cwqSYi0Sgzce5VvIFAmX0q1oACgkQi0Sgzce5
VvLwCw/9Elw1AIxqdrPrh9YZOhQRRxr74HZsCQi8/PnVOC5oooO3baGyef8eeixu
rBvcaxlSlMuWBYdpO9bD1pd3JAIu1L772VzXGwkVjbKjVzZMqlQch33uWshSBaRJ
HnWRg09XXb4OixXsk6cAPBlk2NPaUA/+Tmv2Pkipd27Wy1BrhkuVy43G0qhBfGO8
m17Dzd5uFrmkaOtMJDPUb0Cz6hvHJ+NNGT7of2wZNc6+4en9vYl46Udm9D0FbtaE
+seMqmsGJ/f3yQMro0jF3JW7ZFXtPwV4A/9DbH0YD8HFo9CXhTxddUY0iYO7Il0+
j9t3PgTOH/kH4tFZR3JgcE+T8GTHMZshjHMMLcBhMkPPu1POoCX0/osZqdl8NjXW
QjZYlMYOR/8q+WAVfHDebegg3hNqVJhCUmR28lyUe0xDA7F7OszSjKklukocXuQe
tjmiXR2q1gtuzHpyI7eyOt4XWblb8Bmmk7qlCRltEpUuu8w0eN6XGzu6lBiB0k9S
jQ1dCNUkz6vEXlE1mV7cg2uO6QXR/3az4xnEoExrHO4JwGDqaNJHli561s4mh35c
imXUqm+hALCpzoYyCaG/HB9iH13u7tsN7HKHE3xUGKsZqgqdfbgoNxHFhAO98Cv4
PlZITYogYjAGbLnTK2iYILt/YScpAYNW1qw+BYfYVxo/lmUI2lo=
=TCvE
-----END PGP SIGNATURE-----

Attachment: pgpRj227lL6bx.pgp
Description: PGP signature


--- End Message ---

Reply via email to