[MacPorts] #56250: Failed to configure gtk3 while installing wine
MacPorts
noreply at macports.org
Sun Apr 8 09:23:29 UTC 2018
#56250: Failed to configure gtk3 while installing wine
---------------------+----------------------
Reporter: hokgt | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords:
Port: gtk3 |
---------------------+----------------------
Changes (by ryandesign):
* cc: jeremyhu (added)
Old description:
> I'm trying to install wine and stuck on :
> 1. :info:configure configure: error: xReply type unavailable. X11 is too
> old
> 2. :error:configure Failed to configure gtk3
>
> I tried to reinstall X11 by installing xorg-server and xorg but still the
> same.
>
> Using macports 2.4.2
>
> This appear on terminal:
> {{{
> Warning: Your DNS servers incorrectly claim to know the address of
> nonexistent hosts. This may cause checksum mismatches for some ports. See
> this page for more information:
> <https://trac.macports.org/wiki/MisbehavingServers>
> ---> Attempting to fetch
> gtk3-3.22.29_0+universal+x11.darwin_17.i386-x86_64.tbz2 from
> http://jog.id.packages.macports.org/macports/packages/gtk3
> ---> Attempting to fetch
> gtk3-3.22.29_0+universal+x11.darwin_17.i386-x86_64.tbz2 from
> http://kmq.jp.packages.macports.org/gtk3
> ---> Attempting to fetch
> gtk3-3.22.29_0+universal+x11.darwin_17.i386-x86_64.tbz2 from
> http://nou.nc.packages.macports.org/pub/macports/packages.macports.org/gtk3
> ---> Fetching distfiles for gtk3
> ---> Verifying checksums for gtk3
> ---> Extracting gtk3
> ---> Applying patches to gtk3
> ---> Configuring gtk3
> Warning: reinplace s/@host@/i686-apple-darwin17.5.0/ didn't change
> anything in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.29/gdk-3.0.pc.in
> Warning: reinplace s/@host@/i686-apple-darwin17.5.0/ didn't change
> anything in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.29/gail-3.0.pc.in
> Error: Failed to configure gtk3, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.29-x86_64/config.log
> Error: Failed to configure gtk3: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port wine failed
> }}}
New description:
I'm trying to install wine and stuck on :
1. `:info:configure configure: error: xReply type unavailable. X11 is too
old`
2. `:error:configure Failed to configure gtk3`
I tried to reinstall X11 by installing xorg-server and xorg but still the
same.
Using macports 2.4.2
This appear on terminal:
{{{
Warning: Your DNS servers incorrectly claim to know the address of
nonexistent hosts. This may cause checksum mismatches for some ports. See
this page for more information:
<https://trac.macports.org/wiki/MisbehavingServers>
---> Attempting to fetch
gtk3-3.22.29_0+universal+x11.darwin_17.i386-x86_64.tbz2 from
http://jog.id.packages.macports.org/macports/packages/gtk3
---> Attempting to fetch
gtk3-3.22.29_0+universal+x11.darwin_17.i386-x86_64.tbz2 from
http://kmq.jp.packages.macports.org/gtk3
---> Attempting to fetch
gtk3-3.22.29_0+universal+x11.darwin_17.i386-x86_64.tbz2 from
http://nou.nc.packages.macports.org/pub/macports/packages.macports.org/gtk3
---> Fetching distfiles for gtk3
---> Verifying checksums for gtk3
---> Extracting gtk3
---> Applying patches to gtk3
---> Configuring gtk3
Warning: reinplace s/@host@/i686-apple-darwin17.5.0/ didn't change
anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.29/gdk-3.0.pc.in
Warning: reinplace s/@host@/i686-apple-darwin17.5.0/ didn't change
anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.29/gail-3.0.pc.in
Error: Failed to configure gtk3, consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.29-x86_64/config.log
Error: Failed to configure gtk3: configure failure: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port wine failed
}}}
--
Comment:
The problem appears to be these X11 errors in the config.log:
{{{
configure:26359: checking for xReply
configure:26359: /usr/bin/clang -arch x86_64 -c -pipe -Os -fstrict-
aliasing -arch x86_64 -Wall -I/opt/local/include -DX_LOCALE conftest.c
>&5
In file included from conftest.c:63:
/opt/local/include/X11/Xlibint.h:68:8: error: redefinition of '_XDisplay'
struct _XDisplay
^
/opt/local/include/X11/Xlib.h:448:16: note: previous definition is here
typedef struct _XDisplay {
^
In file included from conftest.c:63:
/opt/local/include/X11/Xlibint.h:193:3: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie * /* Xlib event */,
^
/opt/local/include/X11/Xlibint.h:198:3: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie * /* in */,
^
/opt/local/include/X11/Xlibint.h:199:3: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie * /* out*/);
^
/opt/local/include/X11/Xlibint.h:938:3: error: expected function body
after function declarator
) _X_NORETURN;
^
/opt/local/include/X11/Xlibint.h:1060:5: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie* /* re */,
^
/opt/local/include/X11/Xlibint.h:1066:5: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie* /* in */,
^
/opt/local/include/X11/Xlibint.h:1067:5: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie* /* out */
^
/opt/local/include/X11/Xlibint.h:1227:16: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie* /* re */,
^
/opt/local/include/X11/Xlibint.h:1231:15: error: unknown type name
'XGenericEventCookie'
Display*, XGenericEventCookie*, xEvent*
^
/opt/local/include/X11/Xlibint.h:1239:16: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie* /* in */,
^
/opt/local/include/X11/Xlibint.h:1240:16: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie* /* out */
^
/opt/local/include/X11/Xlibint.h:1243:15: error: unknown type name
'XGenericEventCookie'
Display*, XGenericEventCookie*, XGenericEventCookie*
^
/opt/local/include/X11/Xlibint.h:1243:37: error: unknown type name
'XGenericEventCookie'
Display*, XGenericEventCookie*, XGenericEventCookie*
^
/opt/local/include/X11/Xlibint.h:1321:5: error: unknown type name
'XConnectionWatchProc'
XConnectionWatchProc fn;
^
/opt/local/include/X11/Xlibint.h:1424:9: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie *ev);
^
/opt/local/include/X11/Xlibint.h:1428:9: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie *in,
^
/opt/local/include/X11/Xlibint.h:1429:9: error: unknown type name
'XGenericEventCookie'
XGenericEventCookie *out);
^
18 errors generated.
configure:26359: $? = 1
}}}
Are your X11-related dependencies up to date? (Check `port outdated` for
anything starting with "xorg".)
--
Ticket URL: <https://trac.macports.org/ticket/56250#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list