Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692608 - app-emulation/bochs-2.6.9 fails to build: slirp/cksum.cc:83:12: error: 'uintptr_t' was not declared in this scope
Summary: app-emulation/bochs-2.6.9 fails to build: slirp/cksum.cc:83:12: error: 'uintp...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-20 13:03 UTC by Vaclav Radomersky
Modified: 2019-08-31 19:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=app-emulation/bochs-2.6.9::gentoo' AND build.log (log.txt,153.12 KB, text/plain)
2019-08-20 13:03 UTC, Vaclav Radomersky
Details
emerge -pqv '=app-emulation/bochs-2.6.9::gentoo' (environment,14.99 KB, text/plain)
2019-08-20 14:53 UTC, Vaclav Radomersky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vaclav Radomersky 2019-08-20 13:03:03 UTC
Created attachment 587610 [details]
emerge --info '=app-emulation/bochs-2.6.9::gentoo' AND build.log

When I issue "emerge app-emulation/bochs" then it will end up with compile error:


slirp/cksum.cc:83:12: error: 'uintptr_t' was not declared in this scope
  if ((1 & (uintptr_t)w) && (mlen > 0)) {
            ^~~~~~~~~
slirp/cksum.cc:83:12: note: suggested alternative: 'intptr_t'
  if ((1 & (uintptr_t)w) && (mlen > 0)) {
            ^~~~~~~~~
            intptr_t
slirp/cksum.cc:83:22: error: expected ')' before 'w'
  if ((1 & (uintptr_t)w) && (mlen > 0)) {
      ~               ^
                      )
slirp/cksum.cc:90:3: error: expected ')' before 'while'
  }
   ^
   )
slirp/cksum.cc:95:2:
  while ((mlen -= 32) >= 0) {
  ~~~~~
slirp/cksum.cc:83:5: note: to match this '('
  if ((1 & (uintptr_t)w) && (mlen > 0)) {
     ^
make[1]: *** [Makefile:116: slirp/cksum.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/app-emulation/bochs-2.6.9/work/bochs-2.6.9/iodev/network'
make: *** [Makefile:238: bochs_plugins] Error 2
 * ERROR: app-emulation/bochs-2.6.9::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/bochs-2.6.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/bochs-2.6.9::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/bochs-2.6.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/bochs-2.6.9/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/bochs-2.6.9/work/bochs-2.6.9'
 * S: '/var/tmp/portage/app-emulation/bochs-2.6.9/work/bochs-2.6.9'

>>> Failed to emerge app-emulation/bochs-2.6.9, Log file:

>>>  '/var/tmp/portage/app-emulation/bochs-2.6.9/temp/build.log'
Comment 1 Vaclav Radomersky 2019-08-20 14:53:51 UTC
Created attachment 587630 [details]
emerge -pqv '=app-emulation/bochs-2.6.9::gentoo'
Comment 2 Vaclav Radomersky 2019-08-31 18:17:41 UTC
Actual svn version of Bochs works when one builds it by hand: .configure ; make install. The two first steps (.configure ; make) as normal user, make install as root.
Comment 3 Vaclav Radomersky 2019-08-31 19:45:21 UTC
When I compile manualy latest svn Bochs, which works, I use these parameters:

./configure \
	      --enable-smp \
              --enable-debugger \
              --enable-x86-debugger \
	      --enable-x86-64 \
	      --enable-pci \
	      --enable-debugger-gui \
	      --enable-logging \
	      --enable-fpu \
              --enable-3dnow \
              --enable-sb16=dummy \
	      --enable-cdrom \
              --enable-x86-debugger \
	      --enable-iodebug \
	      --with-x