https://bugzilla.redhat.com/show_bug.cgi?id=1167227
Bug ID: 1167227 Summary: build error: conflicting types for 'if_nametoindex' Product: Fedora Version: rawhide Component: mingw-glib2 Assignee: rjones@redhat.com Reporter: ntd@entidi.it QA Contact: extras-qa@fedoraproject.org CC: erik-fedora@vanpienbroek.nl, fedora-mingw@lists.fedoraproject.org, kalevlember@gmail.com, lfarkas@lfarkas.org, marcandre.lureau@redhat.com, rjones@redhat.com, t.sailer@alumni.ethz.ch
The if_nametoindex() API, according to http://msdn.microsoft.com/en-us/library/windows/desktop/bb408408(v=vs.85).as... (first paragraph under Remarks), has been introduced on Windows Vista. GLib2 still supports Windows XP, so they provided a fallback function with commit #01156b12.
For some unknown reason, both versions end up to be defined at build time.
As a temporary workaround I appended "ac_cv_func_if_nametoindex=yes" to the configure call to be able to successfully terminate the build.
https://bugzilla.redhat.com/show_bug.cgi?id=1167227
--- Comment #1 from Nicola Fontana ntd@entidi.it --- I think the above workaround (i.e. using "ac_cv_func_if_nametoindex=yes" in configure) will make the compiled binaries that depend on if_nametoindex() unusable on Windows XP. I do not have access to that platform to verify this by myself though.
https://bugzilla.redhat.com/show_bug.cgi?id=1167227
--- Comment #2 from Richard W.M. Jones rjones@redhat.com --- If this is a bug in glib2 or mingw-w64, then you need to take it to the upstream community. We're just packaging mingw-glib2.
https://bugzilla.redhat.com/show_bug.cgi?id=1167227
--- Comment #3 from Nicola Fontana ntd@entidi.it --- Of course the problem is upstream, as almost anything reported here. I just don't have time to investigate deeper.
I'm maintaining a MingW toolchain that depends on yours (https://github.com/ntd/aur-fedora-mingw) and the problem came out after trying to incorporate http://pkgs.fedoraproject.org/cgit/mingw-glib2.git/commit/?id=f86c153dcdcc4c...
Are you implying that you do not see this failure on Fedora? If there is a way to see the results of the builds, please point me to the right direction: I often need them.
https://bugzilla.redhat.com/show_bug.cgi?id=1167227
--- Comment #4 from Richard W.M. Jones rjones@redhat.com --- I'm not "implying" anything. I'm hopefully clearly stating that Fedora only packages mingw packages from upstream. If there's a problem in the Fedora packaging, then we can fix it here. Otherwise we can't fix it - you need to ask upstream.
https://bugzilla.redhat.com/show_bug.cgi?id=1167227
--- Comment #5 from Thomas Sailer t.sailer@alumni.ethz.ch --- I don't understand the problem, I'm using mingw glib2 on Windows 2000 and 8.1, and haven't seen this...
https://bugzilla.redhat.com/show_bug.cgi?id=1167227
Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|rjones@redhat.com |erik-fedora@vanpienbroek.nl
--- Comment #6 from Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com --- This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
https://bugzilla.redhat.com/show_bug.cgi?id=1167227
MinGW Maintenance Account fedora-mingw@lists.fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|fedora-mingw@lists.fedorapr | |oject.org |
Erik van Pienbroek erik-fedora@vanpienbroek.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WORKSFORME Last Closed| |2014-12-23 07:15:28
--- Comment #7 from Erik van Pienbroek erik-fedora@vanpienbroek.nl --- The mingw-glib2 package builds fine without issues on Fedora. Closing bug