Loading ...
Sorry, an error occurred while loading the content.

help with qsstv spec file and error.

Expand Messages
  • Michael P. ('Jug') Jogoleff - WA6MBZ
    Hello Linuxham group, . I need help with an error listing as below and spec file, as well. The command I sent was this:  rpmbuild -bb --target=i686 qsstv.spec
    Message 1 of 1 , Aug 30, 2012
    • 0 Attachment
      Hello Linuxham group,
      .
      I need help with an error listing as below and spec file, as well.
      The command I sent was this:  rpmbuild -bb --target=i686 qsstv.spec
      which I did from the right folder so the command would find the spec
      file.
      .
      .
      + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables'
      + export CXXFLAGS
      + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules'
      + export FFLAGS
      + ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
      /var/tmp/rpm-tmp.Phl8VB: line 36: ./configure: No such file or directory
      error: Bad exit status from /var/tmp/rpm-tmp.Phl8VB (%build)


      RPM build errors:
          Bad exit status from /var/tmp/rpm-tmp.Phl8VB (%build)
      [root@wa6mbz-centos-01 SPECS]#


      **************8

      Name:           qsstv
      Version:        7.1.7
      Release:        1%{?dist}
      Summary:        Qt-based slow-scan TV and fax

      Group:          Applications/Communications
      License:        GPLv2+
      URL:            http://users.telenet.be/on4qz/qsstv/
      Source0:        http://users.telenet.be/on4qz/qsstv/download/qsstv_%{version}.tgz
      Source1:        qsstv.desktop
      Source2:        qsstv.png
      BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
      #
      # Notes by WA6MBZ, "Jug", on the names of the dependencies
      # that were actually installed while installing the listed
      # ones.
      #
      #  fftw-3.21.-3.el6.i686
      #  fftw-devel-3.2.1-3.1.el6.i686
      #
      # Installing:
      # PyQt4                      i686         4.6.2-8.el6            base         2.0 M
      # PyQt4-devel                i686         4.6.2-8.el6            base         6.6 M
      # PyQt4-webkit               i686         4.6.2-8.el6            epel          79 k
      # PyQt4-webkit-devel         i686         4.6.2-8.el6            epel          11 k
      # Installing for dependencies:
      # qt-devel                   i686         1:4.6.2-24.el6         base         9.9 M
      # qt-mobility                i686         1.1.3-2.el6            epel         1.7 M
      # qtwebkit                   i686         2.1.1-1.el6            epel         5.5 M
      # sip                        i686         4.9.3-1.el6            base         146 k
      # sip-devel 
      #
      # hamlib-devel.i686 : Development library to control radio transceivers and receivers#
      #
      # alsa-lib.i686 : The Advanced Linux Sound Architecture (ALSA) library
      # alsa-lib-devel.i686 : Development files from the ALSA library
      #
      # desktop-file-utils.i686 : Utilities for manipulating .desktop files
      #
      # doxygen.i686 : A documentation system for C/C++
      # doxygen-doxywizard.i686 : A GUI for creating and editing configuration files
      #
      #
      BuildRequires:  gcc-c++ fftw3-devel qt4-devel hamlib-devel alsa-lib
      BuildRequires:  doxygen
      BuildRequires:  desktop-file-utils
      #Requires:      

      %description
      Qsstv is a program for receiving slow-scan television and fax. These are
      modes used by hamradio operators. Qsstv uses a soundcard to send and
      receive images.

      %prep
      %setup -q -n %{name}_%{version}

      #for debuginfo
      chmod 0644 src/icons/*.png

      %build
      #########  %configure
      qmake
      make %{?_smp_mflags}


      %install
      rm -rf $RPM_BUILD_ROOT
      make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
      mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
      cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
      desktop-file-install \
              --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1} --vendors=""


      %clean
      rm -rf $RPM_BUILD_ROOT


      %files
      %defattr(-,root,root,-)
      %doc AUTHORS ChangeLog COPYING README TODO
      %{_bindir}/*
      %{_datadir}/qsstv
      %{_datadir}/pixmaps/%{name}.png
      %{_datadir}/applications/*%{name}.desktop


      %changelog
      * Sun Dec 25 2011 David Ranch - 7.1.7
      - new version

      * Sun Aug 24 2008 Lucian Langa <cooly@...> - 5.3c-3
      - fix build requires

      * Sun Aug 17 2008 Lucian Langa <cooly@...> - 5.3c-2
      - add desktop file

      * Sun Aug 10 2008 Lucian Langa <cooly@...> - 5.3c-1
      - Misc cleanups

      * Mon Dec 10 2007 Sindre Pedersen Bjørdal - 0.5c-1
      - Initial build

       
      ...    73 de 'Jug',   WA6MBZ,   DM04DK,   wa6mbz@....
    Your message has been successfully submitted and would be delivered to recipients shortly.