Restricted user shell intended for use with ssh, rsh and similar. Bug for package in sunrise. Reproducible: Always Steps to Reproduce:
http://overlays.gentoo.org/proj/sunrise/browser/sunrise/app-shells/rush
reopening. afaik sunrise package bugs should remain so.
make -j4 make all-recursive make[1]: Entering directory `/var/tmp/portage/app-shells/rush-1.7/work/rush-1.7' Making all in gnu make[2]: Entering directory `/var/tmp/portage/app-shells/rush-1.7/work/rush-1.7/gnu' GEN c++defs.h GEN alloca.h GEN configmake.h GEN arg-nonnull.h GEN warn-on-use.h GEN langinfo.h GEN stdio.h GEN string.h GEN stdlib.h GEN time.h GEN unistd.h GEN wchar.h GEN wctype.h make all-recursive make[3]: Entering directory `/var/tmp/portage/app-shells/rush-1.7/work/rush-1.7/gnu' make[4]: Entering directory `/var/tmp/portage/app-shells/rush-1.7/work/rush-1.7/gnu' CC c-ctype.o CC localcharset.o CC xstrndup.o CC exitfail.o In file included from localcharset.c:30:0: ./stdio.h:434:1: error: ‘gets’ undeclared here (not in a function) CC argmatch.o CC asnprintf.o CC basename.o In file included from argmatch.c:30:0: ./stdio.h:434:1: error: ‘gets’ undeclared here (not in a function) make[4]: *** [localcharset.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [argmatch.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-shells/rush-1.7/work/rush-1.7/gnu' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-shells/rush-1.7/work/rush-1.7/gnu' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-shells/rush-1.7/work/rush-1.7/gnu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-shells/rush-1.7/work/rush-1.7' make: *** [all] Error 2 emake failed * ERROR: app-shells/rush-1.7 failed (compile phase): * emake failed
compilation works fine here (running mostly stable version of libs though)
similar patch to stdio.in.h as below should fix the issue for new glibc does it work for you? http://lists.gnu.org/archive/html/grub-devel/2012-07/txtHRnXiHYUrM.txt
Created attachment 366540 [details, diff] rush-1.7-glib-2.16-gets.patch (In reply to pavel sanda from comment #5) Thanks Pavel. I've used your example from grub to patch rush-1.7/gnu/stdio.in.h. I'm attaching the patch for rush and the modifed ebuild.
Created attachment 366542 [details] rush-1.7.ebuild --- rush-1.7.ebuild.orig 2013-12-30 13:48:07.000000000 +0100 +++ rush-1.7.ebuild 2013-12-30 14:51:22.000000000 +0100 @@ -2,6 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI=5 + +inherit base eutils + DESCRIPTION="Restricted user shell intended for use with ssh, rsh and similar." HOMEPAGE="http://puszcza.gnu.org.ua/projects/rush" SRC_URI="ftp://download.gnu.org.ua/pub/release/${PN}/${P}.tar.gz" @@ -11,6 +15,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" +src_prepare() { + epatch "${FILESDIR}"/rush-1.7-glib-2.16-gets.patch + base_src_prepare +} + src_install() { dodoc THANKS AUTHORS README NEWS || die "copying documentation failed" emake DESTDIR="${D}" install || die "emake install failed"
(In reply to Patrick Lauer from comment #3) Upstream Bug: https://puszcza.gnu.org.ua/bugs/index.php?199
*** Bug 496544 has been marked as a duplicate of this bug. ***
Hello, everyone. It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project. Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that: 1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it. 2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding. 3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint. 4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality. Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise. [1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers [2]:https://gitweb.gentoo.org/proj/sunrise.git/
copied & fixed in rebutia overlay
Package already on gentoo