Skip to content

CentOS 7.5 RPM Installation Fails #45

Closed

Description

@alheinecke

Hi,

I checked out all the version you used in your latest release and built from scratch (your instructions are a bit incomplete as still the google libs for test needed) and everything goes through fine and without any issue.

However installing the rpm-packages fails:
rpm -i intel-opencl-1.0-0.x86_64-igdrcl.rpm
file /opt from install of intel-opencl-igdrcl-1.0.0-1.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
file /etc/ld.so.conf.d from install of intel-opencl-igdrcl-1.0.0-1.x86_64 conflicts with file from package glibc-2.17-222.el7.x86_64

it seems to touch /opt and /etc/ld.so.conf.d directories, but they are already there.

I did a --force during rpm install and it seems to work, however, it might be good to fix that.

ls /etc/ld.so.conf.d
atlas-x86_64.conf dyninst-x86_64.conf kernel-3.10.0-862.el7.x86_64.conf libiscsi-x86_64.conf mariadb-x86_64.conf qt-x86_64.conf
rpm -i --force /nfs_home/aheineck/Misc/gen_stack/build/intel-opencl-1.0-0.x86_64-igdrcl.rpm
ls /etc/ld.so.conf.d
atlas-x86_64.conf dyninst-x86_64.conf kernel-3.10.0-862.el7.x86_64.conf libintelopencl.conf libiscsi-x86_64.conf mariadb-x86_64.conf qt-x86_64.conf

Thanks,
Alex

Activity

  1. JacekDanecki commented on May 18, 2018

    @JacekDanecki
    Contributor

    Thanks for reporting. I'll look at this.

  2. self-assigned this
    on May 18, 2018
  3. JacekDanecki commented on May 24, 2018

    @JacekDanecki
    Contributor

    I can't reproduce this issue on my side. I've executed compilation in fresh Centos 7.4 docker container upgraded to Centos 7.5. Logs from installation after build

    Run CPack packaging tool...
    CPack3: Create package using RPM
    CPack3: Install projects
    CPack3: - Run preinstall target for: igdrcl
    CPack3: - Install project: igdrcl
    CPack3: - Install component: igdrcl
    CPack3: Create package
    CPackRPM: Will use GENERATED spec file: /root/build/_CPack_Packages/Linux/RPM/SPECS/intel-opencl-igdrcl.spec
    CPack3: - package: /root/build/intel-opencl-1.0-0.x86_64-igdrcl.rpm generated.
    [root@56f404e1e7a3 build]# rpm -i intel-opencl-1.0-0.x86_64-igdrcl.rpm
    [root@56f404e1e7a3 build]# rpm -q filesystem
    filesystem-3.2-25.el7.x86_64
    [root@56f404e1e7a3 build]# rpm -q glibc
    glibc-2.17-222.el7.x86_64
    [root@56f404e1e7a3 build]# lsb_release -a
    LSB Version: :core-4.1-amd64:core-4.1-noarch
    Distributor ID: CentOS
    Description: CentOS Linux release 7.5.1804 (Core)
    Release: 7.5.1804
    Codename: Core
    [root@56f404e1e7a3 build]# rpm -qf /opt
    filesystem-3.2-25.el7.x86_64
    intel-opencl-igdrcl-1.0.0-1.x86_64
    [root@56f404e1e7a3 build]# rpm -qf /etc/ld.so.conf.d/
    glibc-2.17-222.el7.x86_64
    intel-opencl-igdrcl-1.0.0-1.x86_64

    For test I've used this commit:
    [root@56f404e1e7a3 neo]# git log -1
    commit 01c1df3
    Author: Woloszyn, Wojciech wojciech.woloszyn@intel.com
    Date: Thu May 24 02:43:58 2018 -0700

    Add missing case in getMipLevelOriginId
    
  4. alheinecke commented on Jun 4, 2018

    @alheinecke
    Author
  5. JacekDanecki commented on Jun 7, 2018

    @JacekDanecki
    Contributor

    Packages (rpm, deb) are created using CPack from cmake. What versions of cmake and rpm do you use?

  6. alheinecke commented on Jun 7, 2018

    @alheinecke
    Author

    cmake --version
    cmake3 version 3.11.0

    rpm --version
    RPM version 4.11.3

  7. alheinecke commented on Jun 7, 2018

    @alheinecke
    Author
  8. JacekDanecki commented on Jun 12, 2018

    @JacekDanecki
    Contributor

    I've the same versions of cmake and rpm in docker container, so the problem is somewhere else. Need to investigate farther.

  9. JacekDanecki commented on Jun 29, 2018

    @JacekDanecki
    Contributor

    I wasn't able to reproduce this issue on my side. Do you still observe this issue on the latest Neo versions? Can you share your rpm package? I've verified rpm packages on Centos 7.4/7.5, Fedora 27/28 and didn't see problems with installation.

  10. JacekDanecki commented on Aug 3, 2018

    @JacekDanecki
    Contributor

    I'm closing this issue, as there is not feedback since June, and I wasn't able to reproduce it on my side. Please reopen it if you still observe this issue.

  11. cwt commented on Aug 6, 2018

    @cwt

    @JacekDanecki I just build 18.31.0 last night and have the same problem on CentOS 7.5

    Transaction check error:
      file /usr/local from install of intel-opencl-igdrcl-18.31.0-1.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
      file /usr/local/lib64 from install of intel-opencl-igdrcl-18.31.0-1.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
      file /etc/ld.so.conf.d from install of intel-opencl-igdrcl-18.31.0-1.x86_64 conflicts with file from package glibc-2.17-222.el7.x86_64
    
    $ cat /etc/centos-release
    CentOS Linux release 7.5.1804 (Core)
    

    Below is the %files section from the generated SPEC build/_CPack_Packages/Linux/RPM/SPECS/intel-opencl-igdrcl.spec

    %files
    %defattr(-,root,root,-)
    %dir "/etc/OpenCL"
    %dir "/etc/OpenCL/vendors"
    "/etc/OpenCL/vendors/intel.icd"
    %dir "/etc/ld.so.conf.d"
    "/etc/ld.so.conf.d/libintelopencl.conf"
    %dir "/usr/local"
    %dir "/usr/local/lib64"
    "/usr/local/lib64/libiga64.so"
    "/usr/local/lib64/libigc.so"
    "/usr/local/lib64/libigdfcl.so"
    "/usr/local/lib64/libigdrcl.so"
    "/usr/local/lib64/libopencl_clang.so"
    
  12. JacekDanecki commented on Aug 20, 2018

    @JacekDanecki
    Contributor

    I'll prepare fresh CentOS 7.5 setup to reproduce this issue.

  13. johnhable commented on Sep 2, 2018

    @johnhable

    Hi. FWIW, I'm seeing the same issue as well on a clean install of CentOS 7.4. Is there anything that you think I should check? If you'd like, I can send you my full list of instructions to set up the board after a clean ISO install. I've rebuilt from a clean install several times and the issue is consistent.

    $ sudo rpm -i intel-opencl-18.35-0.x86_64-igdrcl.rpm
    file /etc/ld.so.conf.d from install of intel-opencl-igdrcl-18-1.x86_64 conflicts with file from package glibc-2.17-222.el7.x86_64
    file /usr/local from install of intel-opencl-igdrcl-18-1.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
    file /usr/local/lib64 from install of intel-opencl-igdrcl-18-1.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64

  14. JacekDanecki commented on Sep 3, 2018

    @JacekDanecki
    Contributor

    @johnhable Can you check this PR: #80?

  15. johnhable commented on Sep 4, 2018

    @johnhable

    Hi Jacek,

    Thanks for the update. After applying the update, it builds and the rpm installs cleanly, so I think it's fixed.

    John

  16. JacekDanecki commented on Sep 5, 2018

    @JacekDanecki
    Contributor

    PR #80 was merged with commit: b1d0204, so I'm closing this issue.
    If you find any related problems, please create new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions