Bug#827587: parsec47: FTBFS: Bonus.d:135:79: error: need 'this' for 'INVINCIBLE_CNT' of type 'const(int)'

Chris Lamb lamby at debian.org
Sat Jun 18 08:58:01 UTC 2016


Source: parsec47
Version: 0.2.dfsg1-7
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

parsec47 fails to build from source in unstable/amd64:

  [..]

  Selecting previously unselected package libasound2-dev:amd64.
  Preparing to unpack .../libasound2-dev_1.1.1-1_amd64.deb ...
  Unpacking libasound2-dev:amd64 (1.1.1-1) ...
  Selecting previously unselected package libpng16-16:amd64.
  Preparing to unpack .../libpng16-16_1.6.23-1_amd64.deb ...
  Unpacking libpng16-16:amd64 (1.6.23-1) ...
  Selecting previously unselected package libpng-dev:amd64.
  Preparing to unpack .../libpng-dev_1.6.23-1_amd64.deb ...
  Unpacking libpng-dev:amd64 (1.6.23-1) ...
  Selecting previously unselected package libslang2-dev:amd64.
  Preparing to unpack .../libslang2-dev_2.3.0-2.3_amd64.deb ...
  Unpacking libslang2-dev:amd64 (2.3.0-2.3) ...
  Selecting previously unselected package libcaca-dev.
  Preparing to unpack .../libcaca-dev_0.99.beta19-2+b1_amd64.deb ...
  Unpacking libcaca-dev (0.99.beta19-2+b1) ...
  Selecting previously unselected package libglu1-mesa:amd64.
  Preparing to unpack .../libglu1-mesa_9.0.0-2.1_amd64.deb ...
  Unpacking libglu1-mesa:amd64 (9.0.0-2.1) ...
  Selecting previously unselected package libglu1-mesa-dev:amd64.
  Preparing to unpack .../libglu1-mesa-dev_9.0.0-2.1_amd64.deb ...
  Unpacking libglu1-mesa-dev:amd64 (9.0.0-2.1) ...
  Selecting previously unselected package libpulse-mainloop-glib0:amd64.
  Preparing to unpack .../libpulse-mainloop-glib0_8.0-2+b2_amd64.deb ...
  Unpacking libpulse-mainloop-glib0:amd64 (8.0-2+b2) ...
  Selecting previously unselected package libelf1:amd64.
  Preparing to unpack .../libelf1_0.165-3_amd64.deb ...
  Unpacking libelf1:amd64 (0.165-3) ...
  Selecting previously unselected package libglib2.0-data.
  Preparing to unpack .../libglib2.0-data_2.48.1-1_all.deb ...
  Unpacking libglib2.0-data (2.48.1-1) ...
  Selecting previously unselected package libglib2.0-bin.
  Preparing to unpack .../libglib2.0-bin_2.48.1-1_amd64.deb ...
  Unpacking libglib2.0-bin (2.48.1-1) ...
  Selecting previously unselected package libpcre16-3:amd64.
  Preparing to unpack .../libpcre16-3_2%3a8.38-3.1_amd64.deb ...
  Unpacking libpcre16-3:amd64 (2:8.38-3.1) ...
  Selecting previously unselected package libpcre32-3:amd64.
  Preparing to unpack .../libpcre32-3_2%3a8.38-3.1_amd64.deb ...
  Unpacking libpcre32-3:amd64 (2:8.38-3.1) ...
  Selecting previously unselected package libpcrecpp0v5:amd64.
  Preparing to unpack .../libpcrecpp0v5_2%3a8.38-3.1_amd64.deb ...
  Unpacking libpcrecpp0v5:amd64 (2:8.38-3.1) ...
  Selecting previously unselected package libpcre3-dev:amd64.
  Preparing to unpack .../libpcre3-dev_2%3a8.38-3.1_amd64.deb ...
  Unpacking libpcre3-dev:amd64 (2:8.38-3.1) ...
  Selecting previously unselected package pkg-config.
  Preparing to unpack .../pkg-config_0.29-4_amd64.deb ...
  Unpacking pkg-config (0.29-4) ...
  Selecting previously unselected package libglib2.0-dev.
  Preparing to unpack .../libglib2.0-dev_2.48.1-1_amd64.deb ...
  Unpacking libglib2.0-dev (2.48.1-1) ...
  Selecting previously unselected package libpulse-dev:amd64.
  Preparing to unpack .../libpulse-dev_8.0-2+b2_amd64.deb ...
  Unpacking libpulse-dev:amd64 (8.0-2+b2) ...
  Selecting previously unselected package libsdl1.2-dev.
  Preparing to unpack .../libsdl1.2-dev_1.2.15+dfsg1-4_amd64.deb ...
  Unpacking libsdl1.2-dev (1.2.15+dfsg1-4) ...
  Selecting previously unselected package libvorbis-dev:amd64.
  Preparing to unpack .../libvorbis-dev_1.3.5-3_amd64.deb ...
  Unpacking libvorbis-dev:amd64 (1.3.5-3) ...
  Selecting previously unselected package libsdl-mixer1.2-dev:amd64.
  Preparing to unpack .../libsdl-mixer1.2-dev_1.2.12-11+b1_amd64.deb ...
  Unpacking libsdl-mixer1.2-dev:amd64 (1.2.12-11+b1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for libc-bin (2.22-11) ...
  Processing triggers for systemd (230-2) ...
  Processing triggers for libglib2.0-0:amd64 (2.48.1-1) ...
  No schema files found: doing nothing.
  Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
  Setting up libphobos-5-dev (5.4.0-4) ...
  Setting up gdc-5 (5.4.0-4) ...
  Setting up libphobos-dev (5.3.1-3) ...
  Setting up gdc (4:5.3.1-3) ...
  Setting up libbulletml0v5:amd64 (0.0.6-6.1) ...
  Setting up libbulletml-dev (0.0.6-6.1) ...
  Setting up libxau6:amd64 (1:1.0.8-1) ...
  Setting up libxdmcp6:amd64 (1:1.1.2-1.1) ...
  Setting up libxcb1:amd64 (1.11.1-1) ...
  Setting up libx11-data (2:1.6.3-1) ...
  Setting up libx11-6:amd64 (2:1.6.3-1) ...
  Setting up xorg-sgml-doctools (1:1.11-1) ...
  Setting up x11proto-core-dev (7.0.29-1) ...
  Setting up libxau-dev:amd64 (1:1.0.8-1) ...
  Setting up libxdmcp-dev:amd64 (1:1.1.2-1.1) ...
  Setting up x11proto-input-dev (2.3.2-1) ...
  Setting up x11proto-kb-dev (1.0.7-1) ...
  Setting up xtrans-dev (1.3.5-1) ...
  Setting up libpthread-stubs0-dev:amd64 (0.3-4) ...
  Setting up libxcb1-dev:amd64 (1.11.1-1) ...
  Setting up libx11-dev:amd64 (2:1.6.3-1) ...
  Setting up libdrm2:amd64 (2.4.68-1) ...
  Setting up libpciaccess0:amd64 (0.13.4-1) ...
  Setting up libdrm-intel1:amd64 (2.4.68-1) ...
  Setting up libdrm-radeon1:amd64 (2.4.68-1) ...
  Setting up libdrm-nouveau2:amd64 (2.4.68-1) ...
  Setting up libdrm-amdgpu1:amd64 (2.4.68-1) ...
  Setting up libdrm-dev:amd64 (2.4.68-1) ...
  Setting up mesa-common-dev:amd64 (11.2.2-1) ...
  Setting up libglapi-mesa:amd64 (11.2.2-1) ...
  Setting up libx11-xcb1:amd64 (2:1.6.3-1) ...
  Setting up libxcb-dri2-0:amd64 (1.11.1-1) ...
  Setting up libxcb-dri3-0:amd64 (1.11.1-1) ...
  Setting up libxcb-glx0:amd64 (1.11.1-1) ...
  Setting up libxcb-present0:amd64 (1.11.1-1) ...
  Setting up libxcb-randr0:amd64 (1.11.1-1) ...
  Setting up libxcb-render0:amd64 (1.11.1-1) ...
  Setting up libxcb-shape0:amd64 (1.11.1-1) ...
  Setting up libxcb-sync1:amd64 (1.11.1-1) ...
  Setting up libxcb-xfixes0:amd64 (1.11.1-1) ...
  Setting up libxfixes3:amd64 (1:5.0.1-2+b2) ...
  Setting up libxdamage1:amd64 (1:1.1.4-2+b1) ...
  Setting up libxext6:amd64 (2:1.3.3-1) ...
  Setting up libxshmfence1:amd64 (1.2-1) ...
  Setting up libxxf86vm1:amd64 (1:1.1.4-1) ...
  Setting up libgl1-mesa-glx:amd64 (11.2.2-1) ...
  Setting up libx11-xcb-dev:amd64 (2:1.6.3-1) ...
  Setting up libxcb-dri3-dev:amd64 (1.11.1-1) ...
  Setting up libxcb-render0-dev:amd64 (1.11.1-1) ...
  Setting up libxcb-randr0-dev:amd64 (1.11.1-1) ...
  Setting up libxcb-shape0-dev:amd64 (1.11.1-1) ...
  Setting up libxcb-xfixes0-dev:amd64 (1.11.1-1) ...
  Setting up libxcb-sync-dev:amd64 (1.11.1-1) ...
  Setting up libxcb-present-dev:amd64 (1.11.1-1) ...
  Setting up libxshmfence-dev:amd64 (1.2-1) ...
  Setting up libxcb-dri2-0-dev:amd64 (1.11.1-1) ...
  Setting up libxcb-glx0-dev:amd64 (1.11.1-1) ...
  Setting up x11proto-xext-dev (7.3.0-1) ...
  Setting up x11proto-fixes-dev (1:5.0-2) ...
  Setting up libxfixes-dev:amd64 (1:5.0.1-2+b2) ...
  Setting up x11proto-damage-dev (1:1.2.1-2) ...
  Setting up libxdamage-dev:amd64 (1:1.1.4-2+b1) ...
  Setting up libxext-dev:amd64 (2:1.3.3-1) ...
  Setting up x11proto-xf86vidmode-dev (2.3.1-2) ...
  Setting up libxxf86vm-dev:amd64 (1:1.1.4-1) ...
  Setting up x11proto-dri2-dev (2.8-2) ...
  Setting up x11proto-gl-dev (1.4.17-1) ...
  Setting up libgl1-mesa-dev:amd64 (11.2.2-1) ...
  Setting up libogg0:amd64 (1.3.2-1) ...
  Setting up libflac8:amd64 (1.3.1-4) ...
  Setting up libasound2-data (1.1.1-1) ...
  Setting up libasound2:amd64 (1.1.1-1) ...
  Setting up libopus0:amd64 (1.1.2-1) ...
  Setting up libsamplerate0:amd64 (0.1.8-8) ...
  Setting up libjack-jackd2-0:amd64 (1.9.10+20150825git1ed50c92~dfsg-1) ...
  Setting up libasyncns0:amd64 (0.8-6) ...
  Setting up libdbus-1-3:amd64 (1.10.8-1) ...
  Setting up x11-common (1:7.7+15) ...
  update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
  invoke-rc.d: could not determine current runlevel
  invoke-rc.d: policy-rc.d denied execution of start.
  Setting up libice6:amd64 (2:1.0.9-1+b1) ...
  Setting up libjson-c3:amd64 (0.12-3) ...
  Setting up libsm6:amd64 (2:1.2.2-1+b1) ...
  Setting up libvorbis0a:amd64 (1.3.5-3) ...
  Setting up libvorbisenc2:amd64 (1.3.5-3) ...
  Setting up libsndfile1:amd64 (1.0.25-10) ...
  Setting up libwrap0:amd64 (7.6.q-25) ...
  Setting up libxi6:amd64 (2:1.7.6-1) ...
  Setting up libxtst6:amd64 (2:1.2.2-1+b1) ...
  Setting up libpulse0:amd64 (8.0-2+b2) ...
  Setting up libfluidsynth1:amd64 (1.1.6-3) ...
  Setting up libmad0:amd64 (0.15.1b-8) ...
  Setting up libopenal-data (1:1.17.2-1) ...
  Setting up libopenal1:amd64 (1:1.17.2-1) ...
  Setting up libslang2:amd64 (2.3.0-2.3) ...
  Setting up libcaca0:amd64 (0.99.beta19-2+b1) ...
  Setting up libsdl1.2debian:amd64 (1.2.15+dfsg1-4) ...
  Setting up libmikmod3:amd64 (3.3.8-2) ...
  Setting up libvorbisfile3:amd64 (1.3.5-3) ...
  Setting up libsdl-mixer1.2:amd64 (1.2.12-11+b1) ...
  Setting up libogg-dev:amd64 (1.3.2-1) ...
  Setting up libflac-dev:amd64 (1.3.1-4) ...
  Setting up libmad0-dev (0.15.1b-8) ...
  Setting up libmikmod-config (3.3.8-2) ...
  Setting up libmikmod-dev:amd64 (3.3.8-2) ...
  Setting up libasound2-dev:amd64 (1.1.1-1) ...
  Setting up libpng16-16:amd64 (1.6.23-1) ...
  Setting up libpng-dev:amd64 (1.6.23-1) ...
  Setting up libslang2-dev:amd64 (2.3.0-2.3) ...
  Setting up libcaca-dev (0.99.beta19-2+b1) ...
  Setting up libglu1-mesa:amd64 (9.0.0-2.1) ...
  Setting up libglu1-mesa-dev:amd64 (9.0.0-2.1) ...
  Setting up libpulse-mainloop-glib0:amd64 (8.0-2+b2) ...
  Setting up libelf1:amd64 (0.165-3) ...
  Setting up libglib2.0-data (2.48.1-1) ...
  Setting up libglib2.0-bin (2.48.1-1) ...
  Setting up libpcre16-3:amd64 (2:8.38-3.1) ...
  Setting up libpcre32-3:amd64 (2:8.38-3.1) ...
  Setting up libpcrecpp0v5:amd64 (2:8.38-3.1) ...
  Setting up libpcre3-dev:amd64 (2:8.38-3.1) ...
  Setting up pkg-config (0.29-4) ...
  Setting up libglib2.0-dev (2.48.1-1) ...
  Setting up libpulse-dev:amd64 (8.0-2+b2) ...
  Setting up libsdl1.2-dev (1.2.15+dfsg1-4) ...
  Setting up libvorbis-dev:amd64 (1.3.5-3) ...
  Setting up libsdl-mixer1.2-dev:amd64 (1.2.12-11+b1) ...
  Setting up parsec47-build-deps (0.2.dfsg1-7) ...
  Processing triggers for libc-bin (2.22-11) ...
  Processing triggers for systemd (230-2) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=7d6c5de59980
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20160618085148.UKEmw8b855.parsec47/parsec47-0.2.dfsg1
  OLDPWD=/home/lamby/temp/cdt.20160618085148.UKEmw8b855.parsec47
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building parsec47 0.2.dfsg1-7 on amd64                                           **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package parsec47
  dpkg-buildpackage: info: source version 0.2.dfsg1-7
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Markus Koschany <apo at debian.org>
   dpkg-source --before-build parsec47-0.2.dfsg1
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean
     dh_testdir
     dh_auto_clean
  	make -j1 clean
  make[1]: Entering directory '/home/lamby/temp/cdt.20160618085148.UKEmw8b855.parsec47/parsec47-0.2.dfsg1'
  rm -f parsec47
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160618085148.UKEmw8b855.parsec47/parsec47-0.2.dfsg1'
     dh_clean
   debian/rules build
  dh build
     dh_testdir
     dh_update_autotools_config
     dh_auto_configure
     debian/rules override_dh_auto_build
  make[1]: Entering directory '/home/lamby/temp/cdt.20160618085148.UKEmw8b855.parsec47/parsec47-0.2.dfsg1'
  dh_auto_build -- DFLAGS="-frelease"
  	make -j1 DFLAGS=-frelease
  make[2]: Entering directory '/home/lamby/temp/cdt.20160618085148.UKEmw8b855.parsec47/parsec47-0.2.dfsg1'
  gdc -o parsec47 -Iimport -Isrc -Wno-deprecated -frelease -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro src/mt.d import/SDL.d import/SDL_active.d import/SDL_audio.d import/SDL_byteorder.d import/SDL_cdrom.d import/SDL_copying.d import/SDL_endian.d import/SDL_error.d import/SDL_events.d import/SDL_getenv.d import/SDL_joystick.d import/SDL_keyboard.d import/SDL_keysym.d import/SDL_keysym_.d import/SDL_mixer.d import/SDL_mouse.d import/SDL_mutex.d import/SDL_quit.d import/SDL_rwops.d import/SDL_syswm.d import/SDL_thread.d import/SDL_timer.d import/SDL_types.d import/SDL_version_.d import/SDL_video.d import/bulletml.d import/opengl.d import/openglu.d src/abagames/p47/BarrageManager.d src/abagames/p47/Bonus.d src/abagames/p47/BulletActor.d src/abagames/p47/BulletActorPool.d src/abagames/p47/Enemy.d src/abagames/p47/EnemyType.d src/abagames/p47/Field.d src/abagames/p47/Fragment.d src/abagames/p47/LetterRender.d src/abagames/p47/Lock.d src/abagames/p47/LuminousActor.d src/abagames/p47/LuminousActorPool.d src/abagames/p47/LuminousScreen.d src/abagames/p47/MorphBullet.d src/abagames/p47/P47Boot.d src/abagames/p47/P47Bullet.d src/abagames/p47/P47GameManager.d src/abagames/p47/P47PrefManager.d src/abagames/p47/P47Screen.d src/abagames/p47/Particle.d src/abagames/p47/Roll.d src/abagames/p47/Ship.d src/abagames/p47/Shot.d src/abagames/p47/SoundManager.d src/abagames/p47/StageManager.d src/abagames/p47/Title.d src/abagames/util/Actor.d src/abagames/util/ActorInitializer.d src/abagames/util/ActorPool.d src/abagames/util/Logger.d src/abagames/util/PrefManager.d src/abagames/util/Rand.d src/abagames/util/Vector.d src/abagames/util/bulletml/Bullet.d src/abagames/util/bulletml/BulletsManager.d src/abagames/util/sdl/GameManager.d src/abagames/util/sdl/Input.d src/abagames/util/sdl/MainLoop.d src/abagames/util/sdl/Pad.d src/abagames/util/sdl/SDLInitFailedException.d src/abagames/util/sdl/Screen.d src/abagames/util/sdl/Screen3D.d src/abagames/util/sdl/Sound.d src/abagames/util/sdl/Texture.d -lSDL -lGL -lSDL_mixer -lbulletml
  cc1d: warning: command line option '-Wformat=1' is valid for C/C++/ObjC/ObjC++ but not for D
  cc1d: warning: command line option '-Wdate-time' is valid for C/C++/Fortran/ObjC/ObjC++ but not for D
  src/abagames/p47/Bonus.d:135:79: error: need 'this' for 'INVINCIBLE_CNT' of type 'const(int)'
       if (d < ACQUIRE_WIDTH * (1 + cast(float) inhaleCnt * 0.2) && ship.cnt >= -Ship.INVINCIBLE_CNT) {
                                                                                 ^
  src/abagames/p47/Bonus.d:147:23: error: need 'this' for 'INVINCIBLE_CNT' of type 'const(int)'
         if (ship.cnt < -Ship.INVINCIBLE_CNT) {
                         ^
  src/abagames/p47/Bonus.d:152:44: error: need 'this' for 'INVINCIBLE_CNT' of type 'const(int)'
         if (d < INHALE_WIDTH && ship.cnt >= -Ship.INVINCIBLE_CNT)
                                              ^
  src/abagames/p47/BulletActor.d:194:23: error: need 'this' for 'INVINCIBLE_CNT' of type 'const(int)'
         if (ship.cnt < -Ship.INVINCIBLE_CNT / 2 && isVisible && rtCnt >= RETRO_CNT) {
                         ^
  src/abagames/p47/Enemy.d:392:56: error: need 'this' for 'SPEED' of type 'const(float)'
    manager.addParticle(sp, rand.nextSignedFloat(0.3), 0, Shot.SPEED / 4);
                                                          ^
  src/abagames/p47/Enemy.d:393:56: error: need 'this' for 'SPEED' of type 'const(float)'
    manager.addParticle(sp, rand.nextSignedFloat(0.3), 0, Shot.SPEED / 4);
                                                          ^
  src/abagames/p47/Enemy.d:394:70: error: need 'this' for 'SPEED' of type 'const(float)'
    manager.addParticle(sp, std.math.PI + rand.nextSignedFloat(0.3), 0, Shot.SPEED / 7);
                                                                        ^
  src/abagames/p47/Enemy.d:411:73: error: need 'this' for 'SPEED' of type 'const(float)'
        manager.addParticle(rl.pos[0], rand.nextFloat(std.math.PI * 2), 0, Shot.SPEED / 10);
                                                                           ^
  src/abagames/p47/Enemy.d:443:75: error: need 'this' for 'SPEED' of type 'const(float)'
          manager.addParticle(lk.pos[0], rand.nextFloat(std.math.PI * 2), 0, Shot.SPEED / 10);
                                                                             ^
  src/abagames/p47/EnemyType.d:131:24: error: need 'this' for 'BARRAGE_MAX' of type 'const(int)'
       for (int i = 0; i< BarrageManager.BARRAGE_MAX; i++)
                          ^
  Makefile:8: recipe for target 'parsec47' failed
  make[2]: *** [parsec47] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160618085148.UKEmw8b855.parsec47/parsec47-0.2.dfsg1'
  dh_auto_build: make -j1 DFLAGS=-frelease returned exit code 2
  debian/rules:14: recipe for target 'override_dh_auto_build' failed
  make[1]: *** [override_dh_auto_build] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160618085148.UKEmw8b855.parsec47/parsec47-0.2.dfsg1'
  debian/rules:11: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parsec47.0.2.dfsg1-7.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 8532 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160618/54824210/attachment-0001.obj>


More information about the Pkg-games-devel mailing list