Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669730 - net-libs/grpc-1.16.0 src_install(): make: execvp: /bin/sh: Argument list too long
Summary: net-libs/grpc-1.16.0 src_install(): make: execvp: /bin/sh: Argument list too ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-10-27 02:03 UTC by Oleg Akimov
Modified: 2018-10-28 19:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
grpc-1.16.0-r1.ebuild (grpc-1.16.0-r1.ebuild,2.25 KB, text/plain)
2018-10-27 02:05 UTC, Oleg Akimov
Details
grpc-1.15.1-fix-arg-max.patch (grpc-1.15.1-fix-arg-max.patch,2.56 KB, patch)
2018-10-27 02:07 UTC, Oleg Akimov
Details | Diff
grpc-1.16.0-r1.ebuild (grpc-1.16.0-r1.ebuild,2.25 KB, text/plain)
2018-10-27 02:08 UTC, Oleg Akimov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Akimov 2018-10-27 02:03:09 UTC
Build process failed at the end of compile phase:

[INSTALL] Installing libgrpc++_unsecure.so.1.16.0
[INSTALL] Installing libgrpcpp_channelz.so.1.16.0
make: execvp: /bin/sh: Argument list too long
make: *** [Makefile:2958: install-headers_cxx] Error 127

Issue: https://github.com/grpc/grpc/issues/14844

Patch to fix this problem: https://github.com/alisw/grpc/commit/8fbf4fcb98a6f6902bda1e15f3c6881b080f7ab1
Comment 1 Oleg Akimov 2018-10-27 02:05:05 UTC
Created attachment 553252 [details]
grpc-1.16.0-r1.ebuild

apply grpc-1.15.1-fix-arg-max.diff
Comment 2 Oleg Akimov 2018-10-27 02:07:04 UTC
Created attachment 553254 [details, diff]
grpc-1.15.1-fix-arg-max.patch

Patch from https://github.com/alisw/grpc/commit/8fbf4fcb98a6f6902bda1e15f3c6881b080f7ab1
Comment 3 Oleg Akimov 2018-10-27 02:08:06 UTC
Created attachment 553256 [details]
grpc-1.16.0-r1.ebuild

apply grpc-1.15.1-fix-arg-max.patch
Comment 4 Larry the Git Cow gentoo-dev 2018-10-28 19:34:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39ed9cf181d96f0cc120a898379c06b103bc83b

commit f39ed9cf181d96f0cc120a898379c06b103bc83b
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2018-10-28 19:33:39 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2018-10-28 19:33:39 +0000

    net-libs/grpc: fix ARG_MAX install error
    
    Closes: https://bugs.gentoo.org/669730
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 ...0-Prevent-shell-calls-longer-than-ARG_MAX.patch | 70 ++++++++++++++++++++++
 net-libs/grpc/grpc-1.16.0.ebuild                   |  1 +
 2 files changed, 71 insertions(+)
Comment 5 Georgy Yakovlev archtester gentoo-dev 2018-10-28 19:35:36 UTC
thanks for finding the patch!

no revision bump needed this time, since some users can build it just fine, so I pushed straight to 1.16.0