+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/PC6001VX-4.2.9nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/PC6001VX-4.2.9nb3/work.log
===> Building for PC6001VX-4.2.9nb3
--- ui_configdialog.h ---
--- ui_systeminfodialog.h ---
--- ui_virtualkeytabwidget.h ---
--- ui_configdialog.h ---
uic src/Qt/configdialog.ui
--- ui_systeminfodialog.h ---
uic src/Qt/systeminfodialog.ui
--- ui_virtualkeytabwidget.h ---
uic src/Qt/virtualkeytabwidget.ui
--- ui_configdialog.h ---
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
--- ui_systeminfodialog.h ---
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
--- ui_virtualkeytabwidget.h ---
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
--- wavfile.o ---
compiling
--- singleapplication.o ---
--- singleapplication_p.o ---
--- singleapplication.o ---
compiling
--- singleapplication_p.o ---
compiling
--- audiooutputwrapper.o ---
compiling
--- colorbutton.o ---
compiling
--- cthread.o ---
compiling
--- emulationadaptor.o ---
compiling
--- keypanel.o ---
compiling
--- keypanelbutton.o ---
compiling
--- keystatewatcher.o ---
compiling
--- mainwidget.o ---
compiling
--- normalvirtualkeyboardscene.o ---
compiling
--- osdQt.o ---
compiling
--- p6vxapp.o ---
compiling
--- p6vxcommon.o ---
compiling
--- pc6001v.o ---
compiling
--- qtel6.o ---
compiling
--- renderview.o ---
compiling
--- simplevirtualkeyboardscene.o ---
compiling
--- virtualkeyboardscene.o ---
compiling
--- virtualkeyboardview.o ---
compiling
--- virtualkeyitem.o ---
compiling
--- virtualstickitem.o ---
compiling
--- breakpoint.o ---
compiling
--- common.o ---
compiling
--- config.o ---
compiling
--- console.o ---
compiling
--- cpum.o ---
compiling
--- cpus.o ---
compiling
--- csemaphore.o ---
compiling
--- d88.o ---
compiling
--- debug.o ---
compiling
--- d88.o ---
In file included from src/event.h:8,
                 from src/common.h:12,
                 from src/d88.cpp:5:
src/d88.cpp: In member function 'void cD88::ReadSector88()':
src/typedef.h:134:44: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct cD88::D88SECTOR'; use assignment or value-initialization instead [-Wclass-memaccess]
  134 | #define ZeroMemory(d,l)         std::memset((d), 0, (l))
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~
src/d88.cpp:132:17: note: in expansion of macro 'ZeroMemory'
  132 |                 ZeroMemory( &secinfo, sizeof(D88SECTOR) );
      |                 ^~~~~~~~~~
In file included from src/d88.cpp:6:
src/d88.h:62:16: note: 'struct cD88::D88SECTOR' declared here
   62 |         struct D88SECTOR {
      |                ^~~~~~~~~
src/d88.cpp: In member function 'bool cD88::Seek(int, int)':
src/typedef.h:134:44: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct cD88::D88SECTOR'; use assignment or value-initialization instead [-Wclass-memaccess]
  134 | #define ZeroMemory(d,l)         std::memset((d), 0, (l))
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~
src/d88.cpp:261:9: note: in expansion of macro 'ZeroMemory'
  261 |         ZeroMemory( &secinfo, sizeof(D88SECTOR) );
      |         ^~~~~~~~~~
src/d88.h:62:16: note: 'struct cD88::D88SECTOR' declared here
   62 |         struct D88SECTOR {
      |                ^~~~~~~~~
--- device.o ---
compiling
--- ay8910.o ---
compiling
--- fmgen.o ---
compiling
--- fmtimer.o ---
compiling
--- opm.o ---
compiling
--- opna.o ---
compiling
--- psg.o ---
compiling
--- mc6847.o ---
compiling
--- pd7752.o ---
compiling
--- pd8255.o ---
compiling
--- ym2203.o ---
compiling
--- z80-dbg.o ---
compiling
--- z80.o ---
compiling
--- disk.o ---
compiling
--- error.o ---
compiling
--- graph.o ---
compiling
--- disk.o ---
In file included from src/event.h:8,
                 from src/common.h:12,
                 from src/disk.cpp:8:
src/disk.cpp: In member function 'virtual void DSK60::Reset()':
src/typedef.h:134:44: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct DISK60'; use assignment or value-initialization instead [-Wclass-memaccess]
  134 | #define ZeroMemory(d,l)         std::memset((d), 0, (l))
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~
src/disk.cpp:504:9: note: in expansion of macro 'ZeroMemory'
  504 |         ZeroMemory( &mdisk, sizeof( DISK60 ) );
      |         ^~~~~~~~~~
In file included from src/disk.cpp:9:
src/disk.h:59:8: note: 'struct DISK60' declared here
   59 | struct DISK60 {
      |        ^~~~~~
src/disk.cpp: In member function 'virtual void DSK66::Reset()':
src/typedef.h:134:44: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct DSK66::CmdBuffer'; use assignment or value-initialization instead [-Wclass-memaccess]
  134 | #define ZeroMemory(d,l)         std::memset((d), 0, (l))
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~
src/disk.cpp:1205:9: note: in expansion of macro 'ZeroMemory'
 1205 |         ZeroMemory( &CmdIn,  sizeof( CmdBuffer ) );
      |         ^~~~~~~~~~
src/disk.h:274:16: note: 'struct DSK66::CmdBuffer' declared here
  274 |         struct CmdBuffer {
      |                ^~~~~~~~~
src/typedef.h:134:44: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct DSK66::CmdBuffer'; use assignment or value-initialization instead [-Wclass-memaccess]
  134 | #define ZeroMemory(d,l)         std::memset((d), 0, (l))
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~
src/disk.cpp:1206:9: note: in expansion of macro 'ZeroMemory'
 1206 |         ZeroMemory( &CmdOut, sizeof( CmdBuffer ) );
      |         ^~~~~~~~~~
src/disk.h:274:16: note: 'struct DSK66::CmdBuffer' declared here
  274 |         struct CmdBuffer {
      |                ^~~~~~~~~
src/disk.cpp: In member function 'virtual bool DSK66::DokoLoad(cIni*)':
src/disk.cpp:2153:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 2153 |                 Ini->GetVal( "P66DISK", Stringf( "fdc_SeekSta%d", i ),  (int&)fdc.SeekSta[i] ); // このキャスト危険?
      |                                                                               ~~~~~~~~~~~~~^
--- ini.o ---
compiling
--- intr.o ---
compiling
--- io.o ---
compiling
--- joystick.o ---
compiling
--- keyboard.o ---
compiling
--- memblk.o ---
compiling
--- memory.o ---
compiling
--- movie.o ---
compiling
--- p6el.o ---
compiling
--- movie.o ---
In file included from /home/pbulk/build/emulators/PC6001VX/work/.buildlink/include/ffmpeg5/libavutil/frame.h:33,
                 from /home/pbulk/build/emulators/PC6001VX/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:35,
                 from src/movie.cpp:12:
src/movie.cpp: In function 'bool AddStream(OutputStream&, AVFormatContext*, const AVCodec*&, AVCodecID, int, int, double)':
/home/pbulk/build/emulators/PC6001VX/work/.buildlink/include/ffmpeg5/libavutil/channel_layout.h:351:82: warning: missing initializer for member 'AVChannelLayout::opaque' [-Wmissing-field-initializers]
  351 |     { .order = AV_CHANNEL_ORDER_NATIVE, .nb_channels = (nb), .u = { .mask = (m) }}
      |                                                                                  ^
/home/pbulk/build/emulators/PC6001VX/work/.buildlink/include/ffmpeg5/libavutil/channel_layout.h:354:45: note: in expansion of macro 'AV_CHANNEL_LAYOUT_MASK'
  354 | #define AV_CHANNEL_LAYOUT_STEREO            AV_CHANNEL_LAYOUT_MASK(2,  AV_CH_LAYOUT_STEREO)
      |                                             ^~~~~~~~~~~~~~~~~~~~~~
src/movie.cpp:171:32: note: in expansion of macro 'AV_CHANNEL_LAYOUT_STEREO'
  171 |                 c->ch_layout = AV_CHANNEL_LAYOUT_STEREO;
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~
--- p6t2.o ---
compiling
--- p6vm.o ---
compiling
--- pio.o ---
compiling
--- psgfm.o ---
compiling
src/psgfm.cpp: In member function 'virtual bool OPN64::DokoLoad(cIni*)':
src/psgfm.cpp:956:131: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  956 |                         Ini->GetVal( "FMGEN_Operator", Stringf( "type_%02d_%02d",                   i, j ), (int&)opn.ch[i].op[j].type_             );
      |                                                                                                                   ~~~~~~~~~~~~~~~~^~~~~
src/psgfm.cpp:970:131: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  970 |                         Ini->GetVal( "FMGEN_Operator", Stringf( "eg_phase_%02d_%02d",               i, j ), (int&)opn.ch[i].op[j].eg_phase_         );
      |                                                                                                                   ~~~~~~~~~~~~~~~~^~~~~~~~~
--- replay.o ---
compiling
--- romaji.o ---
compiling
--- schedule.o ---
compiling
--- sound.o ---
compiling
--- status.o ---
compiling
--- tape.o ---
compiling
--- vdg.o ---
compiling
--- voice.o ---
compiling
--- vsurface.o ---
compiling
--- qrc_pc6001vx.cpp ---
rcc src/Qt/pc6001vx.qrc
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
--- .qm/PC6001VX_en.qm ---
lrelease src/Qt/translation/PC6001VX_en.ts
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Updating '.qm/PC6001VX_en.qm'...
    Generated 268 translation(s) (268 finished and 0 unfinished)
--- .qm/PC6001VX_ru.qm ---
lrelease src/Qt/translation/PC6001VX_ru.ts
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Updating '.qm/PC6001VX_ru.qm'...
    Generated 251 translation(s) (250 finished and 1 unfinished)
    Ignored 17 untranslated source text(s)
--- moc_predefs.h ---
generating ./moc_predefs.h
--- systeminfodialog.o ---
compiling
--- virtualkeytabwidget.o ---
compiling
--- configdialog.o ---
compiling
--- qrc_qmake_qmake_qm_files.cpp ---
rcc qmake_qmake_qm_files.qrc
Detected locale "C" with character encoding "646", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
--- moc_singleapplication.cpp ---
moc src/Qt/SingleApplication/singleapplication.h
--- moc_singleapplication_p.cpp ---
moc src/Qt/SingleApplication/singleapplication_p.h
--- moc_audiooutputwrapper.cpp ---
moc src/Qt/audiooutputwrapper.h
--- moc_colorbutton.cpp ---
moc src/Qt/colorbutton.h
--- moc_configdialog.cpp ---
moc src/Qt/configdialog.h
--- moc_emulationadaptor.cpp ---
moc src/Qt/emulationadaptor.h
--- moc_keypanel.cpp ---
moc src/Qt/keypanel.h
--- moc_keypanelbutton.cpp ---
moc src/Qt/keypanelbutton.h
--- moc_keystatewatcher.cpp ---
moc src/Qt/keystatewatcher.h
--- moc_mainwidget.cpp ---
moc src/Qt/mainwidget.h
--- moc_normalvirtualkeyboardscene.cpp ---
moc src/Qt/normalvirtualkeyboardscene.h
--- moc_p6vxapp.cpp ---
moc src/Qt/p6vxapp.h
--- moc_qtel6.cpp ---
moc src/Qt/qtel6.h
--- moc_renderview.cpp ---
moc src/Qt/renderview.h
--- moc_simplevirtualkeyboardscene.cpp ---
moc src/Qt/simplevirtualkeyboardscene.h
--- moc_systeminfodialog.cpp ---
moc src/Qt/systeminfodialog.h
--- moc_virtualkeyboardscene.cpp ---
moc src/Qt/virtualkeyboardscene.h
--- moc_virtualkeyitem.cpp ---
moc src/Qt/virtualkeyitem.h
--- moc_virtualkeytabwidget.cpp ---
moc src/Qt/virtualkeytabwidget.h
--- moc_virtualstickitem.cpp ---
moc src/Qt/virtualstickitem.h
--- qrc_pc6001vx.o ---
compiling
--- qrc_qmake_qmake_qm_files.o ---
compiling
--- moc_singleapplication.o ---
compiling
--- moc_singleapplication_p.o ---
compiling
--- moc_audiooutputwrapper.o ---
compiling
--- moc_colorbutton.o ---
compiling
--- moc_configdialog.o ---
compiling
--- moc_emulationadaptor.o ---
compiling
--- moc_keypanel.o ---
compiling
--- moc_keypanelbutton.o ---
compiling
--- moc_keystatewatcher.o ---
compiling
--- moc_mainwidget.o ---
compiling
--- moc_normalvirtualkeyboardscene.o ---
compiling
--- moc_qtel6.o ---
compiling
--- moc_p6vxapp.o ---
compiling
--- moc_renderview.o ---
compiling
--- moc_simplevirtualkeyboardscene.o ---
compiling
--- moc_systeminfodialog.o ---
compiling
--- moc_virtualkeyboardscene.o ---
compiling
--- moc_virtualkeytabwidget.o ---
compiling
--- moc_virtualkeyitem.o ---
compiling
--- moc_virtualstickitem.o ---
compiling
--- PC6001VX ---
linking PC6001VX
ld: fatal: unrecognized option '-O'
ld: fatal: unrecognized option '-1'
ld: fatal: use the -z help option for usage information
collect2: error: ld returned 1 exit status
*** [PC6001VX] Error code 1

bmake: stopped making "all" in /home/pbulk/build/emulators/PC6001VX/work/PC6001VX_4.2.9_src
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/emulators/PC6001VX/work/PC6001VX_4.2.9_src
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/PC6001VX
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/PC6001VX