https://bugzilla.novell.com/show_bug.cgi?id=393413
User suse@tlinx.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=393413#c2
L. A. Walsh changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|suse@tlinx.org |
--- Comment #2 from L. A. Walsh 2008-05-22 12:36:49 MST ---
1st problem -- the bug is filed against the 11.0-FACTORY source rpm -- not
the 10.3 RPM.
In order to apply my source patches, I needed openssh 4.7 or 5.0.
SuSE 10.3 only contains openssh 4.6, so I tried the source RPM package
that currently exists in the 11.0-FACTORY tree (the one that is scheduled for
release in 25-30 days).
I changed the specfile to eliminate the need for kerberos5 in line
188 of the openssh.spec file -- I deleted the one line:
188 --with-kerberos5=/usr \
-------
There is a missing link dependency in the 10.3 kerberos libraries that I did
not track down -- I don't use kerberos, so it wasn't important to find out if
it was
a bug in the spec or if it was a new library call introduced in SuSE 11.0 that
I didn't have installed on my 10.3 based x86_64 system. So I removed that
optional configuration line.
---
to Reproduce, download openssh-5.0p1-16.src.rpm and install the sources.
Edit the specfile to remove line 188 as shown above ( --with-kerberos5=/usr
line)
Try to rebuild 'all' (both) the binary and source using
rpmbuild -ba specs/openssh.spec.
It will fail before completing with a missing man page. The missing
manpage is from a separate utility called "openssh-keyconverter". It is
generated in the specfile at line '222' (assuming you previously deleted
line 188, above that reads:)
222 (cd converter; make install DESTDIR=$RPM_BUILD_ROOT/)
^-(number is line number from vi)
----
For that sub-util to be built, libpthread is needed.
Whoever created the new source package for openssh (that exists in
openSuSE11.0-FACTORY and openssh source rpm "openssh-5.0p1-16.src.rpm")
left these lines and comments in the openSuSE 11.0 specfile (lines 177-179):
177 #Obsoleted CFLAGS="-DUSE_POSIX_THREADS $RPM_OPT_FLAGS"
CXXFLAGS="-DUSE_POSIX
_THREADS $RPM_O \
178 #Obsoleted LDFLAGS="-lpthread" \
179 LDFLAGS="-pie" CFLAGS="$RPM_OPT_FLAGS $PIEFLAGS -fstack-protector"
CXXFLAGS=
"$RPM_OPT_FLAGS $PIEFLAGS -fstack-protector" \
I am not trying to build the openSuSE10.3 openssh source rpm
(openssh-4.6p1-58). It's not the sources in the current version that have
the problem, it's in the sources for the yet-to-be-released openSuSE11.0
version (openssh-5.0p1-16.src.rpm) I downloaded from:
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/sr...
Does that clarify the problem? Sorry for any confusion.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.