Comments (6)
golang(github.com/gogo/protobuf/vanity/test) golang(github.com/gogo/protobuf/vanity/test/fast) golang(github.com/gogo/protobuf/vanity/test/faster) golang(github.com/gogo/protobuf/vanity/test/slick)
I think those "test" paths are useless too? Do they?
from golang-packaging.
I filtered "test" and "example" from provides.
the golang.req
script actually runs fine, see:
[ 124s] Source package created! [ 124s] + ruby /home/abuild/rpmbuild/SOURCES/golang.req [ 124s] golang(API) = 1.5
I added golang.req
to Source1 of golang-github-gogo-protobuf
and use:
%gosrc ruby %{S:1}
to test
since the script doesn't read from stdin like golang.prov
do, it can be run anywhere, the result will be the same
I think the problem may locates in the stdin pipe of the -source sub-package because golang.req
does the same job for all the sub-packages but x86_64 didn't fail.
from golang-packaging.
I found *.golden are added to -source package. seems my regex failed to filter them.
Now the error is much more readable: "fail to write all data to /usr/lib/rpm/golang.req
Which can be found here:
http://rpm.org/api/4.4.2.2/rpmfc_8c-source.html
But due to my poor understanding of C, I don't know what will trigger the error in design.
Can you look at it and explain to me?
from golang-packaging.
It seems that RPM attempts to write to closed file descriptor (finished script). Even you don't use info from stdin, It seems that it should be read from the script anyway.
p.s. I don't think that filtering really required, sooner or later we will found that some package really "Requires: x/y/z/test"
from golang-packaging.
ok, I'll see what happened if I just open stdin and close it right away.
and I'm testing the new golang.req
which read stdin.
from golang-packaging.
release v13 with new implementation of golang.req should fix it
from golang-packaging.
Related Issues (11)
- golang-github-hashicorp-raft doesn't requires anything HOT 4
- findprovs does't work for openSUSE Leap 42.1 HOT 4
- Fails to build on Power HOT 1
- Move this repository under the openSUSE organization HOT 1
- Requires could be extracted directly from .a files HOT 6
- Missed provides in golang-github-stretchr-testify HOT 3
- golang-macros.rb doesn't work as expected HOT 4
- -tags support is required for build macro HOT 3
- $GOPATH not set correctly HOT 9
- a slash in importpath HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golang-packaging.