Opened 5 years ago
Closed 5 years ago
#59933 closed defect (worksforme)
qt5-qtdeclarative @5.14.0_0+debug build failure
Reported by: | TheLastLovemark | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | qt5-qtdeclarative |
Description
I attempted to install Wireshark using:
port install wireshark3 +cares +chmodbpf +debug +geoip +gnutls +kerberos5 +libsmi +lua +python37 +qt5 +zlib
There were errors during the qt5-qtdeclarative phase of the build:
The log info is attached.
Attachments (1)
Change History (13)
comment:1 Changed 5 years ago by mf2k (Frank Schima)
Cc: | MarcusCalhoun-Lopez removed |
---|---|
Keywords: | qt5-qtdeclarative removed |
Owner: | set to MarcusCalhoun-Lopez |
Status: | new → assigned |
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Summary: | wireshark3 fails to build because of qt5-qtdeclarative build failure → qt5-qtdeclarative @5.14.0_0+debug build failure |
---|
:info:build cp: qqmljsparser_p.h: No such file or directory :info:build make[3]: *** [../../lib/QtQml.framework/Versions/5/Headers/5.14.0/QtQml/private/qqmljsparser_p.h] Error 1
comment:4 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Unfortunately, I cannot reproduce this error.
There is a similar bug report, but it is supposed to have been fixed.
This is just a guess, but perhaps an older version of qt5-qtdeclarative is causing the problem?
Please try running:
sudo port selfupdate
sudo port clean qt5-qtdeclarative
sudo port deactivate qt5-qtdeclarative
sudo port install qt5-qtdeclarative
comment:5 Changed 5 years ago by TheLastLovemark
forgot to mention that I just did a fresh install of 2.6.2 on Monday. so any version of qt5-qtdeclarative would be fresh also.
comment:6 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Perhaps the +debug
variant is causing issues?
When you attempted to install wireshark3 with the debug variant, MacPorts passed the variant to the uninstalled dependencies (including qt5-qtdeclarative).
Perhaps you should try to install the indpedencies without the debug variant to see if that is the problem.
comment:7 Changed 5 years ago by mf2k (Frank Schima)
It install fine for me with the +debug
variant on Mojave:
$ port -v installed qt5-qtdeclarative The following ports are currently installed: qt5-qtdeclarative @5.14.0_0 platform='darwin 18' archs='x86_64' date='2020-01-06T08:01:56-0700' qt5-qtdeclarative @5.14.0_0+debug (active) platform='darwin 18' archs='x86_64' date='2020-01-10T07:18:42-0700'
comment:8 Changed 5 years ago by TheLastLovemark
It worked for me without the +debug variant.
Installed Wireshark3 w/o debug variant.
This is not the only ticket I have open regarding a port failing to build with the debug variant.
Any idea why the install seems to work only without the +debug variant?
I'm on High Sierra and can not upgrade any further (Mid 2010 MBP).
comment:9 Changed 5 years ago by kencu (Ken)
probably all different reasons...
when you build with the +debug variant, you build everything from source always. This brings out any failings in your system, as in your clang-3.7 issue.
you build non-standard code paths, as in .your exiv2 issue, and maybe the issue here.
MacPorts has only so many people who can fix things, and so there are code paths like debug variants that don't get tested all that often, esp on systems that are not the most recent...
comment:10 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Since I cannot reproduce this error, and we at least have a workaround for the original reporter, I am inclined to close this as "works for me."
Any objections?
comment:12 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |