Opened 3 years ago

Closed 3 years ago

#63071 closed defect (fixed)

hamlib: fails to build in Lion 10.7.5

Reported by: YesNo801 Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: hamlib

Description (last modified by reneeotten (Renee Otten))

hamlib fail to build in Lion 10.7.5 when using command sudo port install hamlib +python38 configure.compiler=macports-clang-7.0

hamlib @4.2_0+python38 Mac OS X 10.7.5 (darwin/11.4.2) arch i386 MacPorts 2.7.1 Xcode 4.6.3 SDK 10.7 MACOSX_DEPLOYMENT_TARGET: 10.7

fail:
:info:build   CC       hamlibpy_wrap.lo
:info:build   CCLD     _Hamlib.la
:info:build Undefined symbols for architecture x86_64:
:info:build   "_PyCMethod_New", referenced from:
:info:build       _SWIG_PyInstanceMethod_New in hamlibpy_wrap.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [_Hamlib.la] Error 1

Attachments (1)

main.log.gz (12.2 KB) - added by YesNo801 3 years ago.
hamlib build log

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by YesNo801

Attachment: main.log.gz added

hamlib build log

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Cc: ra1nb0w@… removed
Description: modified (diff)
Keywords: hamlib removed
Owner: set to ra1nb0w
Port: @4.2_0+python38 removed
Status: newassigned
Summary: hamlib fail to build in Lion 10.7.5hamlib: fails to build in Lion 10.7.5

comment:2 Changed 3 years ago by ra1nb0w

Without python and custom configure it works fine?

Last edited 3 years ago by ra1nb0w (previous) (diff)

comment:3 Changed 3 years ago by YesNo801

It didn't work without python either. The installation requirement was a dependency. The compiled macport repo package for 10.7.5 was not found and port tried to compile automatically from the source. The compiled version of hamlib @4.2_0 for 10.7.5 has now been found and is successfully installed. Thank you

comment:4 Changed 3 years ago by ra1nb0w

Good. I close this ticket. If you have problem in the future feel free to re-open it.

Have a good weekend

comment:5 Changed 3 years ago by ra1nb0w

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