#3706 Pagure 5.0 is not properly packagable (broken symlinks break build)
Closed: Fixed 5 years ago Opened 5 years ago by ngompa.

Pagure 5.0 relies on intentionally broken symlinks, which get stripped out/resolved at multiple levels (archive creation, package install, etc.).

The final straw was that brp-suse failed my package build because of my intentional forcing of the symlinks:

[   55s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink
[   55s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[   55s]   /usr/lib/python3.6/site-packages/pagure/hooks/files/hookfiles -> /does/not/exist
[   55s] Add the package providing the target to BuildRequires and Requires
[   55s] error: Bad exit status from /var/tmp/rpm-tmp.i14clQ (%install)

Please switch to a better mechanism than intentionally broken symlinks.


Metadata Update from @pingou:
- Issue set to the milestone: 5.2
- Issue tagged with: bug

5 years ago

Metadata Update from @pingou:
- Issue assigned to pingou

5 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #4058 Merged 5 years ago