Re: Error during rpmbuild

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi,

So, I found the x11-ssh-askpass file at a Fedora site and put it in
SOURCES however the build still fails with:

rpmbuild -ba SPECS/openssh.spec -D skip_x11_askpass=1
...
Processing files: openssh-askpass-7.7p1-1
error: File not found: /var/tmp/openssh-7.7p1-buildroot/usr/lib/ssh/ssh-askpass
error: File not found:
/var/tmp/openssh-7.7p1-buildroot/usr/lib/ssh/x11-ssh-askpass
error: File not found by glob:
/var/tmp/openssh-7.7p1-buildroot/usr/X11R6/man/man1/ssh-askpass.1x*
error: File not found by glob:
/var/tmp/openssh-7.7p1-buildroot/usr/X11R6/man/man1/x11-ssh-askpass.1x*
error: File not found:
/var/tmp/openssh-7.7p1-buildroot/usr/X11R6/lib/X11/app-defaults/SshAskpass
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.95489
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd openssh-7.7p1
+ DOCDIR=/var/tmp/openssh-7.7p1-buildroot/usr/share/doc/packages/openssh-askpass
+ export DOCDIR
+ rm -rf /var/tmp/openssh-7.7p1-buildroot/usr/share/doc/packages/openssh-askpass
+ /bin/mkdir -p
/var/tmp/openssh-7.7p1-buildroot/usr/share/doc/packages/openssh-askpass
+ cp -pr x11-ssh-askpass-1.2.4.1/README
/var/tmp/openssh-7.7p1-buildroot/usr/share/doc/packages/openssh-askpass
cp: cannot stat `x11-ssh-askpass-1.2.4.1/README': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.95489 (%doc)


RPM build errors:
    Unknown option ? in verify_permissions(:-:)
    File not found: /var/tmp/openssh-7.7p1-buildroot/usr/lib/ssh/ssh-askpass
    File not found: /var/tmp/openssh-7.7p1-buildroot/usr/lib/ssh/x11-ssh-askpass
    File not found by glob:
/var/tmp/openssh-7.7p1-buildroot/usr/X11R6/man/man1/ssh-askpass.1x*
    File not found by glob:
/var/tmp/openssh-7.7p1-buildroot/usr/X11R6/man/man1/x11-ssh-askpass.1x*
    File not found:
/var/tmp/openssh-7.7p1-buildroot/usr/X11R6/lib/X11/app-defaults/SshAskpass
    Bad exit status from /var/tmp/rpm-tmp.95489 (%doc)

Any ideas?

Thanks,

Rob

On Tue, Apr 17, 2018 at 2:03 PM, Rob Marshall <rob.marshall17@xxxxxxxxx> wrote:
> Hi,
>
> I'm using the Suse openssh.spec to try and build a 7.7p1 RPM for an
> old OS. I don't need the ask pass and tried:
>
> rpmbuild -ba SPECS/openssh.spec -D skip_x11_askpass=1
>
> But it gets an error:
>
> error: Bad file:
> /usr/src/packages/SOURCES/x11-ssh-askpass-1.2.4.1.tar.gz: No such file
> or directory
>
> The problem is that I haven't been able to find that tar file, and I
> don't know why I need it. Any suggestions as to how I can completely
> ignore it?
>
> Thanks,
>
> Rob
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux