Opened 15 months ago

Last modified 6 months ago

#68109 assigned defect

root6 @6.28.06_0: failed building bundled googletest

Reported by: ith140 (Ian Hoffman) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: mojca (Mojca Miklavec), hapaguy (Brian Kurt Fujikawa)
Port: root6

Description

Build failure with options +cocoa+davix+gcc12+graphviz+gsl+jupyter+mariadb+native+opengl+postgresql+python311+roofit+tmva+veccore+xml+xrootd

Attachments (4)

main.log (2.9 MB) - added by ith140 (Ian Hoffman) 15 months ago.
main log file
googletest-build-out.log (6.0 KB) - added by hapaguy (Brian Kurt Fujikawa) 14 months ago.
my googletest log file (may be different from original reporter)
googletest-build-MacPorts.cmake (2.5 KB) - added by ith140 (Ian Hoffman) 14 months ago.
googletest tile
googletest-build-out.2.log (6.0 KB) - added by ith140 (Ian Hoffman) 14 months ago.
googletest log

Change History (9)

Changed 15 months ago by ith140 (Ian Hoffman)

Attachment: main.log added

main log file

comment:1 Changed 15 months ago by ith140 (Ian Hoffman)

Port: root6 added

comment:2 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mojca added
Owner: set to cjones051073
Status: newassigned
Summary: root6 @6.28.06_0 build failureroot6 @6.28.06_0: failed building bundled googletest

The log says the problem is:

:info:build [2541/10603] cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-build && /opt/local/bin/cmake -P /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-stamp/googletest-build-MacPorts.cmake && /opt/local/bin/cmake -E touch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-stamp/googletest-build
:info:build FAILED: googletest-prefix/src/googletest-stamp/googletest-build googletest-prefix/src/googletest-build/lib/libgtest.a googletest-prefix/src/googletest-build/lib/libgtest_main.a googletest-prefix/src/googletest-build/lib/libgmock.a googletest-prefix/src/googletest-build/lib/libgmock_main.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-stamp/googletest-build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-build/lib/libgtest.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-build/lib/libgtest_main.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-build/lib/libgmock.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-build/lib/libgmock_main.a 
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-build && /opt/local/bin/cmake -P /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-stamp/googletest-build-MacPorts.cmake && /opt/local/bin/cmake -E touch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-stamp/googletest-build
:info:build CMake Error at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-stamp/googletest-build-MacPorts.cmake:49 (message):
:info:build   Command failed: 1
:info:build    '/opt/local/bin/cmake' '--build' '.'
:info:build   See also
:info:build     /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_root6/root6/work/build/googletest-prefix/src/googletest-stamp/googletest-build-*.log

Could you please attach the googletest log(s) mentioned on the last line of that message?

comment:3 Changed 15 months ago by hapaguy (Brian Kurt Fujikawa)

Cc: hapaguy added

Changed 14 months ago by hapaguy (Brian Kurt Fujikawa)

Attachment: googletest-build-out.log added

my googletest log file (may be different from original reporter)

comment:4 Changed 14 months ago by hapaguy (Brian Kurt Fujikawa)

googletest-build-out.log is attached above. 2nd log file googletest-build-err.log is empty and not attached. I hope this helps.

Changed 14 months ago by ith140 (Ian Hoffman)

googletest tile

Changed 14 months ago by ith140 (Ian Hoffman)

Attachment: googletest-build-out.2.log added

googletest log

comment:5 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

From the logs:

/opt/local/include/gtest/internal/gtest-internal.h:820:24: note: 'GetCurrentOsStackTraceExceptTop' declared here

That file is from the gtest port but root6 doesn't declare a dependency on that. Try:

sudo port -f deactivate gtest
sudo port clean root6
sudo port install root6 build.jobs=1

You can reactivate gtest later if desired.

Note: See TracTickets for help on using tickets.