Bug 34671

Summary: Various fixes for llvm
Product: Sisyphus Reporter: Konstantin A Lepikhov (L.A. Kostis) <lakostis>
Component: rpm-buildAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: arseny, glebfm, imz, ldv, placeholder, vt
Version: unstableKeywords: relnote
Hardware: all   
OS: Linux   
URL: http://git.altlinux.org/people/lakostis/packages/?p=rpm.git;a=shortlog;h=refs/heads/llvm-fixes

Description Konstantin A Lepikhov (L.A. Kostis) 2018-03-21 00:04:16 MSK
Прошу добавить несколько исправлений к пакету rpm:

commit 0abcf9411e565315b0282100d5d6a92114a7c211
Author: Konstantin A. Lepikhov <lakostis@altlinux.ru>
Date:   Tue Mar 20 21:27:45 2018 +0100

    verify-elf: bypass lint checks by request
    
    lld linked binaries are differ by structure from GNU ld, so eu-lint will
    always complaint about. Allow to skip those checks by passing
    %set_verify_elf_method lint=(skip|no)

Удобен для фильтрации ругани от eu-lint для бинарных файлов с отличной от GNU ld структурой (например, lld линкует файлы с другой структурой заголовков, если не использовать -flavor=gnu).

commit 74db0050782d8ea5a291a9851e0da0bc57d0bc97
Author: Konstantin A. Lepikhov <lakostis@altlinux.ru>
Date:   Tue Mar 20 21:40:49 2018 +0100

    cpp.req: skip cpp checks for llvm
    
    Skip any cpp checks for llvm packages, anyway we don't know how to deal
    with them.

У llvm другие заголовочные файлы и их нельзя проверять с помощью gnu c++.
Comment 1 Repository Robot 2019-01-14 04:33:58 MSK
rpm-build-4.0.4-alt124 -> sisyphus:

Mon Jan 14 2019 Dmitry V. Levin <ldv@altlinux> 4.0.4-alt124
- addReqProv: fixed too aggressive merge of PreReqs introduced
  in 4.0.4-alt122.
- Applied llvm changes (by lakostis@; closes: #34671):
  + cpp.req: skip cpp checks for llvm;
  + verify-elf: bypass lint checks by request.