Opened 4 years ago

Closed 4 years ago

#59928 closed defect (duplicate)

ola @0.10.7: error: use of undeclared identifier 'GOOGLE_CHECK'

Reported by: mlohrey1 Owned by: peternewman (Peter Newman)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: ola

Description (last modified by jmroot (Joshua Root))

This is the error message in terminal:

[mlo@Fishy-5 ~]$ sudo port install ola
Password:
--->  Computing dependencies for ola
--->  Fetching archive for ola
--->  Attempting to fetch ola-0.10.7_1+http+libftdi0+libusb+osc+python27.darwin_18.x86_64.tbz2 from http://nou.nc.packages.macports.org/pub/macports/packages.macports.org/ola
--->  Attempting to fetch ola-0.10.7_1+http+libftdi0+libusb+osc+python27.darwin_18.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/ola
--->  Attempting to fetch ola-0.10.7_1+http+libftdi0+libusb+osc+python27.darwin_18.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/ola
--->  Building ola
Error: Failed to build ola: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ola/ola/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port ola failed

The error code from the main log file that is relevant is:

:debug:archivefetch archivefetch phase started at Wed Jan  8 10:33:15 AEDT 2020
:msg:archivefetch --->  Fetching archive for ola
:debug:archivefetch Executing org.macports.archivefetch (ola)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 501/502
:info:archivefetch --->  ola-0.10.7_1+http+libftdi0+libusb+osc+python27.darwin_18.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch ola-0.10.7_1+http+libftdi0+libusb+osc+python27.darwin_18.x86_64.tbz2 from http://nou.nc.packages.macports.org/pub/macports/packages.macports.org/ola
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ola-0.10.7_1+http+libftdi0+libusb+osc+python27.darwin_18.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/ola
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch ola-0.10.7_1+http+libftdi0+libusb+osc+python27.darwin_18.x86_64.tbz2 from https://packages.macports.org/ola
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (ola)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (ola)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (ola)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (ola)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.configure (ola)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Jan  8 10:33:19 AEDT 2020
:notice:build --->  Building ola
:debug:build Executing org.macports.build (ola)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ola/ola/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.14'
:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ola/ola/work/ola-0.10.7" && /usr/bin/make -j8 -w all 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ola/ola/work/ola-0.10.7" && /usr/bin/make -j8 -w all 
:info:build make: Entering directory `/opt
/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ola/ola/work/ola-0.10.7'
:info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I.   -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -pthread   -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64 -std=gnu++11 -D_THREAD_SAFE  -MT protoc/ola_protoc_plugin-StrUtil.o -MD -MP -MF protoc/.deps/ola_protoc_plugin-StrUtil.Tpo -c -o protoc/ola_protoc_plugin-StrUtil.o `test -f 'protoc/StrUtil.cpp' || echo './'`protoc/StrUtil.cpp
:info:build protoc/StrUtil.cpp:256:3: error: use of undeclared identifier 'GOOGLE_CHECK'
:info:build   GOOGLE_CHECK(i >= 0)
:info:build   ^
:info:build protoc/StrUtil.cpp:436:3: error: use of undeclared identifier 'GOOGLE_DCHECK_LT'
:info:build   GOOGLE_DCHECK_LT(digits, 100);
:info:build   ^
:info:build 2 errors generated.
:info:build make: *** [protoc/ola_protoc_plugin-StrUtil.o] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ola/ola/work/ola-0.10.7'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ola/ola/work/ola-0.10.7" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build Failed to build ola: command execution failed
:debug:build Error code: CHILDSTATUS 21205 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ola/ola/main.log for details.

Change History (3)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Cc: peternewman removed
Description: modified (diff)
Owner: set to peternewman
Status: newassigned
Summary: OLA-0.10.7 not installing on MacOSX MojaveOLA @0.10.7 build failure

Doesn't seem to have built on any OS version.

comment:2 Changed 4 years ago by kencu (Ken)

those macros are defined in https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/stubs/logging.h

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Port: ola added; OLA removed
Resolution: duplicate
Status: assignedclosed
Summary: OLA @0.10.7 build failureola @0.10.7: error: use of undeclared identifier 'GOOGLE_CHECK'

Duplicate of #59585.

Note: See TracTickets for help on using tickets.