[MacPorts] #49359: fix for port tdom

MacPorts noreply at macports.org
Mon Oct 19 03:38:27 PDT 2015


#49359: fix for port tdom
---------------------------------+--------------------------------
 Reporter:  neumann@…            |      Owner:  macports-tickets@…
     Type:  defect               |     Status:  new
 Priority:  Normal               |  Milestone:
Component:  ports                |    Version:  2.3.4
 Keywords:  haspatch maintainer  |       Port:  tdom
---------------------------------+--------------------------------
 The tdom port is svn fails with due to an Tcl 8.6 incompatibility:
 {{{
 :info:build /usr/bin/clang -DPACKAGE_NAME=\"tdom\"
 -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.3\"
 -DPACKAGE_STRING=\"tdom\ 0.8.3\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
 -DHAVE_SYS_PARAM_H=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1
 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_IS_LONG=1
 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1
 -DUSE_NORMAL_ALLOCATOR=1   -I../generic -I../expat -I"/opt/local/include"
 -pipe -Os -arch x86_64 -pipe  -Os -Wall -Wno-implicit-int -fno-common
 -I/opt/local/include  -c `echo ../generic/tcldom.c` -o tcldom.o
 :info:build ../generic/tcldom.c:5937:49: error: no member named
 'errorLine' in 'struct Tcl_Interp'
 :info:build                 Tcl_GetString(objv[1]), interp->errorLine);
 :info:build                                         ~~~~~~  ^
 :info:build /usr/include/secure/_stdio.h:47:56: note: expanded from macro
 'sprintf'
 :info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str),
 __VA_ARGS__)
 :info:build                                                        ^
 :info:build 1 error generated.
 :info:build make: *** [tcldom.o] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_tDOM/tDOM/work/tDOM-0.8.3/unix'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_tDOM/tDOM/work/tDOM-0.8.3/unix"
 && /usr/bin/make -j8 -w all
 :info:build Exit code: 2
 :error:build org.macports.build for port tDOM returned: command execution
 failed
 :debug:build Error code: CHILDSTATUS 77151 2
 :debug:build Backtrace: command execution failed
 }}}
 The attached Portfile + patch fixes this
 (ports/textproc/tdom).

-- 
Ticket URL: <https://trac.macports.org/ticket/49359>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list