Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

update rust-nightly to 1.25 #1

Closed
wants to merge 1 commit into from
Closed

Conversation

johalun
Copy link

@johalun johalun commented Feb 7, 2018

Q&A still don't pass but it might be just a quick fix. This is as far as I will work on this. I could build everything and extract the toolchain from work/stage which is enough for me since I use rustup to handle toolchains.

@johalun
Copy link
Author

johalun commented Feb 7, 2018

I had to split the patch-sanitizer file because for some reason the Cargo.toml hunk makes the next hunk fail. I move that hunk to a separate file.

@valpackett
Copy link
Collaborator

ooh nice!! I've tried to upgrade it a couple weeks ago (changing STDF to more automatic name detection) but it failed to compile. Trying to build this now.

@valpackett
Copy link
Collaborator

/bin/rm -f /usr/ports/lang/rust-nightly/work/stage/usr/local/share/doc/rust/*.old                                                                         
rm: /usr/ports/lang/rust-nightly/work/stage/usr/local/share/doc/rust/html.old: is a directory

hmm, maybe this is just because of re-running make without cleaning, but I had to delete that manually

@valpackett
Copy link
Collaborator

Merged, thanks.

(Silly GitHub, didn't detect git am even though it offers a link to the PR as a patch…)

@valpackett valpackett closed this Feb 7, 2018
valpackett pushed a commit that referenced this pull request Apr 17, 2018
graphics/qt5-3d: Update pkg-plist
valpackett pushed a commit that referenced this pull request Apr 29, 2018
FAILED: src/kernels/cl_internal_copy_buf_align16_str.c
cd /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src && rm -rf /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16_str.c && env OCL_BITCODE_LIB_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet.bc OCL_HEADER_FILE_DIR=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//include/ OCL_PCH_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet.local.pch OCL_BITCODE_LIB_20_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet_20.bc OCL_PCH_20_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet_20.local.pch LD_LIBRARY_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/gbe_bin_generater -s -o/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16_str.c /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16.cl
ninja: build stopped: subcommand failed.

  Program received signal SIGBUS, Bus error.
  std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare (
      this=0x80959ac20, __str=...) at /usr/include/c++/v1/string:3643
  3643        size_t __rhs_sz = __str.size();
  (gdb) backtrace
  #0  std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare (
      this=0x80959ac20, __str=...) at /usr/include/c++/v1/string:3643
  #1  std::__1::operator< <char, std::__1::char_traits<char>, std::__1::allocator<char> > (__lhs=..., __rhs=...)
      at /usr/include/c++/v1/string:3827
  #2  std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::value_comp (
      this=0x7fffffff9af8, this=0x7fffffff9af8, __x=..., __y=...) at /usr/include/c++/v1/__functional_base:63
  #3  std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::__find_equal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > (this=0x7fffffff9ae8,
      __parent=@0x7fffffff94b8: 0x80063e400, __v=...) at /usr/include/c++/v1/__tree:1613
  #4  0x0000000800f6c3c2 in std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > ---Type <return> to continue, or q <return> to quit---
  >::__insert_unique (this=0x7fffffff9ae8, __v=...) at /usr/include/c++/v1/__tree:1867
  #5  0x000000080147e8eb in clang::ASTReader::ReadASTBlock(clang::serialization::ModuleFile&, unsigned int) ()
     from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  #6  0x0000000801484484 in clang::ASTReader::ReadAST(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, unsigned int, llvm::SmallVectorImpl<clang::ASTReader::ImportedSubmodule>*) ()
     from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  #7  0x000000080138be1b in clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef, llvm::StringRef, bool, bool, clang::Preprocessor&, clang::ASTContext&, clang::PCHContainerReader const&, llvm::ArrayRef<std::__1::shared_ptr<clang::ModuleFileExtension> >, clang::DependencyFileGenerator*, llvm::ArrayRef<std::__1::shared_ptr<clang::DependencyCollector> >, void*, bool, bool, bool) ()
     from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  freebsd#8  0x000000080138bb7c in clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef, bool, bool, void*, bool) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  freebsd#9  0x00000008013d0d47 in clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  freebsd#10 0x000000080138eec5 in clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) ()
  ---Type <return> to continue, or q <return> to quit---
     from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so
  freebsd#11 0x0000000800f19565 in gbe::buildModuleFromSource (
      source=0x8007b2000 "kernel void __cl_copy_region_align16 ( global float* src, unsigned int src_offset,\n", ' ' <repeats 38 times>, "global float* dst, unsigned int dst_offset,\n\t\t\t\t      unsigned int size)\n{\n    "..., out_module=0x7fffffffd360, llvm_ctx=0x809419468, dumpLLVMFileName=..., dumpSPIRBinaryName=..., options=...,
      stringSize=0, err=0x0, errSize=0x0, oclVersion=120) at backend/src/backend/program.cpp:735
  freebsd#12 0x0000000800f0688c in gbe::programCompileFromSource (deviceID=0,
      source=0x8007b2000 "kernel void __cl_copy_region_align16 ( global float* src, unsigned int src_offset,\n", ' ' <repeats 38 times>, "global float* dst, unsigned int dst_offset,\n\t\t\t\t      unsigned int size)\n{\n    "..., temp_header_path=0x0, stringSize=0, options=0x809417259 "", err=0x0, errSize=0x0)
      at backend/src/backend/program.cpp:1163
  freebsd#13 0x00000000004073f8 in program_build_instance::build_program (this=0x809417240)
      at backend/src/gbe_bin_generater.cpp:280
  freebsd#14 0x000000000040990f in main (argc=4, argv=0x7fffffffe740) at backend/src/gbe_bin_generater.cpp:429
valpackett pushed a commit that referenced this pull request May 14, 2018
valpackett pushed a commit that referenced this pull request Aug 7, 2018
- Build with modern Clang to avoid playback crash on FreeBSD 10.4:

    $ mpc-qt /path/to/foo.mkv
    [...]
    Thread 1 received signal SIGSEGV, Segmentation fault.
    0x0000000800da8721 in mpv_render_context_render (ctx=0x81580ac40, params=0x7fffffff3f30)
	at ../video/out/vo_libmpv.c:405
    405         if (GET_MPV_RENDER_PARAM(params, MPV_RENDER_PARAM_BLOCK_FOR_TARGET_TIME,
    (gdb) backtrace full
    #0  0x0000000800da8721 in mpv_render_context_render (ctx=0x81580ac40, params=0x7fffffff3f30)
	at ../video/out/vo_libmpv.c:405
	    do_render = 1
	    frame = 0x8263046a0
	    wait_present_count = 2
	    dummy = {pts = 0, duration = 0, vsync_interval = 0, vsync_offset = 0, ideal_frame_duration = 0,
	      num_vsyncs = 0, redraw = false, repeat = false, still = false, display_synced = false,
	      can_drop = false, current = 0x0, num_frames = 0, frames = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
		0x0, 0x0}, frame_id = 0}
	    err = 0
    #1  0x00000000004c2d81 in MpvGlWidget::paintGL (this=0x8159eb860) at mpvwidget.cpp:870
	    fbo = {fbo = 12, w = 1798, h = 2012, internal_format = 0}
	    params = {{type = MPV_RENDER_PARAM_OPENGL_FBO, data = 0x7fffffff3f50}, {type = MPV_RENDER_PARAM_FLIP_Y,
		data = 0x7fffffff3f63}}
	    yes = true
    #2  0x000000080140e3b6 in QOpenGLWidgetPrivate::invokeUserPaint (this=0x815909080)
	at kernel/qopenglwidget.cpp:878
	    q = 0x8159eb860
	    ctx = 0x81596ec30
	    f = 0x815819d58
    #3  0x000000080140e47f in QOpenGLWidgetPrivate::render (this=0x815909080) at kernel/qopenglwidget.cpp:899
	    q = 0x8159eb860
    [...]

Changes:	https://github.com/cmdrkotori/mpc-qt/releases/tag/v18.08
Changes:	https://github.com/cmdrkotori/mpc-qt/compare/v18.03...v18.08
valpackett pushed a commit that referenced this pull request Aug 7, 2018
For some reason, the Xprint.man patch is supposed to get into a subdirectory
that does not exist:

  --------------------------
  |--- man/Xprint.man.orig	2018-07-24 10:46:56 UTC
  |+++ man/Xprint.man
  --------------------------
  (Creating file Xprint.man...)
  Patching file Xprint.man using Plan A...
  Empty context always matches.
  Hunk #1 succeeded at 1.
  done

So patch extracts it in the first existing directory, and then the build fails:

  make[1]: don't know how to make man/Xprint.7. Stop

  make[1]: stopped in /wrkdirs/usr/ports/x11/xorgproto/work/xorgproto-2018.4
  *** Error code 1

  Stop.

Sponsored by:	Absolight
valpackett pushed a commit that referenced this pull request Oct 20, 2018
valpackett pushed a commit that referenced this pull request Jan 25, 2019
League Gothic is a revival of an old classic, Alternate Gothic #1. It was
originally designed by Morris Fuller Benton for the American Type Founders
Company in 1903. The company went bankrupt in 1993, and since the original
typeface was created before 1923, the typeface is in the public domain.

WWW: https://www.theleagueofmoveabletype.com/league-gothic

PR:		231304
Submitted by:	Florian Limberger <flo@snakeoilproductions.net>
jfouquart pushed a commit to jfouquart/freebsd-ports-dank that referenced this pull request Mar 29, 2019
dav1d 0.2.1 - by VideoLAN
Decoded 1/150 frames (0.7%)Process 84877 stopped
* thread DankBSD#1, name = 'dav1d', stop reason = signal SIGBUS: hardware error
    frame #0: 0x000000080028c1f5 libdav1d.so.1`..@26262.end + 101
libdav1d.so.1`..@26262.end:
->  0x80028c1f5 <+101>: vmovdqa %ymm15, (%rsp)
    0x80028c1fa <+106>: callq  0x80028baa0               ; ..@25257.end
    0x80028c1ff <+111>: vpbroadcastd -0x74(%rax), %ymm1
    0x80028c205 <+117>: vpmulhrsw %ymm1, %ymm6, %ymm6
(lldb) reg read rsp
     rsp = 0x00007fffffffc030
(lldb) bt
* thread DankBSD#1, name = 'dav1d', stop reason = signal SIGBUS: hardware error
  * frame #0: 0x000000080028c1f5 libdav1d.so.1`..@26262.end + 101
    frame DankBSD#1: 0x00000008002f605c libdav1d.so.1`read_coef_tree(t=0x0000000800e0f840, bs=BS_16x16, b=0x00007fffffffc630, ytx=2, depth=0, tx_split=0x00007fffffffc644, x_off=0, y_off=0, dst="wwvvvuttuvwxyyxz") at recon_tmpl.c:356:17
    frame DankBSD#2: 0x00000008002fd3cb libdav1d.so.1`dav1d_recon_b_inter_8bpc(t=0x0000000800e0f840, bs=BS_16x16, b=0x00007fffffffc630) at recon_tmpl.c:1510:21
    frame DankBSD#3: 0x00000008002c1180 libdav1d.so.1`decode_b(t=0x0000000800e0f840, bl=BL_16X16, bs=BS_16x16, bp=PARTITION_NONE, intra_edge_flags=0) at decode.c:1855:17
    frame DankBSD#4: 0x00000008002b65d0 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_16X16, node=0x00000008007faf10) at decode.c:2040:17
    frame DankBSD#5: 0x00000008002b68a8 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_32X32, node=0x00000008007f8e20) at decode.c:2084:21
    frame DankBSD#6: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_64X64, node=0x00000008007f85a0) at decode.c:2091:21
    frame DankBSD#7: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_128X128, node=0x00000008007f8380) at decode.c:2091:21
    frame freebsd#8: 0x00000008002b5fce libdav1d.so.1`dav1d_decode_tile_sbrow(t=0x0000000800e0f840) at decode.c:2542:13
    frame freebsd#9: 0x00000008002cb1ab libdav1d.so.1`dav1d_decode_frame(f=0x0000000800e00000) at decode.c:2916:29
    frame freebsd#10: 0x00000008002cd477 libdav1d.so.1`dav1d_submit_frame(c=0x00000008007f5280) at decode.c:3374:20
    frame freebsd#11: 0x00000008002b1433 libdav1d.so.1`dav1d_parse_obus(c=0x00000008007f5280, in=0x00000008007f52e8, global=0) at obu.c:1490:24
    frame freebsd#12: 0x000000080032f786 libdav1d.so.1`dav1d_get_picture(c=0x00000008007f5280, out=0x00007fffffffe048) at lib.c:359:15
    frame freebsd#13: 0x00000000002035ee dav1d`main(argc=7, argv=0x00007fffffffe250) at dav1d.c:139:20
    frame freebsd#14: 0x000000000020310f dav1d`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7

Reported by:	Mozilla
jfouquart pushed a commit to jfouquart/freebsd-ports-dank that referenced this pull request Mar 29, 2019
dav1d 0.2.1 - by VideoLAN
Decoded 1/150 frames (0.7%)Process 84877 stopped
* thread DankBSD#1, name = 'dav1d', stop reason = signal SIGBUS: hardware error
    frame #0: 0x000000080028c1f5 libdav1d.so.1`..@26262.end + 101
libdav1d.so.1`..@26262.end:
->  0x80028c1f5 <+101>: vmovdqa %ymm15, (%rsp)
    0x80028c1fa <+106>: callq  0x80028baa0               ; ..@25257.end
    0x80028c1ff <+111>: vpbroadcastd -0x74(%rax), %ymm1
    0x80028c205 <+117>: vpmulhrsw %ymm1, %ymm6, %ymm6
(lldb) reg read rsp
     rsp = 0x00007fffffffc030
(lldb) bt
* thread DankBSD#1, name = 'dav1d', stop reason = signal SIGBUS: hardware error
  * frame #0: 0x000000080028c1f5 libdav1d.so.1`..@26262.end + 101
    frame DankBSD#1: 0x00000008002f605c libdav1d.so.1`read_coef_tree(t=0x0000000800e0f840, bs=BS_16x16, b=0x00007fffffffc630, ytx=2, depth=0, tx_split=0x00007fffffffc644, x_off=0, y_off=0, dst="wwvvvuttuvwxyyxz") at recon_tmpl.c:356:17
    frame DankBSD#2: 0x00000008002fd3cb libdav1d.so.1`dav1d_recon_b_inter_8bpc(t=0x0000000800e0f840, bs=BS_16x16, b=0x00007fffffffc630) at recon_tmpl.c:1510:21
    frame DankBSD#3: 0x00000008002c1180 libdav1d.so.1`decode_b(t=0x0000000800e0f840, bl=BL_16X16, bs=BS_16x16, bp=PARTITION_NONE, intra_edge_flags=0) at decode.c:1855:17
    frame DankBSD#4: 0x00000008002b65d0 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_16X16, node=0x00000008007faf10) at decode.c:2040:17
    frame DankBSD#5: 0x00000008002b68a8 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_32X32, node=0x00000008007f8e20) at decode.c:2084:21
    frame DankBSD#6: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_64X64, node=0x00000008007f85a0) at decode.c:2091:21
    frame DankBSD#7: 0x00000008002b6924 libdav1d.so.1`decode_sb(t=0x0000000800e0f840, bl=BL_128X128, node=0x00000008007f8380) at decode.c:2091:21
    frame freebsd#8: 0x00000008002b5fce libdav1d.so.1`dav1d_decode_tile_sbrow(t=0x0000000800e0f840) at decode.c:2542:13
    frame freebsd#9: 0x00000008002cb1ab libdav1d.so.1`dav1d_decode_frame(f=0x0000000800e00000) at decode.c:2916:29
    frame freebsd#10: 0x00000008002cd477 libdav1d.so.1`dav1d_submit_frame(c=0x00000008007f5280) at decode.c:3374:20
    frame freebsd#11: 0x00000008002b1433 libdav1d.so.1`dav1d_parse_obus(c=0x00000008007f5280, in=0x00000008007f52e8, global=0) at obu.c:1490:24
    frame freebsd#12: 0x000000080032f786 libdav1d.so.1`dav1d_get_picture(c=0x00000008007f5280, out=0x00007fffffffe048) at lib.c:359:15
    frame freebsd#13: 0x00000000002035ee dav1d`main(argc=7, argv=0x00007fffffffe250) at dav1d.c:139:20
    frame freebsd#14: 0x000000000020310f dav1d`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7

Reported by:	Mozilla
jfouquart pushed a commit to jfouquart/freebsd-ports-dank that referenced this pull request May 14, 2019
ChangeLog can be found here:
https://qgis.org/en/site/forusers/visualchangelog36/index.html

* Update several Python dependencies
* Add USES=gnome, USE_GNOME=libxml2, USE_QT=gamepad, and
  LIB_DEPENDS=libsz.so:science/szip to pet 'make DEVELOPER=yes'
* Remove 'world writeable rights' in pkg-plist (bug #237070, comment DankBSD#1)

PR:	237755
Submitted by:	rhurlin@gwdg.de (maintainer)
valpackett pushed a commit that referenced this pull request Jan 25, 2020
On ELFv2 ABI Clang can't build this port by default and throws assertion (already reported):
Assertion failed: ((Op.getOpcode() == ISD::FP_TO_SINT || Subtarget.hasFPCVT()) && "i64 FP_TO_UINT is supported only with FPCVT"), function LowerFP_TO_INTForReuse, file /poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp, line 7281.
Stack dump:
0.	Program arguments: /usr/bin/c++ -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name protoDispatcher.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/src/common/protoDispatcher.cpp.1.gcno -resource-dir /usr/lib/clang/9.0.1 -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/include -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/protolib/include -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/include/unix -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/protolib/include/unix -D UNIX -D HAVE_DIRFD -D HAVE_IPV6 -D HAVE_ASSERT -D HAVE_GETLOGIN -D HAVE_FLOCK -D NDEBUG -internal-isystem /usr/include/c++/v1 -O3 -fdeprecated-macro -fdebug-compilation-dir /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/src/common/protoDispatcher.cpp.1.o -x c++ ../protolib/src/common/protoDispatcher.cpp
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../protolib/src/common/protoDispatcher.cpp'.
4.	Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@_ZN15ProtoDispatcher4WaitEv'
#0 0x000000001371df18 (/usr/bin/c+++0x1371df18)
#1 0x000000001371e594 (/usr/bin/c+++0x1371e594)
#2 0x000000001371b858 (/usr/bin/c+++0x1371b858)
#3 0x000000001371ed0c (/usr/bin/c+++0x1371ed0c)
#4 0x000000081520176c (/lib/libthr.so.3+0x1b76c)
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg:

The workaround is to optimize for POWER7, which supports necessary features in hardware. This will break run-time for older CPU's, but at least we can get this port running on POWER7 and newer.

PR:		243227
Approved by:	hd@oc.dk (maintainer timeout)
valpackett pushed a commit that referenced this pull request Jan 25, 2020
On ELFv2 ABI Clang can't build this port by default and throws assertion (already reported):
Assertion failed: ((Op.getOpcode() == ISD::FP_TO_SINT || Subtarget.hasFPCVT()) && "i64 FP_TO_UINT is supported only with FPCVT"), function LowerFP_TO_INTForReuse, file /poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp, line 7281.
Stack dump:
0.	Program arguments: /usr/bin/cc -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name Spread.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /wrkdirs/usr/ports/net/spread/work/spread-src-3.17.4/perl/Spread/Spread.gcno -resource-dir /usr/lib/clang/9.0.1 -I ../.. -I ../spread-src-3.17.0/ -D VERSION="3.17.4.4" -D XS_VERSION="3.17.4.4" -D PIC -I /usr/local/lib/perl5/5.30/mach/CORE -O2 -fdebug-compilation-dir /wrkdirs/usr/ports/net/spread/work/spread-src-3.17.4/perl/Spread -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o Spread.o -x c Spread.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module 'Spread.c'.
4.	Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@XS_Spread_receive'
#0 0x000000001371df18 (/usr/bin/cc+0x1371df18)
#1 0x000000001371e594 (/usr/bin/cc+0x1371e594)
#2 0x000000001371b858 (/usr/bin/cc+0x1371b858)
#3 0x000000001371ed0c (/usr/bin/cc+0x1371ed0c)
#4 0x000000081520176c (/lib/libthr.so.3+0x1b76c)
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
cc: note: diagnostic msg:
********************

The workaround is to optimize for POWER7, which supports necessary features in hardware.

PR:		243245
Approved by:	portmaster@bsdforge.com (maintainer timeout)
jfouquart pushed a commit to jfouquart/freebsd-ports-dank that referenced this pull request Feb 4, 2020
On ELFv2 ABI Clang can't build this port by default and throws assertion (already reported):
Assertion failed: ((Op.getOpcode() == ISD::FP_TO_SINT || Subtarget.hasFPCVT()) && "i64 FP_TO_UINT is supported only with FPCVT"), function LowerFP_TO_INTForReuse, file /poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp, line 7281.
Stack dump:
0.	Program arguments: /usr/bin/c++ -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name protoDispatcher.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/src/common/protoDispatcher.cpp.1.gcno -resource-dir /usr/lib/clang/9.0.1 -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/include -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/protolib/include -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/include/unix -I /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/protolib/include/unix -D UNIX -D HAVE_DIRFD -D HAVE_IPV6 -D HAVE_ASSERT -D HAVE_GETLOGIN -D HAVE_FLOCK -D NDEBUG -internal-isystem /usr/include/c++/v1 -O3 -fdeprecated-macro -fdebug-compilation-dir /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o /wrkdirs/usr/ports/net/norm/work/norm-1.5r6/build/protolib/src/common/protoDispatcher.cpp.1.o -x c++ ../protolib/src/common/protoDispatcher.cpp
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../protolib/src/common/protoDispatcher.cpp'.
4.	Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@_ZN15ProtoDispatcher4WaitEv'
#0 0x000000001371df18 (/usr/bin/c+++0x1371df18)
DankBSD#1 0x000000001371e594 (/usr/bin/c+++0x1371e594)
DankBSD#2 0x000000001371b858 (/usr/bin/c+++0x1371b858)
DankBSD#3 0x000000001371ed0c (/usr/bin/c+++0x1371ed0c)
DankBSD#4 0x000000081520176c (/lib/libthr.so.3+0x1b76c)
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg:

The workaround is to optimize for POWER7, which supports necessary features in hardware. This will break run-time for older CPU's, but at least we can get this port running on POWER7 and newer.

PR:		243227
Approved by:	hd@oc.dk (maintainer timeout)
jfouquart pushed a commit to jfouquart/freebsd-ports-dank that referenced this pull request Feb 4, 2020
On ELFv2 ABI Clang can't build this port by default and throws assertion (already reported):
Assertion failed: ((Op.getOpcode() == ISD::FP_TO_SINT || Subtarget.hasFPCVT()) && "i64 FP_TO_UINT is supported only with FPCVT"), function LowerFP_TO_INTForReuse, file /poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp, line 7281.
Stack dump:
0.	Program arguments: /usr/bin/cc -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name Spread.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /wrkdirs/usr/ports/net/spread/work/spread-src-3.17.4/perl/Spread/Spread.gcno -resource-dir /usr/lib/clang/9.0.1 -I ../.. -I ../spread-src-3.17.0/ -D VERSION="3.17.4.4" -D XS_VERSION="3.17.4.4" -D PIC -I /usr/local/lib/perl5/5.30/mach/CORE -O2 -fdebug-compilation-dir /wrkdirs/usr/ports/net/spread/work/spread-src-3.17.4/perl/Spread -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o Spread.o -x c Spread.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module 'Spread.c'.
4.	Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@XS_Spread_receive'
#0 0x000000001371df18 (/usr/bin/cc+0x1371df18)
DankBSD#1 0x000000001371e594 (/usr/bin/cc+0x1371e594)
DankBSD#2 0x000000001371b858 (/usr/bin/cc+0x1371b858)
DankBSD#3 0x000000001371ed0c (/usr/bin/cc+0x1371ed0c)
DankBSD#4 0x000000081520176c (/lib/libthr.so.3+0x1b76c)
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
cc: note: diagnostic msg:
********************

The workaround is to optimize for POWER7, which supports necessary features in hardware.

PR:		243245
Approved by:	portmaster@bsdforge.com (maintainer timeout)
jfouquart pushed a commit to jfouquart/freebsd-ports-dank that referenced this pull request Feb 6, 2020
Clang has issues compiling this port on powerpc64 elfv2:
Assertion failed: ((Op.getOpcode() == ISD::FP_TO_SINT || Subtarget.hasFPCVT()) && "i64 FP_TO_UINT is supported only with FPCVT"), function LowerFP_TO_INTForReuse, file /poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp, line 7281.
Stack dump:
0.	Program arguments: /usr/bin/cc -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name raudio.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /wrkdirs/usr/ports/devel/raylib/work/.build/src/CMakeFiles/raylib.dir/raudio.c.gcno -resource-dir /usr/lib/clang/9.0.1 -dependency-file src/CMakeFiles/raylib.dir/raudio.c.o.d -sys-header-deps -MT src/CMakeFiles/raylib.dir/raudio.c.o -isystem /usr/local/include -isystem /usr/local/include -D GLFW_DLL -D GRAPHICS_API_OPENGL_33 -D PLATFORM_DESKTOP -D RAYLIB_CMAKE=1 -D raylib_EXPORTS -I . -I /wrkdirs/usr/ports/devel/raylib/work/raylib-2.5.0/src/. -O2 -Werror=implicit-function-declaration -Werror=pointer-arith -std=gnu99 -fdebug-compilation-dir /wrkdirs/usr/ports/devel/raylib/work/.build -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o src/CMakeFiles/raylib.dir/raudio.c.o -x c /wrkdirs/usr/ports/devel/raylib/work/raylib-2.5.0/src/raudio.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '/wrkdirs/usr/ports/devel/raylib/work/raylib-2.5.0/src/raudio.c'.
4.	Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@ma_calculate_frame_count_after_src'
#0 0x000000001371e818 (/usr/bin/cc+0x1371e818)
DankBSD#1 0x000000001371ee94 (/usr/bin/cc+0x1371ee94)
DankBSD#2 0x000000001371c158 (/usr/bin/cc+0x1371c158)
DankBSD#3 0x000000001371f60c (/usr/bin/cc+0x1371f60c)
DankBSD#4 0x000000081520176c (/lib/libthr.so.3+0x1b76c)
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

Use GCC instead. The issue with Clang has been reported upstream.

PR:		243855
Approved by:	freebsd@sysctl.cz (maintainer)
jfouquart pushed a commit to jfouquart/freebsd-ports-dank that referenced this pull request Feb 11, 2020
Use GCC unconditionally on powerpc64:
Invalid PPC CTR loop!
UNREACHABLE executed at /poudriere/jails/powerpc64-elfv2-pkubaj/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp:214!
Stack dump:
0.	Program arguments: /usr/bin/cc -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name main.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /wrkdirs/usr/ports/sysutils/lttng-tools/work/lttng-tools-2.9.3/src/bin/lttng-sessiond/main.gcno -resource-dir /usr/lib/clang/9.0.1 -dependency-file .deps/main.Tpo -sys-header-deps -MP -MT main.o -include config.h -isystem /usr/local/include -isystem /usr/local/include -D HAVE_CONFIG_H -I ../../.. -I ../../.. -I ../../../src -I ../../../include -I ../../../include -I ../../../src -D INSTALL_BIN_PATH="/usr/local/lib/lttng/libexec" -D INSTALL_LIB_PATH="/usr/local/lib" -I /usr/local/include -D _THREAD_SAFE -O2 -Wall -fdebug-compilation-dir /wrkdirs/usr/ports/sysutils/lttng-tools/work/lttng-tools-2.9.3/src/bin/lttng-sessiond -ferror-limit 19 -fmessage-length 0 -pthread -stack-protector 2 -fno-signed-char -fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o main.o -x c main.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module 'main.c'.
4.	Running pass 'PowerPC CTR Loops Verify' on function '@thread_manage_clients'
#0 0x000000001371e818 (/usr/bin/cc+0x1371e818)
DankBSD#1 0x000000001371ee94 (/usr/bin/cc+0x1371ee94)
DankBSD#2 0x000000001371c158 (/usr/bin/cc+0x1371c158)
DankBSD#3 0x000000001371f60c (/usr/bin/cc+0x1371f60c)
DankBSD#4 0x000000081520176c (/lib/libthr.so.3+0x1b76c)
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
--- ust-app.o ---
mv -f .deps/ust-app.Tpo .deps/ust-app.Po
--- main.o ---
cc: note: diagnostic msg:
********************
valpackett pushed a commit that referenced this pull request Mar 21, 2020
Clang 10 fails with assertion error (already reported):
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..  -I..    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT cgbmv.lo -MD -MP -MF .deps/cgbmv.Tpo -c -o cgbmv.lo cgbmv.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT cgbmv.lo -MD -MP -MF .deps/cgbmv.Tpo -c cgbmv.c  -fPIC -DPIC -o .libs/cgbmv.o
Assertion failed: (HT.TopLevelMap[ThisEntry->getKey()] == ThisEntry && "Scope imbalance!"), function ~ScopedHashTableScope, file /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/ScopedHashTable.h, line 245.
Stack dump:
0.      Program arguments: cc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT cgbmv.lo -MD -MP -MF .deps/cgbmv.Tpo -c cgbmv.c -fPIC -DPIC -o .libs/cgbmv.o
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'cgbmv.c'.
4.      Running pass 'Early CSE' on function '@cblas_cgbmv'
#0 0x0000000013bac208 PrintStackTrace /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13
#1 0x0000000013ba98d0 RunSignalHandlers /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:67:5
#2 0x0000000013baf278 HandleCrash /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:75:7
#3 0x0000000013baf4ec CrashRecoverySignalHandler /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:0:51
#4 0x0000000815732748 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:303:3
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-rc3-1-gc290cb61fdc)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
valpackett pushed a commit that referenced this pull request Mar 21, 2020
Clang 10 hits assertion error:
Assertion failed: (!IsStrict && "Don't know how to expand for strict nodes."), function ExpandNode, file /poudriere/jails/powerpc64-head/usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 3638.
Stack dump:
0.	Program arguments: cc -Ibabl/4170c83@@babl-0.1@sha -Ibabl -I../babl -I. -I../ -Ibabl/base -I../babl/base -I/usr/local/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast -fno-unsafe-math-optimizations -Wdeclaration-after-statement -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -O2 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -DLIBDIR="/usr/local/lib" -MD -MQ babl/4170c83@@babl-0.1@sha/babl-model.c.o -MF babl/4170c83@@babl-0.1@sha/babl-model.c.o.d -o babl/4170c83@@babl-0.1@sha/babl-model.c.o -c ../babl/babl-model.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../babl/babl-model.c'.
4.	Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@babl_model_is_symmetric'
#0 0x0000000013bba6c8 (/usr/bin/cc+0x13bba6c8)
#1 0x0000000013bb7d90 (/usr/bin/cc+0x13bb7d90)
#2 0x0000000013bbd738 (/usr/bin/cc+0x13bbd738)
#3 0x0000000013bbd9ac (/usr/bin/cc+0x13bbd9ac)
#4 0x0000000815740838 (/lib/libthr.so.3+0x27838)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-rc3-1-gc290cb61fdc)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

Use GCC for now.
valpackett pushed a commit that referenced this pull request Mar 27, 2020
|diff --git a/notes.c b/notes.c
|index 75c028b300..24089afa8a 100644
|--- a/notes.c
|+++ b/notes.c
--------------------------
Patching file /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.5.4/git-core/notes.c using Plan A...
Hunk #1 succeeded at 419 (offset 2 lines).
Hunk #2 failed at 721.
Hunk #3 succeeded at 752 (offset 3 lines).
Hunk #4 succeeded at 1159 (offset 35 lines).
Hunk #5 failed at 1177.
Hunk #6 succeeded at 1159 (offset 4 lines).
2 out of 6 hunks failed--saving rejects to helper/notes.patched.c.rej
done
gmake[2]: *** [Makefile:157: ../helper/notes.patched.c] Error 1

Reported by:	pkg-fallout
valpackett pushed a commit that referenced this pull request Apr 3, 2020
--- .syntax_check ---
lib/Intclock.pl syntax OK
--- pm_to_blib ---
--- .syntax_check ---
Can't locate Intclock.pl in @inc (@inc contains: blib/lib /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30 .) at lib/Intclock/Config.pm line 40.
BEGIN failed--compilation aborted at lib/Intclock/Config.pm line 47 (#1)
    (F) You said to do (or require, or use) a file that couldn't be found.
    Perl looks for the file in all the locations mentioned in @inc, unless
    the file name included the full path to the file.  Perhaps you need
    to set the PERL5LIB or PERL5OPT environment variable to say where the
    extra library is, or maybe the script needs to add the library name
    to @inc.  Or maybe you just misspelled the name of the file.  See
    "require" in perlfunc and lib.

Uncaught exception from user code:
	Can't locate Intclock.pl in @inc (@inc contains: blib/lib /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30 .) at lib/Intclock/Config.pm line 40.
	BEGIN failed--compilation aborted at lib/Intclock/Config.pm line 47.

Reported by:	pkg-fallout
valpackett pushed a commit that referenced this pull request Apr 13, 2020
Found when running dvbv5-scan (part of coming v4l-utils upgrade).

Backtrace:
#0 hol_entry_help (entry=0x8007e0000, state=0x0, stream=0x8007d3000,
       hhstate=0x7fffffffe5d8) at argp-help.c:1164
#1 hol_help (hol=0x8007df000, state=0x0, stream=0x8007d3000) at argp-help.c:1230
#2 _help (argp=0x7fffffffe750, state=0x0, stream=0x8004fca20, flags=634,
       name=0x2018ce "dvbv5-scan") at argp-help.c:1675
#3 argp_help (argp=0x7fffffffe750, stream=0x8004fca20, flags=634,
       name=0x2018ce "dvbv5-scan") at argp-help.c:1707

Upstream maintainer has been notified.

Approved by:	pi (implicit)
valpackett pushed a commit that referenced this pull request Apr 17, 2020
socket_spec_test.cpp:101: Failure
Expected equality of these values:
  5555
  get_host_socket_spec_port("vsock:5555", &error)
    Which is: -1

* thread #1, name = 'adb_test', stop reason = signal SIGILL: privileged instruction
    frame #0: 0x00000000003fc604 adb_test`GetThreadId() at logger_write.cpp:240:31
   237  #endif
   238
   239  // Copied from base/threads.cpp
-> 240  static uint64_t GetThreadId() {
   241  #if defined(__BIONIC__)
   242    return gettid();
   243  #elif defined(__APPLE__)
(lldb) bt
* thread #1, name = 'adb_test', stop reason = signal SIGILL: privileged instruction
  * frame #0: 0x00000000003fc604 adb_test`GetThreadId() at logger_write.cpp:240:31
    frame #1: 0x00000000003fc3ce adb_test`::__android_log_stderr_logger(logger_data=0x00007fffffffce60, message="foobar") at logger_write.cpp:274:18
    frame #2: 0x00000000003fc92a adb_test`::__android_log_write_logger_data(logger_data=0x00007fffffffce60, msg="foobar") at logger_write.cpp:329:3
    frame #3: 0x00000000003f6c44 adb_test`android::base::LogMessage::LogLine(file="logging_test.cpp", line=603, severity=ERROR, tag=0x0000000000000000, message="foobar") at logging.cpp:581:5
    frame #4: 0x00000000003f683d adb_test`android::base::LogMessage::~LogMessage(this=0x00007fffffffd000) at logging.cpp:542:7
    frame #5: 0x00000000004f76fe adb_test`TestLoggingInConstructor() at logging_test.cpp:603:3

* thread #1, name = 'adb_test', stop reason = signal SIGSEGV: invalid address (fault address: 0x14)
    frame #0: 0x00000000004c8dc8 adb_test`file_RemoveFileIfExists_EACCES_Test::TestBody(this=0x0000000800f91060) at file_test.cpp:247:19
   244    // root can bypass permission restrictions, so drop root.
   245    if (getuid() == 0) {
   246      passwd* shell = getpwnam("shell");
-> 247      setgid(shell->pw_gid);
   248      setuid(shell->pw_uid);
   249    }
   250
(lldb) bt
* thread #1, name = 'adb_test', stop reason = signal SIGSEGV: invalid address (fault address: 0x14)
  * frame #0: 0x00000000004c8dc8 adb_test`file_RemoveFileIfExists_EACCES_Test::TestBody(this=0x0000000800f91060) at file_test.cpp:247:19
    frame #1: 0x0000000800982d6e libgtest.so`void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(object=0x0000000800f91060, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2433:10
    frame #2: 0x0000000800962399 libgtest.so`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x0000000800f91060, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2469:14
    frame #3: 0x0000000800942b43 libgtest.so`testing::Test::Run(this=0x0000000800f91060) at gtest.cc:2508:5
    frame #4: 0x0000000800943792 libgtest.so`testing::TestInfo::Run(this=0x0000000800fa3ba0) at gtest.cc:2684:11
    frame #5: 0x0000000800943e17 libgtest.so`testing::TestSuite::Run(this=0x0000000800fa34a0) at gtest.cc:2816:28
    frame #6: 0x0000000800950480 libgtest.so`testing::internal::UnitTestImpl::RunAllTests(this=0x0000000800fa4000) at gtest.cc:5338:44
    frame #7: 0x0000000800987bfe libgtest.so`bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x0000000800fa4000, method=40 00 95 00 08 00 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2433:10
    frame freebsd#8: 0x00000008009650a9 libgtest.so`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x0000000800fa4000, method=40 00 95 00 08 00 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2469:14
    frame freebsd#9: 0x000000080094ffd4 libgtest.so`testing::UnitTest::Run(this=0x000000080099a0d8) at gtest.cc:4925:10
    frame freebsd#10: 0x0000000000543cf1 adb_test`RUN_ALL_TESTS() at gtest.h:2473:46
    frame freebsd#11: 0x0000000000543c70 adb_test`main(argc=1, argv=0x00007fffffffeae8) at test_main.cpp:24:10
    frame freebsd#12: 0x000000000031710f adb_test`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7

PR:		245642
Submitted by:	Marcin Cieślak (based on)
valpackett pushed a commit that referenced this pull request Jun 23, 2020
Sway dropped wl_shell support. Upstream had xdg-shell for some time
but reverted due to being "incompatible" with Weston.

* thread #1, name = 'vkcube-wayland', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
    frame #0: 0x00000008002625a3 libwayland-client.so.0`wl_proxy_marshal_constructor(proxy=0x0000000000000000, opcode=0, interface=0x00000000002152b8) at wayland-client.c:830:41
   827          va_list ap;
   828
   829          va_start(ap, interface);
-> 830          wl_argument_from_va_list(proxy->object.interface->methods[opcode].signature,
   831                                   args, WL_CLOSURE_MAX_ARGS, ap);
   832          va_end(ap);
   833
(lldb) bt
* thread #1, name = 'vkcube-wayland', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
  * frame #0: 0x00000008002625a3 libwayland-client.so.0`wl_proxy_marshal_constructor(proxy=0x0000000000000000, opcode=0, interface=0x00000000002152b8) at wayland-client.c:830:41
    frame #1: 0x000000000020e822 vkcube-wayland`wl_shell_get_shell_surface(wl_shell=0x0000000000000000, surface=0x0000000800a22090) at wayland-client-protocol.h:2926:7
    frame #2: 0x000000000020a503 vkcube-wayland`demo_create_window(demo=0x00007fffffffd330) at cube.c:2759:27
    frame #3: 0x0000000000209ef2 vkcube-wayland`main(argc=1, argv=0x00007fffffffe0e0) at cube.c:3990:5
    frame #4: 0x00000000002076ef vkcube-wayland`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1_c.c:75:7
valpackett pushed a commit that referenced this pull request Jul 3, 2020
No PORTEPOCH bump because this port wasn't stable to begin with.

* thread freebsd#9, name = 'yuzu:CPUThread', stop reason = signal SIGABRT
  * frame #0: 0x0000000804146a8a libc.so.7`__sys_thr_kill at thr_kill.S:4
    frame #1: 0x0000000804146424 libc.so.7`__raise(s=6) at raise.c:52:10
    frame #2: 0x00000008040aef19 libc.so.7`abort at abort.c:67:8
    frame #3: 0x00000008038f39b9 libcxxrt.so.1`report_failure(err=<unavailable>, thrown_exception=0x00000009d701aa88) at exception.cc:719:5
    frame #4: 0x00000008038c34dc libc++.so.1`std::__1::__throw_system_error(ev=11, what_arg="mutex lock failed") at system_error.cpp:287:5
    frame #5: 0x00000008038a834d libc++.so.1`std::__1::mutex::lock(this=<unavailable>) at mutex.cpp:35:9
    frame #6: 0x0000000000dbb534 yuzu`std::__1::unique_lock<std::__1::mutex>::unique_lock(this=0x00000009c68f1d90, __m=0x0000000805984918) at __mutex_base:119:61
    frame #7: 0x000000000136167d yuzu`Service::NVFlinger::NVFlinger::Lock(this=0x000000080c8c6958) at nvflinger.h:90:16
    frame freebsd#8: 0x00000000014c5ab4 yuzu`Service::VI::IHOSBinderDriver::TransactParcel(this=0x00000009d536e6f8, thread=std::__1::shared_ptr<Kernel::Thread>::element_type @ 0x000000090faedc20 strong=9 weak=2, ctx=0x00000009d536e310, reason=Signal)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)::operator()(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason) const at vi.cpp:554:37
    frame freebsd#9: 0x00000000014c59f5 yuzu`decltype(__f=0x00000009d536e6f8, __args=nullptr, __args=0x00000009d536e310, __args=0x00000009c68f2004)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&>(fp)(std::__1::forward<std::__1::shared_ptr<Kernel::Thread> >(fp0), std::__1::forward<Kernel::HLERequestContext&>(fp0), std::__1::forward<Kernel::ThreadWakeupReason>(fp0))) std::__1::__invoke<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&, std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason>(Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&, std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) at type_traits:3539:1
    frame freebsd#10: 0x00000000014c594c yuzu`void std::__1::__invoke_void_return_wrapper<void>::__call<Service::VI::IHOSBinderDriver::TransactParcel(__args=0x00000009d536e6f8, __args=nullptr, __args=0x00000009d536e310, __args=0x00000009c68f2004)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&, std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason>(Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)&, std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) at __functional_base:348:9
    frame freebsd#11: 0x00000000014c58dc yuzu`std::__1::__function::__alloc_func<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason), std::__1::allocator<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>, void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>::operator(this=0x00000009d536e6f8, __arg=nullptr, __arg=0x00000009d536e310, __arg=0x00000009c68f2004)(std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) at functional:1540:16
    frame freebsd#12: 0x00000000014c480d yuzu`std::__1::__function::__func<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason), std::__1::allocator<Service::VI::IHOSBinderDriver::TransactParcel(Kernel::HLERequestContext&)::'lambda'(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>, void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>::operator(this=0x00000009d536e6f0, __arg=nullptr, __arg=0x00000009d536e310, __arg=0x00000009c68f2004)(std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) at functional:1714:12
    frame freebsd#13: 0x0000000001116862 yuzu`std::__1::__function::__value_func<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>::operator(this=0x00000009d536e6f0, __args=nullptr, __args=0x00000009d536e310, __args=0x00000009c68f2004)(std::__1::shared_ptr<Kernel::Thread>&&, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason&&) const at functional:1867:16
    frame freebsd#14: 0x00000000011167bc yuzu`std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>::operator(this= Lambda in File vi.cpp at Line 552, __arg=<unavailable>, __arg=0x00000009d536e310, __arg=Signal)(std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason) const at functional:2473:12
    frame freebsd#15: 0x000000000110a6a4 yuzu`Kernel::HLERequestContext::SleepClientThread(this=0x00000009d536e310, thread=std::__1::shared_ptr<Kernel::Thread>::element_type @ 0x000000090faedc20 strong=9 weak=2)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0::operator()(std::__1::shared_ptr<Kernel::Thread>) at hle_ipc.cpp:67:17
    frame freebsd#16: 0x000000000110a5b1 yuzu`decltype(__f=0x00000009d536e310, __args=nullptr)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&>(fp)(std::__1::forward<std::__1::shared_ptr<Kernel::Thread> >(fp0))) std::__1::__invoke<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&, std::__1::shared_ptr<Kernel::Thread> >(Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&, std::__1::shared_ptr<Kernel::Thread>&&) at type_traits:3539:1
    frame freebsd#17: 0x000000000110a532 yuzu`bool std::__1::__invoke_void_return_wrapper<bool>::__call<Kernel::HLERequestContext::SleepClientThread(__args=0x00000009d536e310, __args=nullptr)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&, std::__1::shared_ptr<Kernel::Thread> >(Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0&, std::__1::shared_ptr<Kernel::Thread>&&) at __functional_base:317:16
    frame freebsd#18: 0x000000000110a4f2 yuzu`std::__1::__function::__alloc_func<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0, std::__1::allocator<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0>, bool (std::__1::shared_ptr<Kernel::Thread>)>::operator(this=0x00000009d536e310, __arg=nullptr)(std::__1::shared_ptr<Kernel::Thread>&&) at functional:1540:16
    frame freebsd#19: 0x00000000011094b3 yuzu`std::__1::__function::__func<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0, std::__1::allocator<Kernel::HLERequestContext::SleepClientThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, std::__1::function<void (std::__1::shared_ptr<Kernel::Thread>, Kernel::HLERequestContext&, Kernel::ThreadWakeupReason)>&&, std::__1::shared_ptr<Kernel::WritableEvent>)::$_0>, bool (std::__1::shared_ptr<Kernel::Thread>)>::operator(this=0x00000009d536e300, __arg=nullptr)(std::__1::shared_ptr<Kernel::Thread>&&) at functional:1714:12
    frame freebsd#20: 0x00000000011834ed yuzu`std::__1::__function::__value_func<bool (std::__1::shared_ptr<Kernel::Thread>)>::operator(this=0x000000090faee1c0, __args=nullptr)(std::__1::shared_ptr<Kernel::Thread>&&) const at functional:1867:16
    frame freebsd#21: 0x0000000001180c18 yuzu`std::__1::function<bool (std::__1::shared_ptr<Kernel::Thread>)>::operator(this=0x000000090faee1c0, __arg=<unavailable>)(std::__1::shared_ptr<Kernel::Thread>) const at functional:2473:12
    frame freebsd#22: 0x000000000117edb2 yuzu`Kernel::Thread::InvokeHLECallback(this=0x000000090faedc20, thread=nullptr) at thread.cpp:403:12
    frame freebsd#23: 0x00000000011929d7 yuzu`Kernel::Svc::SendSyncRequest(system=0x000000000252f3d8, handle=622615) at svc.cpp:365:17
    frame freebsd#24: 0x000000000118b3b5 yuzu`void Kernel::SvcWrap64<&(Kernel::Svc::SendSyncRequest(Core::System&, unsigned int))>(system=0x000000000252f3d8) at svc_wrap.h:50:24
    frame freebsd#25: 0x000000000118a334 yuzu`Kernel::Svc::Call(system=0x000000000252f3d8, immediate=33) at svc.cpp:2649:13
    frame freebsd#26: 0x00000000011a60e3 yuzu`Core::DynarmicCallbacks64::CallSVC(this=0x00000009c657df60, swi=33) at arm_dynarmic_64.cpp:123:9
    frame freebsd#27: 0x00000000023f2c74 yuzu`Dynarmic::Backend::X64::impl::ThunkBuilder<void (Dynarmic::A64::UserCallbacks::*)(unsigned int), &(Dynarmic::A64::UserCallbacks::CallSVC(unsigned int))>::Thunk(this_=0x00000009c657df60, args=33) at devirtualize.h:28:16
valpackett pushed a commit that referenced this pull request Jul 26, 2020
===>  Configuring for qemu-utils-4.2.1
/usr/bin/patch /wrkdirs/usr/ports/emulators/qemu-utils/work/qemu-4.2.1/Makefile /usr/ports/emulators/qemu-utils/files/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- Makefile.orig	2019-08-08 19:18:25.578250000 +0000
|+++ Makefile	2019-08-08 19:20:21.482341000 +0000
--------------------------
Patching file /wrkdirs/usr/ports/emulators/qemu-utils/work/qemu-4.2.1/Makefile using Plan A...
Hunk #1 failed at 355.
Hunk #2 failed at 828.
Hunk #3 succeeded at 932 with fuzz 2 (offset 47 lines).
2 out of 3 hunks failed--saving rejects to /wrkdirs/usr/ports/emulators/qemu-utils/work/qemu-4.2.1/Makefile.rej

Reported by:	pkg-fallout
valpackett pushed a commit that referenced this pull request Aug 24, 2020
ncnn API is not stable, updates frequently break this port.
Binary is also smaller when using bundled ncnn.

 $ size $(which waifu2x-ncnn-vulkan)
    text    data     bss     dec     hex filename
-7245567  242384   58992 7546943  73283f /usr/local/bin/waifu2x-ncnn-vulkan
+3281223    3152   58840 3343215  33036f /usr/local/bin/waifu2x-ncnn-vulkan

$ waifu2x-ncnn-vulkan -i foo.png -o bar.png
[0 Intel(R) HD Graphics 530 (SKL GT2)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 Intel(R) HD Graphics 530 (SKL GT2)]  bugsbn1=0  buglbia=0  bugcopc=0  bugihfa=0
[0 Intel(R) HD Graphics 530 (SKL GT2)]  fp16p=1  fp16s=1  fp16a=1  int8s=1  int8a=1
pipeline specialization count mismatch, expect 4 but got 1
new_pipeline failed
pipeline specialization count mismatch, expect 4 but got 1
new_pipeline failed
Process 8606 stopped
* thread freebsd#14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
    frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
   1369
   1370    assert(_set < MAX_PUSH_DESCRIPTORS);
   1371
-> 1372    struct anv_descriptor_set_layout *set_layout = layout->set[_set].layout;
   1373
   1374    struct anv_descriptor_set *set =
   1375       anv_cmd_buffer_push_descriptor_set(cmd_buffer, template->bind_point,
(lldb) bt
* thread freebsd#14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
  * frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
    frame #1: 0x00000000004facce waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=0x00000008045e3400, buffer_bindings=0x00007fffc35ea418, image_bindings=0x00007fffc35ea0f0, constants=0x00007fffc35ea400, dispatcher=0x00007fffc35ea110) at command.cpp:1457:13
    frame #2: 0x00000000004f981c waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(ncnn::Pipeline const*, std::__1::vector<ncnn::VkMat, std::__1::allocator<ncnn::VkMat> > const&, std::__1::vector<ncnn::vk_constant_type, std::__1::allocator<ncnn::vk_constant_type> > const&, ncnn::VkMat const&) [inlined] ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, buffer_bindings=<unavailable>, image_bindings=0x00007fffc35ea0f0, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1187:5
    frame #3: 0x00000000004f97bb waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, bindings=<unavailable>, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1175
    frame #4: 0x000000000086b516 waifu2x-ncnn-vulkan`Waifu2x::process(this=0x00007fffffffdd58, inimage=0x00007fffc35eaf30, outimage=0x00007fffc35eaf70) const at waifu2x.cpp:457:25
    frame #5: 0x000000000084cd45 waifu2x-ncnn-vulkan`proc(args=0x00007fffffffdb70) at main.cpp:281:18
    frame #6: 0x00000008008fd1c9 libthr.so.3`thread_start(curthread=0x0000000807874300) at thr_create.c:292:16
valpackett pushed a commit that referenced this pull request Nov 6, 2020
While upstream issue is in userland driver FreeBSD kernel driver may
fail to handle it gracefully e.g.,

  $ sway
  $ mpv --hwdec=vaapi /path/to/file

  pid 12449 (sway), jid 0, uid 1234: exited on signal 11
  WARNING !drm_modeset_is_locked(&crtc->mutex) failed at drm-kmod-drm_v5.4.62_3/drivers/gpu/drm/drm_atomic_helper.c:621
  #0 0xffffffff81f3e833 at linux_dump_stack+0x23
  #1 0xffffffff81ea43e3 at drm_atomic_helper_check_modeset+0xb3
  #2 0xffffffff8259492c at intel_atomic_check+0x8c
  #3 0xffffffff81ea3379 at drm_atomic_check_only+0x3f9
  #4 0xffffffff81ea37c3 at drm_atomic_commit+0x13
  #5 0xffffffff81eb0c3f at drm_client_modeset_commit_atomic+0x1af
  #6 0xffffffff81eb093a at drm_client_modeset_commit_force+0x6a
  #7 0xffffffff81efa12a at drm_fb_helper_restore_fbdev_mode_unlocked+0x7a
  freebsd#8 0xffffffff81ef2386 at vt_kms_postswitch+0x166
  freebsd#9 0xffffffff8076b66b at vt_window_switch+0x12b
  freebsd#10 0xffffffff807688ff at vtterm_cngrab+0x1f
  freebsd#11 0xffffffff80805a36 at cngrab+0x16
  freebsd#12 0xffffffff8086295c at vpanic+0xec
  freebsd#13 0xffffffff80862863 at panic+0x43
  freebsd#14 0xffffffff81f5d142 at dma_buf_poll+0x12
  freebsd#15 0xffffffff808d2959 at kern_poll+0x329
  freebsd#16 0xffffffff808d2620 at sys_poll+0x50
  freebsd#17 0xffffffff80b3353b at amd64_syscall+0xfb
valpackett pushed a commit that referenced this pull request Nov 20, 2020
$ wcm
[src/file.cpp:441] Failed to open XML directory /usr/local/share/wayfire/metadata
[src/file.cpp:441] Failed to open XML directory /usr/local/share/wayfire/metadata/wf-shell
Process 91210 stopped
* thread #1, name = 'wcm', stop reason = signal SIGSEGV: invalid address (fault address: 0x8)
    frame #0: 0x0000000801164ea5 libwf-config.so.1`std::__1::unique_ptr<wf::config::section_t::impl, std::__1::default_delete<wf::config::section_t::impl> >::operator->(this=0x0000000000000008) const at memory:2587:19
   2584   }
   2585   _LIBCPP_INLINE_VISIBILITY
   2586   pointer operator->() const _NOEXCEPT {
-> 2587     return __ptr_.first();
   2588   }
   2589   _LIBCPP_INLINE_VISIBILITY
   2590   pointer get() const _NOEXCEPT {
(lldb) bt
* thread #1, name = 'wcm', stop reason = signal SIGSEGV: invalid address (fault address: 0x8)
  * frame #0: 0x0000000801164ea5 libwf-config.so.1`std::__1::unique_ptr<wf::config::section_t::impl, std::__1::default_delete<wf::config::section_t::impl> >::operator->(this=0x0000000000000008) const at memory:2587:19
    frame #1: 0x00000008011647ec libwf-config.so.1`wf::config::section_t::get_option_or(this=0x0000000000000000, name="plugins") at section.cpp:37:9
    frame #2: 0x00000008011648a7 libwf-config.so.1`wf::config::section_t::get_option(this=0x0000000000000000, name="plugins") at section.cpp:46:19
    frame #3: 0x0000000000217453 wcm`init(wcm=0x000000080251b320) at main.cpp:221:29
    frame #4: 0x00000000002172e2 wcm`main(argc=1, argv=0x00007fffffffeb70) at main.cpp:257:5
    frame #5: 0x0000000000216750 wcm`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7
valpackett pushed a commit that referenced this pull request Dec 13, 2020
A high level, "more Pythonic" interface to the PKCS#11 (Cryptoki) standard to
support HSM and Smartcard devices in Python.

The interface is designed to follow the logical structure of a HSM, with useful
defaults for obscurely documented parameters. Many APIs will optionally accept
iterables and act as generators, allowing you to stream large data blocks for
symmetric encryption.

python-pkcs11 also includes numerous utility functions to convert between PKCS
freebsd#11 data structures and common interchange formats including PKCS #1 and X.509.

python-pkcs11 is fully documented and has a full integration test suite for all
features, with continuous integration against multiple HSM platforms including:
- Thales nCipher
- Opencryptoki TPM
- OpenSC/Smartcard-HSM/Nitrokey HSM

WWW: https://github.com/danni/python-pkcs11
valpackett pushed a commit that referenced this pull request Dec 25, 2020
$ fnott &
$ notify-send "this is the summary" "this is the body"
$ fnottctl quit
Assertion failed: (fcCacheChains[i] == NULL), function FcCacheFini, file fccache.c, line 807.
(lldb) bt
* thread #1, name = 'fnott', stop reason = signal SIGABRT
  * frame #0: 0x00000008005eb30a libc.so.7`__sys_thr_kill at thr_kill.S:4
    frame #1: 0x0000000800556ff4 libc.so.7`__raise(s=6) at raise.c:52:10
    frame #2: 0x0000000800616be9 libc.so.7`abort at abort.c:67:8
    frame #3: 0x0000000800537b91 libc.so.7`__assert(func=<unavailable>, file=<unavailable>, line=<unavailable>, failedexpr=<unavailable>) at assert.c:51:2
    frame #4: 0x0000000800922b94 libfontconfig.so.1`FcCacheFini at fccache.c:807:6
    frame #5: 0x000000080093eafd libfontconfig.so.1`IA__FcFini at fcinit.c:205:5
    frame #6: 0x0000000800434989 libfcft.so.3`fini at fcft.c:233:5
    frame #7: 0x0000000800247906 ld-elf.so.1`objlist_call_fini(list=<unavailable>, root=<unavailable>, lockstate=<unavailable>) at rtld.c:2761:4
    frame freebsd#8: 0x00000008002401c9 ld-elf.so.1`rtld_exit at rtld.c:3148:5
    frame freebsd#9: 0x00000008006170ae libc.so.7`__cxa_finalize(dso=<unavailable>) at atexit.c:240:5
    frame freebsd#10: 0x0000000800617711 libc.so.7`exit(status=0) at exit.c:74:2
    frame freebsd#11: 0x000000000020c866 fnott`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1_c.c:75:2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants