-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repackaging mangles some bits #9
Comments
As reported in issue#9(*), REQUIRES and PROVIDES were also missing. Per rpmds.h: RPMSENSE_FIND_REQUIRES = (1 << 14), /*!< find-requires generated dependency. */ RPMSENSE_FIND_PROVIDES = (1 << 15), /*!< find-provides generated dependency. */ (*) #9 Signed-off-by: Gary Lin <glin@suse.com>
Added the two missing flags in 7eca70b |
Tested your patch and it breaks the kmp build:
|
This reverts commit 7eca70b. The commit caused build error: #9 (comment) Signed-off-by: Gary Lin <glin@suse.com>
One possible solution is to skip those dependencies of Requires and Provides with RPMSENSE_FIND_REQUIRES or RPMSENSE_FIND_PROVIDES and enable find-requires and find-provides scripts. However, this patch may introduce a side effect. If the original package uses customized find-requires and find-provides scripts, the repackaged rpm may be wrong. |
FIND_REQUIRES + FIND_PROVIDES issues are fixed by #14 With these, the only diff left is from the actual signing of .ko and .efi files. |
Reopen since the find_provides fix causes a build failure :-( |
QUOTE: virtualbox-guest-x11 packages libGL1.so.1 - the .spec file has a __provides_exclude libE?GL.so.1 - yet, with this submission in the staging, virtualbox-guest-x11 DOES provide libGL.so.1 - causing issues and troubles This seems to be cause by patch 0002-Enable-find_provides-and-requires.patch |
The find_provides/requires patch is now applied again since virtualbox-kmp is split from the main package, so we can finally close this issue :) |
In addition to #8 there are some more bits that vary between local osc build (without signing) and the repackaged server-side build.
Anyone can use a
osc checkout home:bmwiedemann:reproducible:pesign
and thenachbau
script fromhttps://github.com/bmwiedemann/reproducibleopensuse
to generate such diffs
vhba-kmp has the minimum diff of:
xtables-addons has a lot more
Many of the diffs in rpmtags come from
The text was updated successfully, but these errors were encountered: