Opened 12 years ago

Closed 12 years ago

#32616 closed defect (fixed)

libinfinity: non-void function 'inf_communication_method_received' should return a value

Reported by: gnolte@… Owned by: phw@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion clang Cc: mohideen.syed@…
Port: libinfinity

Description (last modified by ryandesign (Ryan Carsten Schmidt))

OS: Lion (10.7.2)

gcc-Version 4.6.2 (GCC)

port install gobby failed with

Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install libinfinity
Log for libinfinity is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_comms_libinfinity/libinfinity/main.log
Error: The following dependencies were not installed: libinfinity libxmlxx2 net6 obby avahi dbus-python27 dbus-glib py27-gobject libdaemon libglade2 py27-gtk py27-cairo py27-numpy fftw-3 py27-nose py27-distribute py27-py
Error: Status 1 encountered during processing.

Attachments (1)

main.log (12.6 KB) - added by gnolte@… 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by gnolte@…

Attachment: main.log added

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

Description: modified (diff)
Keywords: lion clang added; Gobby libinfinity Lion removed
Owner: changed from macports-tickets@… to phw@…
Port: libinfinity added; gobby @0.4.94 removed
Summary: defect: gobby @0.4.94 (Lion) : Failed to install libinfinitylibinfinity: non-void function 'inf_communication_method_received' should return a value

The log is not from a clean attempt. Please clean and try again.

sudo port clean libinfinity

If it still fails, then I also see in the log that you're using clang (the default as of Xcode 4.2). Try a different compiler. Let us know which one works and we can change the port.

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

Cc: mohideen.syed@… added

Has duplicate #32617.

comment:3 Changed 12 years ago by mnagy@…

I have had the same problem, but changing the compiler to llvm-gcc-4.2 worked.

comment:4 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Fixed in r94640 by switching to llvm-gcc-4.2. The libinfinity developers really should use g_return_val_if_fail() rather than g_return_if_fail() in functions with a return type. Feel free to file this upstream.

Note: See TracTickets for help on using tickets.