Results 1 to 1 of 1

Thread: Cannot build on Debian/unstable x86_64

  1. #1
    Join Date
    Aug 2007
    Location
    Europe
    Posts
    401

    Default Cannot build on Debian/unstable x86_64

    Hi,

    I managed to install the 2D drivers of fglrx 8.42.3 using

    Code:
     ./ati-driver-installer-8.42.3-x86.x86_64.run --install /usr/share/ati
    even if I didn't get the 3D to work.

    However, building a Debian specific package fails using

    Code:
     ./ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Debian/unstable
    and only results in

    Code:
    Created directory fglrx-install.DE5632
    Verifying archive integrity... All good.
    Uncompressing ATI Proprietary Linux Driver-8.42.3....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    ==================================================
     ATI Technologies Linux Driver Installer/Packager 
    ==================================================
    Generating package: Debian/unstable
    Package build failed!
    Package build utility output:
    dpkg-buildpackage: source package fglrx-installer
    dpkg-buildpackage: source version 8.42.3-1
    dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
     debian/rules build
    dpkg-buildpackage: host architecture amd64
    dh_testdir
    # move licenses away from binary dir
    if [ ! -d usr/share/doc/fglrx ]; then \
              mkdir -p usr/share/doc/fglrx; \
              mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
            fi
    # set executable on user apps
    find usr/X11R6/bin -type f | xargs chmod a+x
    # remove exec bit from files that don't deserve it
    find usr/X11R6/include \
                 usr/X11R6/lib \
                 usr/X11R6/lib64 \
                 usr/share usr/src     -type f | xargs chmod -x
    find: usr/X11R6/lib: No such file or directory
    find lib -not -name "*.sh" -type f | xargs chmod -x
    find lib      -name "*.sh" -type f | xargs chmod +x
    # set proper permissions on /etc files
    if [ -d etc/ati ]; then                 \
                    chmod 755 etc/ati ;                     \
                    chmod 644 etc/ati/* ;           \
                    chmod a+x etc/ati/*.sh ;        \
            fi
    if [ -f debian/fglrx.default ]; then \
              mv -v debian/fglrx.default debian/fglrx; \
            fi
    `debian/fglrx.default' -> `debian/fglrx'
    # remove exec bit from 64-bit libs too
    find usr/X11R6/lib64       -type f | xargs chmod -x
     debian/rules binary
    dh_testdir
    # move licenses away from binary dir
    if [ ! -d usr/share/doc/fglrx ]; then \
              mkdir -p usr/share/doc/fglrx; \
              mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
            fi
    # set executable on user apps
    find usr/X11R6/bin -type f | xargs chmod a+x
    # remove exec bit from files that don't deserve it
    find usr/X11R6/include \
                 usr/X11R6/lib \
                 usr/X11R6/lib64 \
                 usr/share usr/src     -type f | xargs chmod -x
    find: usr/X11R6/lib: No such file or directory
    find lib -not -name "*.sh" -type f | xargs chmod -x
    find lib      -name "*.sh" -type f | xargs chmod +x
    # set proper permissions on /etc files
    if [ -d etc/ati ]; then                 \
                    chmod 755 etc/ati ;                     \
                    chmod 644 etc/ati/* ;           \
                    chmod a+x etc/ati/*.sh ;        \
            fi
    if [ -f debian/fglrx.default ]; then \
              mv -v debian/fglrx.default debian/fglrx; \
            fi
    # remove exec bit from 64-bit libs too
    find usr/X11R6/lib64       -type f | xargs chmod -x
    dh_testdir
    dh_testroot
    dh_clean -k
    dh_installdirs
    # Create the directories to install into
    dh_installdirs -pfglrx-driver \
                    usr \
                    usr/lib/xorg \
                    usr/lib/xorg/modules \
                    usr/lib/dri \
                    usr/bin \
                    usr/sbin \
                    etc/acpi \
                    etc/acpi/events \
                    etc/default \
                    etc/X11/Xsession.d
    # the amd64 package includes 32bit compatibility libraries
    dh_installdirs -pfglrx-driver \
                    emul/ia32-linux/usr/lib \
                    emul/ia32-linux/usr/lib/xorg \
                    emul/ia32-linux/usr/lib/xorg/modules \
                    emul/ia32-linux/usr/lib/dri
    dh_installdirs -pfglrx-driver-dev \
                    usr \
                    usr/include \
                    usr/lib
    dh_installdirs -pfglrx-kernel-src \
                    usr/src/modules/fglrx \
                    usr/src/modules/fglrx/debian
    dh_installdirs -A -pfglrx-amdcccle \
                    usr \
                    usr/bin \
                    usr/share \
                    usr/share/applnk \
                    usr/share/applications \
                    usr/share/icons \
                    usr/share/pixmaps
    dh_installdirs -p \
                    usr/src
    dh_install
    dh_install -pfglrx-driver "usr/X11R6/bin/fgl*"      "usr/bin"
    dh_install -pfglrx-driver "usr/X11R6/bin/aticonfig" "usr/bin"
    dh_install -pfglrx-driver "usr/sbin/atieventsd"     "usr/sbin"
    dh_installman -pfglrx-driver "usr/share/man/man8/atieventsd.8"
    # amd64 needs some library redirection
    dh_install -pfglrx-driver "usr/X11R6/lib64/*.so*"           "usr/lib"
    dh_install -pfglrx-driver "usr/X11R6/lib64/modules/dri"     "usr/lib"
    dh_install -pfglrx-driver "usr/X11R6/lib64/modules/linux"   "usr/lib/xorg/modules"
    dh_install -pfglrx-driver "usr/X11R6/lib64/modules/drivers" "usr/lib/xorg/modules"
    dh_install -pfglrx-driver "usr/X11R6/lib64/modules/*.so"    "usr/lib/xorg/modules"
    dh_install -pfglrx-driver "usr/X11R6/lib64/modules/*.a"     "usr/lib/xorg/modules"
    dh_install -pfglrx-driver "usr/X11R6/lib/*.so*"           "emul/ia32-linux/usr/lib"
    dh_install -pfglrx-driver "usr/X11R6/lib/modules/dri"     "emul/ia32-linux/usr/lib"
    cp: cannot stat `./usr/X11R6/lib/modules/dri': No such file or directory
    dh_install: command returned error code 256
    make: *** [binary] Error 1
    dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
    Removing temporary directory: fglrx-install.DE5632



    Any help much appreciated!

    I have Debian/unstable x86_64 running on a quad Intel Q6600 and a Radeon 2900XT with 4GB RAM. I have xorg 7.3 and kernel 2.6.22-3 on "hold".

    -
    Last edited by sabriah; 10-25-2007 at 05:22 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •