[MacPorts] #58418: qt5-qtcreator fails to build on Mojave with Xcode-10.2.1

MacPorts noreply at macports.org
Fri May 3 18:42:39 UTC 2019


#58418: qt5-qtcreator fails to build on Mojave with Xcode-10.2.1
----------------------------+---------------------------------
  Reporter:  mouse07410     |      Owner:  MarcusCalhoun-Lopez
      Type:  defect         |     Status:  reopened
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  qt5-qtcreator  |
----------------------------+---------------------------------

Comment (by mouse07410):

 > hmmm -- in your last log... {{{ ...sh: cannot create temp file for here
 document: Operation not permitted}}}, like 1373.

 I cannot figure what directory it talks about. In the vicinity of that
 error message I see:
 {{{
 $ pwd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qt5-qtcreator/qt5-qtcreator/work
 /qt-creator-opensource-src-4.9.0/src
 $ ll
 total 216
 drwxr-xr-x  15 macports  wheel    480 May  3 14:07 ./
 drwxr-xr-x  26 macports  wheel    832 May  3 14:07 ../
 -rw-r--r--   1 macports  wheel  84227 May  3 14:07 Makefile
 drwxr-xr-x  18 macports  wheel    576 May  3 14:19 app/
 drwxr-xr-x  23 macports  wheel    736 May  3 14:07 libs/
 drwxr-xr-x  72 macports  wheel   2304 Apr 11 08:49 plugins/
 -rw-r--r--   1 macports  wheel    774 Apr 11 08:49 qtcreatorlibrary.pri
 -rw-r--r--   1 macports  wheel   3289 Apr 11 08:49 qtcreatorplugin.pri
 -rw-r--r--   1 macports  wheel    578 Apr 11 08:49 qtcreatortool.pri
 -rw-r--r--   1 macports  wheel    548 Apr 11 08:49 rpath.pri
 drwxr-xr-x   4 macports  wheel    128 Apr 11 08:49 share/
 drwxr-xr-x  19 macports  wheel    608 May  3 14:07 shared/
 -rw-r--r--   1 macports  wheel    311 Apr 11 08:49 src.pro
 -rw-r--r--   1 macports  wheel   1466 Apr 11 08:49 src.qbs
 drwxr-xr-x  31 macports  wheel    992 Apr 11 08:49 tools/
 $ ll app
 total 512
 drwxr-xr-x  18 macports  wheel     576 May  3 14:19 ./
 drwxr-xr-x  15 macports  wheel     480 May  3 14:07 ../
 drwxr-xr-x   3 macports  wheel      96 May  3 14:19 .moc/
 drwxr-xr-x   3 macports  wheel      96 May  3 14:19 .obj/
 -rw-r--r--   1 macports  wheel    7964 May  3 14:19 Info.plist
 -rw-r--r--   1 macports  wheel   54892 May  3 14:19 Makefile
 -rw-r--r--   1 macports  wheel    8009 Apr 11 08:49 app-Info.plist
 -rw-r--r--   1 macports  wheel    2032 Apr 11 08:49 app.pro
 -rw-r--r--   1 macports  wheel    3215 Apr 11 08:49 app.qbs
 -rw-r--r--   1 macports  wheel    2643 May  3 14:19 app_version.h
 -rw-r--r--   1 macports  wheel    2933 Apr 11 08:49 app_version.h.in
 -rw-r--r--   1 macports  wheel    2795 Apr 11 08:49 app_version_header.qbs
 -rw-r--r--   1 macports  wheel     302 May  3 14:19
 asset_catalog_compiler.Info.plist
 -rw-r--r--   1 macports  wheel   25604 Apr 11 08:49 main.cpp
 -rw-r--r--   1 macports  wheel  128904 Apr 11 08:49 qtcreator.ico
 -rw-r--r--   1 macports  wheel    1200 Apr 11 08:49 qtcreator.rc
 drwxr-xr-x   4 macports  wheel     128 Apr 11 08:49 qtcreator.xcassets/
 drwxr-xr-x  51 macports  wheel    1632 Apr 11 08:49 winicons/
 $
 }}}
 Ownership and access rights appear good.

 And despite its claims, it *did* create {{{Qt Creator}}} binary as {{{-o
 ../../bin/Qt\ Creator.app/Contents/MacOS/Qt\ Creator}}}:
 {{{
 $ ll ../../bin/Qt\ Creator.app/Contents/MacOS/
 total 232
 drwxr-xr-x  3 macports  wheel      96 May  3 14:19 ./
 drwxr-xr-x  7 macports  wheel     224 May  3 14:19 ../
 -rwxr-xr-x  1 macports  wheel  116924 May  3 14:19 Qt Creator*
 $
 }}}



 Also, build succeeded on another machine. Here's the difference.
 On the "succeeding" machine:
 {{{
 $ port installed | grep qt5
   cmake @3.14.3_0+gui+qt5 (active)
   qt5-qtbase @5.12.3_0+openssl (active)
   qt5-qtcreator @4.9.0_0 (active)
   qt5-qtdeclarative @5.12.3_0 (active)
   qt5-qtgraphicaleffects @5.12.3_0 (active)
   qt5-qtmacextras @5.12.3_0 (active)
   qt5-qtquickcontrols @5.12.3_0 (active)
   qt5-qtscript @5.12.3_0 (active)
   qt5-qtsvg @5.12.3_0 (active)
   qt5-qttools @5.12.3_0 (active)
   qt5-qtxmlpatterns @5.12.3_0 (active)
 $ port installed | grep qt5 | wc -l
       11
 $
 }}}

 On the "failing" (consistently) machine:
 {{{
 $ port installed | grep qt5
   cmake @3.14.3_0+gui+qt5 (active)
   qt5-qtbase @5.12.3_0+openssl (active)
   qt5-qtdeclarative @5.12.3_0 (active)
   qt5-qtgraphicaleffects @5.12.3_0 (active)
   qt5-qtmacextras @5.12.3_0 (active)
   qt5-qtnetworkauth @5.12.3_0 (active)
   qt5-qtquickcontrols @5.12.3_0 (active)
   qt5-qtscript @5.12.3_0 (active)
   qt5-qtserialbus @5.12.3_0 (active)
   qt5-qtserialport @5.12.3_0 (active)
   qt5-qtsvg @5.12.3_0 (active)
   qt5-qttools @5.12.3_0 (active)
   qt5-qtwebsockets @5.12.3_0 (active)
   qt5-qtxmlpatterns @5.12.3_0 (active)
 $ port installed | grep qt5 | wc -l
       14
 $
 }}}

 Overall, the "failing" machine has about 60 ports more installed.

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


More information about the macports-tickets mailing list