Announcement

Collapse
No announcement yet.

AMD 8.42.3 Fedora 7 x86_86 - buildpkg fails on ATI-fglrx

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • AMD 8.42.3 Fedora 7 x86_86 - buildpkg fails on ATI-fglrx

    Once again the see-saw ride of hopes built up and crushed in a matter of minutes!

    I am running a Radeon X1300 on Fedora 7 x86_64. All patches are current. Upon running the installer script it fails immediately trying to build an rpm for ATI-fglrx-8.42.3-1, with the final line indicating the error:
    RPM build errors:
    File not found by glob: /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/X11R6/lib/modules/dri/*

    *PLEASE* help me!! I am so tired of this!

    Here is most of the output of my attempt:

    Code:
    [[email protected] ati-8.42]# ./ati-driver-installer-8.42.3-x86.x86_64.run.1 --buildpkg Fedora/F7
    Created directory fglrx-install.Zv3806
    Verifying archive integrity... All good.
    Uncompressing ATI Proprietary Linux Driver-8.42.3....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    ==================================================
     ATI Technologies Linux Driver Installer/Packager 
    ==================================================
    Generating package: Fedora/F7
    mv: cannot stat `/tmp/ATI-fglrx-8.42.3-1-3881-root/BUILD/ATI-fglrx-8.42.3/usr/X11R6/lib/modules/dri/*': No such file or directory
    mv: cannot stat `/tmp/ATI-fglrx-8.42.3-1-3881-root/BUILD/ATI-fglrx-8.42.3/usr/X11R6/lib/*.so.*': No such file or directory
    Package build failed!
    Package build utility output:
    Building target platforms: x86_64
    Building for target x86_64
    Executing(%prep): /bin/sh -e /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/rpm-tmp.6473
    + umask 022
    + cd /tmp/ATI-fglrx-8.42.3-1-3881-root/BUILD
    + LANG=C
    + export LANG
    + unset DISPLAY
    + cd /tmp/ATI-fglrx-8.42.3-1-3881-root/BUILD
    + cd ATI-fglrx-8.42.3
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chown -Rhf root .
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chgrp -Rhf root .
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + exit 0
    Executing(%build): /bin/sh -e /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/rpm-tmp.6473
    + umask 022
    + cd /tmp/ATI-fglrx-8.42.3-1-3881-root/BUILD
    + cd ATI-fglrx-8.42.3
    + LANG=C
    + export LANG
    + unset DISPLAY
    + exit 0
    Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/rpm-tmp.6473
    + umask 022
    + cd /tmp/ATI-fglrx-8.42.3-1-3881-root/BUILD
    + cd ATI-fglrx-8.42.3
    + LANG=C
    + export LANG
    + unset DISPLAY
    + rm -rf 
    
    SNIP -- post too long -- SNIP
    
    ATI module generator V 2.0
    ==========================
    initializing...
    OsRelease=2.6.22.9-91.fc7
    major=2
    minor=6
    patch=22
    extra=.9-91.fc7
    SMP=1
    smp=-SMP
    iii=
    AGP=1
    CC=gcc
    cc_version=
    cleaning...
    
    SNIP -- post too long -- SNIP
    
    
    ==============================
    You must change your working directory to /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/modules/fglrx
    and then call ./make_install.sh in order to install the built module.
    ==============================
    + mkdir -p /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/modules/2.6.22.9-91.fc7/extra
    + install -D -m 0644 fglrx.ko /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/modules/2.6.22.9-91.fc7/extra/fglrx/fglrx.ko
    + rm -rf /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/modules/fglrx
    + popd
    /tmp/ATI-fglrx-8.42.3-1-3881-root/BUILD/ATI-fglrx-8.42.3
    + /usr/lib/rpm/find-debuginfo.sh /tmp/ATI-fglrx-8.42.3-1-3881-root/BUILD/ATI-fglrx-8.42.3
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/sbin/atieventsd
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/lib64/xorg/modules/linux/libfglrxdrm.so
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/lib64/xorg/modules/drivers/fglrx_drv.so
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/lib64/fglrx/libGL.so.1.2
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/lib64/fglrx/libfglrx_pp.so.1.0
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/lib64/fglrx/libfglrx_gamma.so.1.0
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/lib64/fglrx/libfglrx_dm.so.1.0
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/lib64/fglrx/libfglrx_tvout.so.1.0
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/lib64/dri/fglrx_dri.so
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/bin/fgl_glxgears
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/bin/amdcccle
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/bin/fglrxinfo
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/bin/fglrx_xgamma
    extracting debug info from /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/bin/aticonfig
    0 blocks
    + /usr/lib/rpm/redhat/brp-compress
    + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
    + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
    + /usr/lib/rpm/brp-python-bytecompile
    + /usr/lib/rpm/redhat/brp-java-repack-jars
    Processing files: ATI-fglrx-8.42.3-1.f7
    Provides: config(ATI-fglrx) = 8.42.3-1.f7 fglrx_dri.so()(64bit) fglrx_drv.so()(64bit) glesx.so()(64bit) libGL.so.1.2()(64bit) libfglrx_dm.so.1.0()(64bit) libfglrx_gamma.so.1()(64bit) libfglrx_pp.so.1.0()(64bit) libfglrx_tvout.so.1()(64bit) libfglrxdrm.so()(64bit)
    Requires(interp): /bin/sh /bin/sh /bin/sh
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Requires(post): /bin/sh /sbin/chkconfig /sbin/ldconfig
    Requires(preun): /bin/sh /sbin/chkconfig /sbin/service
    Requires(postun): /bin/sh /sbin/ldconfig /sbin/service
    Requires: /bin/bash /bin/sh config(ATI-fglrx) = 8.42.3-1.f7 kernel-module-ATI-fglrx-2.6.22.9-91.fc7 = 8.42.3-1.f7 libGL.so.1()(64bit) libGL.so.1.2()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXrandr.so.2()(64bit) libXrender.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libfglrx_dm.so.1.0()(64bit) libfglrx_gamma.so.1()(64bit) libfglrx_pp.so.1.0()(64bit) libfglrx_tvout.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) system-config-display
    Conflicts: fglrx fglrx-glc22 fglrx_4_3_0 fglrx_6_8_0 kernel-module-fglrx ati-fglrx ati-fglrx-devel kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-devel nvidia-glx nvidia-glx-legacy xorg-x11-drv-nvidia xorg-x11-drv-nvidia-legacy
    Processing files: ATI-fglrx-control-center-8.42.3-1.f7
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Requires: ATI-fglrx = 8.42.3-1.f7 libGL.so.1()(64bit) libICE.so.6()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXcursor.so.1()(64bit) libXext.so.6()(64bit) libXi.so.6()(64bit) libXrandr.so.2()(64bit) libXrender.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libstdc++.so.5()(64bit) libstdc++.so.5(CXXABI_1.2)(64bit) libstdc++.so.5(GLIBCPP_3.2)(64bit)
    Processing files: ATI-fglrx-devel-8.42.3-1.f7
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Requires: /usr/include/GL ATI-fglrx = 8.42.3-1.f7 libGL.so.1.2()(64bit)
    Processing files: ATI-fglrx-IA32-libs-8.42.3-1.f7
    error: File not found by glob: /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/X11R6/lib/modules/dri/*
    Processing files: kernel-module-ATI-fglrx-2.6.22.9-91.fc7-8.42.3-1.f7
    Requires(interp): /bin/sh /bin/sh
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Requires(post): /bin/sh
    Requires(postun): /bin/sh
    Processing files: ATI-fglrx-debuginfo-8.42.3-1.f7
    Provides: fglrx_dri.so.debug()(64bit) fglrx_drv.so.debug()(64bit) libGL.so.1.2.debug()(64bit) libfglrx_dm.so.1.0.debug()(64bit) libfglrx_gamma.so.1.0.debug()(64bit) libfglrx_pp.so.1.0.debug()(64bit) libfglrx_tvout.so.1.0.debug()(64bit) libfglrxdrm.so.debug()(64bit)
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root
    
    
    RPM build errors:
        File not found by glob: /tmp/ATI-fglrx-8.42.3-1-3881-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/usr/X11R6/lib/modules/dri/*
    Removing temporary directory: fglrx-install.Zv3806
    Thanks
    PS: I am out of town until Friday night (2 Nov) so I won't reply until I'm back.)

  • #2
    I'd recommend getting them from Livna...though before they were posted there, I went through the same trouble as you. Here's what you can do if you want to build it yourself:

    1) extract the files from the installer (with the --extract option)

    2) edit packages/Fedora/ati-packager.sh, and replace the code with the file posted here: http://docs.google.com/View?docid=ddbph2tz_16hfmq4q (I got this from the post here: http://www.phoronix.com/forums/showthread.php?t=5983)

    3) from the root folder containing the files extracted from the installer, run the following command:

    Code:
    packages/Fedora/ati-packager.sh --buildpkg F7

    Comment


    • #3
      See follow thread.

      http://www.phoronix.com/forums/showthread.php?t=5983

      Comment


      • #4
        Thank you gents. I saw the other post that you both referred to but had NO idea how to use the script on the google page. So thanks mikeuw!!

        I have gone from:
        4389 frames in 5.0 seconds = 873.998 FPS
        4560 frames in 5.1 seconds = 892.763 FPS
        4560 frames in 5.1 seconds = 892.370 FPS
        to
        19114 frames in 5.0 seconds = 3821.224 FPS
        20308 frames in 5.0 seconds = 4061.399 FPS
        20278 frames in 5.0 seconds = 4055.499 FPS


        Again, thank you!

        Comment


        • #5
          I am seeing new problems, maybe due to the 2.6.23 kernel.

          Code:
          /tmp/ATI-fglrx-8.42.3-1-3351-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/module
          s/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_pte_phys_addr_str':
          /tmp/ATI-fglrx-8.42.3-1-3351-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/module
          s/fglrx/build_mod/2.6.x/firegl_public.c:3536: error: implicit declaration of fun
          ction 'pte_read'
          /tmp/ATI-fglrx-8.42.3-1-3351-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/module
          s/fglrx/build_mod/2.6.x/firegl_public.c:3538: error: implicit declaration of fun
          ction 'pte_exec'
          /tmp/ATI-fglrx-8.42.3-1-3351-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/module
          s/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
          /tmp/ATI-fglrx-8.42.3-1-3351-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/module
          s/fglrx/build_mod/2.6.x/firegl_public.c:5439: error: expected specifier-qualifie
          r-list before 'kmem_cache_t'
          /tmp/ATI-fglrx-8.42.3-1-3351-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/module
          s/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KAS_SlabCache_Initialize':
          /tmp/ATI-fglrx-8.42.3-1-3351-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/module
          s/fglrx/build_mod/2.6.x/firegl_public.c:5478: error: 'kasSlabCache_t' has no mem
          ber named 'routine_type'
          /tmp/ATI-fglrx-8.42.3-1-3351-root/tmp/ATI-fglrx-8.42.3-1.f7-root-root/lib/module
          s/fglrx/build_mod/2.6.x/firegl_public.c:5479: error: 'kasSlabCache_t' has no mem
          ber named 'lock'
          Anyone else see these errors?
          I have updated the Fedora/ati-packager.sh script.

          Comment

          Working...
          X