Bug#748789: view3dscene: FTBFS Can't find unit CastleStringUtils used by CastleUtils

2014-05-22 Thread Abou Al Montacir
Control: reassign -1 fpc

This is not a bug in view3dscene but rather a bug in FPC. Indeed if cge
is compiled using -Ur flag that this does not happen. However here the
-Ur flag does not have a real meaning as sources are missing.

After analyzing more the issue it looks like the CRC stored for
CastleUtils in CastleStringUtils differs from the one stored in
CastleUtils itself.

 gshadow locale.alias  passwd-   services
[mazen@karim:~]$ppudump -vi 
/usr/lib/i386-linux-gnu/fp-units-2.6.4/castle-game-engine-5.0.0/castlestringutils.ppu
 
PPU-Analyser Version 2.6.4
Copyright (c) 1998-2013 by the Free Pascal Development Team

Analyzing 
/usr/lib/i386-linux-gnu/fp-units-2.6.4/castle-game-engine-5.0.0/castlestringutils.ppu
 (v135)

Interface section
--
Module Name: CastleStringUtils

Source file 1 : castlestringutils.pas 2014/05/06 21:08:10
Source file 2 : norqcheckbegin.inc 2014/05/06 21:08:10
Source file 3 : norqcheckend.inc 2014/05/06 21:08:10
Uses unit: System (Crc: 6A6C800E, IntfcCrc: BFEB7A00, IndCrc: 8B647540)
Uses unit: objpas (Crc: 8A1C41DE, IntfcCrc: DBA6773B, IndCrc: 8B647540)
Uses unit: sysutils (Crc: 18051831, IntfcCrc: DD662BB4, IndCrc: 373F3F05)
Uses unit: CastleUtils (Crc: D8D8A5DB, IntfcCrc: 16456BB1, IndCrc: 0C46E7B4)
Uses unit: Classes (Crc: 9ECA0548, IntfcCrc: 7F299AA8, IndCrc: 59A2E37F)
Link unit object file: castlestringutils.o (static )
DerefMapsize: 4
DerefMap[0] = CLASSES
DerefMap[1] = SYSTEM
DerefMap[2] = SYSUTILS
DerefMap[3] = REGEXPR
Derefdata length: 14145

Interface symtable
--
Symtable options: none
!! Error in PPU

$ppudump -vh 
/usr/lib/i386-linux-gnu/fp-units-2.6.4/castle-game-engine-5.0.0/castleutils.ppu 
PPU-Analyser Version 2.6.4
Copyright (c) 1998-2013 by the Free Pascal Development Team

Analyzing 
/usr/lib/i386-linux-gnu/fp-units-2.6.4/castle-game-engine-5.0.0/castleutils.ppu 
(v135)

Header
---
Compiler version: 2.6.4
Target processor: i386
Target operating system : Linux-i386
Unit flags  : init, final, static_linked, little_endian, release, 
local_threadvars, local_symtable
FileSize (w/o header)   : 244378
Checksum: C271DEEF
Interface Checksum  : 16456BB1
Indirect Checksum   : 0C46E7B4
Definitions stored  : 884
Symbols stored  : 2531

Interface symtable
--
Symtable options: none
!! Error in PPU

As you can see the CRC for CastleUtils is C271DEEF while CastleStringUtils 
expects 8A1C41DE.
This may explain the error message
...
Recompiling CastleStringUtils, checksum changed for CastleUtils
castlestringutils.pas(77,56) Fatal: Can't find unit CastleStringUtils used by 
CastleUtils
...

Cheers,


signature.asc
Description: This is a digitally signed message part


Processed: Bug#748789: view3dscene: FTBFS Can't find unit CastleStringUtils used by CastleUtils

2014-05-22 Thread Debian Bug Tracking System
Processing control commands:

 reassign -1 fpc
Bug #748789 [view3dscene] view3dscene: FTBFS Can't find unit CastleStringUtils 
used by CastleUtils
Bug reassigned from package 'view3dscene' to 'fpc'.
No longer marked as found in versions view3dscene/3.13.0-2.
Ignoring request to alter fixed versions of bug #748789 to the same values 
previously set

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


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#748789: view3dscene: FTBFS Can't find unit CastleStringUtils used by CastleUtils

2014-05-20 Thread Paul Gevers
Package: view3dscene
Version: 3.13.0-2
Severity: serious
Tags: pending
Justification: fails to build from source (but built successfully in the past)

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

As already discussed [1] on the pkg-pas...@lists.alioth.debian.org e-mail list, 
the
current version of view3dscene together with the current version of
castle-game-engine (cge) fails to build from source, see build log below.

The solution is known and applied in the packaging vcs, but still needs to be
uploaded.

Paul
[1] 
http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/Week-of-Mon-20140512/000239.html


dpkg-buildpackage: host architecture amd64
 debian/rules build
QUILT_PATCHES=debian/patches \
quilt --quiltrc /dev/null push -a || test $? = 2
File series fully applied, ends at patch fix_hyphen_in_man.patch
touch debian/stamp-patched
dh_testdir
touch configure-stamp
- --- Building
dh_testdir
mkdir -p /tmp/buildd/view3dscene-3.13.0/debian/tmp/usr/bin
mkdir -p /tmp/buildd/view3dscene-3.13.0/debian/tmp/usr/lib/view3dscene/3.13.0
fpc -k-z relro -dRELEASE -Mobjfpc -Sh -Ci -Sm -Sc -Sg -Si -O2 -Xs 
-FU/tmp/buildd/view3dscene-3.13.0/debian/tmp/usr/lib/view3dscene/3.13.0 
-FE/tmp/buildd/view3dscene-3.13.0/debian/tmp/usr/bin 
-Fu/usr/lib/x86_64-linux-gnu/fp-units-2.6.4/castle-game-engine-5.0.0/ 
view3dscene.lpr
Compiling Release Version
Free Pascal Compiler version 2.6.4+dfsg-2 [2014/05/03] for x86_64
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling view3dscene.lpr
PPU Loading 
/usr/lib/x86_64-linux-gnu/fp-units-2.6.4/castle-game-engine-5.0.0/castlestringutils.ppu
PPU Source: castlestringutils.pas not found
PPU Source: norqcheckbegin.inc not found
PPU Source: norqcheckend.inc not found
Recompiling CastleStringUtils, checksum changed for CastleUtils
castlestringutils.pas(77,56) Fatal: Can't find unit CastleStringUtils used by 
CastleUtils
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not 
specify a source file to be compiled)
debian/rules:104: recipe for target 'build-arch-stamp' failed
make: *** [build-arch-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


- -- System Information:
Debian Release: 7.5
  APT prefers stable
  APT policy: (500, 'stable'), (99, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages view3dscene depends on:
ii  libatk1.0-0 2.4.0-2
ii  libc6   2.13-38+deb7u1
ii  libcairo2   1.12.2-3
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-02.33.12+really2.32.4-5
ii  libgtk2.0-0 2.24.10-2
ii  libgtkglext11.2.0-2
pn  libpango-1.0-0  none
ii  libx11-62:1.5.0-1+deb7u1

Versions of packages view3dscene recommends:
pn  castle-game-engine-doc  none
ii  fpc 2.6.0-9
ii  fpc-2.6.0 [fpc] 2.6.0-9
ii  lazarus 0.9.30.4-6
ii  lazarus-0.9.30.4 [lazarus]  0.9.30.4-6

Versions of packages view3dscene suggests:
ii  ffmpeg   6:0.8.10-1
pn  fp-units-castle-game-engine  none
ii  graphicsmagick-imagemagick-compat [imagemagick]  1.3.16-1.1
ii  libav-tools  6:9.4-1
ii  libopenal1   1:1.14-4
ii  libvorbisfile3   1.3.2-1.3

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJTe6fUAAoJEJxcmesFvXUK9JEIAIqyPUMbrT8K8uni3JyU58Rl
LUgxqn9lBlc/X8zejbU1I+BtVk8cc1LNAshdR/4bOK1qdHmr66bhQMQvNKTh7xOy
H82mwMo8hM1863pT4Bfxzf1GPC/op3rZJSja0bR7N2ndj7u057kF5qvEPYed4QdT
MljwL7k8xSy9sIfZ2bcE4pbOofn6EJERF8se4paDcm5SK1qpcIAfuo3ylxMH6vYj
WRTl8a5VpxGgEeM3P+yLUnqGuVvR73hRn65Hn1UMGhzz+6DosN6kmx3KMKfPi4Kt
DdabFjJJ45CDLBrx0b5IcvpluUO0f5o+z7izf5rN4AsatHM4mVmKwg4aXs/xJx8=
=jmMg
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org