#55291 closed defect (fixed)
boost @1.65.1 +no_single+python36: link=shared together with runtime-link=static is not allowed
Reported by: | slarew | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | michaelld (Michael Dickens), Schamschula (Marius Schamschula), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | |
Port: | boost |
Description
Building boost 1.65.1 without no_static fails for me. The (attached) log output says
error: link=shared together with runtime-link=static is not allowed error: such property combination is either impossible error: or too dangerious to be of any use
Attachments (1)
Change History (9)
Changed 7 years ago by slarew
comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)
Cc: | Schamschula added |
---|
comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)
Cc: | ryandesign removed |
---|---|
Owner: | set to ryandesign |
Status: | new → assigned |
I also ran into this this morning. I just ran sudo port clean boost
to remove the bad build and than ran sudo port install boost
. This installed the default variant which does not have this issue. You may want to choose a different variant, but don't deselect no_static
.
comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Not sure what's going on. Michael?
Really, these no_single and no_static variants should be reimplemented as subports, I just haven't taken the time to figure out all the consequences of doing that. If we do that, this problem should go away.
comment:4 Changed 7 years ago by michaelld (Michael Dickens)
Maybe a change in boost that disallows building both static and shared libraries? I haven't poked around Boost in a while. Not sure what the right thing here is, except maybe forcing no_static since, well, why build static anyway?
comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
We were not previously using runtime_link
, only link
. You added runtime_link
in #50671 so maybe that's related.
librets requires boost's no_static variant. Though it's the only port I can find that does so. Maybe that can be fixed.
comment:6 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | MarcusCalhoun-Lopez added |
---|
build log