Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcl formula depends on boost without version, but newest boost is incompatible #60192

Closed
jackjansen opened this issue Aug 25, 2020 · 2 comments
Closed
Labels
outdated PR was locked due to age

Comments

@jackjansen
Copy link

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • [ *] ran brew update and can still reproduce the problem?
  • [ *] ran brew doctor, fixed all issues and can still reproduce the problem?
  • [ *] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)

Install pcl (through brew upgrade actually)

What happened (include command output)

Anything using PCL will fail because the latest boost (1.73) has done away with an include file <boost/detail/endian.hpp> and PCL 1.9 uses.

Command output

/usr/local/include/pcl-1.9/pcl/PCLPointCloud2.h:11:10: fatal error: 'boost/detail/endian.hpp' file not found
#include <boost/detail/endian.hpp>

It works again after doing

brew unlink boost
brew install boost@1.60
brew link --force boost@1.60

What you expected to happen

It works automatically.

Step-by-step reproduction instructions (by running brew commands)

brew install pcl
compile pcl program

Output of brew config and brew doctor commands

boom:Plugins jack$ brew config
HOMEBREW_VERSION: 2.4.13-105-gd3e22f4
ORIGIN: https://github.com/Homebrew/brew
HEAD: d3e22f401bc783ad15d28241b90ac81f8d4b8b99
Last commit: 11 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 60b718e02cde8f55fe322c4f39ccfccbf8f93c44
Core tap last commit: 3 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.K4t6AFvnKI/org.macosforge.xquartz:0
HOMEBREW_MAKE_JOBS: 4
CPU: quad-core 64-bit arrandale
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 10.0.1
macOS: 10.13.6-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: 10.1
XQuartz: 2.7.7 => /opt/X11
boom:Plugins jack$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae were deleted!
You should find replacements for the following formulae:
  python@2

Warning: The following directories do not exist:
/usr/local/sbin

You should create these directories and change their ownership to your account.
  sudo mkdir -p /usr/local/sbin
  sudo chown -R $(whoami) /usr/local/sbin

Warning: gettext files detected at a system prefix.
These files can cause compilation and link failures, especially if they
are compiled with improper architectures. Consider removing these files:
  /usr/local/lib/libgettextlib.dylib
  /usr/local/lib/libintl.dylib
  /usr/local/include/libintl.h
  /usr/local/lib/libgettextlib.dylib
  /usr/local/lib/libintl.dylib
  /usr/local/include/libintl.h

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/IKStealthPedalAPI.dylib
  /usr/local/lib/IKStompIO1API.dylib
  /usr/local/lib/libasprintf.0.0.0.dylib
  /usr/local/lib/libasprintf.0.dylib
  /usr/local/lib/libcwipc_codec.dylib
  /usr/local/lib/libcwipc_realsense2.dylib
  /usr/local/lib/libcwipc_util.dylib
  /usr/local/lib/libgettextlib-0.17.dylib
  /usr/local/lib/libgettextlib-0.18.1.dylib
  /usr/local/lib/libgettextpo.0.4.0.dylib
  /usr/local/lib/libgettextpo.0.dylib
  /usr/local/lib/libgettextsrc-0.17.dylib
  /usr/local/lib/libgettextsrc-0.18.1.dylib
  /usr/local/lib/libintl.8.0.2.dylib
  /usr/local/lib/libintl.8.dylib
  /usr/local/lib/liblabjackusb-2.0.3.dylib
  /usr/local/lib/liblabjackusb-2.5.2.dylib
  /usr/local/lib/libltdl.7.dylib
  /usr/local/lib/liblzma.5.dylib
  /usr/local/lib/libpng15.15.dylib
  /usr/local/lib/librealsense2.2.18.0.dylib
  /usr/local/lib/libzbar.0.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/autosprintf.h
  /usr/local/include/cwipc_codec/api.h
  /usr/local/include/cwipc_realsense2/api.h
  /usr/local/include/cwipc_realsense2/defs.h
  /usr/local/include/cwipc_realsense2/offlinedefs.h
  /usr/local/include/cwipc_realsense2/stb_image_write.h
  /usr/local/include/cwipc_realsense2/utils.h
  /usr/local/include/cwipc_util/api.h
  /usr/local/include/cwipc_util/api_pcl.h
  /usr/local/include/gettext-po.h
  /usr/local/include/labjackusb.h
  /usr/local/include/libintl.h
  /usr/local/include/libltdl/lt_dlloader.h
  /usr/local/include/libltdl/lt_error.h
  /usr/local/include/libltdl/lt_system.h
  /usr/local/include/libpng15/png.h
  /usr/local/include/libpng15/pngconf.h
  /usr/local/include/libpng15/pnglibconf.h
  /usr/local/include/libyasm-stdint.h
  /usr/local/include/libyasm.h
  /usr/local/include/libyasm/arch.h
  /usr/local/include/libyasm/assocdat.h
  /usr/local/include/libyasm/bitvect.h
  /usr/local/include/libyasm/bytecode.h
  /usr/local/include/libyasm/compat-queue.h
  /usr/local/include/libyasm/coretype.h
  /usr/local/include/libyasm/dbgfmt.h
  /usr/local/include/libyasm/errwarn.h
  /usr/local/include/libyasm/expr.h
  /usr/local/include/libyasm/file.h
  /usr/local/include/libyasm/floatnum.h
  /usr/local/include/libyasm/hamt.h
  /usr/local/include/libyasm/insn.h
  /usr/local/include/libyasm/intnum.h
  /usr/local/include/libyasm/inttree.h
  /usr/local/include/libyasm/linemap.h
  /usr/local/include/libyasm/listfmt.h
  /usr/local/include/libyasm/md5.h
  /usr/local/include/libyasm/module.h
  /usr/local/include/libyasm/objfmt.h
  /usr/local/include/libyasm/parser.h
  /usr/local/include/libyasm/phash.h
  /usr/local/include/libyasm/preproc.h
  /usr/local/include/libyasm/section.h
  /usr/local/include/libyasm/symrec.h
  /usr/local/include/libyasm/valparam.h
  /usr/local/include/libyasm/value.h
  /usr/local/include/ltdl.h
  /usr/local/include/lzma.h
  /usr/local/include/lzma/base.h
  /usr/local/include/lzma/bcj.h
  /usr/local/include/lzma/block.h
  /usr/local/include/lzma/check.h
  /usr/local/include/lzma/container.h
  /usr/local/include/lzma/delta.h
  /usr/local/include/lzma/filter.h
  /usr/local/include/lzma/hardware.h
  /usr/local/include/lzma/index.h
  /usr/local/include/lzma/index_hash.h
  /usr/local/include/lzma/lzma.h
  /usr/local/include/lzma/stream_flags.h
  /usr/local/include/lzma/version.h
  /usr/local/include/lzma/vli.h
  /usr/local/include/node/android-ifaddrs.h
  /usr/local/include/node/libplatform/libplatform-export.h
  /usr/local/include/node/libplatform/libplatform.h
  /usr/local/include/node/libplatform/v8-tracing.h
  /usr/local/include/node/node.h
  /usr/local/include/node/node_api.h
  /usr/local/include/node/node_api_types.h
  /usr/local/include/node/node_buffer.h
  /usr/local/include/node/node_object_wrap.h
  /usr/local/include/node/node_version.h
  /usr/local/include/node/openssl/aes.h
  /usr/local/include/node/openssl/archs/BSD-x86/opensslconf.h
  /usr/local/include/node/openssl/archs/BSD-x86_64/opensslconf.h
  /usr/local/include/node/openssl/archs/VC-WIN32/opensslconf.h
  /usr/local/include/node/openssl/archs/VC-WIN64A/opensslconf.h
  /usr/local/include/node/openssl/archs/aix-gcc/opensslconf.h
  /usr/local/include/node/openssl/archs/aix64-gcc/opensslconf.h
  /usr/local/include/node/openssl/archs/darwin-i386-cc/opensslconf.h
  /usr/local/include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h
  /usr/local/include/node/openssl/archs/linux-aarch64/opensslconf.h
  /usr/local/include/node/openssl/archs/linux-armv4/opensslconf.h
  /usr/local/include/node/openssl/archs/linux-elf/opensslconf.h
  /usr/local/include/node/openssl/archs/linux-ppc/opensslconf.h
  /usr/local/include/node/openssl/archs/linux-ppc64/opensslconf.h
  /usr/local/include/node/openssl/archs/linux-x32/opensslconf.h
  /usr/local/include/node/openssl/archs/linux-x86_64/opensslconf.h
  /usr/local/include/node/openssl/archs/linux32-s390x/opensslconf.h
  /usr/local/include/node/openssl/archs/linux64-s390x/opensslconf.h
  /usr/local/include/node/openssl/archs/solaris-x86-gcc/opensslconf.h
  /usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h
  /usr/local/include/node/openssl/asn1.h
  /usr/local/include/node/openssl/asn1_mac.h
  /usr/local/include/node/openssl/asn1t.h
  /usr/local/include/node/openssl/bio.h
  /usr/local/include/node/openssl/blowfish.h
  /usr/local/include/node/openssl/bn.h
  /usr/local/include/node/openssl/buffer.h
  /usr/local/include/node/openssl/camellia.h
  /usr/local/include/node/openssl/cast.h
  /usr/local/include/node/openssl/cmac.h
  /usr/local/include/node/openssl/cms.h
  /usr/local/include/node/openssl/comp.h
  /usr/local/include/node/openssl/conf.h
  /usr/local/include/node/openssl/conf_api.h
  /usr/local/include/node/openssl/crypto.h
  /usr/local/include/node/openssl/des.h
  /usr/local/include/node/openssl/des_old.h
  /usr/local/include/node/openssl/dh.h
  /usr/local/include/node/openssl/dsa.h
  /usr/local/include/node/openssl/dso.h
  /usr/local/include/node/openssl/dtls1.h
  /usr/local/include/node/openssl/e_os2.h
  /usr/local/include/node/openssl/ebcdic.h
  /usr/local/include/node/openssl/ec.h
  /usr/local/include/node/openssl/ecdh.h
  /usr/local/include/node/openssl/ecdsa.h
  /usr/local/include/node/openssl/engine.h
  /usr/local/include/node/openssl/err.h
  /usr/local/include/node/openssl/evp.h
  /usr/local/include/node/openssl/hmac.h
  /usr/local/include/node/openssl/idea.h
  /usr/local/include/node/openssl/krb5_asn.h
  /usr/local/include/node/openssl/kssl.h
  /usr/local/include/node/openssl/lhash.h
  /usr/local/include/node/openssl/md4.h
  /usr/local/include/node/openssl/md5.h
  /usr/local/include/node/openssl/mdc2.h
  /usr/local/include/node/openssl/modes.h
  /usr/local/include/node/openssl/obj_mac.h
  /usr/local/include/node/openssl/objects.h
  /usr/local/include/node/openssl/ocsp.h
  /usr/local/include/node/openssl/opensslconf.h
  /usr/local/include/node/openssl/opensslv.h
  /usr/local/include/node/openssl/ossl_typ.h
  /usr/local/include/node/openssl/pem.h
  /usr/local/include/node/openssl/pem2.h
  /usr/local/include/node/openssl/pkcs12.h
  /usr/local/include/node/openssl/pkcs7.h
  /usr/local/include/node/openssl/pqueue.h
  /usr/local/include/node/openssl/rand.h
  /usr/local/include/node/openssl/rc2.h
  /usr/local/include/node/openssl/rc4.h
  /usr/local/include/node/openssl/ripemd.h
  /usr/local/include/node/openssl/rsa.h
  /usr/local/include/node/openssl/safestack.h
  /usr/local/include/node/openssl/seed.h
  /usr/local/include/node/openssl/sha.h
  /usr/local/include/node/openssl/srp.h
  /usr/local/include/node/openssl/srtp.h
  /usr/local/include/node/openssl/ssl.h
  /usr/local/include/node/openssl/ssl2.h
  /usr/local/include/node/openssl/ssl23.h
  /usr/local/include/node/openssl/ssl3.h
  /usr/local/include/node/openssl/stack.h
  /usr/local/include/node/openssl/symhacks.h
  /usr/local/include/node/openssl/tls1.h
  /usr/local/include/node/openssl/ts.h
  /usr/local/include/node/openssl/txt_db.h
  /usr/local/include/node/openssl/ui.h
  /usr/local/include/node/openssl/ui_compat.h
  /usr/local/include/node/openssl/whrlpool.h
  /usr/local/include/node/openssl/x509.h
  /usr/local/include/node/openssl/x509_vfy.h
  /usr/local/include/node/openssl/x509v3.h
  /usr/local/include/node/pthread-barrier.h
  /usr/local/include/node/stdint-msvc2008.h
  /usr/local/include/node/tree.h
  /usr/local/include/node/uv-aix.h
  /usr/local/include/node/uv-bsd.h
  /usr/local/include/node/uv-darwin.h
  /usr/local/include/node/uv-errno.h
  /usr/local/include/node/uv-linux.h
  /usr/local/include/node/uv-os390.h
  /usr/local/include/node/uv-posix.h
  /usr/local/include/node/uv-sunos.h
  /usr/local/include/node/uv-threadpool.h
  /usr/local/include/node/uv-unix.h
  /usr/local/include/node/uv-version.h
  /usr/local/include/node/uv-win.h
  /usr/local/include/node/uv.h
  /usr/local/include/node/v8-debug.h
  /usr/local/include/node/v8-inspector-protocol.h
  /usr/local/include/node/v8-inspector.h
  /usr/local/include/node/v8-platform.h
  /usr/local/include/node/v8-profiler.h
  /usr/local/include/node/v8-testing.h
  /usr/local/include/node/v8-util.h
  /usr/local/include/node/v8-version-string.h
  /usr/local/include/node/v8-version.h
  /usr/local/include/node/v8.h
  /usr/local/include/node/v8config.h
  /usr/local/include/node/zconf.h
  /usr/local/include/node/zlib.h
  /usr/local/include/python2.7/Python-ast.h
  /usr/local/include/python2.7/Python.h
  /usr/local/include/python2.7/abstract.h
  /usr/local/include/python2.7/asdl.h
  /usr/local/include/python2.7/ast.h
  /usr/local/include/python2.7/bitset.h
  /usr/local/include/python2.7/boolobject.h
  /usr/local/include/python2.7/bufferobject.h
  /usr/local/include/python2.7/bytearrayobject.h
  /usr/local/include/python2.7/bytes_methods.h
  /usr/local/include/python2.7/bytesobject.h
  /usr/local/include/python2.7/cStringIO.h
  /usr/local/include/python2.7/cellobject.h
  /usr/local/include/python2.7/ceval.h
  /usr/local/include/python2.7/classobject.h
  /usr/local/include/python2.7/cobject.h
  /usr/local/include/python2.7/code.h
  /usr/local/include/python2.7/codecs.h
  /usr/local/include/python2.7/compile.h
  /usr/local/include/python2.7/complexobject.h
  /usr/local/include/python2.7/datetime.h
  /usr/local/include/python2.7/descrobject.h
  /usr/local/include/python2.7/dictobject.h
  /usr/local/include/python2.7/dtoa.h
  /usr/local/include/python2.7/enumobject.h
  /usr/local/include/python2.7/errcode.h
  /usr/local/include/python2.7/eval.h
  /usr/local/include/python2.7/fileobject.h
  /usr/local/include/python2.7/floatobject.h
  /usr/local/include/python2.7/frameobject.h
  /usr/local/include/python2.7/funcobject.h
  /usr/local/include/python2.7/genobject.h
  /usr/local/include/python2.7/graminit.h
  /usr/local/include/python2.7/grammar.h
  /usr/local/include/python2.7/import.h
  /usr/local/include/python2.7/intobject.h
  /usr/local/include/python2.7/intrcheck.h
  /usr/local/include/python2.7/iterobject.h
  /usr/local/include/python2.7/listobject.h
  /usr/local/include/python2.7/longintrepr.h
  /usr/local/include/python2.7/longobject.h
  /usr/local/include/python2.7/marshal.h
  /usr/local/include/python2.7/memoryobject.h
  /usr/local/include/python2.7/metagrammar.h
  /usr/local/include/python2.7/methodobject.h
  /usr/local/include/python2.7/modsupport.h
  /usr/local/include/python2.7/moduleobject.h
  /usr/local/include/python2.7/node.h
  /usr/local/include/python2.7/object.h
  /usr/local/include/python2.7/objimpl.h
  /usr/local/include/python2.7/opcode.h
  /usr/local/include/python2.7/osdefs.h
  /usr/local/include/python2.7/parsetok.h
  /usr/local/include/python2.7/patchlevel.h
  /usr/local/include/python2.7/pgen.h
  /usr/local/include/python2.7/pgenheaders.h
  /usr/local/include/python2.7/py_curses.h
  /usr/local/include/python2.7/pyarena.h
  /usr/local/include/python2.7/pycapsule.h
  /usr/local/include/python2.7/pyconfig.h
  /usr/local/include/python2.7/pyctype.h
  /usr/local/include/python2.7/pydebug.h
  /usr/local/include/python2.7/pyerrors.h
  /usr/local/include/python2.7/pyexpat.h
  /usr/local/include/python2.7/pyfpe.h
  /usr/local/include/python2.7/pygetopt.h
  /usr/local/include/python2.7/pymacconfig.h
  /usr/local/include/python2.7/pymactoolbox.h
  /usr/local/include/python2.7/pymath.h
  /usr/local/include/python2.7/pymem.h
  /usr/local/include/python2.7/pyport.h
  /usr/local/include/python2.7/pystate.h
  /usr/local/include/python2.7/pystrcmp.h
  /usr/local/include/python2.7/pystrtod.h
  /usr/local/include/python2.7/pythonrun.h
  /usr/local/include/python2.7/pythread.h
  /usr/local/include/python2.7/rangeobject.h
  /usr/local/include/python2.7/setobject.h
  /usr/local/include/python2.7/sliceobject.h
  /usr/local/include/python2.7/stringobject.h
  /usr/local/include/python2.7/structmember.h
  /usr/local/include/python2.7/structseq.h
  /usr/local/include/python2.7/symtable.h
  /usr/local/include/python2.7/sysmodule.h
  /usr/local/include/python2.7/timefuncs.h
  /usr/local/include/python2.7/token.h
  /usr/local/include/python2.7/traceback.h
  /usr/local/include/python2.7/tupleobject.h
  /usr/local/include/python2.7/ucnhash.h
  /usr/local/include/python2.7/unicodeobject.h
  /usr/local/include/python2.7/warnings.h
  /usr/local/include/python2.7/weakrefobject.h
  /usr/local/include/python3.7m/greenlet/greenlet.h
  /usr/local/include/zbar.h
  /usr/local/include/zbar/Decoder.h
  /usr/local/include/zbar/Exception.h
  /usr/local/include/zbar/Image.h
  /usr/local/include/zbar/ImageScanner.h
  /usr/local/include/zbar/Processor.h
  /usr/local/include/zbar/Scanner.h
  /usr/local/include/zbar/Symbol.h
  /usr/local/include/zbar/Video.h
  /usr/local/include/zbar/Window.h

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
  /usr/local/lib/libasprintf.la
  /usr/local/lib/libgettextlib.la
  /usr/local/lib/libgettextpo.la
  /usr/local/lib/libgettextsrc.la
  /usr/local/lib/libintl.la
  /usr/local/lib/libltdl.la
  /usr/local/lib/libpng15.la
  /usr/local/lib/libzbar.la

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
  /usr/local/lib/pkgconfig/liblzma.pc
  /usr/local/lib/pkgconfig/libpng15.pc
  /usr/local/lib/pkgconfig/zbar.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libasprintf.a
  /usr/local/lib/libgettextpo.a
  /usr/local/lib/libintl.a
  /usr/local/lib/libltdl.a
  /usr/local/lib/liblzma.a
  /usr/local/lib/libpng15.a
  /usr/local/lib/libpython2.7.a
  /usr/local/lib/libyasm.a
  /usr/local/lib/libzbar.a

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  libtool
  python@2
  libpng
  boost
  xz
  fontconfig
  gettext
  graphviz
  unbound
  jpeg
  python@3.8

Warning: Your XQuartz (2.7.7) is outdated.
Please install XQuartz 2.7.11 (or delete the current version).
XQuartz can be updated using Homebrew Cask by running:
  brew cask reinstall xquartz

Warning: Broken symlinks were found. Remove them with `brew cleanup`:
  /usr/local/lib/ruby/gems/2.6.0/bin/bundle
  /usr/local/lib/ruby/gems/2.6.0/bin/bundler
  /usr/local/opt/go@1.12
boom:Plugins jack$ 

@MikeMcQuaid MikeMcQuaid transferred this issue from Homebrew/brew Aug 26, 2020
@MikeMcQuaid
Copy link
Member

compile pcl program

Does this only take effect when compiling? Does brew install pcl work otherwise? If so: we'll need a better test do block for the pcl formula to catch this sort of thing in future.

@dtrodrigues
Copy link
Member

dtrodrigues commented Aug 26, 2020

This is a dupe of #59064 with the ongoing PR at #59146 which looks to include a test which would catch this. Assistance is welcome resolving the upstream issues to update to the latest version of pcl which works with the latest version of boost.

@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Dec 1, 2020
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Dec 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

4 participants