Bug#939662: sys/mman.h not found

2019-09-07 Thread Zhang Hao
Package: mingw-w64
Version: 6.0.0-3
Severity: serious
Tags: a11y ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

  Firstly I export my host as "x86_64-w64-mingw32" and then install the 
gcc-mingw-w64,g++-mingw-w64 and some tolls to compile.
  Secondly, I clone the source of gperftools from github to compile the 
tcmalloc.
  But this error "sys/mman.h not found" occured when I run the command "make" 
after the commands "sh autogen.sh" and "./configure mingw-w64" finished.
  I really not found the mman.h in the directory of mingw64.
  I need your help.



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mingw-w64 depends on:
ii  g++-mingw-w64  8.3.0-19+21.4
ii  gcc-mingw-w64  8.3.0-19+21.4

mingw-w64 recommends no packages.

mingw-w64 suggests no packages.

-- no debconf information


Bug#939662: 回复: Bug#939662 closed by Stephen Kitt (Re: Bug#939662: sys/mman.h not found)

2019-09-07 Thread Zhang Hao
Dear

Even though I use the parameter "--host=x86_64-w64-32", the gperftools makefile 
dos not passed.
And The gperftools support "mingw-w64" to cross compile on linux.
You can find it on "https://github.com/gperftools/gperftools/issues/878";.
And I have report this issue in 
"https://github.com/gperftools/gperftools/issues/1108";.
The developer told me this is a "#include ." issue, not gperftools' 
problem.




发件人: Debian Bug Tracking System 
发送时间: 2019年9月7日 23:48
收件人: Zhang Hao 
主题: Bug#939662 closed by Stephen Kitt  (Re: Bug#939662: 
sys/mman.h not found)

This is an automatic notification regarding your Bug report
which was filed against the mingw-w64 package:

#939662: sys/mman.h not found

It has been closed by Stephen Kitt .

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Stephen Kitt 
 by
replying to this email.


--
939662: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939662
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


Bug#939662: 回复: Bug#939662 closed by Stephen Kitt (Re: Bug#939662: sys/mman.h not found)

2019-09-12 Thread Stephen Kitt
On Sun, 8 Sep 2019 01:53:54 +, Zhang Hao  wrote:
> Even though I use the parameter "--host=x86_64-w64-32", the gperftools
> makefile dos not passed. And The gperftools support "mingw-w64" to cross
> compile on linux. You can find it on
> "https://github.com/gperftools/gperftools/issues/878";.

Indeed, I stand corrected!

> And I have report this issue in
> "https://github.com/gperftools/gperftools/issues/1108";. The developer told
> me this is a "#include ." issue, not gperftools' problem.

And it’s not mingw-w64’s problem either: you need to install mman yourself.
See
https://github.com/gperftools/gperftools/issues/1108#issuecomment-519070972

Regards,

Stephen


pgpA_rdFn82WO.pgp
Description: OpenPGP digital signature