[MacPorts] #51312: pkgconfig @0.29.1: gmessages.c:1077:3: error: data argument not used by format string [-Wformat-extra-args]

MacPorts noreply at macports.org
Sat May 7 08:38:41 PDT 2016

#51312: pkgconfig @0.29.1: gmessages.c:1077:3: error: data argument not used by
format string [-Wformat-extra-args]
  Reporter:  cer54@…    |      Owner:  ryandesign@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:             |   Keywords:  lion
      Port:  pkgconfig  |

Comment (by cer54@…):

 Replying to [comment:5 ryandesign@…]:
 > > My Xcode version is Xcode 4.6.3 and clang is Apple clang version 2.1
 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn).
 > [wiki:XcodeVersionInfo#OSX10.7 Xcode 4.6.3 is indeed] the latest version
 you can use on Lion, however Apple clang version 2.1 a.k.a clang-163.7.1
 does not correspond to that version of Xcode; it corresponds to
 [wiki:XcodeVersionInfo#MacOSX10.6 Xcode 4.1]. Please upgrade your clang by
 installing "Command Line Tools (OS X Lion) for Xcode - April 2013" which
 you can get at the [https://developer.apple.com/downloads/ Apple Developer
 Downloads] page after logging in, or via the Downloads section of the
 Xcode application's Preferences window.
 Thanks for the precise instructions. I upgraded to the newer command line
 tools, my clang version is now Apple LLVM version 4.2 (clang-425.0.28)
 (based on LLVM 3.2svn). I then uninstalled the patched version of
 pkgconfig, and installed it again from fresh, this time without a hitch.
 Thanks for your help, and sorry for being unaware of the too old command
 line tools problem.
 > > > I see one proposed patch for this issue: https://mail-
 index.netbsd.org/pkgsrc-bugs/2013/10/16/msg052707.html Perhaps it only
 affects older versions of clang, such as we would find on Lion.
 > >
 > > Yes, I tried the above patch and that fixes the problem.
 > Thanks for verifying that. It looks like even the current version of
 glib does not include such a change. However current compilers merely
 consider this condition a warning, not an error as your old version of
 clang does. I will try to find out if this problem was ever reported to
 the developers of glib, and if so, what their response was.

Ticket URL: <https://trac.macports.org/ticket/51312#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X

More information about the macports-tickets mailing list