pcp
[Top] [All Lists]

[Bug 889] New: pcp-gui build fails on SLES10SP3, would fail on SLES10SP2

To: pcp@xxxxxxxxxxx
Subject: [Bug 889] New: pcp-gui build fails on SLES10SP3, would fail on SLES10SP2
From: bugzilla-daemon@xxxxxxxxxxx
Date: Tue, 25 May 2010 17:45:45 -0500
Auto-submitted: auto-generated
http://oss.sgi.com/bugzilla/show_bug.cgi?id=889

           Summary: pcp-gui build fails on SLES10SP3, would fail on
                    SLES10SP2
           Product: pcp
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: pcp-gui
        AssignedTo: nathans@xxxxxxxxxx
        ReportedBy: emery@xxxxxxx
                CC: pcp@xxxxxxxxxxx
   Estimated Hours: 0.0
    Classification: Unclassified


service22 /u/semery/devel/pcp-gui # cat /etc/*release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 3

...
=== tar ===
Wrote: /staff/semery/devel/pcp-gui/build/tar/pcp-gui-1.4.6.tar.gz
=== rpm ===
/bin/sed -e's|@pkg_name@|pcp-gui|g' \
    -e's|@pkg_version@|1.4.6|g' \
    -e's|@pkg_release@|1|g' \
    -e's|@pkg_distribution@|suse|g' \
    -e's|@build_root@|/tmp/pcp-gui-build-13258|g' \
    -e'/^BuildRoot: *$/d' \
    -e's|@make@|/usr/bin/gmake|g' < pcp-gui.spec.in > pcp-gui.spec
DEFS=`grep '^--define' rpmmacros`; \
eval /usr/bin/rpmbuild -ba $DEFS --clean pcp-gui.spec
error: Failed build dependencies:
        libqt4-devel >= 4.2 is needed by pcp-gui-1.4.6-1.x86_64
gmake[1]: *** [pack-pcp-gui] Error 1
Done
make: Leaving directory `/staff/semery/devel/pcp-gui/build'

[1]+  Done                    ./Makepkgs
service22 /u/semery/devel/pcp-gui # rpm -qa | grep qt
qt3-3.3.5-58.37
qt-4.3.4-0.7.1
dbus-1-qt3-0.60-33.25
qt-32bit-4.3.4-0.7.1
qt-sql-4.3.4-0.7.1
qt3-32bit-3.3.5-58.37
dbus-1-qt-4.3.4-0.7.1
qt-qt3support-4.3.4-0.7.1
yast2-qt-2.13.85-0.4.55
qt-devel-4.3.4-0.7.1
qt3-devel-3.3.5-58.37
qt-x11-4.3.4-0.7.1


(effectively) Changed build/rpm/pcp-gui.spec.in:
     17 %if "%{_vendor}" == "suse"
     18 Requires: libqt4 >= 4.2
     19 BuildRequires: libqt4-devel >= 4.2
     20 %else
     21 Requires: qt4 >= 4.2
     22 BuildRequires: qt4-devel >= 4.2
     23 %endif

to 
     17 %if "%{_vendor}" == "suse"
     18 Requires: qt >= 4.2
     19 BuildRequires: qt-devel >= 4.2
     20 %else
     21 Requires: qt4 >= 4.2
     22 BuildRequires: qt4-devel >= 4.2
     23 %endif

that addressed *my* issue.  It appears that SLES10SP2 names their qt4 libraries
the same way.
(sles10sp2 system).semery $ rpm -qa | grep qt
qt3-3.3.5-58.37
qt-qt3support-4.3.4-0.3
dbus-1-qt-4.3.4-0.3
yast2-qt-2.13.84-0.3
qt3-x86-3.3.5-58.37
qt-4.3.4-0.3
yast2-control-center-qt-2.13.10-0.8
qt-x86-4.3.4-0.3
qt-x11-4.3.4-0.3
qt-sql-4.3.4-0.3

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 889] New: pcp-gui build fails on SLES10SP3, would fail on SLES10SP2, bugzilla-daemon <=