ati显卡无法安装。

CPU/显卡/打印机/USB设备等硬件问题
回复
LeiXY
帖子: 6
注册时间: 2016-02-19 22:39
系统: Ubuntu 15.10

ati显卡无法安装。

#1

帖子 LeiXY » 2016-03-12 11:51

Ubuntu 15.10 使用 sh amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run --buildpkg Ubuntu/wily --buildpkg Ubuntu/wily 安装ATI Radeon HD 3450 显卡驱动。出现错误代码:

代码: 全选

Created directory fglrx-install.bdzWQs
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-8.97.100.7........................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
=====================================================================
Generating package: Ubuntu/wily
Package build failed!
Package build utility output:
./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.970-0ubuntu1
dpkg-buildpackage: source distribution wily
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
 dpkg-source --before-build fglrx.q2bigs
dpkg-buildpackage: host architecture amd64
 debian/rules build
#Create important strings
for i in 10fglrx \
		 dkms.conf \
		 fglrx.install \
		 fglrx-dev.install \
		 fglrx-dev.links \
		 fglrx-amdcccle.install \
		 fglrx.grub-gfxpayload \
		 fglrx.dirs \
		 fglrx.links \
		 fglrx.postinst \
		 fglrx.postrm \
		 fglrx.preinst \
		 fglrx.prerm \
		 overrides/fglrx; do \
	sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
		-e "s|#LIBDIR#|usr/lib|g" \
		-e "s|#LIBDIR32#|usr/lib32|g" \
		-e "s|#BINDIR#|usr/bin|g" \
		-e "s|#SYSCONFDIR#|etc|g" \
		-e "s|#MANDIR#|usr/share/man/man1|g" \
		-e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
		-e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
		-e "s|#ALTPRIORITY#|1000|g" \
		-e "s|#PXALTPRIORITY#|900|g" \
		-e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
		-e "s|#DATADIR#|usr/share|g" \
		-e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
		-e "s|#PKGDATADIR#|usr/share/fglrx|g" \
		-e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
		-e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
		-e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
		-e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
		-e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
		-e "s|#XORGEXTRA#|usr/lib/x86_64-linux-gnu/xorg/extra-modules|g" \
		-e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
		-e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
		-e "s|#DRIVERNAME#|fglrx|g" \
		-e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
		-e "s|#DRIVERSRCNAME#||g" \
		-e "s|#INCLUDEDIR#|usr/include|g" \
		-e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
		-e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
		-e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
		-e "s|#PXDIR#|usr/lib/pxpress|g" \
		-e "s|#PXDIR32#|usr/lib32/pxpress|g" \
		-e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
		-e "s|#PXDIRNAME#|pxpress|g" \
		-e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
		-e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
		-e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
		-e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
		-e "s|#CVERSION#|8.970|g" \
		-e "s|#SRCXARCH#|xpic_64a|g" \
		-e "s|#SRCARCH#|x86_64|g" \
		-e "s|#SRCLIBDIR#|lib64|g" \
		-e "s|#DEB_HOST_MULTIARCH#|x86_64-linux-gnu|g" \
		-e "s|#OTHER_ARCH#|i386-linux-gnu|g" \
		debian/$i.in > debian/$i;      \
done
# remove exec bit on everything
find arch \
	etc \
	lib \
	module \
	usr \
	xpic_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
	arch/x86_64/usr/X11R6/bin \
	usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
   dh_auto_test
 fakeroot debian/rules binary
# refresh copyright file
cat debian/copyright_stub_0 > debian/copyright
cat usr/share/doc/fglrx/LICENSE.TXT >> debian/copyright
cat debian/copyright_stub_1 >> debian/copyright
#Steps that we can't easily represent in debhelper files or .in files yet
# Remove any libraries that may be caught by shell expansion
find . -name libGLE* | xargs rm -f
find . -name libEGL* | xargs rm -f
dh_install -pfglrx    "arch/x86/usr/X11R6/lib/libAMD*.so*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/*.so*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/fglrx/*.so*"     "usr/lib32/fglrx"
dh_installdirs -pfglrx "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/modules/dri"     "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/lib/*.so*"                 "usr/lib32/fglrx"
for i in \
		debian/fglrx/usr/lib32/fglrx/dri/fglrx_dri.so \
		debian/fglrx/usr/lib32/fglrx/*libGL.so.* \
		; do execstack -q $i; execstack -c $i; done
- debian/fglrx/usr/lib32/fglrx/dri/fglrx_dri.so
- debian/fglrx/usr/lib32/fglrx/fglrx-libGL.so.1.2
#they don't provide the symlink for us (starting at 8.699)
dh_link -pfglrx usr/lib32/fglrx/libatiuki.so.1.0 usr/lib32/fglrx/libatiuki.so.1
dh_installdirs -pfglrx-dev
dh_installdocs -pfglrx usr/share/doc/fglrx/* --exclude LICENSE.TXT
dh_installdocs -pfglrx debian/AUTHORS
dh_installdocs -pfglrx debian/copyright
dh_installinit -pfglrx --name="atieventsd" --no-start --update-rcd-params="defaults 31"
#remove executable bits from stack
dh_install -pfglrx-amdcccle
execstack -c debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle
dh_install -pfglrx
for i in \
		debian/fglrx/usr/lib/fglrx/bin/clinfo \
		debian/fglrx/usr/lib/fglrx/bin/atiode \
		debian/fglrx/usr/lib/fglrx/bin/amdnotifyui \
		debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so \
		debian/fglrx/usr/lib/fglrx/*libGL.so.*.* \
		debian/fglrx/usr/lib/fglrx/*libOpenCL.so.* \
		; do execstack -q $i; execstack -c $i; done
- debian/fglrx/usr/lib/fglrx/bin/clinfo
- debian/fglrx/usr/lib/fglrx/bin/atiode
- debian/fglrx/usr/lib/fglrx/bin/amdnotifyui
- debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so
- debian/fglrx/usr/lib/fglrx/fglrx-libGL.so.1.2
- debian/fglrx/usr/lib/fglrx/libOpenCL.so.1
# Make some additional scripts executable
find debian/fglrx-amdcccle/usr/lib/fglrx/bin/ \
	-type f | xargs chmod a+x
# Rename libraries which are supposed to have fglrx-libGL as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libGL*'`; \
	do \
		file_name=`echo $lib | awk -F/ '{print $NF}'`; \
		path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
		# Remove fglrx prefix \
		new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
		full_path=`echo "$path$new_name"`; \
		mv -f $lib $full_path; \
done
# Rename libraries which are supposed to have fglrx-libglx as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libglx*'`; \
	do \
		file_name=`echo $lib | awk -F/ '{print $NF}'`; \
		path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
		new_path=`echo $path | sed -e 's/fglrx\/$//'`; \
		# Remove fglrx prefix \
		new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
		full_path=`echo "$new_path$new_name"`; \
		mv -f $lib $full_path; \
done
# Create links for PowerXpress X modules (except for extensions)
for i in \
	debian/fglrx/usr/lib/fglrx/xorg/modules/* \
	; do \
		orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
		if [ `echo $orig_name  | sed -e "s|usr/lib/fglrx/xorg/modules/||"` != "extensions" ]; then \
			link_name=$orig_name ; \
			link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx/xorg/modules|usr/lib/pxpress/xorg/modules|"`; \
			dh_link -pfglrx $orig_name $link_name ; \
		fi \
	done
# Create links for PowerXpress libs (except for libGL)
for i in \
	debian/fglrx/usr/lib/fglrx/* \
	; do \
		orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
		# Copy each file except for libGL* \
		if [ -f $i ]; then \
			if [ ! `echo $orig_name  | grep libGL` ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		else \
			# Here we only accept the dri directory \
			dir_name=`echo $orig_name | awk -F/ '{print $NF}'`; \
			if [ "$dir_name" = "dri" ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		fi \
	done
# Create links for PowerXpress 32bit libs (except for libGL)
for i in \
	debian/fglrx/usr/lib32/fglrx/* \
	; do \
		orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
		# Copy each file except for libGL* \
		if [ -f $i ]; then \
			if [ ! `echo $orig_name  | grep libGL` ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib32/fglrx|usr/lib32/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		else \
			# Here we only accept the dri directory \
			dir_name=`echo $orig_name | awk -F/ '{print $NF}'`; \
			if [ "$dir_name" = "dri" ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib32/fglrx|usr/lib32/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		fi \
	done
# Blacklist any other driver that udev may want to load instead of fglrx
# and create an alias for the module so that it can be used as fglrx
printf '# This file was installed by fglrx\n# Do not edit this file manually\n\nblacklist radeon\nalias fglrx fglrx\nalias radeon off\nalias lbm-radeon off' > /tmp/fglrx.q2bigs/debian/fglrx/lib/fglrx/modprobe.conf
#ld.so.conf
echo "/usr/lib/fglrx" >	"/tmp/fglrx.q2bigs/debian/fglrx/usr/lib/fglrx/ld.so.conf"
echo "/usr/lib32/fglrx" >>	"/tmp/fglrx.q2bigs/debian/fglrx/usr/lib/fglrx/ld.so.conf"
# ld.so.conf for PowerXpress
echo "/usr/lib/x86_64-linux-gnu/mesa" >		"/tmp/fglrx.q2bigs/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/lib/pxpress/lib" >>	"/tmp/fglrx.q2bigs/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/i386-linux-gnu/mesa" >>	"/tmp/fglrx.q2bigs/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/lib32/pxpress/lib" >>	"/tmp/fglrx.q2bigs/debian/fglrx/usr/lib/pxpress/ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative
echo "" > "/tmp/fglrx.q2bigs/debian/fglrx/usr/lib/fglrx/alt_ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative for PXpress
echo "" > "/tmp/fglrx.q2bigs/debian/fglrx/usr/lib/pxpress/alt_ld.so.conf"
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
	lib/modules/fglrx/build_mod/fglrxko_pci_ids.h fglrx fglrx > \
	debian/fglrx.modaliases
dh_modaliases
rm debian/fglrx.modaliases
#Run the normal stuff
dh binary-arch
   dh_auto_install -a -Nfglrx -Nfglrx-amdcccle
   dh_install -a -Nfglrx -Nfglrx-amdcccle
   dh_installdocs -a -Nfglrx
   dh_installchangelogs -a -Nfglrx
   dh_perl -a -Nfglrx
   dh_link -a -Nfglrx
   dh_compress -a
   dh_fixperms -a
   dh_strip -a
   dh_makeshlibs -a
objdump: debian/fglrx/usr/lib/fglrx/alt_ld.so.conf: File truncated
objdump: debian/fglrx/usr/lib/fglrx/ld.so.conf: File format not recognized
objdump: debian/fglrx/usr/lib/pxpress/alt_ld.so.conf: File truncated
objdump: debian/fglrx/usr/lib/pxpress/ld.so.conf: File format not recognized
   debian/rules override_dh_shlibdeps
make[1]: Entering directory '/tmp/fglrx.q2bigs'
dh_shlibdeps -l/tmp/fglrx.q2bigs/debian/fglrx/usr/lib/fglrx:/tmp/fglrx.q2bigs/debian/fglrx/usr/lib32/fglrx -Xlib32
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XRead used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: debian/fglrx/usr/lib/fglrx/bin/atieventsd contains an unresolvable reference to symbol XauFileName: it's probably a plugin
dpkg-shlibdeps: warning: symbol dlerror used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XTranslateCoordinates used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol sem_init used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol dlsym used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol sem_wait used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XEatData used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: 12 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol dlclose used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XSend used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XCreatePixmap used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XFreeFontInfo used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XGetErrorDatabaseText used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XCloseDisplay used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XSetForeground used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XMaxRequestSize used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XGetVisualInfo used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: 22 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXcursor.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/aticonfig debian/fglrx/usr/lib/fglrx/bin/atieventsd debian/fglrx/usr/lib/fglrx/bin/amdnotifyui were not linked against libXrender.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libfreetype.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libSM.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libICE.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libfontconfig.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXfixes.so.3 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXinerama.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXxf86vm.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXrender.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libSM.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXfixes.so.3 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libICE.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXcursor.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXxf86vm.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libfreetype.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libfontconfig.so.1 (it uses none of the library's symbols)
make[1]: Leaving directory '/tmp/fglrx.q2bigs'
   dh_installdeb -a
   dh_gencontrol -a
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'fglrx' in '../fglrx_8.970-0ubuntu1_amd64.deb'.
dpkg-deb: error: unable to create '../fglrx_8.970-0ubuntu1_amd64.deb': Permission denied
dh_builddeb: dpkg-deb --build debian/fglrx .. returned exit code 2
dpkg-deb: building package 'fglrx-dev' in '../fglrx-dev_8.970-0ubuntu1_amd64.deb'.
dpkg-deb: error: unable to create '../fglrx-dev_8.970-0ubuntu1_amd64.deb': Permission denied
dh_builddeb: dpkg-deb --build debian/fglrx-dev .. returned exit code 2
dpkg-deb: building package 'fglrx-amdcccle' in '../fglrx-amdcccle_8.970-0ubuntu1_amd64.deb'.
dpkg-deb: error: unable to create '../fglrx-amdcccle_8.970-0ubuntu1_amd64.deb': Permission denied
dh_builddeb: dpkg-deb --build debian/fglrx-amdcccle .. returned exit code 2
debian/rules:210: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.970-0ubuntu1
dpkg-buildpackage: source distribution wily
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
 dpkg-source --before-build fglrx.GeHsfB
dpkg-buildpackage: host architecture amd64
 debian/rules build
#Create important strings
for i in 10fglrx \
		 dkms.conf \
		 fglrx.install \
		 fglrx-dev.install \
		 fglrx-dev.links \
		 fglrx-amdcccle.install \
		 fglrx.grub-gfxpayload \
		 fglrx.dirs \
		 fglrx.links \
		 fglrx.postinst \
		 fglrx.postrm \
		 fglrx.preinst \
		 fglrx.prerm \
		 overrides/fglrx; do \
	sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
		-e "s|#LIBDIR#|usr/lib|g" \
		-e "s|#LIBDIR32#|usr/lib32|g" \
		-e "s|#BINDIR#|usr/bin|g" \
		-e "s|#SYSCONFDIR#|etc|g" \
		-e "s|#MANDIR#|usr/share/man/man1|g" \
		-e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
		-e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
		-e "s|#ALTPRIORITY#|1000|g" \
		-e "s|#PXALTPRIORITY#|900|g" \
		-e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
		-e "s|#DATADIR#|usr/share|g" \
		-e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
		-e "s|#PKGDATADIR#|usr/share/fglrx|g" \
		-e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
		-e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
		-e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
		-e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
		-e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
		-e "s|#XORGEXTRA#|usr/lib/x86_64-linux-gnu/xorg/extra-modules|g" \
		-e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
		-e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
		-e "s|#DRIVERNAME#|fglrx|g" \
		-e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
		-e "s|#DRIVERSRCNAME#||g" \
		-e "s|#INCLUDEDIR#|usr/include|g" \
		-e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
		-e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
		-e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
		-e "s|#PXDIR#|usr/lib/pxpress|g" \
		-e "s|#PXDIR32#|usr/lib32/pxpress|g" \
		-e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
		-e "s|#PXDIRNAME#|pxpress|g" \
		-e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
		-e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
		-e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
		-e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
		-e "s|#CVERSION#|8.970|g" \
		-e "s|#SRCXARCH#|xpic_64a|g" \
		-e "s|#SRCARCH#|x86_64|g" \
		-e "s|#SRCLIBDIR#|lib64|g" \
		-e "s|#DEB_HOST_MULTIARCH#|x86_64-linux-gnu|g" \
		-e "s|#OTHER_ARCH#|i386-linux-gnu|g" \
		debian/$i.in > debian/$i;      \
done
# remove exec bit on everything
find arch \
	etc \
	lib \
	module \
	usr \
	xpic_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
	arch/x86_64/usr/X11R6/bin \
	usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
   dh_auto_test
 fakeroot debian/rules binary
# refresh copyright file
cat debian/copyright_stub_0 > debian/copyright
cat usr/share/doc/fglrx/LICENSE.TXT >> debian/copyright
cat debian/copyright_stub_1 >> debian/copyright
#Steps that we can't easily represent in debhelper files or .in files yet
# Remove any libraries that may be caught by shell expansion
find . -name libGLE* | xargs rm -f
find . -name libEGL* | xargs rm -f
dh_install -pfglrx    "arch/x86/usr/X11R6/lib/libAMD*.so*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/*.so*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/fglrx/*.so*"     "usr/lib32/fglrx"
dh_installdirs -pfglrx "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/modules/dri"     "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/lib/*.so*"                 "usr/lib32/fglrx"
for i in \
		debian/fglrx/usr/lib32/fglrx/dri/fglrx_dri.so \
		debian/fglrx/usr/lib32/fglrx/*libGL.so.* \
		; do execstack -q $i; execstack -c $i; done
- debian/fglrx/usr/lib32/fglrx/dri/fglrx_dri.so
- debian/fglrx/usr/lib32/fglrx/fglrx-libGL.so.1.2
#they don't provide the symlink for us (starting at 8.699)
dh_link -pfglrx usr/lib32/fglrx/libatiuki.so.1.0 usr/lib32/fglrx/libatiuki.so.1
dh_installdirs -pfglrx-dev
dh_installdocs -pfglrx usr/share/doc/fglrx/* --exclude LICENSE.TXT
dh_installdocs -pfglrx debian/AUTHORS
dh_installdocs -pfglrx debian/copyright
dh_installinit -pfglrx --name="atieventsd" --no-start --update-rcd-params="defaults 31"
#remove executable bits from stack
dh_install -pfglrx-amdcccle
execstack -c debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle
dh_install -pfglrx
for i in \
		debian/fglrx/usr/lib/fglrx/bin/clinfo \
		debian/fglrx/usr/lib/fglrx/bin/atiode \
		debian/fglrx/usr/lib/fglrx/bin/amdnotifyui \
		debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so \
		debian/fglrx/usr/lib/fglrx/*libGL.so.*.* \
		debian/fglrx/usr/lib/fglrx/*libOpenCL.so.* \
		; do execstack -q $i; execstack -c $i; done
- debian/fglrx/usr/lib/fglrx/bin/clinfo
- debian/fglrx/usr/lib/fglrx/bin/atiode
- debian/fglrx/usr/lib/fglrx/bin/amdnotifyui
- debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so
- debian/fglrx/usr/lib/fglrx/fglrx-libGL.so.1.2
- debian/fglrx/usr/lib/fglrx/libOpenCL.so.1
# Make some additional scripts executable
find debian/fglrx-amdcccle/usr/lib/fglrx/bin/ \
	-type f | xargs chmod a+x
# Rename libraries which are supposed to have fglrx-libGL as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libGL*'`; \
	do \
		file_name=`echo $lib | awk -F/ '{print $NF}'`; \
		path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
		# Remove fglrx prefix \
		new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
		full_path=`echo "$path$new_name"`; \
		mv -f $lib $full_path; \
done
# Rename libraries which are supposed to have fglrx-libglx as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libglx*'`; \
	do \
		file_name=`echo $lib | awk -F/ '{print $NF}'`; \
		path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
		new_path=`echo $path | sed -e 's/fglrx\/$//'`; \
		# Remove fglrx prefix \
		new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
		full_path=`echo "$new_path$new_name"`; \
		mv -f $lib $full_path; \
done
# Create links for PowerXpress X modules (except for extensions)
for i in \
	debian/fglrx/usr/lib/fglrx/xorg/modules/* \
	; do \
		orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
		if [ `echo $orig_name  | sed -e "s|usr/lib/fglrx/xorg/modules/||"` != "extensions" ]; then \
			link_name=$orig_name ; \
			link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx/xorg/modules|usr/lib/pxpress/xorg/modules|"`; \
			dh_link -pfglrx $orig_name $link_name ; \
		fi \
	done
# Create links for PowerXpress libs (except for libGL)
for i in \
	debian/fglrx/usr/lib/fglrx/* \
	; do \
		orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
		# Copy each file except for libGL* \
		if [ -f $i ]; then \
			if [ ! `echo $orig_name  | grep libGL` ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		else \
			# Here we only accept the dri directory \
			dir_name=`echo $orig_name | awk -F/ '{print $NF}'`; \
			if [ "$dir_name" = "dri" ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		fi \
	done
# Create links for PowerXpress 32bit libs (except for libGL)
for i in \
	debian/fglrx/usr/lib32/fglrx/* \
	; do \
		orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
		# Copy each file except for libGL* \
		if [ -f $i ]; then \
			if [ ! `echo $orig_name  | grep libGL` ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib32/fglrx|usr/lib32/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		else \
			# Here we only accept the dri directory \
			dir_name=`echo $orig_name | awk -F/ '{print $NF}'`; \
			if [ "$dir_name" = "dri" ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib32/fglrx|usr/lib32/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		fi \
	done
# Blacklist any other driver that udev may want to load instead of fglrx
# and create an alias for the module so that it can be used as fglrx
printf '# This file was installed by fglrx\n# Do not edit this file manually\n\nblacklist radeon\nalias fglrx fglrx\nalias radeon off\nalias lbm-radeon off' > /tmp/fglrx.GeHsfB/debian/fglrx/lib/fglrx/modprobe.conf
#ld.so.conf
echo "/usr/lib/fglrx" >	"/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib/fglrx/ld.so.conf"
echo "/usr/lib32/fglrx" >>	"/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib/fglrx/ld.so.conf"
# ld.so.conf for PowerXpress
echo "/usr/lib/x86_64-linux-gnu/mesa" >		"/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/lib/pxpress/lib" >>	"/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/i386-linux-gnu/mesa" >>	"/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/lib32/pxpress/lib" >>	"/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib/pxpress/ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative
echo "" > "/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib/fglrx/alt_ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative for PXpress
echo "" > "/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib/pxpress/alt_ld.so.conf"
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
	lib/modules/fglrx/build_mod/fglrxko_pci_ids.h fglrx fglrx > \
	debian/fglrx.modaliases
dh_modaliases
rm debian/fglrx.modaliases
#Run the normal stuff
dh binary-arch
   dh_auto_install -a -Nfglrx -Nfglrx-amdcccle
   dh_install -a -Nfglrx -Nfglrx-amdcccle
   dh_installdocs -a -Nfglrx
   dh_installchangelogs -a -Nfglrx
   dh_perl -a -Nfglrx
   dh_link -a -Nfglrx
   dh_compress -a
   dh_fixperms -a
   dh_strip -a
   dh_makeshlibs -a
objdump: debian/fglrx/usr/lib/fglrx/alt_ld.so.conf: File truncated
objdump: debian/fglrx/usr/lib/fglrx/ld.so.conf: File format not recognized
objdump: debian/fglrx/usr/lib/pxpress/alt_ld.so.conf: File truncated
objdump: debian/fglrx/usr/lib/pxpress/ld.so.conf: File format not recognized
   debian/rules override_dh_shlibdeps
make[1]: Entering directory '/tmp/fglrx.GeHsfB'
dh_shlibdeps -l/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib/fglrx:/tmp/fglrx.GeHsfB/debian/fglrx/usr/lib32/fglrx -Xlib32
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XRead used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XCreatePixmap used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XRead used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XGetImage used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XDefaultScreen used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XFillRectangle used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XSync used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XQueryExtension used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XAddToExtensionList used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XSetForeground used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol dlclose used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: 22 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol XInitExtension used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XDisplayString used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol dlsym used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XTranslateCoordinates used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XCloseDisplay used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XEatData used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XRead used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XGetGeometry used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol dlerror used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: 12 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: debian/fglrx/usr/lib/fglrx/bin/atieventsd contains an unresolvable reference to symbol XauFileName: it's probably a plugin
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXcursor.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libICE.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libfontconfig.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libSM.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXxf86vm.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libfreetype.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXinerama.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/atieventsd debian/fglrx/usr/lib/fglrx/bin/aticonfig debian/fglrx/usr/lib/fglrx/bin/amdnotifyui were not linked against libXrender.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXfixes.so.3 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXfixes.so.3 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXxf86vm.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libfontconfig.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXrender.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libICE.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libSM.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libfreetype.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXcursor.so.1 (it uses none of the library's symbols)
make[1]: Leaving directory '/tmp/fglrx.GeHsfB'
   dh_installdeb -a
   dh_gencontrol -a
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'fglrx' in '../fglrx_8.970-0ubuntu1_amd64.deb'.
dpkg-deb: error: unable to create '../fglrx_8.970-0ubuntu1_amd64.deb': Permission denied
dh_builddeb: dpkg-deb --build debian/fglrx .. returned exit code 2
dpkg-deb: building package 'fglrx-dev' in '../fglrx-dev_8.970-0ubuntu1_amd64.deb'.
dpkg-deb: error: unable to create '../fglrx-dev_8.970-0ubuntu1_amd64.deb': Permission denied
dh_builddeb: dpkg-deb --build debian/fglrx-dev .. returned exit code 2
dpkg-deb: building package 'fglrx-amdcccle' in '../fglrx-amdcccle_8.970-0ubuntu1_amd64.deb'.
dpkg-deb: error: unable to create '../fglrx-amdcccle_8.970-0ubuntu1_amd64.deb': Permission denied
dh_builddeb: dpkg-deb --build debian/fglrx-amdcccle .. returned exit code 2
debian/rules:210: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.970-0ubuntu1
dpkg-buildpackage: source distribution wily
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
 dpkg-source --before-build fglrx.3W7AXD
dpkg-buildpackage: host architecture amd64
 debian/rules build
#Create important strings
for i in 10fglrx \
		 dkms.conf \
		 fglrx.install \
		 fglrx-dev.install \
		 fglrx-dev.links \
		 fglrx-amdcccle.install \
		 fglrx.grub-gfxpayload \
		 fglrx.dirs \
		 fglrx.links \
		 fglrx.postinst \
		 fglrx.postrm \
		 fglrx.preinst \
		 fglrx.prerm \
		 overrides/fglrx; do \
	sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
		-e "s|#LIBDIR#|usr/lib|g" \
		-e "s|#LIBDIR32#|usr/lib32|g" \
		-e "s|#BINDIR#|usr/bin|g" \
		-e "s|#SYSCONFDIR#|etc|g" \
		-e "s|#MANDIR#|usr/share/man/man1|g" \
		-e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
		-e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
		-e "s|#ALTPRIORITY#|1000|g" \
		-e "s|#PXALTPRIORITY#|900|g" \
		-e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
		-e "s|#DATADIR#|usr/share|g" \
		-e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
		-e "s|#PKGDATADIR#|usr/share/fglrx|g" \
		-e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
		-e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
		-e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
		-e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
		-e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
		-e "s|#XORGEXTRA#|usr/lib/x86_64-linux-gnu/xorg/extra-modules|g" \
		-e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
		-e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
		-e "s|#DRIVERNAME#|fglrx|g" \
		-e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
		-e "s|#DRIVERSRCNAME#||g" \
		-e "s|#INCLUDEDIR#|usr/include|g" \
		-e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
		-e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
		-e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
		-e "s|#PXDIR#|usr/lib/pxpress|g" \
		-e "s|#PXDIR32#|usr/lib32/pxpress|g" \
		-e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
		-e "s|#PXDIRNAME#|pxpress|g" \
		-e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
		-e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
		-e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
		-e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
		-e "s|#CVERSION#|8.970|g" \
		-e "s|#SRCXARCH#|xpic_64a|g" \
		-e "s|#SRCARCH#|x86_64|g" \
		-e "s|#SRCLIBDIR#|lib64|g" \
		-e "s|#DEB_HOST_MULTIARCH#|x86_64-linux-gnu|g" \
		-e "s|#OTHER_ARCH#|i386-linux-gnu|g" \
		debian/$i.in > debian/$i;      \
done
# remove exec bit on everything
find arch \
	etc \
	lib \
	module \
	usr \
	xpic_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
	arch/x86_64/usr/X11R6/bin \
	usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# set the permissions on the pxpress scripts
chmod 744 debian/pxpress/switch*
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
   dh_auto_test
 fakeroot debian/rules binary
# refresh copyright file
cat debian/copyright_stub_0 > debian/copyright
cat usr/share/doc/fglrx/LICENSE.TXT >> debian/copyright
cat debian/copyright_stub_1 >> debian/copyright
#Steps that we can't easily represent in debhelper files or .in files yet
# Remove any libraries that may be caught by shell expansion
find . -name libGLE* | xargs rm -f
find . -name libEGL* | xargs rm -f
dh_install -pfglrx    "arch/x86/usr/X11R6/lib/libAMD*.so*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/*.so*"           "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/fglrx/*.so*"     "usr/lib32/fglrx"
dh_installdirs -pfglrx "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/X11R6/lib/modules/dri"     "usr/lib32/fglrx"
dh_install -pfglrx "arch/x86/usr/lib/*.so*"                 "usr/lib32/fglrx"
for i in \
		debian/fglrx/usr/lib32/fglrx/dri/fglrx_dri.so \
		debian/fglrx/usr/lib32/fglrx/*libGL.so.* \
		; do execstack -q $i; execstack -c $i; done
- debian/fglrx/usr/lib32/fglrx/dri/fglrx_dri.so
- debian/fglrx/usr/lib32/fglrx/fglrx-libGL.so.1.2
#they don't provide the symlink for us (starting at 8.699)
dh_link -pfglrx usr/lib32/fglrx/libatiuki.so.1.0 usr/lib32/fglrx/libatiuki.so.1
dh_installdirs -pfglrx-dev
dh_installdocs -pfglrx usr/share/doc/fglrx/* --exclude LICENSE.TXT
dh_installdocs -pfglrx debian/AUTHORS
dh_installdocs -pfglrx debian/copyright
dh_installinit -pfglrx --name="atieventsd" --no-start --update-rcd-params="defaults 31"
#remove executable bits from stack
dh_install -pfglrx-amdcccle
execstack -c debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle
dh_install -pfglrx
for i in \
		debian/fglrx/usr/lib/fglrx/bin/clinfo \
		debian/fglrx/usr/lib/fglrx/bin/atiode \
		debian/fglrx/usr/lib/fglrx/bin/amdnotifyui \
		debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so \
		debian/fglrx/usr/lib/fglrx/*libGL.so.*.* \
		debian/fglrx/usr/lib/fglrx/*libOpenCL.so.* \
		; do execstack -q $i; execstack -c $i; done
- debian/fglrx/usr/lib/fglrx/bin/clinfo
- debian/fglrx/usr/lib/fglrx/bin/atiode
- debian/fglrx/usr/lib/fglrx/bin/amdnotifyui
- debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so
- debian/fglrx/usr/lib/fglrx/fglrx-libGL.so.1.2
- debian/fglrx/usr/lib/fglrx/libOpenCL.so.1
# Make some additional scripts executable
find debian/fglrx-amdcccle/usr/lib/fglrx/bin/ \
	-type f | xargs chmod a+x
# Rename libraries which are supposed to have fglrx-libGL as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libGL*'`; \
	do \
		file_name=`echo $lib | awk -F/ '{print $NF}'`; \
		path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
		# Remove fglrx prefix \
		new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
		full_path=`echo "$path$new_name"`; \
		mv -f $lib $full_path; \
done
# Rename libraries which are supposed to have fglrx-libglx as a prefix
for lib in `find debian/fglrx/ -name 'fglrx-libglx*'`; \
	do \
		file_name=`echo $lib | awk -F/ '{print $NF}'`; \
		path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
		new_path=`echo $path | sed -e 's/fglrx\/$//'`; \
		# Remove fglrx prefix \
		new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
		full_path=`echo "$new_path$new_name"`; \
		mv -f $lib $full_path; \
done
# Create links for PowerXpress X modules (except for extensions)
for i in \
	debian/fglrx/usr/lib/fglrx/xorg/modules/* \
	; do \
		orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
		if [ `echo $orig_name  | sed -e "s|usr/lib/fglrx/xorg/modules/||"` != "extensions" ]; then \
			link_name=$orig_name ; \
			link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx/xorg/modules|usr/lib/pxpress/xorg/modules|"`; \
			dh_link -pfglrx $orig_name $link_name ; \
		fi \
	done
# Create links for PowerXpress libs (except for libGL)
for i in \
	debian/fglrx/usr/lib/fglrx/* \
	; do \
		orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
		# Copy each file except for libGL* \
		if [ -f $i ]; then \
			if [ ! `echo $orig_name  | grep libGL` ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		else \
			# Here we only accept the dri directory \
			dir_name=`echo $orig_name | awk -F/ '{print $NF}'`; \
			if [ "$dir_name" = "dri" ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		fi \
	done
# Create links for PowerXpress 32bit libs (except for libGL)
for i in \
	debian/fglrx/usr/lib32/fglrx/* \
	; do \
		orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
		# Copy each file except for libGL* \
		if [ -f $i ]; then \
			if [ ! `echo $orig_name  | grep libGL` ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib32/fglrx|usr/lib32/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		else \
			# Here we only accept the dri directory \
			dir_name=`echo $orig_name | awk -F/ '{print $NF}'`; \
			if [ "$dir_name" = "dri" ]; then \
				link_name=$orig_name ; \
				link_name=`echo $orig_name  | sed -e "s|usr/lib32/fglrx|usr/lib32/pxpress/lib|"`; \
				dh_link -pfglrx $orig_name $link_name ; \
			fi \
		fi \
	done
# Blacklist any other driver that udev may want to load instead of fglrx
# and create an alias for the module so that it can be used as fglrx
printf '# This file was installed by fglrx\n# Do not edit this file manually\n\nblacklist radeon\nalias fglrx fglrx\nalias radeon off\nalias lbm-radeon off' > /tmp/fglrx.3W7AXD/debian/fglrx/lib/fglrx/modprobe.conf
#ld.so.conf
echo "/usr/lib/fglrx" >	"/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib/fglrx/ld.so.conf"
echo "/usr/lib32/fglrx" >>	"/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib/fglrx/ld.so.conf"
# ld.so.conf for PowerXpress
echo "/usr/lib/x86_64-linux-gnu/mesa" >		"/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/lib/pxpress/lib" >>	"/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/i386-linux-gnu/mesa" >>	"/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib/pxpress/ld.so.conf"
echo "/usr/lib32/pxpress/lib" >>	"/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib/pxpress/ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative
echo "" > "/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib/fglrx/alt_ld.so.conf"
# empty ld.so.conf for the fake multi-arch alternative for PXpress
echo "" > "/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib/pxpress/alt_ld.so.conf"
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
	lib/modules/fglrx/build_mod/fglrxko_pci_ids.h fglrx fglrx > \
	debian/fglrx.modaliases
dh_modaliases
rm debian/fglrx.modaliases
#Run the normal stuff
dh binary-arch
   dh_auto_install -a -Nfglrx -Nfglrx-amdcccle
   dh_install -a -Nfglrx -Nfglrx-amdcccle
   dh_installdocs -a -Nfglrx
   dh_installchangelogs -a -Nfglrx
   dh_perl -a -Nfglrx
   dh_link -a -Nfglrx
   dh_compress -a
   dh_fixperms -a
   dh_strip -a
   dh_makeshlibs -a
objdump: debian/fglrx/usr/lib/fglrx/alt_ld.so.conf: File truncated
objdump: debian/fglrx/usr/lib/fglrx/ld.so.conf: File format not recognized
objdump: debian/fglrx/usr/lib/pxpress/alt_ld.so.conf: File truncated
objdump: debian/fglrx/usr/lib/pxpress/ld.so.conf: File format not recognized
   debian/rules override_dh_shlibdeps
make[1]: Entering directory '/tmp/fglrx.3W7AXD'
dh_shlibdeps -l/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib/fglrx:/tmp/fglrx.3W7AXD/debian/fglrx/usr/lib32/fglrx -Xlib32
dpkg-shlibdeps: warning: symbol XGetGeometry used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol sem_init used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XInitExtension used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol dlerror used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol dlsym used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol sem_close used by debian/fglrx/usr/lib/fglrx/libAMDXvBA.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: 12 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol XCreateGC used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XOpenDisplay used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XFreeGC used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XGetVisualInfo used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XEHeadOfExtensionList used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XCreatePixmap used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XDrawString16 used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XDefaultScreen used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: symbol XGetImage used by debian/fglrx/usr/lib/fglrx/libGL.so.1.2 found in none of the libraries
dpkg-shlibdeps: warning: 22 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _XRead used by debian/fglrx/usr/lib/fglrx/libfglrx_dm.so.1.0 found in none of the libraries
dpkg-shlibdeps: warning: debian/fglrx/usr/lib/fglrx/bin/atieventsd contains an unresolvable reference to symbol XauFileName: it's probably a plugin
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXfixes.so.3 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXxf86vm.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libICE.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libfontconfig.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libSM.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libfreetype.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXcursor.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/amdnotifyui was not linked against libXinerama.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx/usr/lib/fglrx/bin/aticonfig debian/fglrx/usr/lib/fglrx/bin/amdnotifyui debian/fglrx/usr/lib/fglrx/bin/atieventsd were not linked against libXrender.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXfixes.so.3 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libfreetype.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libfontconfig.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libSM.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXcursor.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXrender.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libXxf86vm.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle was not linked against libICE.so.6 (it uses none of the library's symbols)
make[1]: Leaving directory '/tmp/fglrx.3W7AXD'
   dh_installdeb -a
   dh_gencontrol -a
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'fglrx' in '../fglrx_8.970-0ubuntu1_amd64.deb'.
dpkg-deb: error: unable to create '../fglrx_8.970-0ubuntu1_amd64.deb': Permission denied
dh_builddeb: dpkg-deb --build debian/fglrx .. returned exit code 2
dpkg-deb: building package 'fglrx-dev' in '../fglrx-dev_8.970-0ubuntu1_amd64.deb'.
dpkg-deb: error: unable to create '../fglrx-dev_8.970-0ubuntu1_amd64.deb': Permission denied
dh_builddeb: dpkg-deb --build debian/fglrx-dev .. returned exit code 2
dpkg-deb: building package 'fglrx-amdcccle' in '../fglrx-amdcccle_8.970-0ubuntu1_amd64.deb'.
dpkg-deb: error: unable to create '../fglrx-amdcccle_8.970-0ubuntu1_amd64.deb': Permission denied
dh_builddeb: dpkg-deb --build debian/fglrx-amdcccle .. returned exit code 2
debian/rules:210: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.bdzWQs
该怎么解决?
上次由 LeiXY 在 2016-03-12 12:15,总共编辑 1 次。
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: ati显卡无法安装。

#2

帖子 vickycq » 2016-03-12 12:04

最新的 fglrx 不支持 HD 5000 及以下的显卡
而老显卡专用的 legacy 分支又不支持较新的内核和 Xorg
综上所述 基本上来看没有太好的办法
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ati显卡无法安装。

#3

帖子 poloshiao » 2016-03-12 12:22

Ubuntu 15.10
ATI Radeon HD 3450
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.970-0ubuntu1
dpkg-buildpackage: source distribution wily
1. ATI Radeon HD 3450 閉源驅動 已經不支援 Ubuntu 12.04 及 以後的版本
http://support.amd.com/en-us/download/d ... x%20x86_64
AMD Catalyst 13.1 Proprietary Linux x86 Display Driver
Description:
Automated installer and Display Drivers for Xorg 6.9 to Xserver 1.12 and Kernel version up to 3.4
注意 上面這一行的適用版本限制 Ubuntu 12.04 及 以後的版本 均已超過

2. 建議 使用 安裝 Ubuntu 時就預裝的開源驅動 Radeon 就好
https://help.ubuntu.com/community/Radeo ... _supported
Fully supported
All these ATI/AMD cards have good 3D acceleration support.
Ubuntu 15.10 and 15.04: look at the 15.10 column.
RV620/RV635 Radeon HD 3410/3430/3450/3470/3650/3670 V V V <-- 15.10
2-1. 進一步 看看 開源驅動 Radeon 還支援哪些功能
http://wiki.x.org/wiki/RadeonFeature/
LeiXY
帖子: 6
注册时间: 2016-02-19 22:39
系统: Ubuntu 15.10

Re: ati显卡无法安装。

#4

帖子 LeiXY » 2016-03-12 12:44

谢谢!
回复