| Summary: | Error in PREIN scriptlet in rpm package eog-3.1.1-1.fc16.x86_64 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Clyde E. Kunkel <clydekunkel7734> |
| Component: | eog | Assignee: | Kalev Lember <kalevlember> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | bruno, nalin, pebolle, robatino, spoyarek, stijn, tbzatek, valdis.kletnieks, vonbrand |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-27 07:02:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Clyde E. Kunkel
2011-05-12 13:51:52 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. 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}
Looking for update in rawhide, please. *** Bug 706392 has been marked as a duplicate of this bug. *** 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 ... 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. *** Bug 708068 has been marked as a duplicate of this bug. *** This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Should be fixed in http://pkgs.fedoraproject.org/gitweb/?p=eog.git;a=commit;h=f182aab84 which removes the gconf handling from rpm scriptlets. |