Bug 704230 - Error in PREIN scriptlet in rpm package eog-3.1.1-1.fc16.x86_64
Summary: Error in PREIN scriptlet in rpm package eog-3.1.1-1.fc16.x86_64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: eog
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 706392 708068 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-12 13:51 UTC by Clyde E. Kunkel
Modified: 2012-04-27 07:02 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-27 07:02:26 UTC
Type: ---


Attachments (Terms of Use)

Description Clyde E. Kunkel 2011-05-12 13:51:52 UTC
Description of problem:
yum update:

Error in PREIN scriptlet in rpm package eog-3.1.1-1.fc16.x86_64
/var/tmp/rpm-tmp.ATIrgL: line 1: fg: no job control
error: %pre(eog-3.1.1-1.fc16.x86_64) scriptlet failed, exit status 1

During cleanup:
error: eog-3.0.1-1.fc16.x86_64: erase skipped


Version-Release number of selected component (if applicable):
eog-3.1.1-1.fc16.x86_64

How reproducible:
didn't try

Steps to Reproduce:
1. yum --skip-broken update
2.
3.
  
Actual results:
as above

Expected results:
normal update

Additional info:

Comment 1 Stijn Hoop 2011-05-13 11:48:01 UTC
This is caused by an unexpanded macro in %pre:

# rpm -Uvvh eog-3.1.1-1.fc16.x86_64.rpm

[...]

D:   install: eog-3.1.1-1.fc16 has 1439 files
D: %pre(eog-3.1.1-1.fc16.x86_64): scriptlet start
D: %pre(eog-3.1.1-1.fc16.x86_64): execv(/bin/sh) pid 11641
+ %gconf_schema_obsolete eog
/var/tmp/rpm-tmp.dKNM2e: line 2: fg: no job control
D: %pre(eog-3.1.1-1.fc16.x86_64): waitpid(11641) rc 11641 status 100
error: %pre(eog-3.1.1-1.fc16.x86_64) scriptlet failed, exit status 1

Not sure why it is not expanded. A local rebuild of the SRPM yields the same result, while 'rpm --showrc' does show a definition of that macro.

Comment 2 Stijn Hoop 2011-05-14 13:30:47 UTC
This is caused by a missing BuildRequires on GConf2. A local rebuild with this diff does succeed upon installation:

[stijn@pounce] <~/Documents/Fedora/Bugs/704230/eog> git diff
diff --git a/eog.spec b/eog.spec
index 45126a0..48c96d3 100644
--- a/eog.spec
+++ b/eog.spec
@@ -39,6 +39,7 @@ BuildRequires: gdk-pixbuf2-devel
 BuildRequires: shared-mime-info
 BuildRequires: gsettings-desktop-schemas-devel
 BuildRequires: dbus-glib-devel
+BuildRequires: GConf2
 Requires:      gsettings-desktop-schemas
 
 Requires(post):   desktop-file-utils >= %{desktop_file_utils_version}

Comment 3 Clyde E. Kunkel 2011-05-18 16:55:37 UTC
Looking for update in rawhide, please.

Comment 4 Bruno Wolff III 2011-05-22 12:27:23 UTC
*** Bug 706392 has been marked as a duplicate of this bug. ***

Comment 5 Paul Bolle 2011-06-20 12:56:11 UTC
0) Somehow fixed in 3.1.2-2:
* Fri Jun 17 2011 Tomas Bzatek <tbzatek> - 3.1.2-2
- Rebuilt in order to fix pre scriptlet

That is, this version did at least install. (I removed eog some time ago, after getting fed up with this error while doing "yum update".)

1) How this was actually fixed is beyond me, because the related commit looks like a noop to me: http://pkgs.fedoraproject.org/gitweb/?p=eog.git;a=commitdiff;h=bd994b006dd84d6e00e3f0e7861ec83b8c731dc6 . Whatever ...

Comment 6 Stijn Hoop 2011-06-20 13:03:02 UTC
Paul: this must be fixed because something else in the explicit BuildRequires started to require GConf2 again, so it was pulled in during the build.

Comment 7 Horst H. von Brand 2011-10-12 16:07:59 UTC
*** Bug 708068 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Admin XMLRPC Client 2012-04-23 13:08:39 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 9 Kalev Lember 2012-04-27 07:02:26 UTC
Should be fixed in http://pkgs.fedoraproject.org/gitweb/?p=eog.git;a=commit;h=f182aab84 which removes the gconf handling from rpm scriptlets.


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