Bug 1109470 - noarch post-build-checks contains arch-dependent /etc/suse-ignored-rpaths.conf
Summary: noarch post-build-checks contains arch-dependent /etc/suse-ignored-rpaths.conf
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other openSUSE Factory
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Ruediger Oertel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1109534
  Show dependency treegraph
 
Reported: 2018-09-24 15:04 UTC by Bernhard Wiedemann
Modified: 2023-04-06 09:20 UTC (History)
3 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2018-09-24 15:04:40 UTC
When using osc build
to build zziplib or 4ti2 (or ~760 others)
it can happen that in build-root there is
cat /etc/suse-ignored-rpaths.conf
/usr/lib
/usr/local/lib
lib
/usr/lib/Xaw3d
/usr/x86_64-suse-linux/lib
/opt/kde3/lib


instead of
/usr/lib64
/usr/local/lib64
lib64
/usr/lib64/Xaw3d
/usr/x86_64-suse-linux/lib
/opt/kde3/lib64

This is related to
https://github.com/openSUSE/open-build-service/issues/5784

This caused local `osc build` to produce binaries with readelf -aW
showing an extra
 0x000000000000001d (RUNPATH)      Library runpath: [/usr/lib64]


IMHO /etc/suse-ignored-rpaths.conf should not be in a noarch package.
We could split it off into an arch-dependent package and Require it in post-build-checks (or somewhere else)
Comment 1 Michael Schröder 2018-09-25 12:54:24 UTC
Or it could simply include both lib and lib64...
Comment 2 Bernhard Wiedemann 2018-10-04 05:04:06 UTC
Proposing https://github.com/openSUSE/post-build-checks/pull/23
as part of a fix.

are lines 4 and 5 in there really a good thing?
Comment 3 Swamp Workflow Management 2018-10-15 13:20:06 UTC
This is an autogenerated message for OBS integration:
This bug (1109470) was mentioned in
https://build.opensuse.org/request/show/642056 Factory / post-build-checks
Comment 4 Bernhard Wiedemann 2018-10-30 09:28:41 UTC
This now reached Factory, but can we also get it into SLE-15 (mostly for SP1).

The alternative would be to change the order of archs so that x86_64 is first
like it is in Factory. Few people care about i586 today.
Comment 6 Swamp Workflow Management 2019-02-13 17:16:11 UTC
SUSE-RU-2019:0373-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1109470
CVE References: 
Sources used:
SUSE Linux Enterprise Module for Development Tools 15 (src):    post-build-checks-84.88+git20181015.ceb5c96-3.4.1
Comment 7 Swamp Workflow Management 2019-02-21 14:11:26 UTC
openSUSE-RU-2019:0222-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1109470
CVE References: 
Sources used:
openSUSE Leap 15.0 (src):    post-build-checks-84.88+git20181015.ceb5c96-lp150.2.3.1
Comment 8 Bernhard Wiedemann 2019-11-04 09:45:17 UTC
Fix is in Factory
and likely also helped those packages that were rebuilt for SLE-15-SP1
- tested OK with zypper and nginx