Opened 2 years ago

Closed 2 years ago

#57509 closed defect (invalid)

Virtuoso-7 fail to build in Mac OS 10.14

Reported by: lukewmo (Luke Mo) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: virtuoso-7

Description (last modified by jmroot (Joshua Root))

I want to build okular, but it stopped at the failure of virtuoso-7. The Xcode is 10.1, and it is properly installed and complete. The error message is the following:

---> Fetching distfiles for virtuoso-7
---> Attempting to fetch virtuoso-opensource-7.2.5.tar.gz from
https://distfiles.macports.org/virtuoso-7
---> Verifying checksums for virtuoso-7
---> Extracting virtuoso-7
---> Configuring virtuoso-7
Some antivirus software can cause the virtuoso build to hang
indefinitely. If you have any antivirus software installed,
please disable it while building virtuoso; it can be re-enabled
after virtuoso has been installed.
---> Building virtuoso-7
Error: Failed to build virtuoso-7: command execution failed
Error: See /opt/local/var/macports/logs/
_opt_local_var_macports_sources_rsync.macports.org_macports_rele
ase_tarballs_ports_devel_virtuoso-7/virtuoso-7/main.log for
details.
Error: Follow https://guide.macports.org/#project.tickets to
report a bug.
Error: Processing of port virtuoso-7 failed
---> Some of the ports you installed have notes:
libidn has the following notes:
Please be aware that GNU libidn2 is the successor of GNU
libidn. It comes with IDNA 2008
and TR46 implementations and also provides a compatibility
layer for GNU libidn.
openldap has the following notes:
A startup item has been generated that will aid in starting
openldap with launchd. It is
disabled by default. Execute the following command to start
it, and to cause it to launch at
startup:
sudo port load openldap
python27 has the following notes:
To make this the default Python or Python 2 (i.e., the
version run by the 'python' or
'python2' commands), run one or both of:
sudo port select --set python python27
sudo port select --set python2 python27

Attachments (1)

main.log (633.4 KB) - added by lukewmo (Luke Mo) 2 years ago.

Download all attachments as: .zip

Change History (8)

Changed 2 years ago by lukewmo (Luke Mo)

Attachment: main.log added

comment:1 Changed 2 years ago by lukewmo (Luke Mo)

This happened only on my MacBook Pro.

I installed virtuoso-7 successfully on two IMacs without any difficulty. they are also running with OS 10.14 and Xcode 10.1.

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to nerdling
Status: newassigned

comment:3 Changed 2 years ago by kencu (Ken)

Oh oh:

clang: error: no such file or directory: '/usr/local/lib/libfreetype.dylib'

Looks like you have either homebrew installed, or perhaps somehow you have installed freetype yourself from some kind of archive. Either way, that's your issue.

Sort that out, uninstall homebrew, get rid of the /usr/local stuff, clean up your build, and try again. Please post back if you still have troubles after doing all that.

comment:4 Changed 2 years ago by lukewmo (Luke Mo)

Thanks to Oh oh.

Homebrew is not installed on this MacBook Pro. Indeed I do not have the file: /usr/local/lib/libfreetype.dylib as you indicated. Should I install it from Opensource? I am trouled by the fact that I installed virtuoso-7 successfully, and they do not have this libfree.dylib either.

I cleared the Macports completely, and reinstalled it. The trouble remains.

comment:5 Changed 2 years ago by kencu (Ken)

No -- it is erroring out because it's not finding that file -- but it should not be looking for that file in the first place.

So something on that machine is making it look for that file, and this is what you need to sort out.

Is there anything at all in /usr/local? If so, get it outta there.

If there is nothing in /usr/local and this is still happening, you have a mystery on your hands.

Try a trace build, in that case:

sudo port -v -t install  virtuoso-7

and see where that goes for you.

comment:6 Changed 2 years ago by lukewmo (Luke Mo)

Dear Ken:

Thanks for your kind help. My /usr/local is full of many things, such as the TeX Live 2018. I cannot get rid of them. After trying you suggestion to no avail, I just deleted the whole Macports package, and reinstalled it the 2nd time. It succeeded.

The failure is probably due to a bad download, but I cannot be sure.

Please kindly close this ticket.

comment:7 Changed 2 years ago by nerdling (Jeremy Lavergne)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.