Mailinglist Archive: opensuse-buildservice (272 mails)

< Previous Next >
[opensuse-buildservice] How to solve the problem: "fg: no job control"
  • From: Leaf John <leafjohn@xxxxxxxxx>
  • Date: Wed, 17 Nov 2010 13:43:16 +0800
  • Message-id: <AANLkTinVyDHy7aA32C_N3dRJoo6GB88EGDRhH8WC89XL@xxxxxxxxxxxxxx>
I'm building some meego packages in our local obs server, but some packages
got this kind of error message:


"""A part of buidlog
+ GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+ %qmake_install
/var/tmp/rpm-tmp.Y71xyr: line 37: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.Y71xyr (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.Y71xyr (%install)
"""

This is the spec file, I omit the %setup, %files, %changelog sections.
---------------------------------------------------------------------------------

Name: libmeegotouch
Summary: MeeGo Touch Framework
Version: 0.20.25
Release: 7.2
Group: System/Libraries
License: LGPLv2.1
URL: http://meego.gitorious.org/meegotouch/libmeegotouch
Source0: %{name}-%{version}.tar.bz2
Source100: libmeegotouch.yaml
Patch0: libmeegotouch-0.20.1-Changes-Read-target-device-from-GConf.patch
Patch1:
libmeegotouch-0.20.1-Fix-Ensure-rowsRemoved-updates-visible-cells.patch
Patch2: libmeegotouch-0.20.1-ARMv5-build-failure.patch
Patch3: libmeegotouch-0.20.1-Add-various-devices-to-device-conf.patch
Patch4: libmeegotouch-0.20.10-Workaround-icu-config-bug.patch
Patch5: libmeegotouch-0.20.10-missing-Epoch-function.patch
Patch6:
libmeegotouch-0.20.15-Revert-c90025d6bde5184346d8bbe148effd47aef354af-Fixe.patch
Patch7: libmeegotouch-0.20.15-ARM-QEMU-stall-fix.patch
Patch8: fix_locale_build_issue.patch
Patch9: fix_mbubble_build_issue.patch
Patch10: re-enable_code_to_set_orientation.patch
Patch11: include_order.patch
Patch12: arm_ftbfs_egl.patch
Patch13: hide_status_bar_for_vkb.patch
Requires: meegotouch-theme >= 0.20.14
Requires(pre): GConf2
Requires(preun): GConf2
Requires(post): /sbin/ldconfig
Requires(post): GConf2
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(QtCore) >= 4.7.0
BuildRequires: pkgconfig(QtDBus)
BuildRequires: pkgconfig(QtOpenGL)
BuildRequires: pkgconfig(QtNetwork)
BuildRequires: pkgconfig(QtGui)
BuildRequires: pkgconfig(gstreamer-0.10)
BuildRequires: pkgconfig(gstreamer-base-0.10)
BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(icu)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(contextprovider-1.0)
BuildRequires: icu
BuildRequires: fdupes
Provides: libdui >= 0.20.0
Obsoletes: libdui < 0.20.0


%description
Qt based MeeGo Touch Framework for developing touch based user interfaces



%package devel
Summary: Development files for the MeeGo Touch Framework
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: desktop-file-utils

%description devel
This package contains the files necessary to develop
applications using the touch framework.


%package qtstyle
Summary: QtStyle plugin for the MeeGo Touch Framework
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: desktop-file-utils

%description qtstyle
This package contains the QtStyle plugin for the MeeGo Touch Framework

%build
# >> build pre
#PlainQt plugin isn't rendering properly - disabling for now
#./configure -prefix /usr -release -plainqt
./configure -prefix /usr -release
make %{?jobs:-j%jobs}


%install
rm -rf %{buildroot}
# >> install pre
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%qmake_install
# << install pre

# >> install post
mkdir -p %{buildroot}/etc/profile.d
echo "export M_DECORATED=0" > %{buildroot}/etc/profile.d/libmeegotouch.sh

%define GCONF_CONFIG_SOURCE `gconftool-2 --get-default-source`
gconftool-2 --direct --config-source %{GCONF_CONFIG_SOURCE}
--makefile-install-rule src/meegotouch.schemas

#Fix rpmlint errors - some header files have invalid permissions
chmod 644 %{buildroot}/usr/include/meegotouch/mrichtexteditstyle.h
chmod 644 %{buildroot}/usr/include/meegotouch/mrichtextedit.h

# Pre-create and chmod the mthemedaemon cache dir
mkdir -p %{buildroot}/var/cache/meegotouch

# Remove known zero-length files
rm %{buildroot}/usr/share/qtstyleexample/themes/style/qtstyleexample.css
rm %{buildroot}/usr/share/animatedlayout/themes/animatedlayout.conf

rm
%{buildroot}/usr/share/themes/base/meegotouch/widgetsgallery/feedbacks/press-babytoy/vibra.ivt

rm
%{buildroot}/usr/share/themes/base/meegotouch/widgetsgallery/feedbacks/release-space/vibra.ivt

rm
%{buildroot}/usr/share/themes/devel/meegotouch/widgetsgallery/style/widgetsgallery.css

rm
%{buildroot}/usr/share/themes/base/meegotouch/widgetsgallery/widgetsgallery.conf

rm
%{buildroot}/usr/share/themes/base/meegotouch/widgetsgallery/feedbacks/press-space/vibra.ivt

rm
%{buildroot}/usr/share/themes/base/meegotouch/widgetsgallery/feedbacks/release-babytoy/vibra.ivt
# << install post
%fdupes %{buildroot}/%{_datadir}

%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/meegotouch.schemas \
> /dev/null || :
fi

%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
/etc/gconf/schemas/meegotouch.schemas \
> /dev/null || :
fi

%post
/sbin/ldconfig
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
/etc/gconf/schemas/meegotouch.schemas > /dev/null || :

%postun -p /sbin/ldconfig


--
Best Reagres,
Leaf Johnson<leafjohn@xxxxxxxxx>
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups