Bug 1557679 - advzip should be linked to system compression libraries
Summary: advzip should be linked to system compression libraries
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: advancecomp
Version: 36
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-17 20:42 UTC by Cristian Ciupitu
Modified: 2022-11-10 22:08 UTC (History)
3 users (show)

Fixed In Version: advancecomp-2.3-2.el8 advancecomp-2.3-2.fc36 advancecomp-2.3-2.el9 advancecomp-2.3-2.fc35 advancecomp-2.3-2.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-06 14:54:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Cristian Ciupitu 2018-03-17 20:42:56 UTC
Description of problem:
advzip should be linked to system compression libraries like 7z or zopfli, instead of bundling them.

Version-Release number of selected component (if applicable):
advancecomp-2.1-4.fc27.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. ldd /usr/bin/advzip

Actual results:
	linux-vdso.so.1 (0x00007ffc5d336000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f4ba5643000)
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f4ba52bc000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f4ba4f71000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f4ba4d5a000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f4ba49a4000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f4ba5a9b000)

Expected results:
7z.so and zopfli.so in the future

Additional info:
The zopfli package doesn't seem to provide a library yet, it provides just an executable.

Comment 1 Ben Cotton 2018-11-27 16:36:10 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Cristian Ciupitu 2018-11-27 17:27:59 UTC
Same thing with advancecomp-2.1-6.fc29.x86_64

Comment 3 Ben Cotton 2019-10-31 20:26:48 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Cristian Ciupitu 2019-11-01 12:32:38 UTC
Still happens with advancecomp-2.1-12.fc31.x86_64

Comment 5 Ben Cotton 2020-11-03 17:11:54 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Cristian Ciupitu 2020-11-03 23:30:49 UTC
Same thing with advancecomp-2.1-13.fc32.x86_64

Comment 7 Fedora Program Management 2021-04-29 17:08:34 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Cristian Ciupitu 2021-04-29 18:28:46 UTC
Same thing with advancecomp-2.1-17.fc34.x86_64

Comment 9 Ben Cotton 2022-05-12 16:06:03 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 10 Cristian Ciupitu 2022-05-13 21:57:38 UTC
Still happens with advancecomp-2.1-19.fc36.x86_64

$ ldd /usr/bin/advzip 
	linux-vdso.so.1 (0x00007ffde2de6000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f4ed21a3000)
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f4ed1f6f000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f4ed1e91000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f4ed1e71000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f4ed1c6e000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f4ed2208000)

Comment 11 Ben Beasley 2022-09-28 16:04:54 UTC
I have just taken this package after it was orphaned. I am fixing the bundling as follows:

For 7z/7-Zip, the bundled code is forked and does not represent a library that can be installed system-wide. It will therefore be documented and justified in the spec file, and the necessary virtual Provides (“Provides:      bundled(7z)”) will be added in all Fedora and EPEL branches.

The bundled libdeflate will be removed in favor of the system-wide libdeflate package where one is available; that is, on all Fedoras and on EPEL8 and EPEL9. For EPEL7, there is no libdeflate package available, and it will remain bundled, but with “Provides:       bundled(libdeflate) = 0.6” added to document the bundling.

The bundled zopfli will be removed in favor of the system-wide zopfli for all distributions that package a version of zopfli that builds a shared library; that is, on all Fedoras. For EPELs (7–9), the appropriate virtual Provides will be added: “Provides:       bundled(zopfli) = 1.0.2” on EPEL7 and “Provides:       bundled(zopfli) = 1.0.2^20160527git6818a08” elsewhere.

Package updates will be ready shortly.

Please let me know if you have any further suggestions, or if you think I have missed anything.

Comment 12 Ben Beasley 2022-09-28 16:14:53 UTC
Note that /usr/libexec/p7zip/7z.so from p7zip-plugins is not a general-purpose 7-Zip shared library.

Comment 13 Fedora Update System 2022-09-28 16:33:13 UTC
FEDORA-2022-44ac32eed0 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-44ac32eed0

Comment 14 Fedora Update System 2022-09-28 16:44:33 UTC
FEDORA-2022-5925a8fd60 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5925a8fd60

Comment 15 Fedora Update System 2022-09-28 17:16:31 UTC
FEDORA-2022-60ec56df99 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-60ec56df99

Comment 16 Fedora Update System 2022-09-28 17:31:06 UTC
FEDORA-EPEL-2022-af97c657dc has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-af97c657dc

Comment 17 Fedora Update System 2022-09-28 18:33:34 UTC
FEDORA-EPEL-2022-7740509258 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-7740509258

Comment 18 Ben Beasley 2022-09-28 21:19:29 UTC
Correction: advancecomp is no longer in EPEL7, so libdeflate is unbundled everywhere.

Comment 19 Fedora Update System 2022-09-29 04:17:40 UTC
FEDORA-2022-5925a8fd60 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-5925a8fd60`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-5925a8fd60

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2022-09-29 04:39:47 UTC
FEDORA-2022-44ac32eed0 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-44ac32eed0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-44ac32eed0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2022-09-29 04:49:38 UTC
FEDORA-EPEL-2022-7740509258 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-7740509258

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 Fedora Update System 2022-09-29 05:01:22 UTC
FEDORA-2022-60ec56df99 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-60ec56df99`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-60ec56df99

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 23 Fedora Update System 2022-09-29 05:05:43 UTC
FEDORA-EPEL-2022-af97c657dc has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-af97c657dc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 24 Fedora Update System 2022-10-06 14:54:22 UTC
FEDORA-EPEL-2022-7740509258 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 25 Fedora Update System 2022-10-06 15:14:49 UTC
FEDORA-2022-5925a8fd60 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 26 Fedora Update System 2022-10-06 15:48:48 UTC
FEDORA-EPEL-2022-af97c657dc has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 27 Fedora Update System 2022-10-06 16:20:21 UTC
FEDORA-2022-60ec56df99 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 28 Fedora Update System 2022-11-10 22:08:05 UTC
FEDORA-2022-44ac32eed0 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.