Summary: | dev-libs/libressl: mingw-w64: access violation when running wine during build. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | hanetzer |
Component: | Current packages | Assignee: | Gentoo LibreSSL <libressl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
i686-w64-mingw32-emerge --info
build.log.gz |
Description
hanetzer
2017-09-20 08:38:19 UTC
Ok, attaching the build.log fail, think that is due to filesize. I've uploaded it here: https://bpaste.net/show/e62378b60b14 Created attachment 495602 [details]
i686-w64-mingw32-emerge --info
(In reply to hanetzer from comment #1) > Ok, attaching the build.log fail, think that is due to filesize. I've > uploaded it here: https://bpaste.net/show/e62378b60b14 Can you gzip and attach it? Created attachment 495712 [details]
build.log.gz
Hopefully this works.
Issue is not specific to libressl; gnu autotools, when cross-compiling from linux to windows, will use winepath in order to translate path types between linux and windows. I've a patch to crossdev I've given to slyfox which should rectify this issue here and on other autotools based builds. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=b8ff8146edd5e182d61756c7fd1d99239d6100d4 commit b8ff8146edd5e182d61756c7fd1d99239d6100d4 Author: Marty E. Plummer <hanetzer@startmail.com> AuthorDate: 2018-07-26 08:07:37 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-07-31 06:44:15 +0000 wrappers: prevent use of wine to convert between path types libtool.m4 uses lt_cv_to_host_file_cmd to store the name of a function used to convert between unix and win32 path styles; when doing a linux to mingw cross-compilation it ends up with func_convert_file_nix_to_w32 which uses the winepath utility to do the job. However, using that tool will create a wineprefix in ${CATEGORY}/${P}/homedir and potentially cause access violations in sandbox. Bug: https://bugs.gentoo.org/631492 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> wrappers/site/config.site | 1 + wrappers/site/mingw | 2 ++ 2 files changed, 3 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f25356875b71b2a5c56abfbca0cca0651fd83c6c commit f25356875b71b2a5c56abfbca0cca0651fd83c6c Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-07-31 21:14:01 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-07-31 21:14:01 +0000 sys-devel/crossdev: bump up to 20180731 Closes: https://bugs.gentoo.org/631492 Package-Manager: Portage-2.3.44, Repoman-2.3.10 sys-devel/crossdev/Manifest | 1 + sys-devel/crossdev/crossdev-20180731.ebuild | 39 +++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) |