Wine > 5.6 crashes on startup on FreeBSD

2020-05-12 Thread Damjan Jovanovic
Hi

As I contribute to Wine often, and build it from upstream (not ports), I
would like to warn people that version 5.7 and later are unusable on
FreeBSD at the moment.

5.7 crashes on startup due to a major wineserver regression affecting all
Linux users too (https://bugs.winehq.org/show_bug.cgi?id=49011), but was
fixed for 5.8.

Both 5.7 and 5.8 however crash on startup on FreeBSD due to another
regression which is not fixed yet (
https://bugs.winehq.org/show_bug.cgi?id=49139) and doesn't look easy to
fix. Until it's fixed, all future versions of Wine will crash on startup,
indefinitely.

A third serious problem is some sort of regression affecting font handling,
that will hang or crash many applications on 5.8 (an example:
https://bugs.winehq.org/show_bug.cgi?id=49140). A patch was committed
yesterday for one of the issues in that regression (an uninitialized
variable), but it's unclear yet whether it fully fixes the problem.

Stay on Wine 5.6 for now, and please help fix the FreeBSD-specific bug
49139 if you can.

Regards
Damjan
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"


[package - 121i386-default][www/linux-flashplayer] Failed for linux-flashplayer-32.0.0.363 in fetch

2020-05-12 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: emulat...@freebsd.org
Last committer: j...@freebsd.org
Ident:  $FreeBSD: head/www/linux-flashplayer/Makefile 531817 2020-04-16 
05:36:22Z jkim $
Log URL:
http://beefy5.nyi.freebsd.org/data/121i386-default/534969/logs/linux-flashplayer-32.0.0.363.log
Build URL:  
http://beefy5.nyi.freebsd.org/build.html?mastername=121i386-default&build=534969
Log:

=>> Building www/linux-flashplayer
build started at Tue May 12 15:32:41 UTC 2020
port directory: /usr/ports/www/linux-flashplayer
package name: linux-flashplayer-32.0.0.363
building for: FreeBSD 121i386-default-job-01 12.1-RELEASE-p4 FreeBSD 
12.1-RELEASE-p4 i386
maintained by: emulat...@freebsd.org
Makefile ident:  $FreeBSD: head/www/linux-flashplayer/Makefile 531817 
2020-04-16 05:36:22Z jkim $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300089
Jail OSVERSION: 1201000
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1201000
UNAME_v=FreeBSD 12.1-RELEASE-p4
UNAME_r=12.1-RELEASE-p4
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/121i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/121i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=121i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/121i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
emulat...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/linux-flashplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/linux-flashplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/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   -m 555"  BSD_INSTALL_LIB="install   -m 0644"  
BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  
BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
WEBPLUGIN_DIR="lib/browser_plugins/linux-flashplayer" OSREL=12.1 PREFIX=%D 
LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib 
DOCSDIR="share/doc/flashplayer"  EXAMPLESDIR="share/examples/flashplayer"  
DATADIR="share/flashplayer"  WWWDIR="www/flashplayer"  ETCDIR="etc/flashplayer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/flashplayer 
DOCSDIR=/usr/local/share/doc/flashplayer 
EXAMPLESDIR=/usr/local/share/examples/flashplayer  
WWWDIR=/usr/local/www/flashplayer ETCDIR=/usr/local/etc/flashplayer
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
 /usr/local/etc/poudriere.d/make.conf 
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
 /usr/ports/Mk/Scripts/ports_env.sh 
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) 
(based on LLVM 8.0.1) Target: i386-unknown-freebsd12.1 Thread model: posix 
InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD cla

[package - 113i386-default][www/linux-flashplayer] Failed for linux-flashplayer-32.0.0.363 in fetch

2020-05-12 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: emulat...@freebsd.org
Last committer: j...@freebsd.org
Ident:  $FreeBSD: head/www/linux-flashplayer/Makefile 531817 2020-04-16 
05:36:22Z jkim $
Log URL:
http://beefy10.nyi.freebsd.org/data/113i386-default/534969/logs/linux-flashplayer-32.0.0.363.log
Build URL:  
http://beefy10.nyi.freebsd.org/build.html?mastername=113i386-default&build=534969
Log:

=>> Building www/linux-flashplayer
build started at Tue May 12 16:09:46 UTC 2020
port directory: /usr/ports/www/linux-flashplayer
package name: linux-flashplayer-32.0.0.363
building for: FreeBSD 113i386-default-job-13 11.3-RELEASE-p8 FreeBSD 
11.3-RELEASE-p8 i386
maintained by: emulat...@freebsd.org
Makefile ident:  $FreeBSD: head/www/linux-flashplayer/Makefile 531817 
2020-04-16 05:36:22Z jkim $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300089
Jail OSVERSION: 1103000
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1103000
UNAME_v=FreeBSD 11.3-RELEASE-p8
UNAME_r=11.3-RELEASE-p8
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/113i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/113i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=113i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/113i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
emulat...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/linux-flashplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/linux-flashplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/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   -m 555"  BSD_INSTALL_LIB="install   -m 0644"  
BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  
BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
WEBPLUGIN_DIR="lib/browser_plugins/linux-flashplayer" OSREL=11.3 PREFIX=%D 
LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib 
DOCSDIR="share/doc/flashplayer"  EXAMPLESDIR="share/examples/flashplayer"  
DATADIR="share/flashplayer"  WWWDIR="www/flashplayer"  ETCDIR="etc/flashplayer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/flashplayer 
DOCSDIR=/usr/local/share/doc/flashplayer 
EXAMPLESDIR=/usr/local/share/examples/flashplayer  
WWWDIR=/usr/local/www/flashplayer ETCDIR=/usr/local/etc/flashplayer
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
 /usr/local/etc/poudriere.d/make.conf 
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
 /usr/ports/Mk/Scripts/ports_env.sh 
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) 
(based on LLVM 8.0.0) Target: i386-unknown-freebsd11.3 Thread model: posix 
InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD c

[package - 121amd64-default][www/linux-flashplayer] Failed for linux-flashplayer-32.0.0.363 in fetch

2020-05-12 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: emulat...@freebsd.org
Last committer: j...@freebsd.org
Ident:  $FreeBSD: head/www/linux-flashplayer/Makefile 531817 2020-04-16 
05:36:22Z jkim $
Log URL:
http://beefy6.nyi.freebsd.org/data/121amd64-default/534969/logs/linux-flashplayer-32.0.0.363.log
Build URL:  
http://beefy6.nyi.freebsd.org/build.html?mastername=121amd64-default&build=534969
Log:

=>> Building www/linux-flashplayer
build started at Tue May 12 16:11:44 UTC 2020
port directory: /usr/ports/www/linux-flashplayer
package name: linux-flashplayer-32.0.0.363
building for: FreeBSD 121amd64-default-job-14 12.1-RELEASE-p4 FreeBSD 
12.1-RELEASE-p4 amd64
maintained by: emulat...@freebsd.org
Makefile ident:  $FreeBSD: head/www/linux-flashplayer/Makefile 531817 
2020-04-16 05:36:22Z jkim $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300089
Jail OSVERSION: 1201000
Job Id: 14

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1201000
UNAME_v=FreeBSD 12.1-RELEASE-p4
UNAME_r=12.1-RELEASE-p4
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/121amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/121amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=121amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/121amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
emulat...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/linux-flashplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/linux-flashplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/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   -m 555"  BSD_INSTALL_LIB="install   -m 0644"  
BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  
BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
WEBPLUGIN_DIR="lib/browser_plugins/linux-flashplayer" OSREL=12.1 PREFIX=%D 
LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib 
DOCSDIR="share/doc/flashplayer"  EXAMPLESDIR="share/examples/flashplayer"  
DATADIR="share/flashplayer"  WWWDIR="www/flashplayer"  ETCDIR="etc/flashplayer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/flashplayer 
DOCSDIR=/usr/local/share/doc/flashplayer 
EXAMPLESDIR=/usr/local/share/examples/flashplayer  
WWWDIR=/usr/local/www/flashplayer ETCDIR=/usr/local/etc/flashplayer
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
 /usr/local/etc/poudriere.d/make.conf 
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
 /usr/ports/Mk/Scripts/ports_env.sh 
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) 
(based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread model: posix 
InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 
366581) (based on LLVM 8.0

[package - 113amd64-default][www/linux-flashplayer] Failed for linux-flashplayer-32.0.0.363 in fetch

2020-05-12 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: emulat...@freebsd.org
Last committer: j...@freebsd.org
Ident:  $FreeBSD: head/www/linux-flashplayer/Makefile 531817 2020-04-16 
05:36:22Z jkim $
Log URL:
http://beefy9.nyi.freebsd.org/data/113amd64-default/534969/logs/linux-flashplayer-32.0.0.363.log
Build URL:  
http://beefy9.nyi.freebsd.org/build.html?mastername=113amd64-default&build=534969
Log:

=>> Building www/linux-flashplayer
build started at Tue May 12 17:02:13 UTC 2020
port directory: /usr/ports/www/linux-flashplayer
package name: linux-flashplayer-32.0.0.363
building for: FreeBSD 113amd64-default-job-08 11.3-RELEASE-p8 FreeBSD 
11.3-RELEASE-p8 amd64
maintained by: emulat...@freebsd.org
Makefile ident:  $FreeBSD: head/www/linux-flashplayer/Makefile 531817 
2020-04-16 05:36:22Z jkim $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300089
Jail OSVERSION: 1103000
Job Id: 08

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1103000
UNAME_v=FreeBSD 11.3-RELEASE-p8
UNAME_r=11.3-RELEASE-p8
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/113amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/113amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=113amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/113amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
emulat...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/linux-flashplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work  
HOME=/wrkdirs/usr/ports/www/linux-flashplayer/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/linux-flashplayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/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   -m 555"  BSD_INSTALL_LIB="install   -m 0644"  
BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  
BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
WEBPLUGIN_DIR="lib/browser_plugins/linux-flashplayer" OSREL=11.3 PREFIX=%D 
LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib 
DOCSDIR="share/doc/flashplayer"  EXAMPLESDIR="share/examples/flashplayer"  
DATADIR="share/flashplayer"  WWWDIR="www/flashplayer"  ETCDIR="etc/flashplayer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/flashplayer 
DOCSDIR=/usr/local/share/doc/flashplayer 
EXAMPLESDIR=/usr/local/share/examples/flashplayer  
WWWDIR=/usr/local/www/flashplayer ETCDIR=/usr/local/etc/flashplayer
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
 /usr/local/etc/poudriere.d/make.conf 
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
 /usr/ports/Mk/Scripts/ports_env.sh 
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) 
(based on LLVM 8.0.0) Target: x86_64-unknown-freebsd11.3 Thread model: posix 
InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 
356365) (based on LLVM 8.0

Re: Debug linux binary with enable linux emulation

2020-05-12 Thread freebsd

Dne 2020-05-12 00:49, free...@sysctl.cz napsal:

Dne 2020-05-11 13:56, Konstantin Belousov napsal:

On Mon, May 11, 2020 at 12:28:23AM +0200, free...@sysctl.cz wrote:

Hi,
I tried debug with gdb for linux emulation
and have issue with kernel panic.

kldload linux64.ko
gdb ./Discord or other linux binary

Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address   = 0x18
fault code  = supervisor read data, page not present
instruction pointer = 0x20:0x82f5b682
stack pointer   = 0x28:0xfe00691fd980
frame pointer   = 0x28:0xfe00691fd9e0
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 17392 (fish)
trap number = 12
panic: page fault
cpuid = 3
time = 1589132677
KDB: stack backtrace:
#0 0x80c1d2f7 at kdb_backtrace+0x67
#1 0x80bd062d at vpanic+0x19d
#2 0x80bd0483 at panic+0x43
#3 0x810a7dcc at trap_fatal+0x39c
#4 0x810a7e19 at trap_pfault+0x49
#5 0x810a740f at trap+0x29f
#6 0x81081bdc at calltrap+0x8
#7 0x82f503d1 at linux_thread_detach+0x21

Show the line number for linux_thread_detach+0x21.
Or better, compile with INVARIANTS, it should fire an assertion.
Then get a core dump.


#8 0x80be5acf at thread_suspend_check+0x41f
#9 0x80c32ed9 at ast+0x3b9
#10 0x810850e9 at doreti_ast+0x1f
Uptime: 2h56m24s
Dumping 1146 out of 8042
MB:..2%..12%..21%..31%..41%..51%..62%..72%..81%..91%---<>---
Copyright (c) 1992-2019 The FreeBSD Project.

GNU gdb (GDB) 9.1 [GDB v9.1 for FreeBSD]
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.1".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /boot/kernel/kernel...
(No debugging symbols found in /boot/kernel/kernel)
0x80c01eda in sched_switch ()
(kgdb)
(kgdb)
(kgdb) bt
#0  0x80c01eda in sched_switch ()
#1  0x80bdbfa2 in mi_switch ()
#2  0x80c2bb75 in sleepq_catch_signals ()
#3  0x80c2be64 in sleepq_timedwait_sig ()
#4  0x80bdb9a5 in _sleep ()
#5  0x80bf1ee3 in umtxq_sleep ()
#6  0x80bf1c90 in do_wait ()
#7  0x80bef8fe in __umtx_op_wait_uint_private ()
#8  0x810a8984 in amd64_syscall ()
#9  
#10 0x00080974dedc in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffddc8

I have now kernel without debug symbols.

M.
___
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to 
"freebsd-emulation-unsubscr...@freebsd.org"

___
freebsd-hack...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to 
"freebsd-hackers-unsubscr...@freebsd.org"




Hi konstantin,
I have good news, now we can look detail

(kgdb) bt
#0  __curthread () at /usr/src/sys/amd64/include/pcpu.h:234
#1  doadump (textdump=) at 
/usr/src/sys/kern/kern_shutdown.c:371

#2  0x80bd0228 in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:451
#3  0x80bd0689 in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:877
#4  0x80bd0483 in panic (fmt=) at
/usr/src/sys/kern/kern_shutdown.c:804
#5  0x810a7dcc in trap_fatal (frame=0xfe00634e58c0,
eva=24) at /usr/src/sys/amd64/amd64/trap.c:943
#6  0x810a7e19 in trap_pfault (frame=0xfe00634e58c0,
usermode=0) at /usr/src/sys/amd64/amd64/trap.c:767
#7  0x810a740f in trap (frame=0xfe00634e58c0) at
/usr/src/sys/amd64/amd64/trap.c:443
#8  
#9  release_futexes (td=, em=0x0) at
/usr/src/sys/compat/linux/linux_futex.c:1283
#10 0x82f503d1 in linux_thread_detach (td=0xf8014bd935e0)
at /usr/src/sys/compat/linux/linux_fork.c:466
#11 0x80be5acf in thread_suspend_check (return_instead=0) at
/usr/src/sys/kern/kern_thread.c:1010
#12 0x80c32ed9 in ast (framep=0xfe00634e5ac0) at
/usr/src/sys/kern/subr_trap.c:342
#13 0x810850e9 in doreti_ast () at
/usr/src/sys/amd64/amd64/exception.S:1149
#14 0x000800bb7008 in ?? ()
#15 0x000f in ?? ()
#16 0x in ?? ()
(kgdb) list 0x82f503d1
Function 

Re: Debug linux binary with enable linux emulation

2020-05-12 Thread Konstantin Belousov
On Tue, May 12, 2020 at 12:49:25AM +0200, free...@sysctl.cz wrote:
> Dne 2020-05-11 13:56, Konstantin Belousov napsal:
> > On Mon, May 11, 2020 at 12:28:23AM +0200, free...@sysctl.cz wrote:
> > > Hi,
> > > I tried debug with gdb for linux emulation
> > > and have issue with kernel panic.
> > > 
> > > kldload linux64.ko
> > > gdb ./Discord or other linux binary
> > > 
> > > Fatal trap 12: page fault while in kernel mode
> > > cpuid = 3; apic id = 03
> > > fault virtual address = 0x18
> > > fault code= supervisor read data, page not present
> > > instruction pointer   = 0x20:0x82f5b682
> > > stack pointer = 0x28:0xfe00691fd980
> > > frame pointer = 0x28:0xfe00691fd9e0
> > > code segment  = base 0x0, limit 0xf, type 0x1b
> > >   = DPL 0, pres 1, long 1, def32 0, gran 1
> > > processor eflags  = interrupt enabled, resume, IOPL = 0
> > > current process   = 17392 (fish)
> > > trap number   = 12
> > > panic: page fault
> > > cpuid = 3
> > > time = 1589132677
> > > KDB: stack backtrace:
> > > #0 0x80c1d2f7 at kdb_backtrace+0x67
> > > #1 0x80bd062d at vpanic+0x19d
> > > #2 0x80bd0483 at panic+0x43
> > > #3 0x810a7dcc at trap_fatal+0x39c
> > > #4 0x810a7e19 at trap_pfault+0x49
> > > #5 0x810a740f at trap+0x29f
> > > #6 0x81081bdc at calltrap+0x8
> > > #7 0x82f503d1 at linux_thread_detach+0x21
> > Show the line number for linux_thread_detach+0x21.
> > Or better, compile with INVARIANTS, it should fire an assertion.
> > Then get a core dump.
> > 
> > > #8 0x80be5acf at thread_suspend_check+0x41f
> > > #9 0x80c32ed9 at ast+0x3b9
> > > #10 0x810850e9 at doreti_ast+0x1f
> > > Uptime: 2h56m24s
> > > Dumping 1146 out of 8042
> > > MB:..2%..12%..21%..31%..41%..51%..62%..72%..81%..91%---<>---
> > > Copyright (c) 1992-2019 The FreeBSD Project.
> > > 
> > > GNU gdb (GDB) 9.1 [GDB v9.1 for FreeBSD]
> > > Copyright (C) 2020 Free Software Foundation, Inc.
> > > License GPLv3+: GNU GPL version 3 or later
> > > 
> > > This is free software: you are free to change and redistribute it.
> > > There is NO WARRANTY, to the extent permitted by law.
> > > Type "show copying" and "show warranty" for details.
> > > This GDB was configured as "x86_64-portbld-freebsd12.1".
> > > Type "show configuration" for configuration details.
> > > For bug reporting instructions, please see:
> > > .
> > > Find the GDB manual and other documentation resources online at:
> > > .
> > > 
> > > For help, type "help".
> > > Type "apropos word" to search for commands related to "word"...
> > > Reading symbols from /boot/kernel/kernel...
> > > (No debugging symbols found in /boot/kernel/kernel)
> > > 0x80c01eda in sched_switch ()
> > > (kgdb)
> > > (kgdb)
> > > (kgdb) bt
> > > #0  0x80c01eda in sched_switch ()
> > > #1  0x80bdbfa2 in mi_switch ()
> > > #2  0x80c2bb75 in sleepq_catch_signals ()
> > > #3  0x80c2be64 in sleepq_timedwait_sig ()
> > > #4  0x80bdb9a5 in _sleep ()
> > > #5  0x80bf1ee3 in umtxq_sleep ()
> > > #6  0x80bf1c90 in do_wait ()
> > > #7  0x80bef8fe in __umtx_op_wait_uint_private ()
> > > #8  0x810a8984 in amd64_syscall ()
> > > #9  
> > > #10 0x00080974dedc in ?? ()
> > > Backtrace stopped: Cannot access memory at address 0x7fffddc8
> > > 
> > > I have now kernel without debug symbols.
> > > 
> > > M.
> > > ___
> > > freebsd-emulation@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> > > To unsubscribe, send any mail to
> > > "freebsd-emulation-unsubscr...@freebsd.org"
> > ___
> > freebsd-hack...@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to
> > "freebsd-hackers-unsubscr...@freebsd.org"
> 
> 
> 
> Hi konstantin,
> I have good news, now we can look detail
> 
> (kgdb) bt
> #0  __curthread () at /usr/src/sys/amd64/include/pcpu.h:234
> #1  doadump (textdump=) at
> /usr/src/sys/kern/kern_shutdown.c:371
> #2  0x80bd0228 in kern_reboot (howto=260) at
> /usr/src/sys/kern/kern_shutdown.c:451
> #3  0x80bd0689 in vpanic (fmt=, ap=)
> at /usr/src/sys/kern/kern_shutdown.c:877
> #4  0x80bd0483 in panic (fmt=) at
> /usr/src/sys/kern/kern_shutdown.c:804
> #5  0x810a7dcc in trap_fatal (frame=0xfe00634e58c0, eva=24) at
> /usr/src/sys/amd64/amd64/trap.c:943
> #6  0x810a7e19 in trap_pfault (frame=0xfe00634e58c0, usermode=0)
> at /usr/src/sys/amd64/amd64/trap.c:767
> #7  0x810a740f in trap (frame=0xfe00634e58c0) at
> /usr/src/sys/amd64/amd64/trap.c:443
> #8  
> #9  release_futexes (td=, e