Your message dated Sun, 05 Feb 2012 00:08:41 +0000
with message-id <e1rtper-0003gy...@franck.debian.org>
and subject line Bug#658015: fixed in ogre 1.7.3-6
has caused the Debian Bug report #658015,
regarding ogre: FTBFS when built on lenny (potential system breaking bugs)
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 ow...@bugs.debian.org
immediately.)


-- 
658015: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658015
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ogre
Version: 1.7.3-5
Severity: serious
Tags: patch

When building ogre on lenny:

...
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "RelWithDebInfo"
-- Installing: 
/home/sam/src/ogre/debian/ogre-1.7.3/debian/tmp/usr/include/OGRE/OgreBuildSettings.h
...
make[2]: Leaving directory 
`/home/sam/src/ogre/debian/ogre-1.7.3/obj-x86_64-linux-gnu'
sed -i "/^libdir=/ s|/lib|/lib/|" debian/tmp/usr/lib/pkgconfig/*
sed -i "/{libdir}/ s|{libdir}/OGRE|{libdir}/OGRE-1.7.3|g" 
debian/tmp/usr/lib/pkgconfig/*
mv debian/tmp/usr/lib/OGRE debian/tmp/usr/lib/OGRE-1.7.3
mkdir -p /tmp/
mv debian/tmp/usr/lib/* /tmp//
mv /tmp/ debian/tmp/usr/lib/
mv: cannot access `/tmp/.wine-115': Permission denied
mv: cannot access `/tmp/user': Permission denied
mv: cannot access `/tmp/lost+found': Permission denied
mv: cannot open `/tmp/hsperfdata_minecraft/5017' for reading: Permission denied
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory `/home/sam/src/ogre/debian/ogre-1.7.3'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

The override_dh_auto_install rule replies on DEB_BUILD_MULTIARCH being
set, which is not the case with dpkg-dev 1.15.8.12 from lenny. The rules
are written such that when this variable is empty, it will try to remove
the system's /tmp directory, hence the severity of this bug.

The rules can be rewritten so that they don't use /tmp at all. Aside
from fixing this bug, it also speeds the package build process up if
/tmp is on a separate filesystem. I've attached a patch that makes this
and the following changes:

 * Build-depend on dpkg-dev 1.16.0 to ensure that the multiarch dpkg
   variables are available.

 * Use DEB_HOST_MULTIARCH instead of DEB_BUILD_MULTIARCH. The former
   refers to the architecture that the package will be run on;
   the latter is the architecture that it's built on. In a hypothetical
   cross-compiling situation, the two would not be equal.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru ogre-1.7.3/debian/control ogre-1.7.3/debian/control
--- ogre-1.7.3/debian/control	2011-12-23 12:03:49.000000000 +0000
+++ ogre-1.7.3/debian/control	2012-01-30 17:21:29.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com>
 Uploaders: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 8.9.0~), cmake (>= 2.8.5), pkg-config, libboost-date-time-dev, libboost-thread-dev, libfreeimage-dev, libfreetype6-dev, libzzip-dev, zlib1g-dev, libz-dev, libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev, libxrandr-dev, libxxf86vm-dev, libxaw7-dev, libxt-dev, chrpath
+Build-Depends: debhelper (>= 8.9.0~), dpkg-dev (>= 1.16.0), cmake (>= 2.8.5), pkg-config, libboost-date-time-dev, libboost-thread-dev, libfreeimage-dev, libfreetype6-dev, libzzip-dev, zlib1g-dev, libz-dev, libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev, libxrandr-dev, libxxf86vm-dev, libxaw7-dev, libxt-dev, chrpath
 Standards-Version: 3.9.2
 Homepage: http://ogre3d.org/
 
diff -Nru ogre-1.7.3/debian/rules ogre-1.7.3/debian/rules
--- ogre-1.7.3/debian/rules	2012-01-17 22:31:06.000000000 +0000
+++ ogre-1.7.3/debian/rules	2012-01-30 19:11:55.000000000 +0000
@@ -44,7 +44,7 @@
 
         # Workaround for CMake and debhelper with mutiarch (Debian bug:
         # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641051 )
-	sed -i "/^libdir=/ s|/lib|/lib/$(DEB_BUILD_MULTIARCH)|" debian/tmp/usr/lib/pkgconfig/*
+	sed -i "/^libdir=/ s|/lib|/lib/$(DEB_HOST_MULTIARCH)|" debian/tmp/usr/lib/pkgconfig/*
 	sed -i "/{libdir}/ s|{libdir}/OGRE|{libdir}/OGRE-$(OGRE_VERSION)|g" debian/tmp/usr/lib/pkgconfig/*
 
         # More fixes for multi-arch introduced in 1.7.3-5, and attempt at using
@@ -52,21 +52,20 @@
         # be installed at once)
 	mv debian/tmp/usr/lib/OGRE debian/tmp/usr/lib/OGRE-$(OGRE_VERSION)
 
-	mkdir -p /tmp/$(DEB_BUILD_MULTIARCH)
-	mv debian/tmp/usr/lib/* /tmp/$(DEB_BUILD_MULTIARCH)/
-	mv /tmp/$(DEB_BUILD_MULTIARCH) debian/tmp/usr/lib/
+	mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
+	find debian/tmp/usr/lib -mindepth 1 -maxdepth 1 ! -name $(DEB_HOST_MULTIARCH) -exec mv -v {} debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) ';'
 
         # multi-arch/rpath issue with lintian:
         # E: libogre-1.7.3: binary-or-shlib-defines-rpath usr/lib/x86_64-linux-gnu/OGRE/Plugin_OctreeZone.so /usr/lib/OGRE
-	chrpath --replace "/usr/lib/$(DEB_BUILD_MULTIARCH)/OGRE-$(OGRE_VERSION)" debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCH)/OGRE-$(OGRE_VERSION)/Plugin_OctreeZone.so
+	chrpath --replace "/usr/lib/$(DEB_HOST_MULTIARCH)/OGRE-$(OGRE_VERSION)" debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/OGRE-$(OGRE_VERSION)/Plugin_OctreeZone.so
 
 override_dh_install:
-	dh_install --fail-missing
+	dh_install --list-missing
 
         # More fixes for multi-arch introduced in 1.7.3-5, and attempt at using
         # versioned files for plugins and config files (so several versions can
         # be installed at once)
-	sed -i "/^PluginFolder=/ s|MULTIARCH_TRIPLET/OGRE_VERSION|$(DEB_BUILD_MULTIARCH)/OGRE-$(OGRE_VERSION)|" debian/libogre-$(OGRE_VERSION)/etc/OGRE/plugins.cfg
+	sed -i "/^PluginFolder=/ s|MULTIARCH_TRIPLET/OGRE_VERSION|$(DEB_HOST_MULTIARCH)/OGRE-$(OGRE_VERSION)|" debian/libogre-$(OGRE_VERSION)/etc/OGRE/plugins.cfg
 	mv debian/libogre-$(OGRE_VERSION)/etc/OGRE debian/libogre-$(OGRE_VERSION)/etc/OGRE-$(OGRE_VERSION)
 
 override_dh_installchangelogs:

--- End Message ---
--- Begin Message ---
Source: ogre
Source-Version: 1.7.3-6

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

blender-ogrexml_1.7.3-6_all.deb
  to main/o/ogre/blender-ogrexml_1.7.3-6_all.deb
libogre-1.7.3-dbg_1.7.3-6_amd64.deb
  to main/o/ogre/libogre-1.7.3-dbg_1.7.3-6_amd64.deb
libogre-1.7.3_1.7.3-6_amd64.deb
  to main/o/ogre/libogre-1.7.3_1.7.3-6_amd64.deb
libogre-dev_1.7.3-6_amd64.deb
  to main/o/ogre/libogre-dev_1.7.3-6_amd64.deb
ogre-doc_1.7.3-6_all.deb
  to main/o/ogre/ogre-doc_1.7.3-6_all.deb
ogre-tools_1.7.3-6_amd64.deb
  to main/o/ogre/ogre-tools_1.7.3-6_amd64.deb
ogre_1.7.3-6.debian.tar.gz
  to main/o/ogre/ogre_1.7.3-6.debian.tar.gz
ogre_1.7.3-6.dsc
  to main/o/ogre/ogre_1.7.3-6.dsc



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 658...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com> (supplier of updated 
ogre 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Sat, 04 Feb 2012 21:18:16 +0000
Source: ogre
Binary: libogre-dev libogre-1.7.3 libogre-1.7.3-dbg ogre-doc ogre-tools 
blender-ogrexml
Architecture: source amd64 all
Version: 1.7.3-6
Distribution: unstable
Urgency: low
Maintainer: Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com>
Changed-By: Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com>
Description: 
 blender-ogrexml - Blender Exporter for OGRE
 libogre-1.7.3 - 3D Object-Oriented Graphics Rendering Engine (libraries)
 libogre-1.7.3-dbg - 3D Object-Oriented Graphics Rendering Engine (debugging 
libs)
 libogre-dev - 3D Object-Oriented Graphics Rendering Engine (development files)
 ogre-doc   - 3D Object-Oriented Graphics Rendering Engine (documentation)
 ogre-tools - 3D Object-Oriented Graphics Rendering Engine (tools)
Closes: 653527 656997 658015
Changes: 
 ogre (1.7.3-6) unstable; urgency=low
 .
   * Use always "versioned" directory names, like /usr/share/OGRE-1.7.3 and
     /usr/lib/MULTIARCH_TRIPLET/OGRE-1.7.3 instead of plain .../OGRE.  In this
     way several versions of the library can be installed at once, as it's
     usually the case with shared libraries but it was not with OGRE until now
     (Closes: #653527).
   * Add missing Build-Depend on "dpkg-dev (>= 1.16.1~)" (instead of the
     suggested .0 of the bug report), and substituting DEB_BUILD_MULTIARCH for
     DEB_HOST_MULTIARCH (Closes: #658015).  The former was used by a propagated
     mistake.  Thanks Sam Morris for the notice and the patch (although I didn't
     use the patch provided because I had already changed the more problematic
     parts with a better solution).  Please reopen if there are still remaining
     problems.
   * Remove /etc/OGRE*/plugins.cfg, according to upstream it's not present in
     other systems, and indeed is more appropriate for applications to define
     what plugins they want to use (or rely only on code, not .cfg files, for
     that).
     - Remove the Debian script /usr/bin/update-ogre-plugins (and its manpage),
       it's of no use now.
     - Remove the template for plugins.cfg
   * Remove /etc/OGRE/plugins.cfg when uninstalling (or upgrading and moving the
     file elsewhere, as it happened for a few versions), if the one installed in
     the system was unmodified.  Thanks Sam Morris for the report and the
     suggested fix (Closes: #656997)
   * Remove cruft provided in the past along with the package but not used for a
     few releases/years:
     - LightwaveConverter.1: binary not present since very long
     - ogre-get-orig-source-1.6.4: script obsolete and unnecessary since with 
1.7
       -- it's been clarified that the documentations and the samples are DFSG
       compatible
Checksums-Sha1: 
 80833890e21c779eb368e686d0ecdfbd336e87a6 1701 ogre_1.7.3-6.dsc
 15a17f8aa21eb404e359517f8141ac673649fd48 20776 ogre_1.7.3-6.debian.tar.gz
 30e031583cda24547b277ce4e0b1dc9912ab1b4c 1248366 libogre-dev_1.7.3-6_amd64.deb
 4cc4447121edfc08deca87f544f61821263700ed 3576364 
libogre-1.7.3_1.7.3-6_amd64.deb
 418a9ac0f03c04b575eaf37dff57bb7252c6299b 50763202 
libogre-1.7.3-dbg_1.7.3-6_amd64.deb
 2395c48d4f2ff81f938fe71a82af02871187e314 16112142 ogre-doc_1.7.3-6_all.deb
 f165c61ac2e54a68c4c02ea499981d0bcf86c76c 232162 ogre-tools_1.7.3-6_amd64.deb
 b5b8bd924f25b617bcec7a4f67f273a28d3692b6 214178 blender-ogrexml_1.7.3-6_all.deb
Checksums-Sha256: 
 847ed434adf583b1df6e0920f7f13b2f5f6a4b4503020fe00f4519ce899b3c44 1701 
ogre_1.7.3-6.dsc
 8f02d8d977d2a6e507d8c3e7323b9d04640afbab88914f85042f03b8a426e677 20776 
ogre_1.7.3-6.debian.tar.gz
 d1c3fb93c8c4cadaf56818602f4c0d09e973ad0bad883ff4f75f241482d68141 1248366 
libogre-dev_1.7.3-6_amd64.deb
 f513790317d87434e8da92137624d863f9ca8e53b4707c82b232cad8a5d84e87 3576364 
libogre-1.7.3_1.7.3-6_amd64.deb
 0c0a3a71c1d255192fa843db70e5a909640dd0449186731ded1f6c457dc091ca 50763202 
libogre-1.7.3-dbg_1.7.3-6_amd64.deb
 eb82581721bfa99320f6d3b96409cd07d552801e73834cabb373e4812956e788 16112142 
ogre-doc_1.7.3-6_all.deb
 935e586151a0e64ef326bcbe6a9874f5953df9ded057ae7f7a69396bc637696a 232162 
ogre-tools_1.7.3-6_amd64.deb
 5ff4438adf5b5872ae5adcd84b6305423a11615c3c2b81c7e87030151fbad427 214178 
blender-ogrexml_1.7.3-6_all.deb
Files: 
 240b5751f1e64bc03d12611f2f5689d3 1701 libs optional ogre_1.7.3-6.dsc
 aef9514b865ade03eb1a18af10ed7cb0 20776 libs optional ogre_1.7.3-6.debian.tar.gz
 64b8a99a1be6473d64937b509f5f1af4 1248366 libdevel optional 
libogre-dev_1.7.3-6_amd64.deb
 7f64d8937be34bbf45e25a5aaceb534e 3576364 libs optional 
libogre-1.7.3_1.7.3-6_amd64.deb
 c7f0a5c81b16f64b9b8c6ee0f5744ab3 50763202 debug extra 
libogre-1.7.3-dbg_1.7.3-6_amd64.deb
 5326758f2de12e953ad9767400dac497 16112142 doc optional ogre-doc_1.7.3-6_all.deb
 12f938d92df5e40210f73074b571195a 232162 devel optional 
ogre-tools_1.7.3-6_amd64.deb
 62beecdb72e45a7056f31918c0811844 214178 graphics optional 
blender-ogrexml_1.7.3-6_all.deb

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

iEYEARECAAYFAk8txCMACgkQK4B7+/vnTpoxkwCg2/4qlsF0SfHX7d7zg8jV9iuN
sBoAoIJ5HcwKdpQsquqiT3H4QEN1R7R5
=1Ky5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to