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 701456 - Error in gnome/glib/gio/tests/file.c
Error in gnome/glib/gio/tests/file.c
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: build
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-06-02 10:11 UTC by Shivani Poddar
Modified: 2013-06-02 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Work-around for the error (698 bytes, patch)
2013-06-02 10:11 UTC, Shivani Poddar
none Details | Review
tests: Remove a leftover debug printf (660 bytes, patch)
2013-06-02 13:53 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Shivani Poddar 2013-06-02 10:11:32 UTC
Created attachment 245845 [details] [review]
Work-around for the error

Running "jhbuild build glib" gives me the following error:
file.c: In function ‘test_parse_name’:
file.c:121:3: error: format not a string literal and no format arguments [-Werror=format-security]
  CC     gdbus-connection-flush.o
cc1: some warnings being treated as errors
make[6]: *** [file.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory `/home/shivani/checkout/gnome/glib/gio/tests'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/shivani/checkout/gnome/glib/gio/tests'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/shivani/checkout/gnome/glib/gio/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/shivani/checkout/gnome/glib/gio'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/shivani/checkout/gnome/glib/gio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shivani/checkout/gnome/glib'
make: *** [all] Error 2
*** Error during phase build of glib: ########## Error running make -j 8 *** [1/1]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice:  

(L471 in http://paste.ubuntu.com/5725570/)
Comment 1 Allison Karlitskaya (desrt) 2013-06-02 13:53:24 UTC
Created attachment 245852 [details] [review]
tests: Remove a leftover debug printf
Comment 2 Allison Karlitskaya (desrt) 2013-06-02 13:54:21 UTC
Thanks for the report.  I think this printf was never meant to remain in
the code, though, so I'm just removing it entirely.

Attachment 245852 [details] pushed as a62079e - tests: Remove a leftover debug printf
Comment 3 Shivani Poddar 2013-06-02 14:00:10 UTC
Great, thankyou :)
Comment 4 Shivani Poddar 2013-06-02 14:03:48 UTC
Great, thankyou :)