#60975: qt511-qtwebkit @ 5.9.1_2.darwin_15.x86_64: Failed to build qt511-qtwebkit: command execution failed

classic Classic list List threaded Threaded
35 messages Options
12
Reply | Threaded
Open this post in threaded view
|

#60975: qt511-qtwebkit @ 5.9.1_2.darwin_15.x86_64: Failed to build qt511-qtwebkit: command execution failed

macports-4
#60975: qt511-qtwebkit @ 5.9.1_2.darwin_15.x86_64: Failed to build qt511-qtwebkit:
command execution failed
----------------------------------+---------------------------------
 Reporter:  thetrial              |      Owner:  MarcusCalhoun-Lopez
     Type:  defect                |     Status:  assigned
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.6.3
 Keywords:  legacy-os, elcapitan  |       Port:  qt511-qtwebkit
----------------------------------+---------------------------------
 I tried it on two machines and I tried trace-mode. It didn’t build.
 I am on El Capitan, thus depend on qt5. What usually works when building
 stuff that would e.g. ask for qt6.

 {{{
 Warning: Qt dependency is not the latest version but may be the latest
 supported on your OS
 }}}

 Here is the tail of the log:

 {{{
 :info:build 392 warnings generated.
 :info:build 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'
 :info:build make[1]: *** [sub-Target-pri-make_first-ordered] Error 2
 :info:build 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'
 :info:build make: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered]
 Error 2
 :info:build 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'
 :info:build 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
 :info:build Exit code: 2
 :error:build Failed to build qt511-qtwebkit: command execution failed
 :debug:build Error code: CHILDSTATUS 5069 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_aqua_qt511/qt511-qtwebkit/main.log
 for details.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/60975>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt511-qtwebkit @ 5.9.1_2.darwin_15.x86_64: Failed to build qt511-qtwebkit: command execution failed

macports-4
#60975: qt511-qtwebkit @ 5.9.1_2.darwin_15.x86_64: Failed to build qt511-qtwebkit:
command execution failed
-----------------------------+----------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:  legacy-os, elcapitan
      Port:  qt511-qtwebkit  |
-----------------------------+----------------------------------

Comment (by Schamschula):

 Unfortunately, the error is not visible in the log tail. Please attache
 the full main.log.

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt511-qtwebkit @ 5.9.1_2.darwin_15.x86_64: Failed to build qt511-qtwebkit: command execution failed

macports-4
In reply to this post by macports-4
#60975: qt511-qtwebkit @ 5.9.1_2.darwin_15.x86_64: Failed to build qt511-qtwebkit:
command execution failed
-----------------------------+----------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:  legacy-os, elcapitan
      Port:  qt511-qtwebkit  |
-----------------------------+----------------------------------
Changes (by Schamschula):

 * Attachment "qt5-qtwebkit-main.log.zip" added.


--
Ticket URL: <https://trac.macports.org/ticket/60975>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt511-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found (was: qt511-qtwebkit @ 5.9.1_2.darwin_15.x86_64: Failed to build qt511-qtwebkit: command execution failed)

macports-4
In reply to this post by macports-4
#60975: qt511-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------
Changes (by Schamschula):

 * keywords:  legacy-os, elcapitan =>


Comment:

 In my log the error is

 {{{
 :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.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found (was: qt511-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found)

macports-4
In reply to this post by macports-4
#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------

Comment (by thetrial):

 Yes, here it is exactly the same.

 {{{
 :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.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------

Comment (by kencu):

 clang became much more strict regarding include files a year ago or so ---
 system included must be {{{<}}} and {{{>}}} and local includes must be
 {{{"}}} and {{{"}}}.

 That is probably a good place to start looking for this error.

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------

Comment (by Schamschula):

 Unfortunately, that's not the problem. The file CSSGrammar.hpp does not
 exist - its is either not created, or deleted before it is needed.

 This is likely an issue due to the recent update to bison 3.7.x, see:
 https://trac.macports.org/ticket/60978

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------

Comment (by thetrial):

 My recent attempts led to success. There was no error. Is this an
 implicite solution?

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:                  |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------

Comment (by michaelld):

 The file `CSSGrammar.hpp` is being created, but there are all sorts of
 parsing issues with the input script. Could be as noted a bison issue
 here, or some other port that was recently updated.

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:  fixed           |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------
Changes (by Michael Klein <michael.klein@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"00f0c96071a475d968272f70aa4945f111e330b1/macports-ports"
 00f0c96071a475d968272f70aa4945f111e330b1/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="00f0c96071a475d968272f70aa4945f111e330b1"
 qt5-qtwebkit: work around bison related build failure

 Closes: https://trac.macports.org/ticket/60975
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:  fixed           |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------
Changes (by thetrial):

 * Attachment "main.log.zip" added.

 qt511-qtwebkit @5.9.1 Try to rebuild

--
Ticket URL: <https://trac.macports.org/ticket/60975>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found
-----------------------------+---------------------------------
  Reporter:  thetrial        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.3
Resolution:  fixed           |   Keywords:
      Port:  qt511-qtwebkit  |
-----------------------------+---------------------------------

Comment (by thetrial):

 Strange thing … I have to return to this ticket due it’s exactly the same
 again. qt511-qtwebkit had to be rebuild again, and it gave the same error.

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#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  |
-----------------------------+---------------------------------
Changes (by thetrial):

 * status:  closed => reopened
 * resolution:  fixed =>


--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#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 mf2k):

 Please attach the latest full main.log.

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#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):

 İ had attached it before I wrote the comment. »qt511-qtwebkit @5.9.1 Try
 to rebuild«.

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#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):

 Any chance to fix that? Maybe just with an addition of that missing file?!
 My Macports installation hangs now for quite a long time. It seems El
 Capitan starts to smell funny for Macports. Or vice versa.

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#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 kencu):

 We haven't really sorted out why you're having trouble here, but the
 current version of {{{qt511-qtwebit}}} is sitting on the buildbot for your
 OS, waiting for you to download and install it:

 {{{
 $ port info qt511-qtwebkit
 qt511-qtwebkit @5.9.1_2 (aqua)
 }}}

 <http://packages.macports.org/qt511-qtwebkit/qt511-qtwebkit-5.9.1_2.darwin_15.x86_64.tbz2>

 is that not somehow working for you?

 Re: El Cap and MacPorts -- all other package managers have (AFAIK)
 abandoned you, so MacPorts is your "Knight in Shining Armour", here to
 save you from oblvion...

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#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):

 Hm, how do I install that?

 I put that in /opt/local/var/macports/software/qt511-qtwebkit and tried a
 sudo port -b install qt511-qtwebkit, but it did not work.

 {{{
 --->  Computing dependencies for qt511-qtwebkit
 --->  Cleaning qt511-qtwebkit
 --->  Scanning binaries for linking errors
 --->  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
 --->  Scanning binaries for linking errors
 --->  Found 1 broken file, matching files to ports
 Error: rev-upgrade failed: Port qt511-qtwebkit still broken after
 reinstalling -- can't rebuild due to binary-only mode
 }}}

 Am I doing something wrong?

 I don’t use other package managers. I guess I had tried out fink before
 macports … back in times of 10.4 oder 10.5 maybe. Isn’t Macports even
 still having support for much older OSs? I’m very (!) happy with MP, but
 the last months sommething always happpens. I’m not quite shure, but
 probably it’s more or less (always) connected with that Qt implementation.

 Indeed, MP IS my »Knight in Bright Shining Armour« :-) Thanks for that.

--
Ticket URL: <https://trac.macports.org/ticket/60975#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #60975: qt5-qtwebkit: fatal error: 'CSSGrammar.hpp' file not found

macports-4
In reply to this post by macports-4
#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):

 Today I found out something very interesting: When I compare those two
 archive files qt511-qtwebkit-5.9.1_2.darwin_15.x86_64.tbz2 – the one you
 provided and I downloaded (20210201) and the one that is available here in
 Macports’ system in its directory (20200813) – they are absolutely
 identical.

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