Bug 49644 - rawhide SRPM nmap-2.54BETA22-2.src.rpm does not depend on gtk+ when building
Summary: rawhide SRPM nmap-2.54BETA22-2.src.rpm does not depend on gtk+ when building
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: nmap
Version: 1.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-22 17:54 UTC by Heikki Korpela
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-07-22 17:54:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Heikki Korpela 2001-07-22 17:54:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; OpenBSD 2.9 i386)

Description of problem:

nmap-2.54BETA22-2.src.rpm will try to build even when there is no gtk+
installed on the system but fail to create any packages because obviously
the frontend doesn't get built.

How reproducible:
Always

Steps to Reproduce:
1. Remove gtk+ if you have it on your system.
2. rpm --rebuild nmap-2.54BETA22-2.src.rpm
	

Actual Results:  error: File not found: /var/tmp/nmap-root/usr/bin/nmapfe
error: File not found: /var/tmp/nmap-root/usr/bin/xnmap
error: File not found: /var/tmp/nmap-root/usr/share/man/man1/nmapfe.1.gz
error: File not found: /var/tmp/nmap-root/usr/share/man/man1/xnmap.1.gz
Requires: nmap = 2.54BETA22 gtk+


RPM build errors:
    File not found: /var/tmp/nmap-root/usr/bin/nmapfe
    File not found: /var/tmp/nmap-root/usr/bin/xnmap
    File not found: /var/tmp/nmap-root/usr/share/man/man1/nmapfe.1.gz
    File not found: /var/tmp/nmap-root/usr/share/man/man1/xnmap.1.gz


Expected Results:  error: failed build dependencies:
        gtk+ is needed by nmap-2.54BETA22-2


Additional info:

The following patch should fix it:

--- nmap.spec.orig      Sun Jul 22 20:45:17 2001
+++ nmap.spec   Sun Jul 22 20:47:14 2001
@@ -23,6 +23,7 @@
 Summary: Gtk+ frontend for nmap
 Group: Applications/System
 Requires: nmap = %{PACKAGE_VERSION} , gtk+
+BuildRequires: gtk+
 %description frontend
 This package includes nmapfe, a Gtk+ frontend for nmap. The nmap package
must
 be installed before installing nmap-frontend.
@@ -64,6 +65,9 @@
 %{_mandir}/man1/xnmap.1.gz
 
 %changelog
+* Sun Jul 22 2001 Heikki Korpela <heko>
+- buildrequire gtk+ 
+
 * Tue Jul 10 2001 Tim Powers <timp>
 - fix bugs in desktop file (#48341)

Comment 1 Harald Hoyer 2001-07-23 09:54:09 UTC
thx



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