#10986: building ecl fails in case the installed etags is actually
exuberant-ctags
------------------------+---------------------------------------------------
Reporter: fbissey | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.7
Component: packages | Keywords:
Author: | Upstream: Reported upstream. Little or no
feedback.
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
In some debian installs (and derivatives such as ubuntu) the etags program
is actually to ctags from exuberant-ctags. This is incompatible with what
ecl expect. the symptoms are as follow:
{{{
echo > TAGS
if test "xetags" != "x"; then \
srcfiles=`find
/scratch/scratch/schilly/sage/sage-4.6.2/spkg/build/ecl-11.1.1/src/src/c
/scratch/scratch/schilly/sage/sage-4.6.2/spkg/build/ecl-11.1.1/src/src/h
-name '*.[chd]'` && \
etags --language=c -o TAGS $srcfiles && \
etags --language=none -o TAGS --append \
--regex='/@\([-:*a-zA-z]+\)/\1/' \
--regex='/@(defun \([-:*a-zA-z]+\)/\1/' \
$srcfiles; \
fi
etags: relocation error: /usr/lib/libldap_r-2.4.so.2: symbol
}}}
or
{{{
echo > TAGS
if test "xetags" != "x"; then \
srcfiles=`find
/storage/strogdon/gentoo/var/tmp/portage/dev-
lisp/ecls-11.1.1/work/ecl-11.1.1/src/c
/storage/strogdon/gentoo/var/tmp/portage/dev-
lisp/ecls-11.1.1/work/ecl-11.1.1/src/h
-name '*.[chd]'` && \
etags --language=c -o TAGS $srcfiles && \
etags --language=none -o TAGS --append \
--regex='/@\([-:*a-zA-z]+\)/\1/' \
--regex='/@(defun \([-:*a-zA-z]+\)/\1/' \
$srcfiles; \
fi
etags: Warning: "--language" option is obsolete; use "--language-force"
instead
etags: "TAGS" doesn't look like a tag file; I refuse to overwrite it.
}}}
There is no way to disable the building of TAGS in the configuration and
detecting that you have an etags program from emacs is complicated. See
the following bug reports:
* [http://bugs.gentoo.org/show_bug.cgi?id=357319]
*
[http://sourceforge.net/tracker/?func=detail&aid=3202253&group_id=30035&atid=398053]
(upstream)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10986>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.