Opened 2 months ago

Last modified 2 months ago

#70647 assigned defect

task @3.1.0_0: fails to build

Reported by: miguelbarao (MB) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: task

Description

The following installed ports are outdated: task 3.0.2_0 < 3.1.0_0

Doing a sudo port upgrade task fails with the following message (excerpt):

:info:build [ 73%] Building CXX object src/commands/CMakeFiles/commands.dir/CmdImport.cpp.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/build/src/commands && /usr/bin/clang++  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src/tc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src/tc/lib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src/commands -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src/columns -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src/libshared/src -Wall -Wextra -Wsign-compare -Wreturn-type -std=c++17 -stdlib=libc++ -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Wno-return-type-c-linkage -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-min=12.0 -MD -MT src/commands/CMakeFiles/commands.dir/CmdImport.cpp.o -MF CMakeFiles/commands.dir/CmdImport.cpp.o.d -o CMakeFiles/commands.dir/CmdImport.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src/commands/CmdImport.cpp
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src/commands/CmdImport.cpp:30:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src/commands/CmdImport.h:41:8: error: no template named 'unordered_map' in namespace 'std'
:info:build   std::unordered_map<std::string, unsigned int> uuid_occurrences;
:info:build   ~~~~~^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/task-3.1.0/src/commands/CmdImport.h:41:49: warning: private field 'uuid_occurrences' is not used [-Wunused-private-field]
:info:build   std::unordered_map<std::string, unsigned int> uuid_occurrences;
:info:build                                                 ^
:info:build 1 warning and 1 error generated.
:info:build make[2]: *** [src/commands/CMakeFiles/commands.dir/CmdImport.cpp.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/build'
:info:build make[1]: *** [src/commands/CMakeFiles/commands.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/work/build" && /usr/bin/make -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build task: command execution failed
:debug:build Error code: CHILDSTATUS 50979 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
: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_office_task/task/main.log for details.

Attachments (1)

main.log (475.9 KB) - added by miguelbarao (MB) 2 months ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/main.log

Download all attachments as: .zip

Change History (2)

Changed 2 months ago by miguelbarao (MB)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_task/task/main.log

comment:1 Changed 2 months ago by jmroot (Joshua Root)

Owner: set to herbygillot
Status: newassigned
Note: See TracTickets for help on using tickets.