Your message dated Wed, 24 Feb 2010 12:32:11 +0000
with message-id <[email protected]>
and subject line Bug#569610: fixed in omhacks 0.9-1
has caused the Debian Bug report #569610,
regarding omhacks FTBFS: open O_CREAT needs 3 arguments
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 [email protected]
immediately.)


-- 
569610: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569610
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: omhacks
Version: 0.8-1
Severity: important
Tags: patch
Justification: fails to build from source
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch


https://bugs.launchpad.net/ubuntu/+source/omhacks/+bug/521164

http://launchpadlibrarian.net/39017735/buildlog_ubuntu-lucid-i386.omhacks_0.8-1_FAILEDTOBUILD.txt.gz

cd /build/buildd/omhacks-0.8/obj-i486-linux-gnu/omhacks && /usr/bin/gcc 
-Domhacks_EXPORTS -g -O2 -fPIC -I/build/buildd/omhacks-0.8/omhacks/.. -Wall 
-Werror -o CMakeFiles/omhacks.dir/sysfs.c.o -c 
/build/buildd/omhacks-0.8/omhacks/sysfs.c
In file included from /usr/include/fcntl.h:205,
                 from /build/buildd/omhacks-0.8/omhacks/sysfs.c:28:
In function 'open',
    inlined from 'om_sysfs_writefile' at 
/build/buildd/omhacks-0.8/omhacks/sysfs.c:194:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared 
with attribute error: open with O_CREAT in second argument needs 3 arguments
make[3]: *** [omhacks/CMakeFiles/omhacks.dir/sysfs.c.o] Error 1

---

In Ubuntu, we've applied the attached patch to achieve the following:

  * Fix FTBFS: sysfs.c open with O_CREAT needs 3 arguments (LP: #521164)

We thought you might be interested in doing the same. 
--- omhacks-0.8.orig/omhacks/sysfs.c
+++ omhacks-0.8/omhacks/sysfs.c
@@ -191,7 +191,8 @@
        size_t ssize = strlen(str);
        ssize_t count;
        int fd = -1;
-       fd = open(pathname, O_WRONLY | O_CREAT);
+       fd = open(pathname, O_WRONLY | O_CREAT,
+               S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR|S_IWGRP|S_IWOTH);
        if (fd < 0) return fd;
        count = write(fd, str, ssize);
        if (count != ssize)

--- End Message ---
--- Begin Message ---
Source: omhacks
Source-Version: 0.9-1

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

libomhacks-dev_0.9-1_amd64.deb
  to main/o/omhacks/libomhacks-dev_0.9-1_amd64.deb
libomhacks0_0.9-1_amd64.deb
  to main/o/omhacks/libomhacks0_0.9-1_amd64.deb
omhacks_0.9-1.diff.gz
  to main/o/omhacks/omhacks_0.9-1.diff.gz
omhacks_0.9-1.dsc
  to main/o/omhacks/omhacks_0.9-1.dsc
omhacks_0.9-1_amd64.deb
  to main/o/omhacks/omhacks_0.9-1_amd64.deb
omhacks_0.9.orig.tar.gz
  to main/o/omhacks/omhacks_0.9.orig.tar.gz



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Enrico Zini <[email protected]> (supplier of updated omhacks 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 24 Feb 2010 11:44:53 +0000
Source: omhacks
Binary: omhacks libomhacks-dev libomhacks0
Architecture: source amd64
Version: 0.9-1
Distribution: unstable
Urgency: low
Maintainer: Enrico Zini <[email protected]>
Changed-By: Enrico Zini <[email protected]>
Description: 
 libomhacks-dev - library of useful functions to control OpenMoko hardware
 libomhacks0 - library of useful functions to control OpenMoko hardware
 omhacks    - command line interface to OpenMoko hardware
Closes: 569610
Changes: 
 omhacks (0.9-1) unstable; urgency=low
 .
   * Removed useless O_CREAT. Closes: #569610
   * Install at suspend hook as executable, so it actually works.
     (thanks to lindi)
   * Manpages and usage messages greatly improved (by lindi)
Checksums-Sha1: 
 f9d06c6660e5a63b6bbc7059f0a32e2985e3f73e 1817 omhacks_0.9-1.dsc
 2f68a70df4203c818996b505bed2a8147d2e503a 29995 omhacks_0.9.orig.tar.gz
 7397c2d52d2389e8743fa6e81640e9c6ae70ec80 2433 omhacks_0.9-1.diff.gz
 b7671462759eea37360461e25bbb5e389438f78d 26048 omhacks_0.9-1_amd64.deb
 20822bdb6f3514e3f99aaba841e75b1984a29ae9 17896 libomhacks-dev_0.9-1_amd64.deb
 516fe003e54219beb7e5e46b1c80328d3388d20c 12484 libomhacks0_0.9-1_amd64.deb
Checksums-Sha256: 
 1b3d65e3803d6b26e3ccc7707eecb30d362ff626bf04d9d74e8a2c83c25acfdb 1817 
omhacks_0.9-1.dsc
 e451bfdf7082ff2a3ed7738efb8ceb38224f7a668febdc4efe90f7280bfcd1f9 29995 
omhacks_0.9.orig.tar.gz
 0da1cf861ae879388e977834b533e57f4bf0475abe804e84c2971cd3ca15ac72 2433 
omhacks_0.9-1.diff.gz
 7d6a73ba117c0ff5e2ba8b6fd4a31a472c39aa58d7ce05738a781afe519b8773 26048 
omhacks_0.9-1_amd64.deb
 50a0f4bc07c0b434f2dda866fcb4284dbd651498cd0c568c150305d000855c05 17896 
libomhacks-dev_0.9-1_amd64.deb
 93957af4e2a2d62b09b369909a454d0490c9473dbc6f00ca3e6fca5781ac58cb 12484 
libomhacks0_0.9-1_amd64.deb
Files: 
 3a62519ca55cf12f94ee92ef4f47d15f 1817 misc extra omhacks_0.9-1.dsc
 c3ad867131c984a1014b1bd17a01f9dc 29995 misc extra omhacks_0.9.orig.tar.gz
 22cf877a1a5798b298de3e3dc8d4e32f 2433 misc extra omhacks_0.9-1.diff.gz
 27d80dfb77b0dbce9fad2ba9e0f2335b 26048 misc extra omhacks_0.9-1_amd64.deb
 a544372e748e68a978ee96b05bbab6d4 17896 libdevel extra 
libomhacks-dev_0.9-1_amd64.deb
 e25a566c5599b6ea11e7044af7c0adb6 12484 libs extra libomhacks0_0.9-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJLhRjRAAoJEB5qw/OH8O2sO20P/3eFuggzwQqja/8tfm0SfMOf
9voHYsqZdA5vmxSzaS/L3wC2DzEUyEurRFJACqN+hQksv8sGafXg6ZEC8L/01Tx6
bhtNSCvee8L5BY7qDflCnlYfUvnjgT9sj0AtQvEbltxhftv6gl/+RmL0fH/k2Agl
pdlCZlr8Egx+UmnZsZIlvrO5KFkEUYDLw9tdhrYM6FoJ82mwAATojmk3my1/IZgj
IvXZPh3s0iOL0XxIlMtAFc5x0l9qNXxp5DgYIbyNUF69bGZ06outWKee9CACqZ3N
oP2BesG+6eU9kKyVGEfpb9fq8ZJos6eJ5CErdf0npuDqcCIgjQU90wa19DffRINv
NuYn1SoRR7APyIurWVosN8CJ7mTchbQJ0WpZ+NU8k+z+ujzpVsoTsZeE43SLGFJC
9bRafcHG1zw1Vyv570YBSLX45a5K7ZyGsROHPYVgdULzBkuiiI08NnOGUlGYMvq7
ofOaX+aofykPj88dt0pBFcEtFOLIbRDlg5zKP8tXjXL9K4Z/7jzQWMsw76Y34Tqa
zG6QK4X5SdzZ8jfrg4+Oky6wnOBYjpUCJN/SOHNWbkm3iuz8ra2VL3lPswFA/aA/
Ps9oh8KClw+urDQy61Fo+Kmrd/3LolC/fK/urgUgyCLchInSlPpfEOnE/q5em3iR
0JNA1pajqmxfuxYqpt31
=mp3L
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to