Opened 7 years ago

Closed 7 years ago

#54876 closed defect (duplicate)

gr-lora: Symbol not found: _utimensat

Reported by: mf2k (Frank Schima) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gr-lora

Description

Like #54875. I'm seeing this build error:

:info:build /opt/local/include/liquid/liquid.h:5156:26: warning: 'matrixc_det' has C-linkage specified, but returns user-defined type 'liquid_double_complex' (aka 'complex<double>') which is incompatible with C [-Wreturn-type-c-linkage]
:info:build LIQUID_MATRIX_DEFINE_API(LIQUID_MATRIX_MANGLE_CDOUBLE, liquid_double_complex)
:info:build                          ^
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_gr-lora/gr-lora/work/build'
:info:build [ 46%] Built target lora_swig_swig_doc
:info:build dyld: lazy symbol binding failed: Symbol not found: _utimensat
:info:build   Referenced from: /opt/local/bin/cmake
:info:build   Expected in: /usr/lib/libSystem.B.dylib
:info:build dyld: Symbol not found: _utimensat
:info:build   Referenced from: /opt/local/bin/cmake
:info:build   Expected in: /usr/lib/libSystem.B.dylib
:info:build make[2]: *** [docs/doxygen/html] Abort trap: 6
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_gr-lora/gr-lora/work/build'
:info:build make[1]: *** [docs/doxygen/CMakeFiles/doxygen_target.dir/all] Error 2

Change History (8)

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

Also see #54875 for this issue

comment:2 Changed 7 years ago by michaelld (Michael Dickens)

CMake 3.9.3 just came out. I'll update to it & that should fix this issue (and the other related ones).

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Using cmake-devel does not work for me here.

comment:4 Changed 7 years ago by michaelld (Michael Dickens)

What happens when you use "use_parallel_build=no"? That fixes the issue for me using cmake (3.9.2 or 3.9.3) or cmake-devel. No idea why.

comment:5 Changed 7 years ago by mf2k (Frank Schima)

Confirmed that works for me too. I suggest adding that to the portfile. It builds quickly with it anyway.

comment:6 Changed 7 years ago by michaelld (Michael Dickens)

True that. Seems like cmake / Xcode have some issues to be resolved!

comment:7 Changed 7 years ago by michaelld (Michael Dickens)

Confirmed that cmake 3.9.3 does not fix this issue. Nor does cmake-devel. Only removing parallel build does right now. This wasn't the case before updating to Xcode 9. Grrr ....

comment:8 Changed 7 years ago by michaelld (Michael Dickens)

Resolution: duplicate
Status: newclosed

Duplicate of #54875.

Note: See TracTickets for help on using tickets.