Opened 7 years ago

Closed 6 years ago

#52933 closed defect (fixed)

xdotool @2.20110530.1: error: typedef redefinition with different types ('int' vs 'enum clockid_t')

Reported by: datajerk Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: sierra highsierra Cc: jasonqpswilson, mklein-de (Michael Klein), vjorlikowski, sgharpsr
Port: xdotool

Description

:info:build     xdo_get_window_name(context->xdo, window, &name, &name_len, &name_type);
:info:build                                               ^~~~~
:info:build ./xdotool.h:16:7: note: expanded from macro 'window_each'
:info:build       block \
:info:build       ^~~~~
:info:build ./xdo.h:873:41: note: passing argument to parameter 'name_ret' here
:info:build                         unsigned char **name_ret, int *name_len_ret,
:info:build                                         ^
:info:build 1 warning generated.
:info:build /usr/bin/clang -Os -g  -std=c99 -I/opt/local/include   -c -o cmd_windowminimize.o cmd_windowminimize.c
:info:build In file included from cmd_behave_screen_edge.c:10:
:info:build ./osx_hacks.h:4:9: warning: 'CLOCK_MONOTONIC' macro redefined [-Wmacro-redefined]
:info:build #define CLOCK_MONOTONIC 1
:info:build         ^
:info:build /usr/include/time.h:156:9: note: previous definition is here
:info:build #define CLOCK_MONOTONIC _CLOCK_MONOTONIC
:info:build         ^
:info:build In file included from cmd_behave_screen_edge.c:10:
:info:build ./osx_hacks.h:5:13: error: typedef redefinition with different types ('int' vs 'enum clockid_t')
:info:build typedef int clockid_t;
:info:build             ^
:info:build /usr/include/time.h:171:3: note: previous definition is here
:info:build } clockid_t;
:info:build   ^
:info:build 1 warning and 1 error generated.
:info:build make: *** [cmd_behave_screen_edge.o] Error 1

Attachments (1)

main.log (17.9 KB) - added by datajerk 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by datajerk

Attachment: main.log added

comment:1 Changed 7 years ago by raimue (Rainer Müller)

Keywords: sierra added
Owner: changed from macports-tickets@… to ryandesign
Status: newassigned

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

Status: assignedaccepted

Yes, the solution is to update xdotool to the latest version. Doing so requires the addition of a new port for libxkbcommon; see #52955.

comment:3 Changed 7 years ago by jasonqpswilson

Cc: jasonqpswilson added

comment:4 Changed 7 years ago by mklein-de (Michael Klein)

Cc: mklein-de added

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

Cc: vjorlikowski added

Has duplicate #54547.

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

Cc: sgharpsr added
Keywords: highsierra added
Summary: xdotool 2.20110530.1_0 darwin 16 build failxdotool @2.20110530.1: error: typedef redefinition with different types ('int' vs 'enum clockid_t')

Has duplicate #55157.

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

Resolution: fixed
Status: acceptedclosed

In 48586d8b0897b7740a1289c47d592ee3b7f5737a/macports-ports (master):

xdotool: Update to 3.20160805.1

Closes: #52933

Note: See TracTickets for help on using tickets.