Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#58721 closed defect (fixed)

keybinder @0.3.1, keybinder-3.0 @0.3.2: warning: failed to load external entity "../xml/tree_index.sgml"

Reported by: djsharman (Darren Sharman) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: Velociround (Antonio Germano)
Port: keybinder, keybinder-3.0

Description (last modified by mf2k (Frank Schima))

Build fails, build log attached below:

:notice:build --->  Building keybinder
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (keybinder)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.14'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1" && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64" 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1" && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64" 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1'
:info:build Making all in libkeybinder
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1/libkeybinder'
:info:build make[1]: Nothing to be done for `all'.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1/libkeybinder'
:info:build Making all in docs
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1/docs'
:info:build rm -rf html && mkdir html && \
:info:build 	mkhtml_options=""; \
:info:build 	gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
:info:build 	if test "$?" = "0"; then \
:info:build 	  if test "x" = "x1"; then \
:info:build 	    mkhtml_options="$mkhtml_options --verbose"; \
:info:build 	  fi; \
:info:build 	fi; \
:info:build 	gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-path"; \
:info:build 	if test "$?" = "0"; then \
:info:build 	  mkhtml_options="$mkhtml_options --path=\"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1/docs\""; \
:info:build 	fi; \
:info:build 	cd html && gtkdoc-mkhtml $mkhtml_options  keybinder ../keybinder-docs.sgml
:info:build warning: failed to load external entity "../xml/tree_index.sgml"
:info:build ../keybinder-docs.sgml:26: element include: XInclude error : could not load ../xml/tree_index.sgml, and no fallback was found
:info:build make[1]: *** [html-build.stamp] Error 6
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1/docs'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1" && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64" 
:info:build Exit code: 2
:error:build Failed to build keybinder: command execution failed
:debug:build Error code: CHILDSTATUS 4244 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/main.log for details.

Change History (7)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

In the future, please use WikiFormatting.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Cc: ryandesign@… removed
Description: modified (diff)
Owner: set to ryandesign
Status: newassigned

comment:3 Changed 5 years ago by Velociround (Antonio Germano)

I also have this problem. What can I do?

:notice:build --->  Building keybinder
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (keybinder)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Applications/Xcode.app/Contents/Developer'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.15'
:debug:build SDKROOT='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1" && /usr/bin/make -j12 -w all CC="/usr/bin/clang -arch x86_64" 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1" && /usr/bin/make -j12 -w all CC="/usr/bin/clang -arch x86_64" 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/engla-keybinder-141d244'
:info:build Making all in libkeybinder
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/engla-keybinder-141d244/libkeybinder'
:info:build make[1]: Nothing to be done for `all'.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/engla-keybinder-141d244/libkeybinder'
:info:build Making all in docs
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/engla-keybinder-141d244/docs'
:info:build rm -rf html && mkdir html && \
:info:build     mkhtml_options=""; \
:info:build     gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
:info:build     if test "$?" = "0"; then \
:info:build       if test "x" = "x1"; then \
:info:build         mkhtml_options="$mkhtml_options --verbose"; \
:info:build       fi; \
:info:build     fi; \
:info:build     gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-path"; \
:info:build     if test "$?" = "0"; then \
:info:build       mkhtml_options="$mkhtml_options --path=\"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1/docs\""; \
:info:build     fi; \
:info:build     cd html && gtkdoc-mkhtml $mkhtml_options  keybinder ../keybinder-docs.sgml
:info:build warning: failed to load external entity "../xml/tree_index.sgml"
:info:build ../keybinder-docs.sgml:26: element include: XInclude error : could not load ../xml/tree_index.sgml, and no fallback was found
:info:build make[1]: *** [html-build.stamp] Error 6
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/engla-keybinder-141d244/docs'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/engla-keybinder-141d244'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/work/keybinder-0.3.1" && /usr/bin/make -j12 -w all CC="/usr/bin/clang -arch x86_64" 
:info:build Exit code: 2
:error:build Failed to build keybinder: command execution failed
:debug:build Error code: CHILDSTATUS 86843 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_keybinder/keybinder/main.log for details.

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

Cc: Velociround added
Status: assignedaccepted
Summary: keybinder-0.3.1 build failskeybinder @0.3.1: warning: failed to load external entity "../xml/tree_index.sgml"

Here is the upstream bug report:

https://github.com/kupferlauncher/keybinder/issues/16

Here is the proposed fix:

https://github.com/kupferlauncher/keybinder/pull/18

I can check whether that fixes it and if so apply it to the port.

I should also check whether the keybinder-3.0 port is affected too and if so fix it there too.

comment:5 in reply to:  4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Port: keybinder-3.0 added
Summary: keybinder @0.3.1: warning: failed to load external entity "../xml/tree_index.sgml"keybinder @0.3.1, keybinder-3.0 @0.3.2: warning: failed to load external entity "../xml/tree_index.sgml"

Replying to ryandesign:

I should also check whether the keybinder-3.0 port is affected

It is.

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

Resolution: fixed
Status: acceptedclosed

In 4d0bdb3bb485a62d2869ac8598acab8c81313a87/macports-ports (master):

keybinder, keybinder-3.0: Fix build with gtk-doc 1.31+

Closes: #58721

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

Forgot to mention in the commit message but the reason I increased the revision was that we are now using newer versions of gobject-introspection and gtk-doc and the files generated by those tools are different.

Note: See TracTickets for help on using tickets.