Bug 1929845 - atlas-devel rpm scriptlets are busted
Summary: atlas-devel rpm scriptlets are busted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: atlas
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jakub Martisko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-17 18:54 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2022-05-16 08:16 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-05-16 08:16:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2021-02-17 18:54:48 UTC
Description of problem:
During the upgrade F33→F34:


  Running scriptlet: atlas-devel-3.10.3-12.fc33.x86_64                                                                       6432/11769 
/var/tmp/rpm-tmp.kXJ2qx: line 6: fg: no job control                                                                                     
/var/tmp/rpm-tmp.kXJ2qx: line 8: fg: no job control                                                                                     
/var/tmp/rpm-tmp.kXJ2qx: line 10: fg: no job control                                                                                    
/var/tmp/rpm-tmp.kXJ2qx: line 14: fg: no job control                                                               

Looking at the scriplets show that they are probably not doing what they were supposed to:

$ rpm -q --scripts atlas-devel
postuninstall scriptlet (using /bin/sh):
if [ $1 -ge 0 ] ; then
/usr/sbin/alternatives --remove atlas-inc /usr/include/atlas-x86_64-base
fi


	%post -n atlas-corei2 -p /sbin/ldconfig

	%postun -n atlas-corei2 -p /sbin/ldconfig

	%posttrans corei2-devel
		/usr/sbin/alternatives	--install /usr/include/atlas atlas-inc 	\
			/usr/include/atlas-x86_64-corei2  66

	%postun corei2-devel
	if [ $1 -ge 0 ] ; then
		/usr/sbin/alternatives --remove atlas-inc /usr/include/atlas-x86_64-corei2
	fi




#enable_native_atlas
posttrans scriptlet (using /bin/sh):
/usr/sbin/alternatives	--install /usr/include/atlas atlas-inc 	\
		/usr/include/atlas-x86_64-base 64

$ rpm -q atlas-devel
atlas-devel-3.10.3-13.fc34.x86_64

Comment 1 Ben Cotton 2022-05-12 15:32:36 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 2 Jakub Martisko 2022-05-16 08:16:42 UTC
This should be fixed by https://src.fedoraproject.org/rpms/atlas/c/10df96cb293f2497cf994d4c90a99b92ec8de8e5?branch=rawhide feel free to reopen if the problem persists.


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