Bug 2187812

Summary: Blender RPM is missing all add-ons except cycles
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: high Docs Contact:
Priority: unspecified    
Version: 37CC: code, design-devel, dov.grobgeld, epel-packagers-sig, hvtaifwkbgefbaei, kwizart, luya_tfz, negativo17, promac, sunhaitao
Target Milestone: ---Keywords: Desktop, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: blender-3.3.6-1.el9 blender-3.5.0-3.fc38 blender-3.3.6-1.fc36 blender-3.5.0-5.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 02:16:05 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 2023-04-18 18:39:14 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Build Identifier: 

'Edit > Preferences > Add-ons' should list a large number of add-ons that ship with blender but are not enabled by default.

All of these add-ons are missing except for 'cycles'.

Reproducible: Always

Steps to Reproduce:
Only one add-on is shipped with 3.5.0-1:

    $ rpm -qlp blender-3.5.0-1.fc37.x86_64.rpm | grep addons

The previous 3.4.1-2 rpm has over one hundred addons:

    $ rpm -qlp blender-3.4.1-2.fc37.x86_64.rpm | grep addons

Comment 1 Luya Tshimbalanga 2023-04-19 00:57:33 UTC
Hello, 
upstream made changes causing community other set of addons unavailable without a condition. See https://projects.blender.org/blender/blender/commit/e8c7866608bb. The issue was originally reported on https://projects.blender.org/blender/blender/issues/106306

Comment 2 Bruno Postle 2023-04-19 08:50:46 UTC
Downloaded the 3.5.0 installer, and it has twenty or so 'Official' add-ons and about eighty 'Community' add-ons.

Comment 3 Luya Tshimbalanga 2023-04-19 15:50:46 UTC
The source tarball of blender from which the package is based lacks '/scripts/addons' (apparently separated from the the main branch since 3.5.0). Will test with the generated tar for their git version.

Comment 4 Luya Tshimbalanga 2023-04-20 14:40:07 UTC
It looks like 'Community' add-ons are separated on 3.5.0 which will requires packaging. Working on it.

Comment 5 Luya Tshimbalanga 2023-04-20 14:40:28 UTC
*** Bug 2188242 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2023-04-24 02:30:05 UTC
FEDORA-2023-b70401b559 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b70401b559

Comment 7 Fedora Update System 2023-04-24 02:30:06 UTC
FEDORA-2023-e01c4d1f74 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e01c4d1f74

Comment 8 Fedora Update System 2023-04-24 02:30:08 UTC
FEDORA-EPEL-2023-87a3669c64 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-87a3669c64

Comment 9 Fedora Update System 2023-04-24 02:30:09 UTC
FEDORA-2023-0cb82474e7 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0cb82474e7

Comment 10 Fedora Update System 2023-04-25 02:02:17 UTC
FEDORA-EPEL-2023-87a3669c64 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-2023-87a3669c64

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

Comment 11 Fedora Update System 2023-04-25 03:20:32 UTC
FEDORA-2023-b70401b559 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b70401b559`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b70401b559

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

Comment 12 Fedora Update System 2023-04-25 03:26:28 UTC
FEDORA-2023-e01c4d1f74 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-2023-e01c4d1f74`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e01c4d1f74

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

Comment 13 Fedora Update System 2023-04-25 03:51:33 UTC
FEDORA-2023-0cb82474e7 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-2023-0cb82474e7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0cb82474e7

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

Comment 14 Sami Farin 2023-04-25 14:49:45 UTC
Ehh, maybe not like this in 3.5.0-2.fc37

$ tar vtf /usr/lib/rpm/macros.d/macros.blender|head
drwxrwxr-x root/root         0 2023-03-22 01:10 blender-addons/
drwxrwxr-x root/root         0 2023-03-22 01:10 blender-addons/.gitea/
drwxrwxr-x root/root         0 2023-03-22 01:10 blender-addons/.gitea/default_merge_message/
-rw-rw-r-- root/root        65 2023-03-22 01:10 blender-addons/.gitea/default_merge_message/REBASE_TEMPLATE.md
-rw-rw-r-- root/root        55 2023-03-22 01:10 blender-addons/.gitea/default_merge_message/SQUASH_TEMPLATE.md
drwxrwxr-x root/root         0 2023-03-22 01:10 blender-addons/.gitea/issue_template/
-rw-rw-r-- root/root      1875 2023-03-22 01:10 blender-addons/.gitea/issue_template/bug.yaml
-rw-rw-r-- root/root       630 2023-03-22 01:10 blender-addons/.gitea/pull_request_template.yaml
drwxrwxr-x root/root         0 2023-03-22 01:10 blender-addons/.github/
-rw-rw-r-- root/root       203 2023-03-22 01:10 blender-addons/.github/pull_request_template.md

$ rpm -qvi blender
warning: /usr/lib/rpm/macros.d/macros.blender: line 200: Macro %y needs whitespace before body
error: /usr/lib/rpm/macros.d/macros.blender: line 238: Macro % has illegal name (%define)
error: /usr/lib/rpm/macros.d/macros.blender: line 841: Macro % has illegal name (%define)
error: /usr/lib/rpm/macros.d/macros.blender: line 1224: Macro % has illegal name (%define)
warning: /usr/lib/rpm/macros.d/macros.blender: line 1603: Macro %U needs whitespace before body
error: /usr/lib/rpm/macros.d/macros.blender: line 1629: Macro % has illegal name (%define)
error: /usr/lib/rpm/macros.d/macros.blender: line 1788: Macro % has illegal name (%define)
error: /usr/lib/rpm/macros.d/macros.blender: line 1920: Macro % has illegal name (%define)

Comment 15 Fedora Update System 2023-05-03 02:16:05 UTC
FEDORA-EPEL-2023-87a3669c64 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2023-05-03 02:28:10 UTC
FEDORA-2023-b70401b559 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2023-05-03 03:50:00 UTC
FEDORA-2023-0cb82474e7 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2023-05-08 01:46:08 UTC
FEDORA-2023-a14d74950b 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-2023-a14d74950b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a14d74950b

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

Comment 19 Luya Tshimbalanga 2023-05-10 00:41:29 UTC
*** Bug 2196513 has been marked as a duplicate of this bug. ***

Comment 20 SUN Haitao 2023-05-10 08:22:11 UTC
It seems the version in FEDORA-2023-a14d74950b missing an important upstream patch (https://projects.blender.org/blender/blender-addons/commit/eef2e476d384e463d6124c13225aaa5bd8be7631). That makes some plugins dysfunctional.

Comment 21 Fedora Update System 2023-05-11 01:53:09 UTC
FEDORA-2023-a14d74950b has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.