[Bug 48878] Debian packaging: set cap_net_raw to allow sendings pings, do out-of-tree builds

WineHQ Bugzilla wine-bugs at winehq.org
Sat Apr 4 10:24:18 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48878

Luca Boccassi <luca.boccassi at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66816|0                           |1
        is obsolete|                            |
  Attachment #66821|0                           |1
        is obsolete|                            |
  Attachment #66822|0                           |1
        is obsolete|                            |

--- Comment #5 from Luca Boccassi <luca.boccassi at gmail.com> ---
Created attachment 66826
  --> https://bugs.winehq.org/attachment.cgi?id=66826
Patch to fully enable multi-arch cross build of i386 from amd64

This patch refactores the autoconf flags settings in rules, removes the
explicit dependency on gcc (it's part of build-essential), moves all manpages
to wine-staging (tools are not build on cross-build so dh_install fails), uses
ln -sf (to allow building with -nc).

With these patches, a rebuilt prelink and execstack with Multi-Arch: allowed, I
can successfully build amd64 and i386 packages from the same source directory
with the following one-time steps:

dpkg --add-architecture i386
apt update
apt build-dep .
apt buil-dep -ai386 .
dpkg-buildpckage
dpkg-buildpackage -ai386

Building amd64 first is necessary to get winetools built. It's possible to make
the i386 build on amd64 completely self contained by building only the tools
directory first. If I have time I'll send another patch to do that. But usually
one wants both amd64 and i386 packages, so this is good enough for me right
now.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list