Bug 11591

Summary: script failed for postgresql-jdbc error during installation
Product: Mageia Reporter: claire robinson <eeeemail>
Component: RPM PackagesAssignee: Olivier Thauvin <nanardon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: dmorganec, ennael1, joequant, lmenut, mageia, tablackwell, wilcal.int
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: 4beta1
Source RPM: postgresql-jdbc CVE:
Status comment:
Attachments: packages with unexpanded %update_maven_depmap in rpm scripts

Description claire robinson 2013-11-04 13:56:34 CET
4beta1 DVD 64 (1st build) default kde installation

Error during install..

Script failed for postgresql-jdbc-9.2.1002-5.mga4.noarch



Reproducible: 

Steps to Reproduce:
claire robinson 2013-11-04 13:57:18 CET

CC: (none) => ennael1
Assignee: bugsquad => nanardon

claire robinson 2013-11-04 13:57:48 CET

CC: (none) => neoclust

claire robinson 2013-11-04 13:58:22 CET

CC: neoclust => nicolas.lecureuil

claire robinson 2013-11-04 14:44:53 CET

Whiteboard: (none) => 4beta1

Comment 1 claire robinson 2013-11-04 15:14:04 CET
report.bug.xz is attachment 4472 [details]

taken from install.log..

installing lib64x86emu1-1.3-3.mga4.x86_64.rpm acpi-1.6-3.mga4.x86_64.rpm kdm-handbook-4.11.2-3.mga4.noarch.rpm kipi-plugins-yandexfotki-3.5.0-2.mga4.x86_64.rpm lib64hd20-20.1-1.mga3.x86_64.rpm kjots-4.11.2-2.mga4.x86_64.rpm kdebase4-runtime-handbook-4.11.2-2.mga4.noarch.rpm postgresql-jdbc-9.2.1002-5.mga4.noarch.rpm from /tmp/image/media/core
starting installing packages
created transaction for installing on /mnt (remove=0, install=0, upgrade=8)
lib64x86emu1-1.3-3.mga4.x86_64
lib64hd20-20.1-1.mga3.x86_64
/var/tmp/rpm-tmp.BW79ak: line 1: fg: no job control
%post(postgresql-jdbc-0:9.2.1002-5.mga4.noarch) scriptlet failed, exit status 1
postgresql-jdbc-9.2.1002-5.mga4.noarch
kdebase4-runtime-handbook-4.11.2-2.mga4.noarch
kjots-4.11.2-2.mga4.x86_64
kipi-plugins-yandexfotki-3.5.0-2.mga4.x86_64
kdm-handbook-4.11.2-3.mga4.noarch
acpi-1.6-3.mga4.x86_64
claire robinson 2013-11-04 15:14:28 CET

Hardware: i586 => x86_64

Comment 2 Luc Menut 2013-11-04 23:01:29 CET
rpm -qp --scripts postgresql-jdbc-9.2.1002-5.mga4.noarch.rpm 
postinstall scriptlet (using /bin/sh):
%update_maven_depmap
postuninstall scriptlet (using /bin/sh):
%update_maven_depmap

the macro %update_maven_depmap is not expanded anymore.
in mga3 %update_maven_depmap was defined in /etc/rpm/macros.jpackage (jpackage-utils in mga3, javapackages-tools in mga4), but is not defined in new /etc/rpm/macros.jpackage from javapackages-tools.

89 packages have the same bug (list in attachment)

CC: (none) => lmenut

Comment 3 Luc Menut 2013-11-04 23:03:49 CET
Created attachment 4476 [details]
packages with unexpanded %update_maven_depmap in rpm scripts
Luc Menut 2013-11-04 23:05:08 CET

CC: (none) => dmorganec
Hardware: x86_64 => All

Comment 4 claire robinson 2013-11-05 07:56:36 CET
Thanks Luc. Adding Joseph aswell as I remember you mention maven problems.

CC: (none) => joequant

Comment 5 claire robinson 2013-11-08 13:36:24 CET
Setting release blocker as this affects the isos. It shows as an error at the end on package installation.

Tony Blackwell also found a script failure for kon2-0.3.gb-15.mga4.x86_64
which is not in your list Luc, I've asked him to create a separate bug report, could you confirm it is not related please?

Priority: Normal => release_blocker

William Kenney 2013-11-08 14:02:52 CET

CC: (none) => wilcal.int

Comment 6 D Morgan 2013-11-08 14:03:20 CET
kon2 is not a java package, nothing related to %update_maven_depmap
Comment 7 claire robinson 2013-11-08 14:07:12 CET
Thanks for confirming :)
Comment 8 Tony Blackwell 2013-11-08 20:15:37 CET
Still seeing this at M4B1 round 4 x86_64. 
At end of install get script failure for postgresql-jdbc-9.2.1002-5.mga4.noarch

Not much more info :-(  Given that the system won't boot, I'm stuck in dracut in ram, so /root/drakx does not exist so no report.bug.xz available (This was seen in the context of the install difficulties of M4B1)
Tonyb

CC: (none) => tablackwell

Comment 9 Anne Nicolas 2014-01-14 22:32:15 CET
fixed in RC isos, using postgresql-jdbc-9.2.1002-6.mga4.noarch

Status: NEW => RESOLVED
Resolution: (none) => FIXED