Bug 399621 - Cannot compile subcommander-1.2.2-7.fc8.src.rpm
Summary: Cannot compile subcommander-1.2.2-7.fc8.src.rpm
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: subcommander
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jochen Schmitt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-26 16:03 UTC by Jan Safranek
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-11-28 19:23:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
rpmbuild log (3.69 KB, text/plain)
2007-11-26 16:03 UTC, Jan Safranek
no flags Details

Description Jan Safranek 2007-11-26 16:03:16 UTC
Description of problem:

I cannot compile the source rpm in my rawhide on x86_64:
rpmbuild -ba subcommander-1.2.2-7.fc8.src.rpm:

checking for IceConnectionNumber in -lICE... yes
checking if --enable-static-qt option is specified... no
checking for Qt... no
configure: error: try setting --with-qt or
error: Bad exit status from /var/tmp/rpm-tmp.96606 (%build)

You can find full logs attached.

How reproducible:
always (rawhide on 2007-11-26)

Additional info:
I wanted to check, if your package is compilable with new openldap-2.4, see
http://people.redhat.com/jsafrane/openldap-2.4-preview/ for yum repository with
all RPMs. IMHO the compilation error is not related to this new openldap.

Please make sure that your package is compilable in current rawhide + check,
that it is compilable with new openldap-2.4-devel from my repo.

Comment 1 Jan Safranek 2007-11-26 16:03:16 UTC
Created attachment 269021 [details]
rpmbuild log

Comment 2 Jan Safranek 2007-11-26 16:04:26 UTC
And yes, I have qt-devel installed - rpm -qa | grep qt :
qt-3.3.8-10.fc9
qt-devel-3.3.8-10.fc9


Comment 3 Jochen Schmitt 2007-11-26 20:01:33 UTC
I have try to build subcommander on Fedora 8 and in mock agains fedora-devel.
For fedora-devel the build fails. Unfortunately, I don't have any idea, why this
is happen.

Comment 4 Jan Safranek 2007-11-27 08:38:49 UTC
The reason is probably that QTDIR variable is not set. The variable is set in
/etc/profile.d/qt.sh (owned by qt-devel), but it requires user to login after
the qt-devel is installed and this does not happen in mock. Everything works
when I install qt-devel and reboot before rpmbuild -ba subcommander.spec (even
with new openldap-2.4).

I found following hack in kdevelop.spec, which should do all the magic:

%build
QTDIR="" && source /etc/profile.d/qt.sh

Or you can look at other .specs, which depend on qt.

Comment 5 Jochen Schmitt 2007-11-27 14:42:02 UTC
Yes, that was my first quest too, so I have insert a line for 
sourcing /etc/profile.d/qt.sh in the SPEC file. But unfortunately, it doesn't 
fix the reported issue.

Comment 6 Jochen Schmitt 2007-11-28 19:23:59 UTC
I have doublecheck the SPEC file and have amek some correction.

the release subcommander-1.2.2-8.fc9 should works.


Note You need to log in before you can comment on or make changes to this bug.