Your message dated Sat, 03 Mar 2012 16:51:23 +0000
with message-id <[email protected]>
and subject line Bug#656838: fixed in oce 0.9.1-1
has caused the Debian Bug report #656838,
regarding oce FTBFS on Alpha: Alpha Linux is misdetected as Alpha OSF1 Unix
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
656838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656838
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: oce
Version: 0.8.0-1
Severity: Normal
User: [email protected]
Usertags: alpha
X-Debbugs-CC: [email protected]

oce FTBFS on alpha with the error:

[ 39%] Building CXX object
adm/cmake/TKService/CMakeFiles/TKService.dir/__/__/__/src/MFT/MFT_FontManager.cxx.o
cd
/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/obj-alpha-linux-gnu/adm/cmake/TKService
&& /usr/bin/c++   -DTKService_EXPORTS -D_OCC64 -DHAVE_FTGL_NEWER212
-DHAVE_CONFIG_H -DCSFDB -DOCC_CONVERT_SIGNALS -DNDEBUG -O3 -DNDEBUG
-fPIC
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/obj-alpha-linux-gnu/build_inc
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/inc
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/AlienImage
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/AlienImage
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/Aspect
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/Aspect
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/CGM
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/CGM
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/Image
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/Image
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/MFT
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/MFT -I/bui
 ld/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/PS
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/PS
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/PlotMgt
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/PlotMgt
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/SelectBasics
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/SelectBasics
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/TColQuantity
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/TColQuantity
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/Viewer
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/Viewer
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/ImageUtility
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/ImageUtility
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/Xw
-I/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/drv/Xw    -o
CMakeFiles/TKService.dir/__/__/__/src/MFT/MFT_FontManager.cxx.o -c
/build/buildd-oce_0.8.0-1-alpha-
 nfIXQh/oce-0.8.0/src/MFT/MFT_FontManager.cxx
/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/MFT/MFT_FontManager.cxx:
In static member function 'static Standard_Boolean
MFT_FontManager::Read(MFT_FileRecord&)':
/build/buildd-oce_0.8.0-1-alpha-nfIXQh/oce-0.8.0/src/MFT/MFT_FontManager.cxx:2870:23:
error: 'MAP_VARIABLE' was not declared in this scope

Full build log is at:
http://buildd.debian-ports.org/status/fetch.php?pkg=oce&arch=alpha&ver=0.8.0-1&stamp=1326555718

The build error is caused by a misdetection of Alpha Linux as Alpha OSF1
Unix in inc/MFT_FileRecord.hxx beginning at line 50 with:

#if defined ( __alpha ) || ( DECOSF1 )
#include <sys/mman.h>
#define MMAP(file_addr,mmap_size,fildes) \
        mmap((caddr_t) 0x1000000000,(size_t) mmap_size,PROT_READ, \
                MAP_FILE | MAP_PRIVATE | MAP_VARIABLE,fildes,(off_t)
file_addr)
#define MUNMAP(mmap_addr,mmap_size) \
        munmap((caddr_t) mmap_addr,(size_t) mmap_size)
#endif  // __alpha

The pre-defined compiler macro __alpha is defined if the hardware is
Alpha whatever the OS and so the above code, intended only for OSF1,
gets compiled under Linux.

Maybe modifying the conditional to be something like:

#if (defined ( __alpha ) || ( DECOSF1 )) && ! defined( linux )

would fix it --- but I don't know what is the appropriate macro to
detect Linux.

I did a quick grep and check of all other defined(__alpha) occurences
and they look fine to me, but did notice issues that might affect other
architectures supported by Debian, that is, the code has the appearance
of being written with the assumption that Linux is Intel only.

Cheers
Michael.



--- End Message ---
--- Begin Message ---
Source: oce
Source-Version: 0.9.1-1

We believe that the bug you reported is fixed in the latest version of
oce, which is due to be installed in the Debian FTP archive:

liboce-foundation-dev_0.9.1-1_all.deb
  to main/o/oce/liboce-foundation-dev_0.9.1-1_all.deb
liboce-foundation2_0.9.1-1_amd64.deb
  to main/o/oce/liboce-foundation2_0.9.1-1_amd64.deb
liboce-modeling-dev_0.9.1-1_all.deb
  to main/o/oce/liboce-modeling-dev_0.9.1-1_all.deb
liboce-modeling2_0.9.1-1_amd64.deb
  to main/o/oce/liboce-modeling2_0.9.1-1_amd64.deb
liboce-ocaf-dev_0.9.1-1_all.deb
  to main/o/oce/liboce-ocaf-dev_0.9.1-1_all.deb
liboce-ocaf-lite-dev_0.9.1-1_all.deb
  to main/o/oce/liboce-ocaf-lite-dev_0.9.1-1_all.deb
liboce-ocaf-lite2_0.9.1-1_amd64.deb
  to main/o/oce/liboce-ocaf-lite2_0.9.1-1_amd64.deb
liboce-ocaf2_0.9.1-1_amd64.deb
  to main/o/oce/liboce-ocaf2_0.9.1-1_amd64.deb
liboce-visualization-dev_0.9.1-1_all.deb
  to main/o/oce/liboce-visualization-dev_0.9.1-1_all.deb
liboce-visualization2_0.9.1-1_amd64.deb
  to main/o/oce/liboce-visualization2_0.9.1-1_amd64.deb
oce-draw_0.9.1-1_amd64.deb
  to main/o/oce/oce-draw_0.9.1-1_amd64.deb
oce_0.9.1-1.debian.tar.gz
  to main/o/oce/oce_0.9.1-1.debian.tar.gz
oce_0.9.1-1.dsc
  to main/o/oce/oce_0.9.1-1.dsc
oce_0.9.1.orig.tar.gz
  to main/o/oce/oce_0.9.1.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
"Adam C. Powell, IV" <[email protected]> (supplier of updated oce package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 26 Feb 2012 09:04:26 -0500
Source: oce
Binary: liboce-foundation2 liboce-modeling2 liboce-visualization2 
liboce-ocaf-lite2 liboce-ocaf2 oce-draw liboce-foundation-dev 
liboce-modeling-dev liboce-ocaf-lite-dev liboce-ocaf-dev 
liboce-visualization-dev
Architecture: source amd64 all
Version: 0.9.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: "Adam C. Powell, IV" <[email protected]>
Description: 
 liboce-foundation-dev - OpenCASCADE Community Edition CAE platform library 
development fi
 liboce-foundation2 - OpenCASCADE Community Edition CAE platform shared library
 liboce-modeling-dev - OpenCASCADE Community Edition CAE platform library 
development fi
 liboce-modeling2 - OpenCASCADE Community Edition CAE platform shared library
 liboce-ocaf-dev - OpenCASCADE Community Edition CAE platform library 
development fi
 liboce-ocaf-lite-dev - OpenCASCADE Community Edition CAE platform library 
development fi
 liboce-ocaf-lite2 - OpenCASCADE Community Edition CAE platform shared library
 liboce-ocaf2 - OpenCASCADE Community Edition CAE platform shared library
 liboce-visualization-dev - OpenCASCADE Community Edition CAE platform library 
development fi
 liboce-visualization2 - OpenCASCADE Community Edition CAE platform shared 
library
 oce-draw   - OpenCASCADE Community Edition CAE platform shared library
Closes: 656838
Changes: 
 oce (0.9.1-1) unstable; urgency=low
 .
   [ Denis Barbier ]
   * New upstream version, based on OCCT 6.5.2.
   * debian/control: Bump sonames.
   * Fix FTBFS on Alpha (Closes: #656838)
     Thanks Michael Cree for the report and patch.
 .
   [ Adam C. Powell, IV ]
   * Bumped Standards-Version
   * Removed obsolete source/lintian-overrides since lintian no longer checks
     for its two items.
Checksums-Sha1: 
 6892b05523ef94189da7826362812346a305ff46 2027 oce_0.9.1-1.dsc
 aa6bc3aa887befc9555a90b6c867be28cfc069c3 24159624 oce_0.9.1.orig.tar.gz
 6aee835a8f9ad374f1a3e4921acf438c93bbe967 99218 oce_0.9.1-1.debian.tar.gz
 996bed9e3096819ac63308561c63e75c98ef2873 1689594 
liboce-foundation2_0.9.1-1_amd64.deb
 7b931811a65d637765a667b502bdcf98d0698774 16358568 
liboce-modeling2_0.9.1-1_amd64.deb
 613aa43777048838008284dcba23618734ad9136 5288366 
liboce-visualization2_0.9.1-1_amd64.deb
 00a987459362b548577dc6fa84dac646b5a9cace 1885942 
liboce-ocaf-lite2_0.9.1-1_amd64.deb
 ad1daf274ff26c9af3c4ae7cbac60ced35f959fa 1118050 liboce-ocaf2_0.9.1-1_amd64.deb
 df23ed540243b99f32677906d57a7fcff77f2f05 1839442 oce-draw_0.9.1-1_amd64.deb
 575e23a023d9fa13fbca4ed106a5d248a9e5d6fc 1216458 
liboce-foundation-dev_0.9.1-1_all.deb
 31b2e9104b85468629f07aae752bc1c803272e15 3471908 
liboce-modeling-dev_0.9.1-1_all.deb
 30775977ddec9884351427fb0731ba038dbb6ff9 560136 
liboce-ocaf-lite-dev_0.9.1-1_all.deb
 3ab64c9dcacc69c061684c8bdf0811fd6588a157 176206 liboce-ocaf-dev_0.9.1-1_all.deb
 f1244a75b093da4477da33b01da0d4286acb2a6b 906396 
liboce-visualization-dev_0.9.1-1_all.deb
Checksums-Sha256: 
 ff501ed9cb3311e694d3f9aea5e28c48b6572eac0d780ed33d888f6c92091754 2027 
oce_0.9.1-1.dsc
 41f95380617d80c6252bcbb7e8e42877fc63691492a259d343f5f1adc38ddb82 24159624 
oce_0.9.1.orig.tar.gz
 6661bd47f7d9b40ee844220a0ae8ad41cd65be0f52b499c6d9a8bf34f90a6010 99218 
oce_0.9.1-1.debian.tar.gz
 2d36d190431838d68ca283cfbd2e907ac50d18fe056121d43aaa1ace947a4e17 1689594 
liboce-foundation2_0.9.1-1_amd64.deb
 503f86e5216bfff36ebc9033d495b57c80ef335bbd3d929aa530b75c3686cf42 16358568 
liboce-modeling2_0.9.1-1_amd64.deb
 696c77aed30fd5e44ae659577265cc01906f6058526625c41037d84aab408bc3 5288366 
liboce-visualization2_0.9.1-1_amd64.deb
 4062eae9419c9c9aa55b778419d9d4448e404ff7de4ec2d1e65b3c8abd268eb8 1885942 
liboce-ocaf-lite2_0.9.1-1_amd64.deb
 5ebc5ee0e39cf42dea352a4f0402b5989e0ae894da3916197720ca376092ca17 1118050 
liboce-ocaf2_0.9.1-1_amd64.deb
 b89be54485ac6cb8fe6c3526438e054cac083fc1ce8b5116307e7dc63c4adc24 1839442 
oce-draw_0.9.1-1_amd64.deb
 06e1dc0e63b11e4a8ca0be82079a554f6ab0406f8f7f28571873a1176841d3b3 1216458 
liboce-foundation-dev_0.9.1-1_all.deb
 827a7d58e2d8ded11e93e2d573829695b7d1fc8aa92ca953900f088554705531 3471908 
liboce-modeling-dev_0.9.1-1_all.deb
 e20bd6a54e68dbf5f8a7fc4f264ce3d4ed0478d1864361a4089201660a6956aa 560136 
liboce-ocaf-lite-dev_0.9.1-1_all.deb
 81b9a16d25cfbc5ce8020f6187ab70c9a51eb3c30ad81268ea846e1056c2eab9 176206 
liboce-ocaf-dev_0.9.1-1_all.deb
 a9c705b32fd6d2a8dc2ca230c4141b8c8d792453825f3db4552c04f5a108f1db 906396 
liboce-visualization-dev_0.9.1-1_all.deb
Files: 
 7a3dbe8bf18da7f7348481c8fc5cef35 2027 science extra oce_0.9.1-1.dsc
 ad995a09dff8769ae642fd86db55f9d8 24159624 science extra oce_0.9.1.orig.tar.gz
 cdcbc85e522ca852e6d0a8517987ed85 99218 science extra oce_0.9.1-1.debian.tar.gz
 0ea507083e8be7a78d148f5665a1ebf7 1689594 libs extra 
liboce-foundation2_0.9.1-1_amd64.deb
 77d67cbba778e636aea708962c817a85 16358568 libs extra 
liboce-modeling2_0.9.1-1_amd64.deb
 a56cc755ca2d631984f69145ba812c0b 5288366 libs extra 
liboce-visualization2_0.9.1-1_amd64.deb
 fc0782c1ff178badd562d36c06b5f912 1885942 libs extra 
liboce-ocaf-lite2_0.9.1-1_amd64.deb
 cd343304644567ec11d20c0a914a214b 1118050 libs extra 
liboce-ocaf2_0.9.1-1_amd64.deb
 d93d9cce1a5b1fe6505d2565c9783f52 1839442 science extra 
oce-draw_0.9.1-1_amd64.deb
 0d1b649df972071b3f4ccd19b276b913 1216458 libdevel extra 
liboce-foundation-dev_0.9.1-1_all.deb
 802afd7e85363848d79bb2e9d16c6b13 3471908 libdevel extra 
liboce-modeling-dev_0.9.1-1_all.deb
 5f6031947ec72c0f483a538fd1eacab0 560136 libdevel extra 
liboce-ocaf-lite-dev_0.9.1-1_all.deb
 bf6f30c8537b93ae965d28a4818be06f 176206 libdevel extra 
liboce-ocaf-dev_0.9.1-1_all.deb
 0ce2c3b6cd9d7ce6f151f9dd407983c2 906396 libdevel extra 
liboce-visualization-dev_0.9.1-1_all.deb

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

iEYEARECAAYFAk9KkNkACgkQUm8B6FZO5LaUVACeKdV9WgSwh6b42jTnguR1XdcX
3wMAn2XWt+j2bxk8qTAo9XmPLXB/JRI2
=y4Za
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to