After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 556849 - s-t-b fails to build due to O_CREATE needing 3 args
s-t-b fails to build due to O_CREATE needing 3 args
Status: RESOLVED DUPLICATE of bug 533624
Product: gnome-system-tools
Classification: Deprecated
Component: users-admin
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Carlos Garnacho
Carlos Garnacho
: 570151 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-10-18 15:59 UTC by Pedro Fragoso
Modified: 2009-02-24 23:33 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
add args to O_CREATE (247 bytes, patch)
2008-10-18 16:05 UTC, Pedro Fragoso
none Details | Review

Description Pedro Fragoso 2008-10-18 15:59:55 UTC
system-tools-backends-2.5.6
gcc version 4.3.2

main.c: In function ‘daemonize’:
main.c:53: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
In function ‘open’,
    inlined from ‘daemonize’ at main.c:50,
    inlined from ‘main’ at main.c:101:
/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[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/jhbuild/checkout/gnome2/system-tools-backends-2.5.6/dispatcher'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jhbuild/checkout/gnome2/system-tools-backends-2.5.6'
make: *** [all] Error 2
Comment 1 Pedro Fragoso 2008-10-18 16:05:29 UTC
Created attachment 120832 [details] [review]
add args to O_CREATE
Comment 2 André Klapper 2009-02-01 22:59:47 UTC
Carlos: ping
Comment 3 Baptiste Mille-Mathias 2009-02-02 08:12:14 UTC
*** Bug 570151 has been marked as a duplicate of this bug. ***
Comment 4 Baptiste Mille-Mathias 2009-02-02 08:19:26 UTC
bug 570151 has a different patch. the url is http://bugzilla.gnome.org/attachment.cgi?id=127729
Comment 5 André Klapper 2009-02-24 19:17:05 UTC
Ah.
g-s-t is unmaintained:
http://blogs.gnome.org/carlosg/2008/02/01/two-new-children-in-cookieville/
Comment 6 Cosimo Cecchi 2009-02-24 23:33:33 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 533624 ***