i'm have some trouble rebuilding src rpms for 2.3 on a (mostly) redhat 6.2 machine. i have updated a few of the libraries, and am running rpm version 3.0.4-0.48, which is pretty recent i think. the problem is that the openssh rpm doesn't seem to actually produce an rpm file(s). i run it, everything seems to compile ok, it looks like it tries to build the rpms, but then i can find nothing in the /usr/src/redhat/RPMS/i386 directory. it's very strange indeed. there is no usr/bin directory in the tmp dir either. however, the files do look they were actually compiled in the /usr/src/redhat/BUILD/openssh-xxx directory. i have attached the full output from the build in case there is anything useful in there. i'm not really sure what is going on. i see the line to compile then link sshd (for eg) but then the next reference to it is near the end where it says it can't find in in the /tmp/openssh-xxx/usr/bin directory, which is quite accurate. any help would be greatly appreciated. btw, the command i'm using to rebuild is: rpm --rebuild openssh-xxx.src.rpm the build log also shows the actual command. -- CraigL->Thx(); Be Developer ID: 5852 Check out <http://www.begeek.com/>! -------------- next part -------------- A non-text attachment was scrubbed... Name: openssh-build.log.gz Type: application/x-gzip Size: 5859 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010210/32428811/attachment.bin
On 09 Feb 2001 22:16:31 -0800, Craig Longman wrote:> > i'm have some trouble rebuilding src rpms for 2.3 on a > (mostly) redhat 6.2 machine. i have updated a few of > the libraries, and am running rpm version 3.0.4-0.48, > which is pretty recent i think. > > the problem is that the openssh rpm doesn't seem to actually > produce an rpm file(s). i run it, everything seems to > compile ok, it looks like it tries to build the rpms, but > then i can find nothing in the /usr/src/redhat/RPMS/i386 > directory. it's very strange indeed. there is no usr/bin > directory in the tmp dir either. however, the files do > look they were actually compiled in the > /usr/src/redhat/BUILD/openssh-xxx directory.Here's your problem: Processing files: openssh-server-2.3.0p1-1 File not found: /tmp/openssh-2.3.0p1-buildroot/usr/sbin/sshd File not found: /tmp/openssh-2.3.0p1-buildroot/usr/libexec/openssh/sftp-server File not found by glob: /tmp/openssh-2.3.0p1-buildroot/usr/man/man8/sshd.8* File not found by glob: /tmp/openssh-2.3.0p1-buildroot/usr/man/man8/sftp-server.8* File not found: /tmp/openssh-2.3.0p1-buildroot/usr/etc/ssh/sshd_config If you're not already, I'd strongly recomend that you upgrade to RPM 3.0.5, and see if any of these go away. For some reason, those files aren't showing up where RPM has been told to expect them, and so RPM is not writing an RPM. Greg
On Sat, 10 Feb 2001, Craig Longman wrote:> > i'm have some trouble rebuilding src rpms for 2.3 on a > (mostly) redhat 6.2 machine. i have updated a few of > the libraries, and am running rpm version 3.0.4-0.48, > which is pretty recent i think.Here is you problem: + %{makeinstall} sysconfdir=/tmp/openssh-2.3.0p1-buildroot/usr/etc/ssh libexecdir=/tmp/openssh-2.3.0p1-buildroot/usr/libexec/openssh DESTDIR=/ fg: no job control Upgrade to rpm-3.0.5-9.6x -d -- | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's | http://www.mindrot.org / distributed filesystem'' - Dan Geer