Hello i'm finishing mattermost port on FreeBSD and i was unable to package mattermost-webapp due to a strange bus-error on pkg-static on my FreeBSD 11.1. I'm running it through poudriere. Here is the error reported by dmesg pid 51561 (pkg-static), uid 65534: exited on signal 10 Here is the poudriere log: ===> Building package for mattermost-webapp-4.6.0 Child process pid=51561 terminated abnormally: Bus error By re-testing my port using poudriere testport i found some incorrect entries, my pkg-plist contains some package folders. Removing them from the plist permits to the bus error to disappear, but i don't think pkg should be lazy and verify if a file is a directory before trying to package it and crash with a bus error.
What architecture is your computer? x86 or something else?
(In reply to Conrad Meyer from comment #1) Hello Conrad, it's amd64, here is the CPU CPU: Intel(R) Xeon(R) CPU E3-1240 v6 @ 3.70GHz (3696.19-MHz K8-class CPU) Origin="GenuineIntel" Id=0x906e9 Family=0x6 Model=0x9e Stepping=9 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x121<LAHF,ABM,Prefetch> Structured Extended Features=0x29c6fbf<FSGSBASE,TSCADJ,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics
Can you share pkg-static binary and core file? Thanks.
(In reply to Conrad Meyer from comment #3) You will find pkg-static here: https://ftp.unix-experience.fr/pkg-static for the core file i didn't found it on my server, i think it was removed by poudriere