Opened 13 years ago

Closed 13 years ago

#29443 closed defect (fixed)

graphviz @2.28.0: /src/moc: No such file or directory

Reported by: jjstickel@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), pixilla (Bradley Giesbrecht)
Port: graphviz graphviz-devel

Description

The latest graphviz is giving an error during the build phase. The relevant part of the log (attached) is

:info:build qmake-qt3 -o qMakefile gvedit.pro
:info:build cp ../../doc/infosrc/attrs attrs.txt
:info:build rm -f moc_csettings.cpp moc_imageviewer.cpp moc_mainwindow.cpp moc_mdichild.cpp qrc_mdi.cpp # don't use distributed mocables poss from diff version of Qt
:info:build /usr/bin/make -f qMakefile prefix=/opt/local exec_prefix=/opt/local mocables compiler_rcc_make_all
:info:build ( cd /src/moc && /usr/bin/make )
:info:build make[5]: *** No rule to make target `compiler_rcc_make_all'.  Stop.
:info:build make[5]: *** Waiting for unfinished jobs....
:info:build /bin/sh: line 0: cd: /src/moc: No such file or directory
:info:build make[5]: *** [/bin/moc] Error 1
:info:build make[4]: *** [mocables] Error 2
:info:build make[4]: *** Waiting for unfinished jobs....
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2

Attachments (4)

main.log (91.2 KB) - added by jjstickel@… 13 years ago.
PortGroup-qt4-Portfile.diff (425 bytes) - added by pixilla (Bradley Giesbrecht) 13 years ago.
variant-qt4-Portfile.diff (1.2 KB) - added by pixilla (Bradley Giesbrecht) 13 years ago.
without-qt-Portfile.diff (515 bytes) - added by pixilla (Bradley Giesbrecht) 13 years ago.

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by jjstickel@…

Attachment: main.log added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: graphviz @2.28.0 build errorgraphviz @2.28.0: /src/moc: No such file or directory

Thanks for the report. I'll have to look into this. It works on my system, and I don't think this "moc" think is supposed to be getting built. (It's new and optional and I hadn't intended for it to be enabled.) Perhaps you have qt3 installed, and graphviz is finding and trying to use it? The workaround would be to deactivate qt3, clean and install graphviz, then (if desired) reactivate qt3.

comment:2 Changed 13 years ago by jjstickel@…

Yep, deactivating qt3 temporarily allowed graphiz to build and install.

(I'd like to uninstall qt3, but I am still dependent on konqueror of kde3 -- dolphin has a font rendering bug for me.)

comment:3 Changed 13 years ago by pixilla (Bradley Giesbrecht)

graphviz configure has this option:

--with-qt=yes           Qt features

Here are 3 patches to choose from:

  • PortGroup-qt4 adds the qt4 PortGroup
  • without-qt --without-qt
  • variant-qt4 adds qt4 variant

comment:4 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

Changed 13 years ago by pixilla (Bradley Giesbrecht)

Attachment: PortGroup-qt4-Portfile.diff added

Changed 13 years ago by pixilla (Bradley Giesbrecht)

Attachment: variant-qt4-Portfile.diff added

Changed 13 years ago by pixilla (Bradley Giesbrecht)

Attachment: without-qt-Portfile.diff added

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

Port: graphviz-devel added
Resolution: fixed
Status: assignedclosed

I am unable to reproduce this problem, whether I have qt4-mac, qt3-mac, or qt3 installed and active. But I have applied the without-qt-Portfile.diff patch to the ports in r79114. I want to provide the Qt interface, using qt4-mac, but it will be in a separate port.

Note: See TracTickets for help on using tickets.