MikaelUrankar / signal-desktop

2 stars 0 forks source link

Error: Build failed in phase: check-plist #6

Closed Martinfx closed 2 years ago

Martinfx commented 2 years ago

Hi. i compiled version 1.36 in poudriere and still you have issue with this

===> Compressing man pages (compress-man)
===========================================================================
====> Running Q/A tests (stage-qa)
Warning: 'share/signal-desktop/resources/app.asar.unpacked/node_modules/sharp/build/Release/sharp-freebsd-x64.node' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'share/signal-desktop/resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'share/signal-desktop/resources/app.asar.unpacked/node_modules/@signalapp/signal-client/prebuilds/freebsd-x64/node.napi.node' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%DATADIR%%/locales/af.pak
Error: Missing: %%DATADIR%%/locales/az.pak
Error: Missing: %%DATADIR%%/locales/cy.pak
Error: Missing: %%DATADIR%%/locales/eo.pak
Error: Missing: %%DATADIR%%/locales/eu.pak
Error: Missing: %%DATADIR%%/locales/is.pak
Error: Missing: %%DATADIR%%/locales/km.pak
Error: Missing: %%DATADIR%%/locales/ku.pak
Error: Missing: %%DATADIR%%/locales/lo.pak
Error: Missing: %%DATADIR%%/locales/mk.pak
Error: Missing: %%DATADIR%%/locales/nn.pak
Error: Missing: %%DATADIR%%/locales/no.pak
Error: Missing: %%DATADIR%%/locales/pa.pak
Error: Missing: %%DATADIR%%/locales/ps.pak
Error: Missing: %%DATADIR%%/locales/sq.pak
Error: Missing: %%DATADIR%%/locales/ug.pak
Error: Missing: %%DATADIR%%/locales/ur.pak
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/signal-desktop
=>> Error: check-plist failures detected
build of net-im/signal-desktop | signal-desktop-5.36.0 ended at Fri Apr  1 22:16:42 CEST 2022
build time: 00:13:39
!!! build failure encountered !!!
[24:28:20] Error: Build failed in phase: check-plist
[24:28:20] Cleaning up
a
MikaelUrankar commented 2 years ago

Can you post the full log please? I can't reproduce here.

Martinfx commented 2 years ago

Yes i can signal-desktop-5.36.0.log

MikaelUrankar commented 2 years ago

Maybe due to this error:

Fusing electron at /wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-5.36.0/dist/linux-unpacked/signal-desktop inspect-arguments=false
  ⨯ EACCES: permission denied, open '/wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-5.36.0/dist/linux-unpacked/signal-desktop'  failedTask=build stackTrace=Error: EACCES: permission denied, open '/wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-5.36.0/dist/linux-unpacked/signal-desktop'
error Command failed with exit code 1.

I'm investigating

MikaelUrankar commented 2 years ago

Can you try with the latest commit?

Martinfx commented 2 years ago

I tested last commit but with result

===========================================================================
=>> Checking for filesystem violations... done
=======================<phase: run-depends    >============================
===>   signal-desktop-5.36.0 depends on executable: update-desktop-database - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xcomposite.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found
===========================================================================
=>> Recording filesystem state for prestage... done
=======================<phase: stage          >============================
===>  Staging for signal-desktop-5.36.0
===>   signal-desktop-5.36.0 depends on executable: update-desktop-database - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xcomposite.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found
===>   signal-desktop-5.36.0 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found
===>   Generating temporary packing list
cd /usr/local/share/electron16 &&  /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /tmp/electron16
chmod: ./libGLESv2.so: Operation not permitted
chmod: ./resources.pak: Operation not permitted
chmod: ./libvk_swiftshader.so: Operation not permitted
chmod: ./LICENSE: Operation not permitted
chmod: ./chromedriver: Operation not permitted
chmod: ./mksnapshot: Operation not permitted
chmod: ./electron: Operation not permitted
chmod: ./chrome_100_percent.pak: Operation not permitted
chmod: ./locales/ar.pak: Operation not permitted
chmod: ./locales/lt.pak: Operation not permitted
chmod: ./locales/sw.pak: Operation not permitted
chmod: ./locales/tr.pak: Operation not permitted
chmod: ./locales/en-US.pak: Operation not permitted
chmod: ./locales/da.pak: Operation not permitted
chmod: ./locales/mr.pak: Operation not permitted
chmod: ./locales/nl.pak: Operation not permitted
chmod: ./locales/sl.pak: Operation not permitted
chmod: ./locales/nb.pak: Operation not permitted
chmod: ./locales/pt-PT.pak: Operation not permitted
chmod: ./locales/zh-CN.pak: Operation not permitted
chmod: ./locales/sk.pak: Operation not permitted
chmod: ./locales/es.pak: Operation not permitted
chmod: ./locales/hr.pak: Operation not permitted
chmod: ./locales/et.pak: Operation not permitted
chmod: ./locales/hu.pak: Operation not permitted
chmod: ./locales/en-GB.pak: Operation not permitted
chmod: ./locales/hi.pak: Operation not permitted
chmod: ./locales/ta.pak: Operation not permitted
chmod: ./locales/ms.pak: Operation not permitted
chmod: ./locales/th.pak: Operation not permitted
chmod: ./locales/it.pak: Operation not permitted
chmod: ./locales/sv.pak: Operation not permitted
chmod: ./locales/zh-TW.pak: Operation not permitted
chmod: ./locales/ca.pak: Operation not permitted
chmod: ./locales/te.pak: Operation not permitted
chmod: ./locales/ml.pak: Operation not permitted
chmod: ./locales/cs.pak: Operation not permitted
chmod: ./locales/sr.pak: Operation not permitted
chmod: ./locales/pl.pak: Operation not permitted
chmod: ./locales/fi.pak: Operation not permitted
chmod: ./locales/ko.pak: Operation not permitted
chmod: ./locales/bn.pak: Operation not permitted
chmod: ./locales/lv.pak: Operation not permitted
chmod: ./locales/bg.pak: Operation not permitted
chmod: ./locales/ro.pak: Operation not permitted
chmod: ./locales/el.pak: Operation not permitted
chmod: ./locales/fr.pak: Operation not permitted
chmod: ./locales/ja.pak: Operation not permitted
chmod: ./locales/es-419.pak: Operation not permitted
chmod: ./locales/id.pak: Operation not permitted
chmod: ./locales/de.pak: Operation not permitted
chmod: ./locales/gu.pak: Operation not permitted
chmod: ./locales/uk.pak: Operation not permitted
chmod: ./locales/he.pak: Operation not permitted
chmod: ./locales/vi.pak: Operation not permitted
chmod: ./locales/fil.pak: Operation not permitted
chmod: ./locales/am.pak: Operation not permitted
chmod: ./locales/fa.pak: Operation not permitted
chmod: ./locales/pt-BR.pak: Operation not permitted
chmod: ./locales/kn.pak: Operation not permitted
chmod: ./locales/ru.pak: Operation not permitted
chmod: ./version: Operation not permitted
chmod: ./libvulkan.so.1: Operation not permitted
chmod: ./resources/default_app.asar: Operation not permitted
chmod: ./snapshot_blob.bin: Operation not permitted
chmod: ./v8_context_snapshot_generator: Operation not permitted
chmod: ./libEGL.so: Operation not permitted
chmod: ./node_headers/include/node/v8-util.h: Operation not permitted
chmod: ./node_headers/include/node/v8-weak-callback-info.h: Operation not permitted
chmod: ./node_headers/include/node/js_native_api_types.h: Operation not permitted
chmod: ./node_headers/include/node/config.gypi: Operation not permitted
chmod: ./node_headers/include/node/v8-version.h: Operation not permitted
chmod: ./node_headers/include/node/v8-exception.h: Operation not permitted
chmod: ./node_headers/include/node/node_api_types.h: Operation not permitted
chmod: ./node_headers/include/node/v8-value-serializer.h: Operation not permitted
chmod: ./node_headers/include/node/v8-message.h: Operation not permitted
chmod: ./node_headers/include/node/v8-cppgc.h: Operation not permitted
chmod: ./node_headers/include/node/v8-regexp.h: Operation not permitted
chmod: ./node_headers/include/node/v8-version-string.h: Operation not permitted
chmod: ./node_headers/include/node/v8-function.h: Operation not permitted
chmod: ./node_headers/include/node/v8-forward.h: Operation not permitted
chmod: ./node_headers/include/node/v8-traced-handle.h: Operation not permitted
chmod: ./node_headers/include/node/v8-locker.h: Operation not permitted
chmod: ./node_headers/include/node/v8-initialization.h: Operation not permitted
chmod: ./node_headers/include/node/node.h: Operation not permitted
chmod: ./node_headers/include/node/v8-promise.h: Operation not permitted
chmod: ./node_headers/include/node/v8-embedder-heap.h: Operation not permitted
chmod: ./node_headers/include/node/common.gypi: Operation not permitted
chmod: ./node_headers/include/node/zconf.h: Operation not permitted
chmod: ./node_headers/include/node/v8-data.h: Operation not permitted
chmod: ./node_headers/include/node/node_buffer.h: Operation not permitted
chmod: ./node_headers/include/node/uv/version.h: Operation not permitted
chmod: ./node_headers/include/node/uv/sunos.h: Operation not permitted
chmod: ./node_headers/include/node/uv/aix.h: Operation not permitted
chmod: ./node_headers/include/node/uv/bsd.h: Operation not permitted
chmod: ./node_headers/include/node/uv/unix.h: Operation not permitted
chmod: ./node_headers/include/node/uv/linux.h: Operation not permitted
chmod: ./node_headers/include/node/uv/threadpool.h: Operation not permitted
chmod: ./node_headers/include/node/uv/stdint-msvc2008.h: Operation not permitted
chmod: ./node_headers/include/node/uv/posix.h: Operation not permitted
chmod: ./node_headers/include/node/uv/darwin.h: Operation not permitted
chmod: ./node_headers/include/node/uv/os390.h: Operation not permitted
chmod: ./node_headers/include/node/uv/android-ifaddrs.h: Operation not permitted
chmod: ./node_headers/include/node/uv/errno.h: Operation not permitted
chmod: ./node_headers/include/node/uv/tree.h: Operation not permitted
chmod: ./node_headers/include/node/uv/win.h: Operation not permitted
chmod: ./node_headers/include/node/cppgc/common.h: Operation not permitted
chmod: ./node_headers/include/node/v8-array-buffer.h: Operation not permitted
chmod: ./node_headers/include/node/v8-debug.h: Operation not permitted
chmod: ./node_headers/include/node/v8-internal.h: Operation not permitted
chmod: ./node_headers/include/node/v8.h: Operation not permitted
chmod: ./node_headers/include/node/v8-template.h: Operation not permitted
chmod: ./node_headers/include/node/v8-statistics.h: Operation not permitted
chmod: ./node_headers/include/node/libplatform/libplatform.h: Operation not permitted
chmod: ./node_headers/include/node/libplatform/libplatform-export.h: Operation not permitted
chmod: ./node_headers/include/node/libplatform/v8-tracing.h: Operation not permitted
chmod: ./node_headers/include/node/v8-external.h: Operation not permitted
chmod: ./node_headers/include/node/v8-container.h: Operation not permitted
chmod: ./node_headers/include/node/node_version.h: Operation not permitted
chmod: ./node_headers/include/node/v8-microtask-queue.h: Operation not permitted
chmod: ./node_headers/include/node/v8-object.h: Operation not permitted
chmod: ./node_headers/include/node/v8-wasm.h: Operation not permitted
chmod: ./node_headers/include/node/v8-platform.h: Operation not permitted
chmod: ./node_headers/include/node/v8-fast-api-calls.h: Operation not permitted
chmod: ./node_headers/include/node/v8-maybe.h: Operation not permitted
chmod: ./node_headers/include/node/v8-primitive-object.h: Operation not permitted
chmod: ./node_headers/include/node/v8-script.h: Operation not permitted
chmod: ./node_headers/include/node/v8-context.h: Operation not permitted
chmod: ./node_headers/include/node/v8-local-handle.h: Operation not permitted
chmod: ./node_headers/include/node/v8-function-callback.h: Operation not permitted
chmod: ./node_headers/include/node/v8-snapshot.h: Operation not permitted
chmod: ./node_headers/include/node/zlib.h: Operation not permitted
chmod: ./node_headers/include/node/v8-inspector.h: Operation not permitted
chmod: ./node_headers/include/node/node_api.h: Operation not permitted
chmod: ./node_headers/include/node/v8-wasm-trap-handler-win.h: Operation not permitted
chmod: ./node_headers/include/node/v8-date.h: Operation not permitted
chmod: ./node_headers/include/node/v8-memory-span.h: Operation not permitted
chmod: ./node_headers/include/node/v8-value-serializer-version.h: Operation not permitted
chmod: ./node_headers/include/node/v8-persistent-handle.h: Operation not permitted
chmod: ./node_headers/include/node/v8-unwinder.h: Operation not permitted
chmod: ./node_headers/include/node/v8-inspector-protocol.h: Operation not permitted
chmod: ./node_headers/include/node/v8-wasm-trap-handler-posix.h: Operation not permitted
chmod: ./node_headers/include/node/v8-extension.h: Operation not permitted
chmod: ./node_headers/include/node/v8-primitive.h: Operation not permitted
chmod: ./node_headers/include/node/node_object_wrap.h: Operation not permitted
chmod: ./node_headers/include/node/js_native_api.h: Operation not permitted
chmod: ./node_headers/include/node/v8-metrics.h: Operation not permitted
chmod: ./node_headers/include/node/v8-typed-array.h: Operation not permitted
chmod: ./node_headers/include/node/uv.h: Operation not permitted
chmod: ./node_headers/include/node/v8-proxy.h: Operation not permitted
chmod: ./node_headers/include/node/v8config.h: Operation not permitted
chmod: ./node_headers/include/node/v8-isolate.h: Operation not permitted
chmod: ./node_headers/include/node/v8-unwinder-state.h: Operation not permitted
chmod: ./node_headers/include/node/v8-value.h: Operation not permitted
chmod: ./node_headers/include/node/v8-profiler.h: Operation not permitted
chmod: ./node_headers/include/node/v8-microtask.h: Operation not permitted
chmod: ./node_headers/include/node/v8-callbacks.h: Operation not permitted
chmod: ./node_headers/include/node/v8-json.h: Operation not permitted
chmod: ./chrome_200_percent.pak: Operation not permitted
chmod: ./vk_swiftshader_icd.json: Operation not permitted
chmod: ./v8_context_snapshot.bin: Operation not permitted
chmod: ./swiftshader/libGLESv2.so: Operation not permitted
chmod: ./swiftshader/libEGL.so: Operation not permitted
chmod: ./libffmpeg.so: Operation not permitted
chmod: ./gen/v8/embedded.S: Operation not permitted
chmod: ./gen/electron/buildflags/buildflags.h: Operation not permitted
chmod: ./icudtl.dat: Operation not permitted
chmod: ./LICENSES.chromium.html: Operation not permitted
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/signal-desktop
build of net-im/signal-desktop | signal-desktop-5.36.0 ended at Sun Apr  3 14:54:41 CEST 2022
build time: 00:05:04
!!! build failure encountered !!!
[00:05:24] Error: Build failed in phase: stage
[00:05:24] Cleaning up
freebsd_12-2x64-default: removed
freebsd_12-2x64-default-n: removed
[00:05:24] Unmounting file systems
MikaelUrankar commented 2 years ago

Can you try: https://github.com/MikaelUrankar/signal-desktop/commit/afff5afeedc71e15562697cb57d0af5f93c6077d

If it still doesn't work, can you post your poudriere.conf?

Martinfx commented 2 years ago

Still doesn't work poudriere.txt

MikaelUrankar commented 2 years ago

with the same error as before?

Martinfx commented 2 years ago

yes


===>   Generating temporary packing list
cd /usr/local/share/electron16 &&  /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /wrkdirs/usr/ports/net-im/signal-desktop/work/electron16
chmod: ./LICENSES.chromium.html: Operation not permitted
chmod: ./v8_context_snapshot_generator: Operation not permitted
chmod: ./LICENSE: Operation not permitted
chmod: ./v8_context_snapshot.bin: Operation not permitted
chmod: ./electron: Operation not permitted
chmod: ./vk_swiftshader_icd.json: Operation not permitted
chmod: ./chrome_200_percent.pak: Operation not permitted
chmod: ./mksnapshot: Operation not permitted
chmod: ./node_headers/include/node/v8-local-handle.h: Operation not permitted
chmod: ./node_headers/include/node/v8-promise.h: Operation not permitted
chmod: ./node_headers/include/node/v8-regexp.h: Operation not permitted
chmod: ./node_headers/include/node/js_native_api.h: Operation not permitted
chmod: ./node_headers/include/node/v8-exception.h: Operation not permitted
chmod: ./node_headers/include/node/config.gypi: Operation not permitted
chmod: ./node_headers/include/node/v8-forward.h: Operation not permitted
chmod: ./node_headers/include/node/v8-microtask-queue.h: Operation not permitted
chmod: ./node_headers/include/node/v8-message.h: Operation not permitted
chmod: ./node_headers/include/node/zlib.h: Operation not permitted
chmod: ./node_headers/include/node/v8-util.h: Operation not permitted
chmod: ./node_headers/include/node/v8-fast-api-calls.h: Operation not permitted
chmod: ./node_headers/include/node/v8-proxy.h: Operation not permitted
chmod: ./node_headers/include/node/v8config.h: Operation not permitted
chmod: ./node_headers/include/node/v8-snapshot.h: Operation not permitted
chmod: ./node_headers/include/node/v8-version.h: Operation not permitted
chmod: ./node_headers/include/node/v8-value.h: Operation not permitted
chmod: ./node_headers/include/node/v8-locker.h: Operation not permitted
chmod: ./node_headers/include/node/v8-version-string.h: Operation not permitted
chmod: ./node_headers/include/node/v8-maybe.h: Operation not permitted
chmod: ./node_headers/include/node/v8-unwinder.h: Operation not permitted
chmod: ./node_headers/include/node/v8-wasm.h: Operation not permitted
chmod: ./node_headers/include/node/common.gypi: Operation not permitted
chmod: ./node_headers/include/node/uv.h: Operation not permitted
chmod: ./node_headers/include/node/v8-primitive-object.h: Operation not permitted
chmod: ./node_headers/include/node/v8-inspector-protocol.h: Operation not permitted
chmod: ./node_headers/include/node/node_object_wrap.h: Operation not permitted
chmod: ./node_headers/include/node/v8-object.h: Operation not permitted
chmod: ./node_headers/include/node/uv/darwin.h: Operation not permitted
chmod: ./node_headers/include/node/uv/posix.h: Operation not permitted
chmod: ./node_headers/include/node/uv/android-ifaddrs.h: Operation not permitted
chmod: ./node_headers/include/node/uv/aix.h: Operation not permitted
chmod: ./node_headers/include/node/uv/unix.h: Operation not permitted
chmod: ./node_headers/include/node/uv/errno.h: Operation not permitted
chmod: ./node_headers/include/node/uv/os390.h: Operation not permitted
chmod: ./node_headers/include/node/uv/stdint-msvc2008.h: Operation not permitted
chmod: ./node_headers/include/node/uv/bsd.h: Operation not permitted
chmod: ./node_headers/include/node/uv/version.h: Operation not permitted
chmod: ./node_headers/include/node/uv/threadpool.h: Operation not permitted
chmod: ./node_headers/include/node/uv/tree.h: Operation not permitted
chmod: ./node_headers/include/node/uv/linux.h: Operation not permitted
chmod: ./node_headers/include/node/uv/win.h: Operation not permitted
chmod: ./node_headers/include/node/uv/sunos.h: Operation not permitted
chmod: ./node_headers/include/node/v8-data.h: Operation not permitted
chmod: ./node_headers/include/node/v8-container.h: Operation not permitted
chmod: ./node_headers/include/node/node_version.h: Operation not permitted
chmod: ./node_headers/include/node/libplatform/v8-tracing.h: Operation not permitted
chmod: ./node_headers/include/node/libplatform/libplatform-export.h: Operation not permitted
chmod: ./node_headers/include/node/libplatform/libplatform.h: Operation not permitted
chmod: ./node_headers/include/node/v8-initialization.h: Operation not permitted
chmod: ./node_headers/include/node/node_api.h: Operation not permitted
chmod: ./node_headers/include/node/node_api_types.h: Operation not permitted
chmod: ./node_headers/include/node/v8-profiler.h: Operation not permitted
chmod: ./node_headers/include/node/v8-value-serializer-version.h: Operation not permitted
chmod: ./node_headers/include/node/v8-persistent-handle.h: Operation not permitted
chmod: ./node_headers/include/node/v8-typed-array.h: Operation not permitted
chmod: ./node_headers/include/node/v8-statistics.h: Operation not permitted
chmod: ./node_headers/include/node/v8-debug.h: Operation not permitted
chmod: ./node_headers/include/node/v8-wasm-trap-handler-win.h: Operation not permitted
chmod: ./node_headers/include/node/v8-weak-callback-info.h: Operation not permitted
chmod: ./node_headers/include/node/v8-date.h: Operation not permitted
chmod: ./node_headers/include/node/v8-script.h: Operation not permitted
chmod: ./node_headers/include/node/cppgc/common.h: Operation not permitted
chmod: ./node_headers/include/node/v8-traced-handle.h: Operation not permitted
chmod: ./node_headers/include/node/v8-function-callback.h: Operation not permitted
chmod: ./node_headers/include/node/v8-context.h: Operation not permitted
chmod: ./node_headers/include/node/v8-function.h: Operation not permitted
chmod: ./node_headers/include/node/v8-inspector.h: Operation not permitted
chmod: ./node_headers/include/node/zconf.h: Operation not permitted
chmod: ./node_headers/include/node/v8-unwinder-state.h: Operation not permitted
chmod: ./node_headers/include/node/v8-embedder-heap.h: Operation not permitted
chmod: ./node_headers/include/node/node.h: Operation not permitted
chmod: ./node_headers/include/node/node_buffer.h: Operation not permitted
chmod: ./node_headers/include/node/v8-value-serializer.h: Operation not permitted
chmod: ./node_headers/include/node/v8-extension.h: Operation not permitted
chmod: ./node_headers/include/node/v8-memory-span.h: Operation not permitted
chmod: ./node_headers/include/node/v8-primitive.h: Operation not permitted
chmod: ./node_headers/include/node/v8-array-buffer.h: Operation not permitted
chmod: ./node_headers/include/node/v8-isolate.h: Operation not permitted
chmod: ./node_headers/include/node/v8-template.h: Operation not permitted
chmod: ./node_headers/include/node/v8-cppgc.h: Operation not permitted
chmod: ./node_headers/include/node/v8-metrics.h: Operation not permitted
chmod: ./node_headers/include/node/v8-json.h: Operation not permitted
chmod: ./node_headers/include/node/js_native_api_types.h: Operation not permitted
chmod: ./node_headers/include/node/v8-internal.h: Operation not permitted
chmod: ./node_headers/include/node/v8-wasm-trap-handler-posix.h: Operation not permitted
chmod: ./node_headers/include/node/v8.h: Operation not permitted
chmod: ./node_headers/include/node/v8-external.h: Operation not permitted
chmod: ./node_headers/include/node/v8-platform.h: Operation not permitted
chmod: ./node_headers/include/node/v8-microtask.h: Operation not permitted
chmod: ./node_headers/include/node/v8-callbacks.h: Operation not permitted
chmod: ./libvulkan.so.1: Operation not permitted
chmod: ./libvk_swiftshader.so: Operation not permitted
chmod: ./libffmpeg.so: Operation not permitted
chmod: ./libEGL.so: Operation not permitted
chmod: ./icudtl.dat: Operation not permitted
chmod: ./libGLESv2.so: Operation not permitted
chmod: ./chromedriver: Operation not permitted
chmod: ./chrome_100_percent.pak: Operation not permitted
chmod: ./resources/default_app.asar: Operation not permitted
chmod: ./version: Operation not permitted
chmod: ./locales/da.pak: Operation not permitted
chmod: ./locales/mr.pak: Operation not permitted
chmod: ./locales/nl.pak: Operation not permitted
chmod: ./locales/sl.pak: Operation not permitted
chmod: ./locales/nb.pak: Operation not permitted
chmod: ./locales/sk.pak: Operation not permitted
chmod: ./locales/zh-TW.pak: Operation not permitted
chmod: ./locales/sw.pak: Operation not permitted
chmod: ./locales/tr.pak: Operation not permitted
chmod: ./locales/fil.pak: Operation not permitted
chmod: ./locales/ar.pak: Operation not permitted
chmod: ./locales/en-GB.pak: Operation not permitted
chmod: ./locales/lt.pak: Operation not permitted
chmod: ./locales/it.pak: Operation not permitted
chmod: ./locales/sv.pak: Operation not permitted
chmod: ./locales/pt-PT.pak: Operation not permitted
chmod: ./locales/zh-CN.pak: Operation not permitted
chmod: ./locales/ta.pak: Operation not permitted
chmod: ./locales/ms.pak: Operation not permitted
chmod: ./locales/th.pak: Operation not permitted
chmod: ./locales/en-US.pak: Operation not permitted
chmod: ./locales/hi.pak: Operation not permitted
chmod: ./locales/hr.pak: Operation not permitted
chmod: ./locales/es.pak: Operation not permitted
chmod: ./locales/hu.pak: Operation not permitted
chmod: ./locales/et.pak: Operation not permitted
chmod: ./locales/bn.pak: Operation not permitted
chmod: ./locales/lv.pak: Operation not permitted
chmod: ./locales/bg.pak: Operation not permitted
chmod: ./locales/ro.pak: Operation not permitted
chmod: ./locales/el.pak: Operation not permitted
chmod: ./locales/fr.pak: Operation not permitted
chmod: ./locales/fi.pak: Operation not permitted
chmod: ./locales/ko.pak: Operation not permitted
chmod: ./locales/pt-BR.pak: Operation not permitted
chmod: ./locales/ml.pak: Operation not permitted
chmod: ./locales/cs.pak: Operation not permitted
chmod: ./locales/sr.pak: Operation not permitted
chmod: ./locales/pl.pak: Operation not permitted
chmod: ./locales/es-419.pak: Operation not permitted
chmod: ./locales/ca.pak: Operation not permitted
chmod: ./locales/te.pak: Operation not permitted
chmod: ./locales/vi.pak: Operation not permitted
chmod: ./locales/am.pak: Operation not permitted
chmod: ./locales/fa.pak: Operation not permitted
chmod: ./locales/kn.pak: Operation not permitted
chmod: ./locales/ru.pak: Operation not permitted
chmod: ./locales/uk.pak: Operation not permitted
chmod: ./locales/he.pak: Operation not permitted
chmod: ./locales/de.pak: Operation not permitted
chmod: ./locales/id.pak: Operation not permitted
chmod: ./locales/gu.pak: Operation not permitted
chmod: ./locales/ja.pak: Operation not permitted
chmod: ./gen/v8/embedded.S: Operation not permitted
chmod: ./gen/electron/buildflags/buildflags.h: Operation not permitted
chmod: ./swiftshader/libGLESv2.so: Operation not permitted
chmod: ./swiftshader/libEGL.so: Operation not permitted
chmod: ./snapshot_blob.bin: Operation not permitted
chmod: ./resources.pak: Operation not permitted
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/signal-desktop
build of net-im/signal-desktop | signal-desktop-5.36.0 ended at Sun Apr  3 20:45:12 CEST 2022
build time: 00:04:53
!!! build failure encountered !!!
[00:05:08] Error: Build failed in phase: stage
[00:05:08] Cleaning up
freebsd_12-2x64-default: removed
freebsd_12-2x64-default-n: removed
[00:05:08] Unmounting file systems
Martinfx commented 2 years ago

I have problem with libsignal


=======================<phase: build          >============================
===>  Building for libsignal-client-node-0.12.4
cd /wrkdirs/usr/ports/net-im/libsignal-client-node/work/libsignal-client-0.12.4/node &&  /usr/bin/env ELECTRON_OVERRIDE_DIST_PATH=/usr/local/share/electron16  HOME=/wrkdirs/usr/ports/net-im/libsignal-client-node/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/libsignal-client-node/work/.cache  ELECTRON_SKIP_BINARY_DOWNLOAD=1  PYTHON=/usr/local/bin/python3.8 XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/libsignal-client-node/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/libsignal-client-node/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/libsignal-client-node/work/.cache  HOME=/wrkdirs/usr/ports/net-im/libsignal-client-node/work TMPDIR="/wrkdirs/usr/ports/net-im/libsignal-client-node/work" PATH=/wrkdirs/usr/ports/net-im/libsignal-client-node/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" yarn install --frozen-lockfile --ignore-optional --offline
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ node-gyp-build
gyp info it worked if it ends with ok
gyp info using node-gyp@8.2.0
gyp info using node@16.14.2 | freebsd | x64
gyp info find Python using Python version 3.8.13 found at "/usr/local/bin/python3.8"
gyp http GET https://nodejs.org/download/release/v16.14.2/node-v16.14.2-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v16.14.2/node-v16.14.2-headers.tar.gz failed, reason: getaddrinfo EAI_FAIL nodejs.org
gyp ERR! stack     at ClientRequest.<anonymous> (/wrkdirs/usr/ports/net-im/libsignal-client-node/work/libsignal-client-0.12.4/node/node_modules/minipass-fetch/lib/index.js:110:14)
gyp ERR! stack     at ClientRequest.emit (node:events:526:28)
gyp ERR! stack     at TLSSocket.socketErrorListener (node:_http_client:442:9)
gyp ERR! stack     at TLSSocket.emit (node:events:538:35)
gyp ERR! stack     at emitErrorNT (node:internal/streams/destroy:157:8)
gyp ERR! stack     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
gyp ERR! stack     at processTicksAndRejections (node:internal/process/task_queues:83:21)
gyp ERR! System FreeBSD 12.3-RELEASE-p4
gyp ERR! command "/usr/local/bin/node" "/wrkdirs/usr/ports/net-im/libsignal-client-node/work/libsignal-client-0.12.4/node/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /wrkdirs/usr/ports/net-im/libsignal-client-node/work/libsignal-client-0.12.4/node
gyp ERR! node -v v16.14.2
gyp ERR! node-gyp -v v8.2.0
gyp ERR! not ok 
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/libsignal-client-node
=>> Cleaning up wrkdir
===>  Cleaning for libsignal-client-node-0.12.4
build of net-im/libsignal-client-node | libsignal-client-node-0.12.4 ended at Wed Apr  6 17:30:44 CEST 2022
build time: 00:00:47
!!! build failure encountered !!!
MikaelUrankar commented 2 years ago

Yeah, node 16.14.2 broke all ports... I'll work on a fix

MikaelUrankar commented 2 years ago

Can you try with https://github.com/MikaelUrankar/signal-desktop/commit/e1ea7354c434ec6af9f9629e8054de2238166092

Martinfx commented 2 years ago

I have problem with signal-desktop

=======================<phase: patch          >============================
===>  Patching for signal-desktop-5.37.0
===>  Applying FreeBSD patches for signal-desktop-5.37.0 from /usr/ports/net-im/signal-desktop/files
No file to patch.  Skipping...
1 out of 1 hunks ignored--saving rejects to cargo-crates/linkme-0.2.7/src/distributed_slice.rs.rej
Can't create cargo-crates/linkme-0.2.7/src/distributed_slice.rs.rej, output is in /tmp/patchrkjdJV4M22A: No such file or directory
===>  FAILED Applying FreeBSD patch-cargo-crates_linkme-0.2.7
===> FAILED to apply cleanly FreeBSD patch(es)  patch-cargo-crates_linkme-0.2.7
*** Error code 1
MikaelUrankar commented 2 years ago

Weird, there is no such patch in net-im/signal-desktop, it's in net-im/libsignal-client-node/files/patch-cargo-crates_linkme-0.2.7

Martinfx commented 2 years ago

I will try remove old patches from folder

Martinfx commented 2 years ago

I removed old patches and have other issue

  • skipped dependencies rebuild  reason=npmRebuild is set to false
  • packaging       platform=linux arch=x64 electron=16 appOutDir=dist/linux-unpacked
  • copying Electron  source=/wrkdirs/usr/ports/net-im/signal-desktop/work/electron16 destination=/wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-5.37.0/dist/linux-unpacked
Fusing electron at /wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-5.37.0/dist/linux-unpacked/signal-desktop inspect-arguments=false
  ⨯ EACCES: permission denied, open '/wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-5.37.0/dist/linux-unpacked/signal-desktop'  failedTask=build stackTrace=Error: EACCES: permission denied, open '/wrkdirs/usr/ports/net-im/signal-desktop/work/Signal-Desktop-5.37.0/dist/linux-unpacked/signal-desktop'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
*** Error code 1
MikaelUrankar commented 2 years ago

and after https://github.com/MikaelUrankar/signal-desktop/commit/0b7afac69bee48bbe1589cd98ee86ac0747797a1 ?

Martinfx commented 2 years ago

It works