#66704 closed defect (fixed)
scribus @1.4.8: error: no viable overloaded '='
Reported by: | leeeoooooo | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | snowleopard | Cc: | |
Port: | scribus |
Description
Scribus fails to build on my 32-bit-only CoreDuo MacBook1,1 (Mac OS X 10.6.8) The compiler reports several warnings about non-standard code, but finally errors out complaining "error: no viable overloaded '='" Please see attached log.
Attachments (1)
Change History (13)
Changed 22 months ago by leeeoooooo
Attachment: | scribus-main.log added |
---|
comment:1 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | snowleopard i386 added; Scribus CoreDuo MacBook1 1 removed |
---|---|
Port: | scribus added; Scribus removed |
Summary: | Scribus fails to build on 32-bit-only CoreDuo MacBook1,1 - "error: no viable overloaded '='" → scribus @1.4.8: error: no viable overloaded '=' |
There is a newer development version of scribus available in the scribus-devel port; you could try installing that instead.
comment:2 follow-up: 9 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
but according to build server logs it looks like scribus-devel does not build on any OS version.
Neither port has a maintainer. If you can come up with solutions for any of these issues please submit pull requests.
comment:3 Changed 22 months ago by leeeoooooo
Scribus-devel (besides the warning that it is known to fail) says it requires Qt 5.14 or newer. I only find Qt 5 up to .13 available in the repository.
They say Scribus is available as a HomeBrew cask but I really don't want to have to go THAT route.
comment:4 Changed 22 months ago by kencu (Ken)
the current MacPorts qt5 port for up-to-date systems is
% port info qt5 qt5 @5.15.8
so you are good there, on newish systems at least.
On 10.6.8 you only can have qt5.3 on MacPorts, so you are out-of-luck there.
Homebrew casks only run on the absolute newest systems, so that will never run on 10.6.8.
comment:5 Changed 22 months ago by kencu (Ken)
A list of causes of "No Viable Overload" and possible fixes:
comment:6 Changed 22 months ago by leeeoooooo
qt5 5.15 runs fine under Slackware on the other side of the dual-boot on this MacBook1,1 so this sounds like a limitation of MacPorts.
comment:7 Changed 22 months ago by leeeoooooo
… or maybe a limitation of Darwin 10.8 I’m running Slackware-current on the other side of my dual boot.
comment:8 Changed 22 months ago by kencu (Ken)
qt5 for darwin uses current Apple SDK features, so the qt5 version released can only build on systems of about the same vintage. Apple drops hardware regularly, so your SDK is about 2009 vintage. So you get a 2009 qt5 :(
qt5 for linux uses gtk or wayland which is updated and current on your linux installation.
comment:9 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to leeeoooooo:
error: no viable overloaded '='
Replying to ryandesign:
but according to build server logs it looks like scribus-devel does not build on any OS version.
I've fixed scribus-devel for all systems it'll work on (macOS 10.13 and later, due to the Qt 5.14 requirement) and scribus on all systems except Snow Leopard where our build servers confirm the no viable overloaded '='
error using clang-11. I can also confirm the error on macOS 12 if I force the use of clang-11. Normally the build uses a newer clang on 10.7 and later and doesn't encounter this error, so it may be a bug in clang-11 and maybe we can work around it.
comment:10 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | i386 removed |
---|---|
Owner: | set to ryandesign |
Status: | new → accepted |
Here is the upstream bug report:
https://bugs.scribus.net/view.php?id=16605
They fixed it by removing that constructor because I guess they weren't using it:
https://github.com/scribusproject/scribus/commit/34dee8142844a7ee70ddff95253d0299896bcc16
comment:11 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Upstream lib2geom also removed it (well, rewrote it and commented it out) back in 2009:
comment:12 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Scribus build log "error: no viable overloaded '='"