[MacPorts] #4167: BUG: tk installs X11 headers

MacPorts noreply at macports.org
Tue Mar 5 19:10:36 UTC 2019


#4167: BUG: tk installs X11 headers
-------------------------+---------------------------------
  Reporter:  ghenshaw@…  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  1.0
Resolution:              |   Keywords:
      Port:  tk          |
-------------------------+---------------------------------
Description changed by mf2k:

Old description:

> In the course of trying to install ethereal...
>
> --->  Fetching xrender
> --->  Attempting to fetch libXrender-0.8.4.tar.bz2 from
> http://xlibs.freedesktop.org/release/
> --->  Verifying checksum(s) for xrender
> --->  Extracting xrender
> --->  Configuring xrender
> --->  Building xrender with target all
> Error: Target com.apple.build returned: shell command "cd
> "/opt/local/var/db/dports/build/
> file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_x11_xrender/
> work/libXrender-0.8.4" && make all" returned error 2
> Command output: make  all-am
> if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
> -I/opt/local/include   -I/usr/
> X11R6/include -DXTHREADS -g -O2 -MT Color.lo -MD -MP -MF
> ".deps/Color.Tpo" \
>   -c -o Color.lo `test -f 'Color.c' || echo './'`Color.c; \
> then mv -f ".deps/Color.Tpo" ".deps/Color.Plo"; \
> else rm -f ".deps/Color.Tpo"; exit 1; \
> fi
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include
> -I/usr/X11R6/include -DXTHREADS -g -O2 -MT
> Color.lo -MD -MP -MF .deps/Color.Tpo -c Color.c  -fno-common -DPIC -o
> .libs/Color.o
> In file included from Xrenderint.h:32,
>                  from Color.c:25:
> /usr/X11R6/include/X11/Xlibint.h:69: error: redefinition of 'struct
> _XDisplay'
> In file included from Xrenderint.h:32,
>                  from Color.c:25:
> /usr/X11R6/include/X11/Xlibint.h:1226: error: parse error before
> "XConnectionWatchProc"
> /usr/X11R6/include/X11/Xlibint.h:1226: warning: no semicolon at end of
> struct or union
> /usr/X11R6/include/X11/Xlibint.h:1229: error: parse error before '}'
> token
> make[1]: *** [Color.lo] Error 1
> make: *** [all] Error 2

New description:

 In the course of trying to install ethereal...
 {{{
 --->  Fetching xrender
 --->  Attempting to fetch libXrender-0.8.4.tar.bz2 from
 http://xlibs.freedesktop.org/release/
 --->  Verifying checksum(s) for xrender
 --->  Extracting xrender
 --->  Configuring xrender
 --->  Building xrender with target all
 Error: Target com.apple.build returned: shell command "cd
 "/opt/local/var/db/dports/build/
 file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_x11_xrender/
 work/libXrender-0.8.4" && make all" returned error 2
 Command output: make  all-am
 if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
 -I/opt/local/include   -I/usr/
 X11R6/include -DXTHREADS -g -O2 -MT Color.lo -MD -MP -MF ".deps/Color.Tpo"
 \
   -c -o Color.lo `test -f 'Color.c' || echo './'`Color.c; \
 then mv -f ".deps/Color.Tpo" ".deps/Color.Plo"; \
 else rm -f ".deps/Color.Tpo"; exit 1; \
 fi
 mkdir .libs
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -I/usr/X11R6/include
 -DXTHREADS -g -O2 -MT
 Color.lo -MD -MP -MF .deps/Color.Tpo -c Color.c  -fno-common -DPIC -o
 .libs/Color.o
 In file included from Xrenderint.h:32,
                  from Color.c:25:
 /usr/X11R6/include/X11/Xlibint.h:69: error: redefinition of 'struct
 _XDisplay'
 In file included from Xrenderint.h:32,
                  from Color.c:25:
 /usr/X11R6/include/X11/Xlibint.h:1226: error: parse error before
 "XConnectionWatchProc"
 /usr/X11R6/include/X11/Xlibint.h:1226: warning: no semicolon at end of
 struct or union
 /usr/X11R6/include/X11/Xlibint.h:1229: error: parse error before '}' token
 make[1]: *** [Color.lo] Error 1
 make: *** [all] Error 2
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/4167#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list