leNOTE If your system has logged the missing packages required for ins

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
leNOTE: If your system has logged the missing packages required for installation, install them in the order as per the log file to resolve package-dependency issues.
Package dh-modaliases is missing from the system. Install it using the command apt-get install dh-modaliases.
Package execstack is missing from the system. Install it using the command apt-get install execstack.
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:14.200-0ubuntu1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.EyoGXy
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#|14.200|g" \
-e "s|#SRCXARCH#|xpic_64a|g" \
-e "s|#SRCARCH#|x86_64|g" \
-e "s|#SRCOTHERARCH#|x86|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
dh build
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
# Generate the xserver ABI dependencies
cat debian/substvars >> debian/fglrx.substvars
#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/*.*" "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"
# Install the QT libraries
dh_install -pfglrx "arch/x86_64/usr/share/ati/lib64" "usr/share/ati"
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
/bin/sh: 4: execstack: not found
/bin/sh: 4: execstack: not found
/bin/sh: 4: execstack: not found
/bin/sh: 4: execstack: not found
make: *** [binary-arch] Error 127
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
[Error] Generate Package - error generating package : Ubuntu/trusty