Bug 2499754

Summary: octave-NLopt: error: description is missing needed field maintainer
Product: [Fedora] Fedora Reporter: Colin Macdonald <cbm>
Component: NLoptAssignee: Benson Muite <benson_muite>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: benson_muite, besser82, fede
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://github.com/stevengj/nlopt/issues/621
Whiteboard:
Fixed In Version: NLopt-2.10.0-10.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-23 01:19:08 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:
Bug Depends On:    
Bug Blocks: 2487343    

Description Colin Macdonald 2026-07-13 18:53:57 UTC
```
dnf install octave-NLopt
Updating and loading repositories:
Repositories loaded.
Package                         Arch     Version                          Repository            Size
Installing:
 octave-NLopt                   x86_64   0:2.10.0-9.fc44                  fedora           107.9 KiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 60 KiB. Need to download 0 B.
After this operation, 108 KiB extra will be used (install 108 KiB, remove 0 B).
Is this ok [y/N]: y
[1/1] octave-NLopt-0:2.10.0-9.fc44.x86_64                   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
----------------------------------------------------------------------------------------------------
[1/1] Total                                                 100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[1/3] Verify package files                                  100% |  71.0   B/s |   1.0   B |  00m00s
[2/3] Prepare transaction                                   100% |   1.0   B/s |   1.0   B |  00m01s
[3/3] Installing octave-NLopt-0:2.10.0-9.fc44.x86_64        100% | 182.0 KiB/s | 117.2 KiB |  00m01s
>>> Running %post scriptlet: octave-NLopt-0:2.10.0-9.fc44.x86_64
>>> Non-critical error in %post scriptlet: octave-NLopt-0:2.10.0-9.fc44.x86_64
>>> Scriptlet output:
>>> error: description is missing needed field maintainer
>>> error: called from
>>>     get_description at line 81 column 7
>>>     rebuild at line 66 column 7
>>>     pkg at line 707 column 9
>>> 
>>> [RPM] %post(octave-NLopt-2.10.0-9.fc44.x86_64) scriptlet failed, exit status 1
Transaction failed: Rpm transaction failed.
```

I suspect this is fixed upstream  https://github.com/stevengj/nlopt/issues/621?

- - - -

The package still (maybe?) installs for me, but then later Octave packages also fail when they examine `octave-NLopt`'s metadata.  See https://bugzilla.redhat.com/show_bug.cgi?id=2487343 and related issues.



Reproducible: Always

Steps to Reproduce:
`dnf install octave-NLopt`

Comment 1 Colin Macdonald 2026-07-13 19:00:38 UTC
A short term fix?  Upstream added a DESCRIPTION file themselves, I believe in 2.11.0.

```
diff --git a/NLopt.spec b/NLopt.spec
index 536a515..a07e0d2 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -221,7 +221,7 @@ cat > %{buildroot}%{octpkgdir}/packinfo/DESCRIPTION << EOF
 Name: %{name}
 Version: %{version}
 Date: %(date +%Y-%m-%d)
-Author: Steven G. Johnson <stevenj.edu>
+Maintainer: Steven G. Johnson <stevenj.edu>
 Title: Open-Source library for nonlinear optimization
 Description: NLopt is a library for nonlinear local and global
  optimization, for functions with and without gradient information.
```

Comment 2 Fedora Update System 2026-07-14 14:32:49 UTC
FEDORA-2026-3701a69af4 (NLopt-2.10.0-10.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3701a69af4

Comment 3 Fedora Update System 2026-07-15 01:24:31 UTC
FEDORA-2026-3701a69af4 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-3701a69af4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-3701a69af4

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

Comment 4 Fedora Update System 2026-07-23 01:19:08 UTC
FEDORA-2026-3701a69af4 (NLopt-2.10.0-10.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.