Bug 119426 - sara-6.0.7d.ebuild failed with dep to csh
Bug#: 119426 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P3
Resolution: FIXED Assigned To: netmon@gentoo.org Reported By: ekutay@goldmail.de
Component: Ebuilds
URL:  http://article.gmane.org/gmane.linux.gentoo.devel/35505
Summary: sara-6.0.7d.ebuild failed with dep to csh
Keywords:  
Status Whiteboard: 
Opened: 2006-01-18 08:21 0000
Description:   Opened: 2006-01-18 08:21 0000
Sara failed to build. Has actually just a dependency to tcsh. Dunno why csh
should be required or I misinterpretate the ebuild failure. Have got tcsh
installed but no csh.

gcc  -o ./sqlbackdoor html.o sqllib.o util.o registry.o sqlbackdoor.o -lnsl
-lresolv -lrpcsvc freetds-0.52/src/tds/.libs/libtds.a
make[2]: Leaving directory
`/var/tmp/portage/sara-6.0.7d/work/sara-6.0.7d/src/sqlat'
perl reconfig
Perl needs the csh shell to execute this program
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sara-6.0.7d/work/sara-6.0.7d'
make: *** [generic] Error 2

------- Comment #1 From Benjamin Smee (strerror) (RETIRED) 2006-01-20 14:37:30 0000 -------
Please provide enough information to replicate the bug. Where is your emerge
info? What do you mean that you have tcsh installed but you have no csh? for
the build the perl component needs csh to work, hence the DEPEND. 

------- Comment #2 From Peter Volkov 2006-01-21 01:12:34 0000 -------
Benjamin: This is an error on new clean install. You can reporoduce it now if
you create new stable chroot.

New stable version of tcsh does not create csh symlink (see bug 119703). Seems
that fix will be to remove csh from the tree and always create csh symlink in
tcsh.

As a workaround I can suggest to create symlink /bin/csh -> /bin/tcsh manually.

------- Comment #3 From Erol Kutay 2006-01-21 09:42:39 0000 -------
Benjamin, sorry that I didn't make myself clear enough. I thought the hint,
that I simply have no real csh installed on my system would be enough. An
emerge info would be of no value here. If you still really like, I can paste it
nevertheless.

Peter, you are right. Manual symlink creation fixes the build failure and sara
works as usual.... with no csh installed. ;)

------- Comment #4 From Benjamin Smee (strerror) (RETIRED) 2006-01-21 09:53:36 0000 -------
I already had tcsh installed so I didn't have this problem. I looked over the
ebuild and the build process and saw no problem, hence without more info I
couldn't replicate. At least its not our ebuild thats at fault :)

Erol: we always need as much information as possible, emerge info is always
useful and listing the versions of the relevant applications is also useful.

------- Comment #5 From Marcelo Goes 2006-01-21 10:18:47 0000 -------
Fabian: how do you recommend we fix depends for sara so that this problem won't
happen anymore?

------- Comment #6 From Fabian Groffen 2006-01-21 11:06:38 0000 -------
I thought of a solution together with taviso.  Will send some email about it
tomorrow I guess.

------- Comment #7 From Fabian Groffen 2006-01-29 03:25:35 0000 -------
Update: I added tcsh-6.14-r3 which provides csh -> tcsh symlink.

------- Comment #8 From Marcelo Goes 2006-02-03 14:40:49 0000 -------
Cool. Sara now depends on >=tcsh-6.14-r3.