Opened 12 years ago

Closed 12 years ago

#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 (1)

main.log (45.2 KB) - added by Yuki68@… 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Yuki68@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: clang added
Owner: changed from macports-tickets@… to pmq@…
Port: medusa added
Summary: medusa 2.0.3 port fails at final build stagemedusa: 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 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ben-macports@… added

Has duplicate #34381.

As a workaround, you might try using a different compiler.

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.