Bug 2313987

Summary: blender-rpm-macros contains a single xz compressed file
Product: [Fedora] Fedora Reporter: Bruno Postle <bruno>
Component: blenderAssignee: Luya Tshimbalanga <luya_tfz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: code, design-devel, epel-packagers-sig, kwizart, luya, luya_tfz, negativo17, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: blender-4.2.2-2.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-28 03:52:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruno Postle 2024-09-21 14:08:36 UTC
# file /usr/lib/rpm/macros.d/blender-macros 
/usr/lib/rpm/macros.d/blender-macros: XZ compressed data, checksum CRC64

# xzcat /usr/lib/rpm/macros.d/blender-macros
blender-macros000644 001750 001750 00000000436 14650337406 013677 0ustar00luyaluya000000 000000 %blender_api @VERSION@

%blender_datadir %{_datadir}/blender/%{blender_api}
%blender_libdir %{_libdir}/blender/%{blender_api}
%blender_extensions %{blender_datadir}/extensions/system
%blender_modules %{blender_datadir}/scripts/modules
%blender_preset %{blender_datadir}/scripts/presets


Reproducible: Always

Comment 1 Luya Tshimbalanga 2024-09-24 03:06:51 UTC
 The issue is caused by rpmbuild bug in the spec file (line 329 in https://src.fedoraproject.org/rpms/blender/blob/rawhide/f/blender.spec) which is unable to extract extra compressed data: https://github.com/rpm-software-management/rpm/issues/2495. Will apply a workaround to address the problem.

Comment 2 Nicolas Chauvet (kwizart) 2024-10-10 15:13:35 UTC
Why do you want to compress simple macros file in the first step ?

Fixing in rawhide to unbreak OpenColorIO 2.4.0 rebuild...

Comment 3 Nicolas Chauvet (kwizart) 2024-10-10 16:00:34 UTC
@Luya
Seems like you have uncompressed in prep, but later installed the (compressed) Source1 into the buildroot destination.
Also you should not attempt to modify (with sed of else) files as Source? as you are then modifying your own (compressed) file which is unreliable.

This should be fixed now.

Comment 4 Luya Tshimbalanga 2024-10-10 21:41:49 UTC
Thanks for catching the last time about installing Source1 in the buildroot destination @kwizart.
An oversight from my part as I forgot to assign the uncompressed macro file in the right destination.

Comment 5 Nicolas Chauvet (kwizart) 2024-10-17 12:03:59 UTC
@luya 
Feel free to backport in branches as needed. f39 is okay , but the issue was reported on f40...

Comment 6 Fedora Update System 2024-10-18 15:46:06 UTC
FEDORA-2024-b7f69b275d (blender-4.2.2-9.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b7f69b275d

Comment 7 Fedora Update System 2024-10-18 15:46:07 UTC
FEDORA-2024-2ae61913c6 (blender-4.2.2-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-2ae61913c6

Comment 8 Fedora Update System 2024-10-19 02:11:08 UTC
FEDORA-2024-b7f69b275d has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b7f69b275d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b7f69b275d

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

Comment 9 Fedora Update System 2024-10-19 03:02:17 UTC
FEDORA-2024-2ae61913c6 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-2ae61913c6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2ae61913c6

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

Comment 10 Luya Tshimbalanga 2024-10-19 20:29:11 UTC
(In reply to Nicolas Chauvet (kwizart) from comment #5)
> @luya 
> Feel free to backport in branches as needed. f39 is okay , but the issue was
> reported on f40...

Done.

Comment 11 Nicolas Chauvet (kwizart) 2024-10-22 15:51:44 UTC
*** Bug 2320998 has been marked as a duplicate of this bug. ***

Comment 12 Fedora Update System 2024-10-24 01:57:20 UTC
FEDORA-2024-a226749b6a has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a226749b6a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a226749b6a

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

Comment 13 Orion Poplawski 2024-10-24 03:31:34 UTC
This file also has to be named macros.XXX.  See https://src.fedoraproject.org/rpms/blender/pull-request/24

Comment 14 Fedora Update System 2024-10-28 03:52:34 UTC
FEDORA-2024-2ae61913c6 (blender-4.2.2-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.