Opened 9 years ago
Closed 9 years ago
#49843 closed defect (fixed)
LibreCAD destroot phase fails with sh: macdeployqt: command not found
Reported by: | macports@… | Owned by: | librecad@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | dongxuli2011@…, clothbot (Andrew Plumb) | |
Port: | LibreCAD |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
newly installed macports on OS darwin/15.0.0 (Mac OS X 10.11) arch i386 manual install of LibreCad.app works, so build phase seems to be successfull
from the log:
DEBUG: destroot phase started at Sun Nov 29 12:41:25 CET 2015 ---> Staging LibreCAD into destroot DEBUG: Can't run destroot under sudo without elevated privileges (due to mtree). DEBUG: Run destroot without sudo to avoid root privileges. DEBUG: Going to escalate privileges back to root. DEBUG: euid changed to: 0. egid changed to: 0. . changed gid expected 0 found 80 modified ./usr missing (created) . missing (directory not created: File exists) ./Applications missing (created) ./Developer missing (created) ./Library missing (created) . changed gid expected 80 found 0 modified ./bin missing (created) ./etc missing (created) ./include missing (created) ./lib missing (created) ./lib/pkgconfig missing (created) ./libexec missing (created) ./sbin missing (created) ./share missing (created) ./share/info missing (created) ./share/man missing (created) ./share/man/cat1 missing (created) ./share/man/cat2 missing (created) ./share/man/cat3 missing (created) ./share/man/cat4 missing (created) ./share/man/cat5 missing (created) ./share/man/cat6 missing (created) ./share/man/cat7 missing (created) ./share/man/cat8 missing (created) ./share/man/cat9 missing (created) ./share/man/catl missing (created) ./share/man/catn missing (created) ./share/man/man1 missing (created) ./share/man/man2 missing (created) ./share/man/man3 missing (created) ./share/man/man4 missing (created) ./share/man/man5 missing (created) ./share/man/man6 missing (created) ./share/man/man7 missing (created) ./share/man/man8 missing (created) ./share/man/man9 missing (created) ./share/man/manl missing (created) ./share/man/mann missing (created) ./share/nls missing (created) ./share/nls/C missing (created) ./share/nls/af_ZA.ISO8859-1 missing (created) ./share/nls/af_ZA.ISO8859-15 missing (created) ./share/nls/bg_BG.CP1251 missing (created) ./share/nls/cs_CZ.ISO8859-2 missing (created) ./share/nls/da_DK.ISO8859-1 missing (created) ./share/nls/da_DK.ISO8859-15 missing (created) ./share/nls/de_AT.ISO8859-1 missing (created) ./share/nls/de_AT.ISO8859-15 missing (created) ./share/nls/de_CH.ISO8859-1 missing (created) ./share/nls/de_CH.ISO8859-15 missing (created) ./share/nls/de_DE.ISO8859-1 missing (created) ./share/nls/de_DE.ISO8859-15 missing (created) ./share/nls/el_GR.ISO8859-7 missing (created) ./share/nls/en_AU.ISO8859-1 missing (created) ./share/nls/en_AU.ISO8859-15 missing (created) ./share/nls/en_AU.US-ASCII missing (created) ./share/nls/en_CA.ISO8859-1 missing (created) ./share/nls/en_CA.ISO8859-15 missing (created) ./share/nls/en_CA.US-ASCII missing (created) ./share/nls/en_GB.ISO8859-1 missing (created) ./share/nls/en_GB.ISO8859-15 missing (created) ./share/nls/en_GB.US-ASCII missing (created) ./share/nls/en_NZ.ISO8859-1 missing (created) ./share/nls/en_NZ.ISO8859-15 missing (created) ./share/nls/en_NZ.US-ASCII missing (created) ./share/nls/en_US.ISO8859-1 missing (created) ./share/nls/en_US.ISO8859-15 missing (created) ./share/nls/es_ES.ISO8859-1 missing (created) ./share/nls/es_ES.ISO8859-15 missing (created) ./share/nls/et_EE.ISO8859-15 missing (created) ./share/nls/fi_FI.ISO8859-1 missing (created) ./share/nls/fi_FI.ISO8859-15 missing (created) ./share/nls/fr_BE.ISO8859-1 missing (created) ./share/nls/fr_BE.ISO8859-15 missing (created) ./share/nls/fr_CA.ISO8859-1 missing (created) ./share/nls/fr_CA.ISO8859-15 missing (created) ./share/nls/fr_CH.ISO8859-1 missing (created) ./share/nls/fr_CH.ISO8859-15 missing (created) ./share/nls/fr_FR.ISO8859-1 missing (created) ./share/nls/fr_FR.ISO8859-15 missing (created) ./share/nls/hi_IN.ISCII-DEV missing (created) ./share/nls/hr_HR.ISO8859-2 missing (created) ./share/nls/hu_HU.ISO8859-2 missing (created) ./share/nls/is_IS.ISO8859-1 missing (created) ./share/nls/is_IS.ISO8859-15 missing (created) ./share/nls/it_CH.ISO8859-1 missing (created) ./share/nls/it_CH.ISO8859-15 missing (created) ./share/nls/it_IT.ISO8859-1 missing (created) ./share/nls/it_IT.ISO8859-15 missing (created) ./share/nls/ja_JP.SJIS missing (created) ./share/nls/ja_JP.eucJP missing (created) ./share/nls/ko_KR.eucKR missing (created) ./share/nls/la_LN.ISO8859-1 missing (created) ./share/nls/la_LN.ISO8859-15 missing (created) ./share/nls/la_LN.ISO8859-2 missing (created) ./share/nls/la_LN.ISO8859-4 missing (created) ./share/nls/la_LN.US-ASCII missing (created) ./share/nls/lt_LT.ISO8859-4 missing (created) ./share/nls/nl_BE.ISO8859-1 missing (created) ./share/nls/nl_BE.ISO8859-15 missing (created) ./share/nls/nl_NL.ISO8859-1 missing (created) ./share/nls/nl_NL.ISO8859-15 missing (created) ./share/nls/no_NO.ISO8859-1 missing (created) ./share/nls/no_NO.ISO8859-15 missing (created) ./share/nls/pl_PL.ISO8859-2 missing (created) ./share/nls/pt_BR.ISO8859-1 missing (created) ./share/nls/pt_PT.ISO8859-1 missing (created) ./share/nls/pt_PT.ISO8859-15 missing (created) ./share/nls/ro_RO.ISO8859-2 missing (created) ./share/nls/ru_RU.CP866 missing (created) ./share/nls/ru_RU.ISO8859-5 missing (created) ./share/nls/ru_RU.KOI8-R missing (created) ./share/nls/sk_SK.ISO8859-2 missing (created) ./share/nls/sl_SI.ISO8859-2 missing (created) ./share/nls/sv_SE.ISO8859-1 missing (created) ./share/nls/sv_SE.ISO8859-15 missing (created) ./share/nls/tr_TR.ISO8859-9 missing (created) ./share/nls/uk_UA.ISO8859-5 missing (created) ./share/nls/uk_UA.KOI8-U missing (created) ./share/nls/zh_CN.eucCN missing (created) ./share/nls/zh_TW.Big5 missing (created) ./share/skel missing (created) ./src missing (created) ./var missing (created) ./www missing (created) DEBUG: Executing org.macports.destroot (LibreCAD) sh: macdeployqt: command not found Command failed: macdeployqt LibreCAD.app Exit code: 127 Error: org.macports.destroot for port LibreCAD returned: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: command execution failed while executing "proc-org.macports.destroot-destroot-0 org.macports.destroot" ("eval" body line 1) invoked from within "eval $procedure $targetname" Warning: targets not executed for LibreCAD: org.macports.activate org.macports.destroot org.macports.install Please see the log file for port LibreCAD for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_LibreCAD/LibreCAD/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port LibreCAD failed
Attachments (2)
Change History (10)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | dongxuli2011@… added |
---|---|
Description: | modified (diff) |
Keywords: | destroot macdeployqt LibreCAD removed |
Owner: | changed from macports-tickets@… to librecad@… |
Changed 9 years ago by clothbot (Andrew Plumb)
Example librecad install fail.
comment:2 Changed 9 years ago by clothbot (Andrew Plumb)
I just ran into this myself; appended the resulting main.log file. One clue, although "qt4-x11" is listed in the dependencies when you search for librecad package:
https://www.macports.org/ports.php?by=name&substr=librecad
....the Portfile itself doesn't seem to include any mentions of it:
https://trac.macports.org/browser/trunk/dports/cad/LibreCAD/Portfile
I'm going through the motions of a "port install qt4-x11" right now; will try "port install librecad" again once it's finished.
Andrew.
comment:4 Changed 9 years ago by clothbot (Andrew Plumb)
Minor snag: qt4-x11 install fails with
:info:configure # error "This version of Mac OS X is unsupported"
Trying "port install qt4-mac" instead now...
Andrew.
comment:5 Changed 9 years ago by clothbot (Andrew Plumb)
Another datapoint: After "qt4-mac" install, the macdeployqt binary can be found in /opt/local/libexec/qt4/bin which is not in the default $PATH.
I haven't tried appending it to my PATH in ~/.profile yet as a workaround, but I wouldn't expect that step to be necessary for a regular "port install librecad" installation to work.
Andrew.
Changed 9 years ago by clothbot (Andrew Plumb)
Attachment: | main.2.log added |
---|
Another attempt at port install librecad
comment:6 Changed 9 years ago by clothbot (Andrew Plumb)
No luck adding /opt/local/libexec/qt4/bin to my $PATH. Attached the main.2.log result after (re)installing qt4-mac and running with the new path.
Andrew.
comment:7 Changed 9 years ago by djcurry@…
I had the same problem and fixing PATH also did not work. However, putting a soft link to macdeployqt into /opt/local/bin does work:
cd /opt/local/bin sudo ln -s /opt/local/libexec/qt4/bin/macdeployqt
Don
comment:8 Changed 9 years ago by g5pw (Aljaž Srebrnič)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should be resolved in r147840.
Please attach the entire main.log file.