This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

fglrx-log

By: a guest on Mar 2nd, 2013  |  syntax: None  |  size: 8.77 KB  |  views: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Package build failed!
  2. Package build utility output:
  3. ./packages/Ubuntu/ati-packager.sh: 294: ./packages/Ubuntu/ati-packager.sh: debclean: not found
  4. dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
  5. dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
  6. dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
  7. dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
  8. dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
  9. dpkg-buildpackage: source package fglrx-installer
  10. dpkg-buildpackage: source version 2:8.970-0ubuntu1
  11. dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
  12.  dpkg-source --before-build fglrx.dFOuwh
  13. dpkg-buildpackage: host architecture i386
  14.  debian/rules build
  15. #Create important strings
  16. for i in 10fglrx \
  17.                          dkms.conf \
  18.                          fglrx.install \
  19.                          fglrx-dev.install \
  20.                          fglrx-dev.links \
  21.                          fglrx-amdcccle.install \
  22.                          fglrx.grub-gfxpayload \
  23.                          fglrx.dirs \
  24.                          fglrx.links \
  25.                          fglrx.postinst \
  26.                          fglrx.postrm \
  27.                          fglrx.preinst \
  28.                          fglrx.prerm \
  29.                          overrides/fglrx; do \
  30.                 sed -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
  31.                         -e "s|#LIBDIR#|usr/lib|g" \
  32.                         -e "s|#LIBDIR32#|usr/lib32|g" \
  33.                         -e "s|#BINDIR#|usr/bin|g" \
  34.                         -e "s|#SYSCONFDIR#|etc|g" \
  35.                         -e "s|#MANDIR#|usr/share/man/man1|g" \
  36.                         -e "s|#LDSOCONF#|usr/lib/fglrx/ld.so.conf|g" \
  37.                         -e "s|#ALTLDSOCONF#|usr/lib/fglrx/alt_ld.so.conf|g" \
  38.                         -e "s|#ALTPRIORITY#|1000|g" \
  39.                         -e "s|#PXALTPRIORITY#|900|g" \
  40.                         -e "s|#AUTOSTARTDIR#|etc/xdg/autostart|g" \
  41.                         -e "s|#DATADIR#|usr/share|g" \
  42.                         -e "s|#PKGDESKDIR#|usr/share/fglrx|g" \
  43.                         -e "s|#PKGDATADIR#|usr/share/fglrx|g" \
  44.                         -e "s|#PKGCONFIGDIR#|usr/lib/fglrx|g" \
  45.                         -e "s|#PKGBINDIR#|usr/lib/fglrx/bin|g" \
  46.                         -e "s|#PKGLIBDIR#|usr/lib/fglrx|g" \
  47.                         -e "s|#PKGLIBDIR32#|usr/lib32/fglrx|g" \
  48.                         -e "s|#PKGDRIVERSDIR#|usr/lib/fglrx/xorg|g" \
  49.                         -e "s|#XORGEXTRA#|usr/lib/i386-linux-gnu/xorg/extra-modules|g" \
  50.                         -e "s|#PKGEXTENSIONDIR#|usr/lib/fglrx/xorg|g" \
  51.                         -e "s|#XORGEXTENSIONSDIR#|usr/lib/xorg/modules/extensions|g" \
  52.                         -e "s|#DRIVERNAME#|fglrx|g" \
  53.                         -e "s|#DRIVERDEVNAME#|fglrx-dev|g" \
  54.                         -e "s|#DRIVERSRCNAME#||g" \
  55.                         -e "s|#INCLUDEDIR#|usr/include|g" \
  56.                         -e "s|#PKGLIBCONFDIR#|lib/fglrx|g" \
  57.                         -e "s|#GRUBBLKLISTDIR#|usr/share/grub-gfxpayload-lists/blacklist|g" \
  58.                         -e "s|#PKGXMODDIR#|usr/lib/fglrx/xorg/modules|g" \
  59.                         -e "s|#PXDIR#|usr/lib/pxpress|g" \
  60.                         -e "s|#PXDIR32#|usr/lib32/pxpress|g" \
  61.                         -e "s|#PXXMODDIR#|usr/lib/pxpress/xorg/modules|g" \
  62.                         -e "s|#PXDIRNAME#|pxpress|g" \
  63.                         -e "s|#PXLIBDIR#|usr/lib/pxpress/lib|g" \
  64.                         -e "s|#PXLIBDIR32#|usr/lib32/pxpress/lib|g" \
  65.                         -e "s|#PXLDSOCONF#|usr/lib/pxpress/ld.so.conf|g" \
  66.                         -e "s|#ALTPXLDSOCONF#|usr/lib/pxpress/alt_ld.so.conf|g" \
  67.                         -e "s|#CVERSION#|8.970|g" \
  68.                         -e "s|#SRCXARCH#|xpic|g" \
  69.                         -e "s|#SRCARCH#|x86|g" \
  70.                         -e "s|#SRCLIBDIR#|lib|g" \
  71.                         -e "s|#DEB_HOST_MULTIARCH#|i386-linux-gnu|g" \
  72.                         -e "s|#OTHER_ARCH#|x86_64-linux-gnu|g" \
  73.                         debian/$i.in > debian/$i;      \
  74.         done
  75. # remove exec bit on everything
  76. find arch \
  77.                 etc \
  78.                 lib \
  79.                 module \
  80.                 usr \
  81.                 xpic     -type f | xargs chmod -x
  82. find: `module': No such file or directory
  83. # set executable on user apps
  84. find arch/x86/usr/sbin \
  85.                 arch/x86/usr/X11R6/bin \
  86.                 usr/sbin/ -type f | xargs chmod a+x
  87. # set exec bit on scripts
  88. find lib etc debian -name "*.sh" -type f | xargs chmod +x
  89. # set the permissions on the pxpress scripts
  90. chmod 744 debian/pxpress/switch*
  91. dh build
  92.    dh_testdir
  93.    dh_auto_configure
  94.    dh_auto_build
  95.    dh_auto_test
  96.  debian/rules binary
  97. # refresh copyright file
  98. cat debian/copyright_stub_0 > debian/copyright
  99. cat usr/share/doc/fglrx/LICENSE.TXT >> debian/copyright
  100. cat debian/copyright_stub_1 >> debian/copyright
  101. #Steps that we can't easily represent in debhelper files or .in files yet
  102. # Remove any libraries that may be caught by shell expansion
  103. find . -name libGLE* | xargs rm -f
  104. find . -name libEGL* | xargs rm -f
  105. dh_installdirs -pfglrx
  106. dh_installdirs -pfglrx-dev
  107. dh_installdocs -pfglrx usr/share/doc/fglrx/* --exclude LICENSE.TXT
  108. dh_installdocs -pfglrx debian/AUTHORS
  109. dh_installdocs -pfglrx debian/copyright
  110. dh_installinit -pfglrx --name="atieventsd" --no-start --update-rcd-params="defaults 31"
  111. #remove executable bits from stack
  112. dh_install -pfglrx-amdcccle
  113. execstack -c debian/fglrx-amdcccle/usr/lib/fglrx/bin/amdcccle
  114. dh_install -pfglrx
  115. for i in \
  116.                         debian/fglrx/usr/lib/fglrx/bin/clinfo \
  117.                         debian/fglrx/usr/lib/fglrx/bin/atiode \
  118.                         debian/fglrx/usr/lib/fglrx/bin/amdnotifyui \
  119.                         debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so \
  120.                         debian/fglrx/usr/lib/fglrx/*libGL.so.*.* \
  121.                         debian/fglrx/usr/lib/fglrx/*libOpenCL.so.* \
  122.                         ; do execstack -q $i; execstack -c $i; done
  123. - debian/fglrx/usr/lib/fglrx/bin/clinfo
  124. - debian/fglrx/usr/lib/fglrx/bin/atiode
  125. - debian/fglrx/usr/lib/fglrx/bin/amdnotifyui
  126. - debian/fglrx/usr/lib/fglrx/dri/fglrx_dri.so
  127. - debian/fglrx/usr/lib/fglrx/fglrx-libGL.so.1.2
  128. - debian/fglrx/usr/lib/fglrx/libOpenCL.so.1
  129. # Make some additional scripts executable
  130. find debian/fglrx-amdcccle/usr/lib/fglrx/bin/ \
  131.                 -type f | xargs chmod a+x
  132. # Rename libraries which are supposed to have fglrx-libGL as a prefix
  133. for lib in `find debian/fglrx/ -name 'fglrx-libGL*'`; \
  134.                 do \
  135.                         file_name=`echo $lib | awk -F/ '{print $NF}'`; \
  136.                         path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
  137.                         # Remove fglrx prefix \
  138.                         new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
  139.                         full_path=`echo "$path$new_name"`; \
  140.                         mv -f $lib $full_path; \
  141.         done
  142. # Rename libraries which are supposed to have fglrx-libglx as a prefix
  143. for lib in `find debian/fglrx/ -name 'fglrx-libglx*'`; \
  144.                 do \
  145.                         file_name=`echo $lib | awk -F/ '{print $NF}'`; \
  146.                         path=`echo $lib | sed -e "s|\/$file_name|\/|"`; \
  147.                         new_path=`echo $path | sed -e 's/fglrx\/$//'`; \
  148.                         # Remove fglrx prefix \
  149.                         new_name=`echo $file_name | sed -e "s|fglrx\-||"`; \
  150.                         full_path=`echo "$new_path$new_name"`; \
  151.                         mv -f $lib $full_path; \
  152.         done
  153. # Create links for PowerXpress X modules (except for extensions)
  154. for i in \
  155.                 debian/fglrx/usr/lib/fglrx/xorg/modules/* \
  156.                 ; do \
  157.                         orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
  158.                         if [ `echo $orig_name  | sed -e "s|usr/lib/fglrx/xorg/modules/||"` != "extensions" ]; then \
  159.                                 link_name=$orig_name ; \
  160.                                 link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx/xorg/modules|usr/lib/pxpress/xorg/modules|"`; \
  161.                                 dh_link -pfglrx $orig_name $link_name ; \
  162.                         fi \
  163.                 done
  164. # Create links for PowerXpress libs (except for libGL)
  165. for i in \
  166.                 debian/fglrx/usr/lib/fglrx/* \
  167.                 ; do \
  168.                         orig_name=`echo $i  | sed -e "s|debian/fglrx/||"`; \
  169.                         # Copy each file except for libGL* \
  170.                         if [ -f $i ]; then \
  171.                                 if [ ! `echo $orig_name  | grep libGL` ]; then \
  172.                                         link_name=$orig_name ; \
  173.                                         link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
  174.                                         dh_link -pfglrx $orig_name $link_name ; \
  175.                                 fi \
  176.                         else \
  177.                                 # Here we only accept the dri directory \
  178.                                 dir_name=`echo $orig_name | awk -F/ '{print $NF}'`; \
  179.                                 if [ "$dir_name" = "dri" ]; then \
  180.                                         link_name=$orig_name ; \
  181.                                         link_name=`echo $orig_name  | sed -e "s|usr/lib/fglrx|usr/lib/pxpress/lib|"`; \
  182.                                         dh_link -pfglrx $orig_name $link_name ; \
  183.                                 fi \
  184.                         fi \
  185.                 done
  186. # Blacklist any other driver that udev may want to load instead of fglrx
  187. # and create an alias for the module so that it can be used as fglrx
  188. 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.dFOuwh/debian/fglrx/lib/fglrx/modprobe.conf
  189. #ld.so.conf
  190. echo "/usr/lib/fglrx" > "/tmp/fglrx.dFOuwh/debian/fglrx/usr/lib/fglrx/ld.so.conf"
  191. # ld.so.conf for PowerXpress
  192. echo "/usr/lib/i386-linux-gnu/mesa" >           "/tmp/fglrx.dFOuwh/debian/fglrx/usr/lib/pxpress/ld.so.conf"
  193. echo "/usr/lib/pxpress/lib" >>  "/tmp/fglrx.dFOuwh/debian/fglrx/usr/lib/pxpress/ld.so.conf"
  194. # empty ld.so.conf for the fake multi-arch alternative
  195. echo "" > "/tmp/fglrx.dFOuwh/debian/fglrx/usr/lib/fglrx/alt_ld.so.conf"
  196. # empty ld.so.conf for the fake multi-arch alternative for PXpress
  197. echo "" > "/tmp/fglrx.dFOuwh/debian/fglrx/usr/lib/pxpress/alt_ld.so.conf"
  198. # Generate modaliases
  199. sh -e debian/modaliases/fglrx_supported \
  200.                 lib/modules/fglrx/build_mod/fglrxko_pci_ids.h fglrx fglrx > \
  201.                 debian/fglrx.modaliases
  202. dh_modaliases
  203. make: dh_modaliases: Command not found
  204. make: *** [binary-arch] Error 127
  205. dpkg-buildpackage: error: debian/rules binary gave error exit status 2
  206. [Error] Generate Package - error generating package : Ubuntu/precise
clone this paste RAW Paste Data