[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#478559: marked as done (mesa: FTBFS (ppc64): cp: cannot stat `debian/tmp/usr/lib/libGL.so': No such file or directory)



Your message dated Wed, 9 Feb 2011 13:54:41 +0100
with message-id <20110209125441.GA1596@debian.org>
and subject line Re: Bug#478559: mesa: FTBFS (ppc64): cp: cannot stat `debian/tmp/usr/lib/libGL.so': No such file or directory
has caused the Debian Bug report #478559,
regarding mesa: FTBFS (ppc64): cp: cannot stat `debian/tmp/usr/lib/libGL.so': No such file or directory
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 owner@bugs.debian.org
immediately.)


-- 
478559: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478559
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mesa
Version: 7.0.3-1
Severity: wishlist
Tags: patch

Hello,

when building 'mesa' on ppc64/unstable, I get the following error:

dh_installdocs -i
dh_installexamples -i
dh_install --sourcedir=debian/tmp --list-missing -i
cp: cannot stat `debian/tmp/usr/lib/libGL.so': No such file or directory
dh_install: command returned error code 256
make: *** [binary-indep] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2

This error occurs because the file libGL.so is created in usr/lib64
instead of the correct usr/lib directory.

With the attached patch 'mesa' can be built on ppc64.

The patch does the following:

* Remove 'LIB_DIR = lib64' from config/debian-swx11+glu-ppc64 and
  config/debian-swx11-glu-static-ppc64. The Debian ppc64 port uses 
  basically the same directory structure as the Debian amd64 port
  which also does _not_ use 'LIB_DIR = lib64'.

* Add 'ppc64' to the Architecture lines of the libgl1-mesa-dri
  and libgl1-mesa-dri-dbg packages.

Regards
Andreas Jochens

diff -urN ../tmp-orig/mesa-7.0.3/configs/debian-swx11+glu-ppc64 ./configs/debian-swx11+glu-ppc64
--- ../tmp-orig/mesa-7.0.3/configs/debian-swx11+glu-ppc64	2008-04-28 13:57:42.000000000 +0000
+++ ./configs/debian-swx11+glu-ppc64	2008-04-28 13:23:44.000000000 +0000
@@ -5,7 +5,6 @@
 
 CONFIG_NAME = debian-swx11+glu-ppc64
 
-LIB_DIR = lib64
 
 # vim: ft=make
 
diff -urN ../tmp-orig/mesa-7.0.3/configs/debian-swx11+glu-static-ppc64 ./configs/debian-swx11+glu-static-ppc64
--- ../tmp-orig/mesa-7.0.3/configs/debian-swx11+glu-static-ppc64	2008-04-28 13:57:42.000000000 +0000
+++ ./configs/debian-swx11+glu-static-ppc64	2008-04-28 13:24:00.000000000 +0000
@@ -5,7 +5,6 @@
 
 CONFIG_NAME = debian-swx11+glu-static-ppc64
 
-LIB_DIR = lib64
 
 # vim: ft=make
 
diff -urN ../tmp-orig/mesa-7.0.3/debian/control ./debian/control
--- ../tmp-orig/mesa-7.0.3/debian/control	2008-04-28 13:57:42.000000000 +0000
+++ ./debian/control	2008-04-28 05:45:12.000000000 +0000
@@ -158,7 +158,7 @@
 Package: libgl1-mesa-dri
 Section: libs
 Priority: optional
-Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
+Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc ppc64 s390 sparc
 Depends: ${shlibs:Depends}, libgl1-mesa-glx (= ${binary:Version})
 Suggests: libglide3
 Conflicts: xlibmesa-dri (<< 1:7.0.0)
@@ -179,7 +179,7 @@
 Package: libgl1-mesa-dri-dbg
 Section: libdevel
 Priority: extra
-Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
+Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc ppc64 s390 sparc
 Depends: libgl1-mesa-dri (= ${binary:Version})
 Description: Debugging symbols for the Mesa DRI modules
  This version of Mesa provides GLX and DRI capabilities: it is capable of



--- End Message ---
--- Begin Message ---
Hi Andreas,

Andreas Jochens <aj@andaco.de> (29/04/2008):
> Package: mesa
> Version: 7.0.3-1
> Severity: wishlist
> Tags: patch
> 
> Hello,
> 
> when building 'mesa' on ppc64/unstable, I get the following error
> […]

sorry it wasn't taken into account earlier. Unfortunately, the build
system changed quite a lot since then. I'd rather have a new report
with a new patch posted if somebody's still interested in building
mesa on powerpc64, against the package available in sid/experimental.

KiBi.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: