Ticket #33399 (closed defect: fixed)
medusa: error: non-void function 'startLoginThreadPool' should return a value
| Reported by: | Yuki68@… | Owned by: | pmq@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | clang | Cc: | ben-macports@… |
| Port: | medusa |
Description
I'm assuming it's final build stage (I think). I'm not too familiar with Unix/Linux. Just to see what would happen, I cd'ed into the source folder /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_medusa/medusa/work/medusa-2.0 and tried it manually. ./configure didn't work so I did sudo ./configure which worked. make didn't work but sudo make worked. Then I did sudo make install which also worked. I don't know why sudo port install medusa failed, but when I did manually it seems to have installed OK (I can invoke medusa with no problems.) I hope I did that right.
Attachments
Change History
comment:1 Changed 15 months ago by ryandesign@…
- Keywords clang added
- Owner changed from macports-tickets@… to pmq@…
- Port set to medusa
- Summary changed from medusa 2.0.3 port fails at final build stage to medusa: error: non-void function 'startLoginThreadPool' should return a value
The log says:
error: non-void function 'startLoginThreadPool' should return a value
This is clang probably being more strict than the old gcc compiler we used before was. We could work around it, but it is an actual error in the medusa source code that the developers of medusa should fix; please report the problem to them.
comment:2 Changed 13 months ago by ryandesign@…
- Cc ben-macports@… added
Has duplicate #34381.
As a workaround, you might try using a different compiler.

