Error: Processing of port qt5-qtwebengine failed (installing py34-pyqt5 on OS X 10.8.5)

Ryan Schmidt ryandesign at macports.org
Sat Apr 23 03:08:38 PDT 2016


On Apr 23, 2016, at 4:23 AM, Timothy W. Grove wrote:

> See below ...
>>> I'm attempting to install py34-pyqt5 on OS X 10.8.5. All seems to be going well until it fails on installing qtwebengine. Trying to install just this package on its own with the -v flag gives me the following output. Can anyone suggest what this is telling me or how to fix it? Thanks. (Xcode 5.5.1)
>>> 
>>> Best regards,
>>> Tim
>>> 
>>> Timothys-Mac:~ timothygrove$ sudo port -v install qt5-qtwebengine
>>> Password:
>>> --->  Computing dependencies for qt5-qtwebengine.
>>> --->  Staging qt5-qtwebengine into destroot
>>> 
>>> 
>>> Error: No files have been installed in the destroot directory!
>>> Error: Please make sure that this software supports 'make install DESTDIR=${destroot}' or implement an alternative destroot mechanism in the Portfile.
>>> 
>> That message is intended for the developer of the port, and is something that would certainly have been resolved before the port was committed. The fact that this happened to you suggests something unusual is happening in your case. It's hard to know what, because you tried again without cleaning first; that might even be the cause of this error (and the real original error was lost by trying again without cleaning). So please "sudo port clean qt5-qtwebengine", then try again, then file a ticket in the issue tracker and attach the new main.log there, possibly compressing it first if it is large.
>> 
>> 
>> https://guide.macports.org/chunked/project.html#project.tickets
> Strangely,  "sudo port clean qt5-webengine" tells me "Port qt5-webengine not found".  And I get exactly the same results as before. No log files to look at in '/opt/local/var/macports/logs'; actually there is not even a macports subdirectory in 'opt/local/var/' !!!

Oh sorry, it's qt5-qtwebengine, not qt5-webengine.

If the directory /opt/local/var/macports does not exist you have a problem with your MacPorts installation and should reinstall MacPorts. (You can re-download the installer from our web site.) Reinstalling MacPorts will not affect your installed ports. However, it seems unlikely that that directory would be missing, unless you deliberately deleted it.


> You quoted a couple of error lines above, but I would be interested in knowing what the ones which follow mean:
> Error: No files have been installed in the destroot directory!
> Error: Please make sure that this software supports 'make install DESTDIR=${destroot}' or implement an alternative destroot mechanism in the Portfile.
> 
> Error: Files might have been installed directly into your system, check before proceeding.

According to the earlier parts of the log you showed, nothing was installed anywhere.

> Installing worked fine with macports in OS X 10.9 but not in OS X 10.8, so I'm wondering what changed? Anyway, thanks for your help.

There are countless reasons why a port might fail to build, including that some software simply does not build on one version of OS X when it does build on a different version of OS X. However, the specific problem you're quoting does not initially sound like one of those kinds of problems. 




More information about the macports-users mailing list