Author Topic: /var/tmp/rpm-tmp.21745: line 1: fg: no job control  (Read 3682 times)

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 558
  • be patient, I'm German
/var/tmp/rpm-tmp.21745: line 1: fg: no job control
« on: October 03, 2009, 10:28:05 AM »
hola amigos,

I have built hellanzb for PCLOS. Work fine.
Now I'll building lottanzb but comes with an error-message when I install.

Code: [Select]
# rpm -ivh lottanzb-0.5.1-1pclos2009.noarch.rpm
Vorbereiten...              ########################################### [100%]
   1:lottanzb               ########################################### [100%]
/var/tmp/rpm-tmp.21745: line 1: fg: no job control

What mean the message?
Here the spec

Code: [Select]
%define name lottanzb
%define version 0.5.1
%define release %mkrel 1

Summary: LottaNZB - Automated Usenet Client
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Group: Networking/News
Url: http://www.lottanzb.org/
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
BuildRequires: python-devel >= 2.4
BuildRequires: python-kiwi >= 1.9.9
BuildRequires: desktop-file-utils
Requires: python-kiwi >= 1.9.9
Requires: python >= 2.4
Requires: hellanzb >= 0.13
Requires: pygtk2.0
Requires: pygtk2.0-libglade


%description
LottaNZB is a Usenet client that automates the download of Usenet files with the help of NZB files. It uses HellaNZB as its backend and PyGTK for its user interface.

%prep

%setup -q

%build
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT --packaging-mode

%find_lang %{name} --with-gnome
cat PKG-INFO > $RPM_BUILD_ROOT%{python_sitelib}/lottanzb-%{version}-py?.?.egg-info

%post
%{update_desktop-database}
%{update_mime_database}
%update_icon_cache hicolor
%update_scrollkeeper

%postun
%{clean_desktop-database}
%{clean_mime_database}
%clean_icon_cache hicolor
%clean_scrollkeeper

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/*
%{python_sitelib}/%{name}/*
%{python_sitelib}/%{name}-%{version}-*.egg-info
%{_datadir}/%{name}/*
%{_datadir}/icons/*
%{_datadir}/apport/package-hooks/lottanzb.py
%{_datadir}/application-registry/lottanzb.applications
%{_datadir}/applications/lottanzb.desktop
%{_datadir}/mime-info/%{name}.*
%{_datadir}/mime/packages/*
%dir %{_datadir}/omf/lottanzb
%{_datadir}/omf/lottanzb/*.omf
%{_docdir}/%{name}/*
%{_mandir}/man1/%{name}*

%changelog
* Fri Oct 2 2009


saludos
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #1 on: October 03, 2009, 12:52:18 PM »
Try adding %{__make} or %make to your spec.


Offline slick50

  • Full Member
  • ***
  • Posts: 168
    • http://www.linuxgator.org/
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #2 on: October 03, 2009, 02:21:08 PM »
Builds fine here removed: Prefix:   %{_prefix}
Code: [Select]
%define name lottanzb
%define version 0.5.1
%define release %mkrel 1

Summary: LottaNZB - Automated Usenet Client
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Group: Networking/News
Url: http://www.lottanzb.org/
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildArch: noarch
BuildRequires: python-devel >= 2.4
BuildRequires: python-kiwi >= 1.9.9
BuildRequires: desktop-file-utils
Requires: python-kiwi >= 1.9.9
Requires: python >= 2.4
Requires: hellanzb >= 0.13
Requires: pygtk2.0
Requires: pygtk2.0-libglade


%description
LottaNZB is a Usenet client that automates the download of Usenet files with the help of NZB files.
It uses HellaNZB as its backend and PyGTK for its user interface.

%prep

%setup -q

%build
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT --packaging-mode

%find_lang %{name} --with-gnome
cat PKG-INFO > $RPM_BUILD_ROOT%{python_sitelib}/lottanzb-%{version}-py?.?.egg-info

%post
%{update_desktop-database}
%{update_mime_database}
%update_icon_cache hicolor
%update_scrollkeeper

%postun
%{clean_desktop-database}
%{clean_mime_database}
%clean_icon_cache hicolor
%clean_scrollkeeper

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/*
%{python_sitelib}/%{name}/*
%{python_sitelib}/%{name}-%{version}-*.egg-info
%{_datadir}/%{name}/*
%{_datadir}/icons/*
%{_datadir}/apport/package-hooks/lottanzb.py
%{_datadir}/application-registry/lottanzb.applications
%{_datadir}/applications/lottanzb.desktop
%{_datadir}/mime-info/%{name}.*
%{_datadir}/mime/packages/*
%dir %{_datadir}/omf/lottanzb
%{_datadir}/omf/lottanzb/*.omf
%{_docdir}/%{name}/*
%{_mandir}/man1/%{name}*


Registered Linux User #404200 Get counted:-) http://counter.li.org/

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 558
  • be patient, I'm German
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #3 on: October 03, 2009, 04:50:54 PM »
hola amigos,

thx for your answers
here also build fine with and without %{_prefix}
installation also work fine, but finished with error-message

the spec comes from fedora
I think the error is here
Code: [Select]
%post
%{update_desktop-database}
%{update_mime_database}
%update_icon_cache hicolor
%update_scrollkeeper

%postun
%{clean_desktop-database}
%{clean_mime_database}
%clean_icon_cache hicolor
%clean_scrollkeeper

now I comment out and the error has gone
what do the commands? I need this?


saludos
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #4 on: October 03, 2009, 05:08:29 PM »
Leaving them off should be okay. Or you could try something else. Below are two possibilities.

Code: [Select]
%post
sbin/ldconfig

or

Code: [Select]

%post
update menus

Code: [Select]
%postun
sbin/ldconfig

or

Code: [Select]
%postun
update menus


Offline slick50

  • Full Member
  • ***
  • Posts: 168
    • http://www.linuxgator.org/
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #5 on: October 03, 2009, 05:10:21 PM »
hola amigos,

thx for your answers
here also build fine with and without %{_prefix}
installation also work fine, but finished with error-message

Change the %{update_desktop-database} to -> %{update_desktop_database}
Change the %{clean_desktop-database} to -> %{clean_desktop_database}
« Last Edit: October 03, 2009, 05:20:50 PM by slick50 »
Registered Linux User #404200 Get counted:-) http://counter.li.org/

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 558
  • be patient, I'm German
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #6 on: October 03, 2009, 05:55:52 PM »
hola amigos,

Quote
Change the %{update_desktop-database} to -> %{update_desktop_database}
Change the %{clean_desktop-database} to -> %{clean_desktop_database}

ok, no error-message, thx

Quote
%post
sbin/ldconfig
or
%post
update menus

that I read in other spec, but what is the difference?


saludos
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 558
  • be patient, I'm German
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #7 on: October 08, 2009, 08:33:32 AM »
hola amigos,

Now I have problems with the desktop-file

original:
Code: [Select]
[Desktop Entry]
Version=1.0
Name=LottaNZB Automated Usenet Client
Name[da]=LottaNZB Automatiseret Usenet Klient
Name[de]=LottaNZB Automatisierter Usenet-Client
Name[en_AU]=LottaNZB Automated Usenet Client
Name[en_GB]=LottaNZB Automated Usenet Client
Name[es]=LottaNZB Cliente Automatizado de Usenet
Name[fr]=LottaNZB Client Usenet Automatisé
Name[he]=LottaNZB לקוח Usenet אוטומטי
Name[id]=LottaNZB Klien Usenet Terotomatisasi
Name[it]=Client Usenet Automatizzato LottaNZB
Name[nb]=LottaNZB Automatisert Usenet-klient
Name[nl]=LottaNZB Geautomotiseerde Usenet Client
Name[pl]=LottaNZB - Zautomatyzowany Klient Usenet
Name[pt]=LottaNZB Cliente Automatizado para a Usenet
Name[ru]=Автоматизированный usenet клиент LottaNZB
Name[tr]=LottaNZB Otomatik Usenet İstemcisi
GenericName=Automated Usenet Client
GenericName[da]=Automatiseret Usenet Klient
GenericName[de]=Automatisierter Usenet-Client
GenericName[en_AU]=Automated Usenet Client
GenericName[en_GB]=Automated Usenet Client
GenericName[es]=Cliente Usenet Automatizado
GenericName[fr]=Client Usenet Automatisé
GenericName[he]=לקוח Usenet אוטומטי
GenericName[id]=Klien Usenet Terotomasi
GenericName[it]=Client Usenet Automatizzato
GenericName[nb]=Automatisert Usenet-klient
GenericName[nl]=Geautomatiseerde Usenet Client
GenericName[pl]=Zautomatyzowany Klient Usenet
GenericName[pt]=Cliente Automatizado para a Usenet
GenericName[tr]=Otomatik Usenet İstemcisi
Comment=Download from the Usenet with the help of NZB files
Comment[da]=Download fra Usenet med hjælp af NZB filer
Comment[de]=Aus dem Usenet mit Hilfe von NZB-Dateien herunterladen
Comment[en_AU]=Download from the Usenet with the help of NZB files
Comment[en_GB]=Download from the Usenet with the help of NZB files
Comment[es]=Descargar de Usenet con mediante archivos NZB
Comment[fr]=Télécharge depuis Usenet avec des fichiers NZB
Comment[he]=הורידו ממאגר ה-Usenet בעזרת קבצי NZB
Comment[id]=Mengunduh dari Usenet dengan bantuan dari berkas NZB
Comment[it]=Scarica dall'Usenet con l'aiuto di file NZB
Comment[nb]=Last ned fra Usenet ved hjelp av NZB-filer
Comment[nl]=Download met behulp van NZB bestanden uit Nieuwsgroepen
Comment[pl]=Pobieranie z sieci Usenet z pomocą plików NZB
Comment[pt]=Transfira da Usenet com a ajuda de ficheiros NZB
Comment[ru]=Скачать из Usenet с помощью NZB файлов
Comment[tr]=NZB dosyalarının yardımıyla Usenetten dosya indirmenizi sağlar
Exec=lottanzb %F
Icon=lottanzb
Terminal=false
Type=Application
MimeType=application/x-nzb;application/force-download;
Categories=Network;FileTransfer;GNOME;GTK;
Encoding=UTF-8
X-Desktop-File-Install-Version=0.11

spec remove FileTransfer and added X-MandrivaLinux-Internet-News;News; to Categories
but no entry in KDE-Menu

How can/must fixed


saludos
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline slick50

  • Full Member
  • ***
  • Posts: 168
    • http://www.linuxgator.org/
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #8 on: October 08, 2009, 08:50:11 AM »
hola amigos,
Now I have problems with the desktop-file

Maybe try:
Code: [Select]
Network;FileTransfer;X-MandrivaLinux-Internet-FileTransfer;
Registered Linux User #404200 Get counted:-) http://counter.li.org/

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 558
  • be patient, I'm German
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #9 on: October 08, 2009, 10:01:38 AM »
Help my work computer is spinning ;D

I can change what I will, no menu-entry.
Now I tested in VBox, here I have entrys in KDE3, GNOME and LXDE
shipped to dropbox and I hope that it takes someone
I use hellanzb since more then 2 years with hellaworld (PHP-Based GUI)

thx all for your help


saludos
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 558
  • be patient, I'm German
Re: /var/tmp/rpm-tmp.21745: line 1: fg: no job control
« Reply #10 on: October 08, 2009, 02:36:20 PM »
removed from dropbox :'(

Now I have problems with the help-files
lottanzb is designed for gnome and come with gnome-help-files
when I install yelp I can read the help

How can I use help under KDE without yelp?


saludos
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS

Offline rogaven

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 558
  • be patient, I'm German
Re: need help with the help of Lottanzb
« Reply #11 on: October 11, 2009, 08:01:27 PM »
hola amigos,

Unfortunately, the problem with the help has not been solved
for GNOME user everything is ok, but the KDE user?
I now have an alternative solution, I have the help-files converted and manipulated the Help link
I send the file to dropbox for testing
   
if someone has a reasonable solution, who am very grateful.


saludos
« Last Edit: October 11, 2009, 08:05:14 PM by margarita »
Nothing is perfect, not even my english
3.4.25-pclos1.pae.bfs - KDE: 4.10.1 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz - RAM: 8 GB - GeForce 8400 GS