likewise-open fails to build from source in maverick
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
likewise-open (Ubuntu) |
Fix Released
|
High
|
Thierry Carrez | ||
Maverick |
Fix Released
|
High
|
Thierry Carrez |
Bug Description
Binary package hint: likewise-open
Running build stage
make[1]: Entering directory `/build/
CDPATH=
configure.in:917: error: AC_CHECK_MEMBER: requires literal arguments
../../lib/
../../lib/
configure.in:917: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.11: autom4te failed with exit status: 1
make[1]: *** [aclocal.m4] Error 1
make[1]: Leaving directory `/build/
Exiting on error 2
Elapsed Time (lsass): 49 seconds
Exiting on error 2
Exiting on error 2
make: *** [build-stamp] Error 1
Related branches
Changed in likewise-open (Ubuntu): | |
importance: | Undecided → High |
milestone: | none → ubuntu-10.10 |
status: | New → Confirmed |
tags: | added: server-mrs |
Changed in likewise-open (Ubuntu Maverick): | |
status: | In Progress → Fix Committed |
The following stanza in lsass/configure.in fails:
AC_CHECK_ MEMBERS( [ucontext_ t.uc_mcontext, t.uc_mcontext- >__ss._ _rip, t.uc_mcontext- >__ss._ _eip], DEFAULT
ucontext_
ucontext_
[], [], [AC_INCLUDES_
#ifdef HAVE_EXECINFO_H
# include <execinfo.h>
#endif
])
It was added to define HAVE_UCONTEXT_ T_UC_MCONTEXT_ ___SS__ _RIP (and ___EIP) which are apparently only defined in Mac 32/64bit (the code guarded by that ifdef enables Mac 32/64bit instruction pointer in lsass/server/ lsassd/ backtrace. c):
#elif defined(REG_RIP)
ppFunctions[ 1] = (void *)pContext- >uc_mcontext. gregs[REG_ RIP]; HAVE_UCONTEXT_ T_UC_MCONTEXT_ ___SS__ _RIP) >uc_mcontext- >__ss._ _rip; HAVE_UCONTEXT_ T_UC_MCONTEXT_ ___SS__ _EIP) >uc_mcontext- >__ss._ _eip;
ppFunctions[ 1] = (void *)pContext- >uc_mcontext. gregs[REG_ EIP];
// Linux 64bit instruction pointer
+#elif defined(
+ // Mac 64bit instruction pointer
+ ppFunctions[1] = (void *)pContext-
+#elif defined(
+ // Mac 32bit instruction pointer
+ ppFunctions[1] = (void *)pContext-
#else
// Linux 32bit instruction pointer
It sounds rather safe to patch it out, I'll propose an upload to that effect.