Opened 7 years ago

Closed 5 years ago

#56250 closed defect (worksforme)

Failed to configure gtk3 while installing wine

Reported by: hokgt (Suhendri Wijaya) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: gtk3

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (2)

main.log (31.4 KB) - added by hokgt (Suhendri Wijaya) 7 years ago.
config.log (120.0 KB) - added by hokgt (Suhendri Wijaya) 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by hokgt (Suhendri Wijaya)

Attachment: main.log added

Changed 7 years ago by hokgt (Suhendri Wijaya)

Attachment: config.log added

comment:1 Changed 7 years ago by hokgt (Suhendri Wijaya)

Description: modified (diff)

comment:2 Changed 7 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: gtk3 X11 xReply wine removed
Milestone: MacPorts 2.4.3
Owner: set to dbevans
Port: gtk3 added
Status: newassigned

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu added
Description: modified (diff)

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".)

comment:4 Changed 7 years ago by hokgt (Suhendri Wijaya)

Thanks for your reply. I have check port outdated but reply with "No installed port are outdated."

comment:5 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

I guess we never figured out what the problem was here. On the plus side, the problem may no longer exist since gtk3-3.22.30_1+universal+x11.darwin_17.i386-x86_64.tbz2 built successfully on our buildbot worker, and also gtk3 is no longer in the dependency tree for wine.

comment:6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.