universal-ctags / homebrew-universal-ctags

Homebrew Tap for Universal Ctags on OSX
https://ctags.io
GNU General Public License v2.0
326 stars 19 forks source link

Make fails : "ld: symbol(s) not found for architecture x86_64" #44

Closed chinf-tw closed 4 years ago

chinf-tw commented 5 years ago

I tried to run brew install --HEAD universal-ctags/universal-ctags/universal-ctags on macOS 10.14.6 but results :

==> Installing universal-ctags from universal-ctags/universal-ctags
==> Cloning https://github.com/universal-ctags/ctags.git
Updating /Users/CHINF/Library/Caches/Homebrew/universal-ctags--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 9d5dd873 Merge pull request #2219 from masatake/circleci-centos8
==> Downloading https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz
Already downloaded: /Users/CHINF/Library/Caches/Homebrew/downloads/082747f2931278a960879f30afd38989c894b92d04eda36ead03e57dfb6703fc--docutils-0.14.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/universal-ctags/HEAD-9d5dd87/libexec/vendor --install-scripts=/usr/local/Cellar/universal-ctags/HEAD-9d5dd87/libexec/vendor/bin --single-version-externa
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/universal-ctags/HEAD-9d5dd87
==> make
Last 15 lines from /Users/CHINF/Library/Logs/Homebrew/universal-ctags/04.make:
Undefined symbols for architecture x86_64:
  "_assert", referenced from:
      _main in packcc-packcc.o
      _parse_directive_string_ in packcc-packcc.o
      _link_references in packcc-packcc.o
      _verify_variables in packcc-packcc.o
      _verify_captures in packcc-packcc.o
      _parse_term in packcc-packcc.o
      _generate_code in packcc-packcc.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [packcc] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

run brew install --verbose --HEAD universal-ctags/universal-ctags/universal-ctags: results

My environment

ORIGIN: https://github.com/Homebrew/brew
HEAD: 37714b5ce1e4909d4d61de2af98343c7012f7cd9
Last commit: 6 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1bb11c8de649e0dc493a599537b39040b4f22440
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.16.3 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_151, 1.8.0_101
macOS: 10.14.6-x86_64
CLT: 10.3.0.0.1.1562985497
Xcode: 11.0
CLT headers: 10.3.0.0.1.1562985497
masatake commented 5 years ago

I wonder why this happens.

Could you show me /Users/CHINF/Library/Logs/Homebrew/universal-ctags/04.make ? The last 15 lines in the output message are not enough.

chinf-tw commented 5 years ago

I wonder why this happens.

Could you show me /Users/CHINF/Library/Logs/Homebrew/universal-ctags/04.make ? The last 15 lines in the output message are not enough.

Sure! This one 04.make

k-takata commented 5 years ago

How about defining NDEBUG when compiling packcc? (Not tested.)

--- a/Makefile.am
+++ b/Makefile.am
@@ -40,6 +40,12 @@ if USE_ULONGLONG_FORMATTER_FOR_SIZE_T
 packcc_CPPFLAGS += -DSIZE_T_FMT_CHAR='"ll"'
 endif

+if ENABLE_DEBUGGING
+packcc_CPPFLAGS += $(DEBUG_CPPFLAGS)
+else
+packcc_CPPFLAGS += -DNDEBUG
+endif
+

 if USE_READCMD
 bin_PROGRAMS+= readtags

I think linking should success even if assert() is enabled, though.

chinf-tw commented 5 years ago

How about defining NDEBUG when compiling packcc? (Not tested.)

Where can see that ><?

masatake commented 5 years ago

packcc is a tool for building ctags. So I don't want to turn off the DEBUG flag.

Is this related to this issue? https://forums.developer.apple.com/thread/104296

kanekoh commented 5 years ago

I tried to run brew install --HEAD universal-ctags/universal-ctags/universal-ctags on Mac and it was succeeded.

My MacOS version is as follows: Version: 10.14.6 (18G103)

clang vesion:

$ clang --version
Apple clang version 11.0.0 (clang-1100.0.20.17)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

I realized that I don't have Xcode environment on my Mac.

The below is the result:

$ brew install --HEAD universal-ctags/universal-ctags/universal-ctags
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
alp                       coinutils                 gleam                     lightgbm                  octant                    pygments
appium                    cpu_features              go-md2man                 llvm@8                    open-image-denoise        ripgrep-all
aws-cdk                   dafny                     go@1.12                   minizip2                  pastel                    scc
base91                    diffr                     kepubify                  msgpack-tools             pdfcpu                    scs
berglas                   fastmod                   kubebuilder               mysql-connector-c++@1.1   pdftk-java                tmuxinator
broot                     faust                     kyma-cli                  now-cli                   pnetcdf                   traefik@1
clp                       ghc@8.6                   libsigc++@2               numpy@1.16                pokerstove                wagyu
codespell                 git-revise                libtensorflow@1           nushell                   protobuf@3.7              wiiuse
==> Updated Formulae
ansible ✔                               fdroidserver                            libjwt                                  pypy
atk ✔                                   feedgnuplot                             libmowgli                               pypy3
atkmm ✔                                 fetchmail                               libmxml                                 pyqt
azure-cli ✔                             ffmpeg                                  libmypaint                              pyside
boost ✔                                 ffmpeg@2.8                              liboauth                                python@2
boost-build ✔                           ffsend                                  libogg                                  pyvim
cairomm ✔                               fibjs                                   libomp                                  qalculate-gtk
cmake ✔                                 file-roller                             libopendkim                             qca
fribidi ✔                               findutils                               libosmium                               qemu
gdk-pixbuf ✔                            fio                                     libp11                                  qmmp
glib ✔                                  firebase-cli                            libpeas                                 qpdf
glib-networking ✔                       flac                                    libphonenumber                          qpid-proton
glibmm ✔                                flintrock                               libpq                                   qrupdate
gnutls ✔                                flow                                    libpqxx                                 qscintilla2
graphviz ✔                              flowgrind                               libpulsar                               qsoas
gsettings-desktop-schemas ✔             fluid-synth                             libqalculate                            qt
gsl ✔                                   fluxctl                                 libraw                                  quickjs
gtkmm ✔                                 flyway                                  librdkafka                              r
harfbuzz ✔                              fn                                      libre                                   rabbitmq
libgcrypt ✔                             folly                                   librealsense                            rabbitmq-c
libsigc++ ✔                             fonttools                               librsvg                                 rancher-cli
libsoup ✔                               fossil                                  librsync                                range-v3
libvirt ✔                               fpp                                     libsecret                               rc
maven ✔                                 fq                                      libsignal-protocol-c                    rclone
mosh ✔                                  freeipmi                                libslax                                 rdesktop
openssl ✔                               freeradius-server                       libspng                                 re2
p11-kit ✔                               freetds                                 libssh                                  re2c
pango ✔                                 frpc                                    libssh2                                 rebar3
pangomm ✔                               frps                                    libstrophe                              recon-ng
plantuml ✔                              frugal                                  libtensorflow                           redis
poppler ✔                               fselect                                 libtins                                 rename
protobuf ✔                              futhark                                 libtorrent-rasterbar                    reop
python ✔                                fwup                                    libtrace                                repo
readline ✔                              gambit-scheme                           libu2f-server                           reposurgeon
ruby-build ✔                            gammu                                   libusb                                  riff
socat ✔                                 gatsby-cli                              libuv                                   rke
terraform ✔                             gauge                                   libvisio                                rmlint
tflint ✔                                gcc                                     libvmaf                                 robot-framework
vala ✔                                  gdal                                    libvoikko                               rom-tools
abcmidi                                 gdcm                                    libvterm                                root
ack                                     gdl                                     libwebsockets                           roswell
activemq                                gdub                                    libxml++                                rpm
activemq-cpp                            geant4                                  libxml++3                               rsyslog
adwaita-icon-theme                      geckodriver                             libxmlsec1                              rtags
afflib                                  gedit                                   libzdb                                  rtmpdump
afl-fuzz                                geographiclib                           lightning                               ruby
aircrack-ng                             geoipupdate                             lighttpd                                ruby@2.4
algernon                                geos                                    linkerd                                 ruby@2.5
aliyun-cli                              gerbil-scheme                           links                                   rust
allure                                  get_iplayer                             liquibase                               rustup-init
alpine                                  getdns                                  llvm                                    s-lang
amap                                    getmail                                 lmod                                    s-nail
amazon-ecs-cli                          getxbook                                logrotate                               s2geometry
ammonite-repl                           ghc                                     logstash                                s3-backer
amqp-cpp                                ghex                                    logtalk                                 s3ql
amtk                                    ghr                                     lolcat                                  sagittarius-scheme
angband                                 gifski                                  luarocks                                salt
angle-grinder                           ginac                                   luvit                                   sane-backends
angular-cli                             git                                     lxc                                     saxon
anjuta                                  git-annex                               lynx                                    sbcl
ansible-lint                            git-cola                                lz4                                     sblim-sfcc
ansible@1.9                             git-crypt                               mackup                                  sbt
ansible@2.0                             git-extras                              mage                                    scala
ansiweather                             git-quick-stats                         magic-wormhole                          scala@2.12
ant                                     git-secret                              mailutils                               scalapack
anycable-go                             git-series                              makensis                                scamper
apache-arrow                            gitg                                    makepkg                                 sccache
apache-arrow-glib                       gitlab-runner                           mame                                    scdoc
apache-flink                            gitmoji                                 mariadb                                 scipy
apache-geode                            gitversion                              mariadb-connector-c                     screen
apache-spark                            gjs                                     mariadb-connector-odbc                  scrypt
apib                                    gkrellm                                 mariadb@10.0                            scw
appscale-tools                          glade                                   mariadb@10.1                            sdhash
apr-util                                glances                                 mariadb@10.2                            sdl2
aqbanking                               glib-openssl                            mariadb@10.3                            serf
arangodb                                globus-toolkit                          mawk                                    serverless
aravis                                  glooctl                                 maxwell                                 shadowenv
armadillo                               gloox                                   md5sha1sum                              shairport
arpack                                  gmic                                    media-info                              shairport-sync
arping                                  gmime                                   megacmd                                 shared-mime-info
asio                                    gmt                                     megatools                               shellinabox
ask-cli                                 gnome-builder                           memcached                               shibboleth-sp
astrometry-net                          gnome-latex                             menhir                                  ship
atlantis                                gnome-recipes                           mercurial                               shogun
atomist-cli                             gnumeric                                mesa                                    siege
auditbeat                               gnupg-pkcs11-scd                        meson                                   signal-cli
augustus                                gnuradio                                metricbeat                              sile
autorest                                go                                      mfterm                                  simh
avfs                                    go-bindata                              mgba                                    simple-scan
avro-c                                  go-jira                                 micronaut                               singular
avro-cpp                                go@1.11                                 midnight-commander                      sip
avro-tools                              gobby                                   mill                                    sipsak
aws-okta                                gobject-introspection                   miller                                  siril
aws-sdk-cpp                             gocryptfs                               minio                                   sk
awscli                                  godep                                   minio-mc                                skaffold
axel                                    goffice                                 miniserve                               skafos
azure-storage-cpp                       golang-migrate                          minizinc                                skopeo
b2-tools                                goofys                                  mit-scheme                              slowhttptest
babel                                   goreleaser                              mitmproxy                               slrn
bacula-fd                               gosu                                    mkcert                                  smali
badtouch                                gpac                                    mkl-dnn                                 sn0int
balena-cli                              gradle                                  mktorrent                               snakemake
ballerina                               grafana                                 mkvtoolnix                              snapcraft
baobab                                  grakn                                   mmark                                   sngrep
bareos-client                           graph-tool                              mmseqs2                                 snort
bash                                    graphene                                moco                                    snownews
bash-snippets                           groonga                                 molecule                                sofia-sip
bat                                     groovysdk                               monero                                  softhsm
bazel                                   grpc                                    monetdb                                 sonarqube-lts
bbftp-client                            grpcurl                                 mongo-c-driver                          sonobuoy
bcftools                                gsmartcontrol                           mongoose                                sops
bear                                    gsoap                                   monit                                   source-highlight
bedtools                                gspell                                  monitoring-plugins                      sourcekitten
bee                                     gst-editing-services                    monkeysphere                            sourcery
benthos                                 gst-libav                               mono                                    spdlog
berkeley-db                             gst-plugins-bad                         mosquitto                               spdylay
bettercap                               gst-plugins-base                        mpg123                                  speedtest-cli
bibtexconv                              gst-plugins-good                        mrboom                                  sphinx
bigloo                                  gst-plugins-ugly                        mupdf                                   spice-gtk
bind                                    gst-python                              mutt                                    spiped
biogeme                                 gst-rtsp-server                         mycli                                   sqlcipher
bison                                   gst-validate                            mydumper                                sqlmap
bit                                     gstreamer                               mysql                                   squashfs
bitchx                                  gstreamermm                             mysql-client                            squid
bitcoin                                 gtk+3                                   mysql-connector-c++                     src
bitrise                                 gtk-mac-integration                     mysql@5.7                               srt
blueutil                                gtkmm3                                  mytop                                   ssh-audit
bnd                                     gtksourceview3                          n                                       ssh-permit-a38
boost-bcp                               gtksourceview4                          nagios                                  sshfs
boost-mpi                               gtksourceviewmm                         nagios-plugins                          ssldump
boost-python                            gtksourceviewmm3                        nano                                    sslsplit
boost-python3                           gtkspell3                               nativefier                              sstp-client
botan                                   gtmess                                  nats-server                             starship
breezy                                  gtranslator                             nats-streaming-server                   step
bro                                     gupnp-tools                             ncmpcpp                                 stone-soup
btfs                                    gwenhywfar                              nco                                     storm
btpd                                    gwyddion                                ncrack                                  streamlink
buildifier                              h2o                                     ne                                      stress-ng
buildkit                                hadolint                                neo4j                                   strongswan
buku                                    hadoop                                  neofetch                                stunnel
bundletool                              haproxy                                 neomutt                                 stuntman
burp                                    hashcat                                 neon                                    subnetcalc
cabal-install                           hashpump                                neovim                                  subversion
cadaver                                 hbase                                   net-snmp                                subversion@1.8
caf                                     hebcal                                  netdata                                 suite-sparse
caffe                                   heimdal                                 netlify-cli                             sundials
cake                                    helmfile                                newman                                  svtplay-dl
calicoctl                               help2man                                newsboat                                swagger-codegen
camlp4                                  hfstospell                              nghttp2                                 swagger-codegen@2
camlp5                                  hive                                    nginx                                   swi-prolog
cargo-completion                        hledger                                 ngircd                                  swiftformat
ccache                                  hlint                                   nim                                     swiftlint
ccls                                    homebank                                nmap                                    swig
ceres-solver                            htpdate                                 nmh                                     sylpheed
certbot                                 http_load                               node                                    sync_gateway
certstrap                               httpd                                   node-build                              syncthing
cfn-lint                                httperf                                 node@10                                 synfig
cgal                                    httpie                                  node@8                                  sysbench
cglm                                    httping                                 nomad                                   sysdig
cgrep                                   httrack                                 nopoll                                  talloc
chakra                                  hub                                     noti                                    tarantool
chamber                                 hugo                                    nrpe                                    tarsnap
chapel                                  hydra                                   nsd                                     taskell
charm-tools                             hyperfine                               nspr                                    tcl-tk
checkstyle                              hyperscan                               nsq                                     tcpdump
chronograf                              i2p                                     nss                                     tcpflow
cimg                                    i2pd                                    ntl                                     tdlib
circleci                                icarus-verilog                          ntp                                     tectonic
citus                                   icdiff                                  nuget                                   telegraf
cjdns                                   icecast                                 numpy                                   telegram-cli
ckan                                    icecream                                nvm                                     teleport
clamav                                  igv                                     nwchem                                  template-glib
clib                                    ike-scan                                nzbget                                  tepl
clingo                                  imagemagick                             oath-toolkit                            termius
cloc                                    imagemagick@6                           ocaml                                   terraformer
clojure                                 imageoptim-cli                          ocaml-findlib                           terragrunt
closure-compiler                        imap-uw                                 ocaml-num                               terrahub
clutter-gtk                             imapfilter                              ocamlbuild                              testdisk
cnats                                   inlets                                  ocamlsdl                                thrift
cocoapods                               innotop                                 ocrmypdf                                tile38
cointop                                 insect                                  octave                                  tinc
collectd                                interactive-rebase-tool                 ola                                     tintin
collector-sidecar                       intercal                                ooniprobe                               tiny-fugue
commandbox                              ios-sim                                 opa                                     tmuxinator-completion
compcert                                ios-webkit-debug-proxy                  openapi-generator                       tomcat
conan                                   iperf                                   openblas                                tomcat-native
configen                                iperf3                                  opencolorio                             tomcat@7
conjure-up                              ipmitool                                openconnect                             tomcat@8
consul                                  ipopt                                   opencv                                  tomee-webprofile
consul-template                         ipv6calc                                opencv@2                                topgrade
contentful-cli                          ipython                                 opencv@3                                tor
convox                                  ircd-hybrid                             openfortivpn                            traefik
cpl                                     ircii                                   openimageio                             trafficserver
cppcheck                                irssi                                   openldap                                transcrypt
cpprestsdk                              iso-codes                               openrct2                                triton
credstash                               ispc                                    opensaml                                ttyd
cromwell                                istioctl                                opensc                                  tunnel
crowdin                                 isync                                   openssh                                 twarc
cryptol                                 janet                                   openssl@1.1                             twine-pypi
crystal                                 jena                                    openvpn                                 typescript
crystal-icr                             jenkins                                 operator-sdk                            u-boot-tools
csound                                  jenkins-lts                             ophcrack                                ucloud
cubelib                                 jfrog-cli-go                            opusfile                                unbound
cucumber-cpp                            jhipster                                orc-tools                               ungit
curl                                    john-jumbo                              ori                                     unrar
curl-openssl                            joplin                                  osc                                     unshield
cypher-shell                            jose                                    oscats                                  upscaledb
dartsim                                 jpeg-turbo                              osm-gps-map                             uptimed
datamash                                jsonnet                                 osquery                                 urh
davix                                   jsonrpc-glib                            osslsigncode                            uwsgi
dbmate                                  juise                                   owfs                                    v2ray-plugin
dcmtk                                   juju                                    packer                                  v8
dcos-cli                                jvgrep                                  packer-completion                       valabind
ddgr                                    k3d                                     paket                                   vapoursynth
deno                                    kafka                                   parallel                                vapoursynth-imwri
dependency-check                        kafkacat                                passenger                               vapoursynth-ocr
devspace                                kahip                                   pcb2gcode                               vapoursynth-sub
dhall                                   kakoune                                 pdfcrack                                varnish
dhall-bash                              kcov                                    pdftoipe                                vault
dhall-json                              kerl                                    pdns                                    vault-cli
dialog                                  kibana                                  pdnsrec                                 vaulted
dieharder                               kim-api                                 percona-server                          velero
diff-pdf                                klavaro                                 percona-toolkit                         verilator
diff-so-fancy                           knot                                    percona-xtrabackup                      vert.x
diffoscope                              kops                                    petsc                                   vgmstream
diskus                                  kore                                    petsc-complex                           vim
dita-ot                                 kotlin                                  pev                                     vim@7.4
dive                                    krakend                                 pgcli                                   vips
django-completion                       krb5                                    pgroonga                                virgil
dmg2img                                 kube-aws                                pgweb                                   visp
dnscrypt-proxy                          kubeaudit                               phoronix-test-suite                     vnstat
dnsperf                                 kubecfg                                 php                                     vte3
dnsviz                                  kubectx                                 php-code-sniffer                        vtk
docfx                                   kubernetes-cli                          php-cs-fixer                            vulkan-headers
docker                                  kubernetes-service-catalog-client       php@7.1                                 wabt
docker-completion                       kubeseal                                php@7.2                                 watchman
docker-compose                          kubespy                                 phpmd                                   wcslib
docker-machine                          kustomize                               phpmyadmin                              wdc
docker-machine-completion               lablgtk                                 phpstan                                 webpack
doctl                                   languagetool                            phpunit                                 webtorrent-cli
doitlive                                lasso                                   picard-tools                            weechat
dos2unix                                lastpass-cli                            pijul                                   whois
dosbox-x                                launchdns                               pilosa                                  widelands
dovecot                                 lazydocker                              pioneer                                 wine
drafter                                 lazygit                                 pip-completion                          winetricks
drone-cli                               lcm                                     pipx                                    wireguard-go
dtc                                     ldapvi                                  pjproject                               wireguard-tools
dub                                     ldc                                     pkcs11-helper                           wiremock-standalone
duo_unix                                ldid                                    platformio                              wireshark
duplicity                               ldns                                    pmd                                     wla-dx
dyld-headers                            ledger                                  poco                                    wsk
dylibbundler                            lftp                                    podofo                                  wskdeploy
dynare                                  lgogdownloader                          ponyc                                   wtf
efl                                     libarchive                              postgis                                 wtfutil
ejabberd                                libbitcoin                              postgresql                              wxmaxima
ekg2                                    libbitcoin-blockchain                   postgresql@10                           xcodegen
elasticsearch                           libbitcoin-client                       postgresql@9.4                          xmake
elinks                                  libbitcoin-consensus                    postgresql@9.5                          xml-security-c
emacs                                   libbitcoin-database                     postgresql@9.6                          xml-tooling-c
embree                                  libbitcoin-explorer                     postgrest                               xmount
embulk                                  libbitcoin-network                      pre-commit                              xmrig
emscripten                              libbitcoin-node                         prefixsuffix                            xonsh
encfs                                   libbitcoin-protocol                     presto                                  xrootd
enchant                                 libbitcoin-server                       procyon-decompiler                      xsimd
entr                                    libcaca                                 profanity                               xxhash
envconsul                               libcouchbase                            proj                                    yaml-cpp
epic5                                   libdap                                  prometheus                              yarn
eralchemy                               libdazzle                               proteinortho                            yelp-tools
erlang                                  libdvbpsi                               protobuf-c                              ykman
erlang@20                               libevent                                protobuf-swift                          yosys
erlang@21                               libevhtp                                protobuf@3.6                            you-get
eslint                                  libewf                                  proxytunnel                             youtube-dl
etcd                                    libexosip                               pspg                                    z3
ethereum                                libfabric                               psqlodbc                                zabbix
ettercap                                libfaketime                             pulledpork                              zbackup
evince                                  libfreefare                             pulseaudio                              zig
exim                                    libftdi                                 pulumi                                  zim
expat                                   libgda                                  pumba                                   zint
exploitdb                               libglademm                              pure-ftpd                               znc
faas-cli                                libgnomecanvasmm                        pwntools                                zola
fabric                                  libgweather                             pwsafe                                  zsdx
fauna-shell                             libheif                                 pybind11                                zstd
fb-client                               libimobiledevice                        pyenv                                   zsxd
fd                                      libiodbc                                pygobject3
==> Deleted Formulae
cclive                    freetds@0.91              liblacewing               mongodb@3.2               pbrt                      thc-pptp-bruter
cherokee                  ftimes                    libopkele                 mongodb@3.4               percona-server-mongodb    tlsdate
csup                      httest                    llvm@3.9                  mongodb@3.6               pincaster                 tn5250
ctunnel                   irods                     llvm@5                    mysql-cluster             postgres-xc               voms
engine_pkcs11             konoha                    mongodb                   nordugrid-arc             skipfish                  xar-mackyle
frag_find                 kontena                   mongodb@3.0               packetbeat                taisei

==> Tapping universal-ctags/universal-ctags
Cloning into '/usr/local/Homebrew/Library/Taps/universal-ctags/homebrew-universal-ctags'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 0), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
Tapped 1 formula (35 files, 55.6KB).
==> Installing universal-ctags from universal-ctags/universal-ctags
==> Cloning https://github.com/universal-ctags/ctags.git
Cloning into '/Users/hkaneko/Library/Caches/Homebrew/universal-ctags--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Downloading https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/universal-ctags/HEAD-34185f5/libexec/vendor --install-scripts=/usr/local/C
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/universal-ctags/HEAD-34185f5
==> make
==> make install
==> Caveats
Under some circumstances, emacs and ctags can conflict. By default,
emacs provides an executable `ctags` that would conflict with the
executable of the same name that ctags provides. To prevent this,
Homebrew removes the emacs `ctags` and its manpage before linking.
However, if you install emacs with the `--keep-ctags` option, then
the `ctags` emacs provides will not be removed. In that case, you
won't be able to install ctags successfully. It will build but not
link.
==> Summary
🍺  /usr/local/Cellar/universal-ctags/HEAD-34185f5: 326 files, 4.4MB, built in 1 minute 35 seconds
Removing: /Users/hkaneko/Library/Caches/Homebrew/universal-ctags--docutils--0.14.tar.gz... (1.6MB)
masatake commented 4 years ago

How about defining NDEBUG when compiling packcc? (Not tested.)

APPLE can be used. https://stackoverflow.com/questions/6802903/c-ifdef-mac-os-x-question

I will handle this in ctags side.