Bug 35630 - gear-srpmimport --stdin fails on readlink
Summary: gear-srpmimport --stdin fails on readlink
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: gear (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-21 14:01 MSK by Ivan Zakharyaschev
Modified: 2020-12-27 14:44 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2018-11-21 14:01:44 MSK
[imz@team tests]$ mkdir test-srpmimport
[imz@team tests]$ cd test-srpmimport/
[imz@team test-srpmimport]$ git init
Initialized empty Git repository in /home/imz/tests/test-srpmimport/.git/
[imz@team test-srpmimport]$ gear-srpmimport --stdin < /ALT/p8/files/SRPMS/rpm-4.0.4-alt101.M80P.3.src.rpm 
readlink: ''$'\355\253\356\333\003': No such file or directory
[imz@team test-srpmimport]$ rpm -qf "$(which gear-srpmimport)"
gear-2.2.0-alt1

This works:

[imz@team test-srpmimport]$ gear-srpmimport /ALT/p8/files/SRPMS/rpm-4.0.4-alt101.M80P.3.src.rpm
Comment 1 Dmitry V. Levin 2020-12-27 14:44:54 MSK
$ gear-srpmimport --help |grep stdin
or:    gear-srpmimport [options] --stdin
  --stdin                   read source package names from stdin;