[MacPorts] #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

MacPorts noreply at macports.org
Mon Feb 22 16:46:49 UTC 2021


#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  reopened
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------

Comment (by thetrial):

 It starts with …

 {{{
 sudo port -v rev-upgrade
 Password:
 --->  Scanning binaries for linking errors
 Could not open /opt/local/lib/libjpeg.9.dylib: Error opening or reading
 file (referenced from
 /opt/local/libexec/qt5/lib/QtWebKit.framework/Versions/5/QtWebKit)
 --->  Found 1 broken file, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt: qt511-qtwebkit @5.9.1
 Continue? [Y/n]:
 --->  Computing dependencies for qt511-qtwebkit.
 --->  Cleaning qt511-qtwebkit
 --->  Removing work directory for qt511-qtwebkit
 --->  Scanning binaries for linking errors
 Could not open /opt/local/lib/libjpeg.9.dylib: Error opening or reading
 file (referenced from
 /opt/local/libexec/qt5/lib/QtWebKit.framework/Versions/5/QtWebKit)
 --->  Found 1 broken file, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 --->  Rebuilding in order
      qt511-qtwebkit @5.9.1
 }}}

 … builds quite a long time and ends with …

 {{{
 392 warnings generated.
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt511/qt511-qtwebkit/work
 /qtwebkit-opensource-src-5.9.1/Source/WebCore'
 make[1]: *** [sub-Target-pri-make_first-ordered] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt511/qt511-qtwebkit/work
 /qtwebkit-opensource-src-5.9.1/Source/WebCore'
 make: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt511/qt511-qtwebkit/work
 /qtwebkit-opensource-src-5.9.1'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt511/qt511-qtwebkit/work
 /qtwebkit-opensource-src-5.9.1" && /usr/bin/make -j4 -w
 Exit code: 2
 Error: Failed to build qt511-qtwebkit: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt511/qt511-qtwebkit/main.log
 for details.
 Error: rev-upgrade failed: Error rebuilding qt511-qtwebkit
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 If I then look into the logfile there is one fatal error:

 {{{
 :info:build generated/CSSGrammar.cpp:160:10: fatal error: 'CSSGrammar.hpp'
 file not found
 :info:build #include "CSSGrammar.hpp"
 :info:build          ^
 :info:build 44 warnings and 1 error generated.
 :info:build make[2]: *** [.obj/generated/CSSGrammar.o] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 }}}

 So I guess the main logfile I had provided as comment 13 should show all.

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


More information about the macports-tickets mailing list