Opened 5 years ago

Closed 5 years ago

#52533 closed defect (fixed)

weechat 1.5 Build Error

Reported by: earl.lapus@… Owned by: harciga
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: weechat

Description

build failed with

:info:build make: *** [all] Error 2
1076 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_irc_weechat/weechat/work/build'
1077 :info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_irc_weechat/weechat/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON
1078 :info:build Exit code: 2
1079 :error:build org.macports.build for port weechat returned: command execution failed
1080 :debug:build Error code: CHILDSTATUS 40082 2
1081 :debug:build Backtrace: command execution failed

full details in the attached logs...

Attachments (1)

weechat-main.log (211.5 KB) - added by earl.lapus@… 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by earl.lapus@…

Attachment: weechat-main.log added

comment:1 Changed 5 years ago by ryandesign (Ryan Schmidt)

Cc: starkhalo@… removed
Owner: changed from macports-tickets@… to starkhalo@…

Looks like the first error is:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_irc_weechat/weechat/work/weechat-1.5/src/plugins/javascript/weechat-js-v8.cpp:50:14: error: field of type 'v8::HandleScope' has private default constructor
:info:build WeechatJsV8::WeechatJsV8()
:info:build              ^
:info:build /opt/local/include/v8.h:874:13: note: declared private here
:info:build   V8_INLINE HandleScope() {}
:info:build             ^

Looks like you have the v8 port installed. Try:

sudo port deactivate v8
sudo port clean weechat

Then try again. If that works, weechat needs to be told not to try to use an external v8. If that can't be done, weechat needs to use conflicts_build v8.

comment:2 Changed 5 years ago by earl.lapus@…

Your suggestion worked. Thanks :)

comment:3 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

In 96b298ca/macports-ports:

weechat: add conflict build v8

closes #52533

Note: See TracTickets for help on using tickets.