Bug 113707 - Building error at disabled "no_gnome_askpass"
Summary: Building error at disabled "no_gnome_askpass"
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: openssh
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-16 18:35 UTC by Robert Scheck
Modified: 2007-04-18 17:01 UTC (History)
0 users

Fixed In Version: 3.8.1p1-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-15 08:47:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2004-01-16 18:35:36 UTC
Description of problem:
--- snipp ---
Error: Installed (but unpackaged) file(s) found:
   /etc/profile.d/gnome-ssh-askpass.csh
   /etc/profile.d/gnome-ssh-askpass.sh


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /etc/profile.d/gnome-ssh-askpass.csh
   /etc/profile.d/gnome-ssh-askpass.sh
--- snapp ---

Version-Release number of selected component (if applicable):
<= openssh-3.6.1p2-25

How reproducible and steps to reproduce:
1. Edit the spec file and set the following:
   %define no_gnome_askpass 1
2. rpmbuild -ba openssh.spec
3. Wait and get the error above :-(
  
Actual results:
The error is still simple, someone forgot an if-case in the spec 
file.

Expected results:
You could solve the problem in the same way, I did it. Change the 
following:

--- snipp ---
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
install -m 755 contrib/redhat/gnome-ssh-askpass.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
install -m 755 contrib/redhat/gnome-ssh-askpass.sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
--- snapp ---

to that:

--- snipp ---
%if ! %{no_gnome_askpass}
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
install -m 755 contrib/redhat/gnome-ssh-askpass.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
install -m 755 contrib/redhat/gnome-ssh-askpass.sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
%endif
--- snapp ---

Then, rebuilding with that disabled option will work fine.

Additional info:
Same problem at Red Hat Linux 9 and Fedora Core 1.

Comment 1 Robert Scheck 2004-05-13 17:59:06 UTC
Could this little building fix please applied (maybe with other changes) 
to Fedora Core Development - it doesn't hurt anyone...really :)

Thank you.

Comment 2 Robert Scheck 2004-06-15 08:47:37 UTC
Thank you for fixing my issue with the latest update :-)


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