Your message dated Tue, 14 Apr 2015 09:19:18 +0000
with message-id <e1yhx02-0001gy...@franck.debian.org>
and subject line Bug#770984: fixed in apcupsd 3.14.12-1.1
has caused the Debian Bug report #770984,
regarding [apcupsd] apcaccess may not work on ARM
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.)


-- 
770984: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770984
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apcupsd
Version: 3.14.12-1
Severity: important

Hi,

apcaccess is not working on raspberry pi : it always respond as if -h option 
was given. 

I have test with raspbian on a raspberry pi (jessie repository), not directly 
Debian, but I think it will give the same result in a pure Debian.

Fortunatelly, this bug has already been reported for Archlinux:
https://github.com/archlinuxarm/PKGBUILDs/issues/886

and a simple patch is available:
https://github.com/archlinuxarm/PKGBUILDs/commit/80909d88d1b26b615ea447baa9bc87cfce918ae3

+--- a/branches/Branch-3_14/src/apcaccess.c
++++ b/branches/Branch-3_14/src/apcaccess.c
+@@ -146,7 +146,7 @@
+ #endif
+
+ // Process standard options
+- char ch;
++ int ch;
+ while ((ch = getopt(argc, argv, "f:h:p:u")) != -1)
+ {
+ switch (ch)


Could you please apply it for jessie ?

Kind Regards,

Adrien

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.16.0-4-amd64

Debian Release: jessie/sid
  500 unstable        ftp.fr.debian.org 
  500 testing-updates ftp.fr.debian.org 
  500 testing         security.debian.org 
  500 testing         ftp.fr.debian.org 
    1 experimental    ftp.fr.debian.org 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: apcupsd
Source-Version: 3.14.12-1.1

We believe that the bug you reported is fixed in the latest version of
apcupsd, 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 770...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emanuele Rocca <e...@debian.org> (supplier of updated apcupsd 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: SHA256

Format: 1.8
Date: Tue, 14 Apr 2015 09:14:33 +0200
Source: apcupsd
Binary: apcupsd apcupsd-cgi apcupsd-doc
Architecture: source amd64 all
Version: 3.14.12-1.1
Distribution: unstable
Urgency: medium
Maintainer: Giuseppe Iuculano <iucul...@debian.org>
Changed-By: Emanuele Rocca <e...@debian.org>
Description:
 apcupsd    - APC UPS Power Management (daemon)
 apcupsd-cgi - APC UPS Power Management (web interface)
 apcupsd-doc - APC UPS Power Management (documentation/examples)
Closes: 770984
Changes:
 apcupsd (3.14.12-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * src/apcaccess.c: declare "ch" as int to match getopt return type. Fixes
     apcaccess on ARM. (Closes: #770984)
Checksums-Sha1:
 108253fbe175c25c750589ce98cf991023230366 2026 apcupsd_3.14.12-1.1.dsc
 baba72614fc0d568b9b94a73fb1607e049009fb0 17317 apcupsd_3.14.12-1.1.diff.gz
 5856423e472cbb352044c22c4c03d2e105e7daab 233114 apcupsd_3.14.12-1.1_amd64.deb
 486ab052068a1e1a487370285af24cf4607bbdb0 73214 
apcupsd-cgi_3.14.12-1.1_amd64.deb
 237bf6ae5528dcdd77f142bfcf5cf7420640b68e 386926 apcupsd-doc_3.14.12-1.1_all.deb
Checksums-Sha256:
 7f6c7b27b16c2149f0a3106db080d426595a3a1a2816d7de5a0f2760619a6bc9 2026 
apcupsd_3.14.12-1.1.dsc
 6fa2f839c7955dfa55962bdb2fbd4cae22f2d2e43076c6d9b0da90a68ae2b1e3 17317 
apcupsd_3.14.12-1.1.diff.gz
 aba13962a1ecad8bb4bb821af6227b59d7ab7618954804d32bee334f18890506 233114 
apcupsd_3.14.12-1.1_amd64.deb
 868fcd3340645258fda4f7dfba8400b3ad075058b0ac96c2a624aa554a5953f5 73214 
apcupsd-cgi_3.14.12-1.1_amd64.deb
 09d964c81f5bd2ac53a893c578d44c25a58016fd4523ecc2201ae34bb7893b46 386926 
apcupsd-doc_3.14.12-1.1_all.deb
Files:
 af81a5a8f9767ec6b363f3bbde71aee9 2026 admin extra apcupsd_3.14.12-1.1.dsc
 ac1ff572f175eb705d75f42d14523e9a 17317 admin extra apcupsd_3.14.12-1.1.diff.gz
 7b581560a602e9136f0298cc81036102 233114 admin extra 
apcupsd_3.14.12-1.1_amd64.deb
 82b3132ef5bacfd506dfa7c93b7a90c0 73214 web extra 
apcupsd-cgi_3.14.12-1.1_amd64.deb
 059fdbda12d27c821db69d179fb2841a 386926 doc extra 
apcupsd-doc_3.14.12-1.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVLMhaAAoJENUIWgdQ/bejMEoP+wa4Zy5il5EBBmSaqzBlBlMi
DFsnnH1pe77WcWVwwdowgaq09ixl0WCW/BCdsQ68qsKr186IsknovmVBYWMiQhmP
O0PF0BdUYFI++NyFGbHYr+3C85A626kbA7o5SRyJns6mQd9Fexm7aDAiXT8UtA3u
UQim1ajamSDUpo9n1H2RsL2abEd1/4Oy0uVWOZ3sAFhaBo5deIyufYAUa7WwzK33
cN/fkRbzMeTQcdy2EobeDKk3wCiuVVoDJ+b19mdY2juqpGIRqTDJ54XyaD1Ft3HJ
tlnc4A+oSupPYS5XfgtS0L8IH26BjrV+N1DvkhaUY/iCnybf+moYPkL4a0TLscD4
uTdDxdrU1oHUKhjIGZoOB45g3XGk/WcqVg5qiRg6Vd7Q16G21Y1++DCQBmwYpOZ8
OcRctgM2c7bmIxHiIJ0eUdltkTMpE+/VrZ2nTLgm1Vt2Nb+qU6s5+ze8s5wkyqZ+
bUOwuH69RfjseLQVNFEAw8uGKexv3GIYRQIfOr79ANoTMfSA53yNCU//FRMX7Cmm
L+gWrJ2BiQ2LrhkjyjKjXtq8zKAwAjm7uOU7O9S5OrtCBKqH01pciz25pxoAnDSE
EaADIBDfmnWvjFnAotfVroDL38o3A94Sy51H8HqCBKfvraNHeK1eAkxWIa5jNqgF
Hb1J5AfC60Y3bAevZZd6
=92Ja
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to