Skip to content

Instantly share code, notes, and snippets.

@KeenS
Last active December 31, 2015 20:19
Show Gist options
  • Save KeenS/8039353 to your computer and use it in GitHub Desktop.
Save KeenS/8039353 to your computer and use it in GitHub Desktop.
Installing sudo from FreeBSD ports causes this error
/usr/ports/security/sudo # make install clean
===> sudo-1.8.8 depends on shared library: libintl.so - not found
===> Verifying for libintl.so in /usr/ports/devel/gettext
===> Building for gettext-0.18.3.1
Making all in gnulib-local
Making all in gettext-runtime
/usr/bin/make all-recursive
Making all in doc
Making all in intl
Making all in intl-java
Making all in intl-csharp
Making all in gnulib-lib
/usr/bin/make all-recursive
Making all in libasprintf
/usr/bin/make all-am
/bin/sh ./libtool --tag=CXX --mode=compile c++ -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -I/usr/local/include -O -pipe -c -o autosprintf.lo autosprintf.cc
libtool: compile: c++ -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -I/usr/local/include -O -pipe -c autosprintf.cc -fPIC -DPIC -o .libs/autosprintf.o
Assertion failed: ((PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) == 0 && "Pointer is not sufficiently aligned"), function initWithPointer, file /home/db/svn/system/head/lib/clang/libclangsema/../../../contrib/llvm/include/llvm/ADT/PointerIntPair.h, line 100.
Stack dump:
0. Program arguments: /usr/bin/c++ -cc1 -triple armv6-unknown-freebsd10.0 -S -disable-free -main-file-name autosprintf.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -mconstructor-aliases -target-abi apcs-gnu -target-cpu arm1136jf-s -msoft-float -mfloat-abi soft -target-feature +soft-float -target-feature +soft-float-abi -target-feature -neon -coverage-file /tmp/autosprintf-D3LY8I.s -resource-dir /usr/bin/../lib/clang/3.3 -D IN_LIBASPRINTF -D HAVE_CONFIG_H -D PIC -I . -I /usr/local/include -O2 -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compilation-dir /usr/ports/devel/gettext/work/gettext-0.18.3.1/gettext-runtime/libasprintf -ferror-limit 19 -fmessage-length 0 -mstackrealign -fno-signed-char -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fsjlj-exceptions -fdiagnostics-show-option -backend-option -vectorize-loops -o /tmp/autosprintf-D3LY8I.s -x c++ autosprintf.cc
1. /usr/include/c++/4.2/bits/basic_string.tcc:978:43: current parser token ';'
2. /usr/include/c++/4.2/bits/basic_string.tcc:48:1 <Spelling=/usr/include/c++/4.2/bits/c++config.h:76:38>: parsing namespace 'std'
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.3 (trunk 178860) 20130405
Target: armv6-unknown-freebsd10.0
Thread model: posix
c++: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg: Error generating preprocessed source(s).
*** [autosprintf.lo] Error code 1
1 error
*** [all] Error code 2
1 error
*** [all-recursive] Error code 1
1 error
*** [all] Error code 2
1 error
*** [all-recursive] Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/ports/devel/gettext.
*** [install] Error code 1
Stop in /usr/ports/devel/gettext.
*** [lib-depends] Error code 1
Stop in /usr/ports/security/sudo.
*** [install] Error code 1
Stop in /usr/ports/security/sudo.
# c++ --version
FreeBSD clang version 3.3 (trunk 178860) 20130405
Target: armv6-unknown-freebsd10.0
Thread model: posix
#uname -a
FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #66 r250580M: Sun May 12 18:08:27 EDT 2013 root@odyssey:/home/db/FreeBSD/obj/arm.armv6/home/db/svn/system/head/sys/RPI-B arm
@klausmeyer
Copy link

Have you found a solution for this yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment