Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building ecl fails in case the installed etags is actually exuberant-ctags #10986

Closed
kiwifb opened this issue Mar 22, 2011 · 10 comments
Closed

Comments

@kiwifb
Copy link
Member

kiwifb commented Mar 22, 2011

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:

New spkg: http://spkg-upload.googlecode.com/files/ecl-11.1.1.p0.spkg

Upstream: Reported upstream. Little or no feedback.

CC: @haraldschilly

Component: packages: standard

Author: François Bissey

Reviewer: Harald Schilly, Simon King

Merged: sage-4.7.alpha5

Issue created by migration from https://trac.sagemath.org/ticket/10986

@kiwifb kiwifb added this to the sage-4.7 milestone Mar 22, 2011
@kiwifb
Copy link
Member Author

kiwifb commented Mar 22, 2011

comment:1

Here is the new spkg. Basically I touch build/TAGS before make is called so that TAGS is never built. Bypassing any problem with a broken etags or ctags passing for etags.
I will attach a patch for the reviewer with all the changes to the spkg.

@kiwifb

This comment has been minimized.

@kiwifb
Copy link
Member Author

kiwifb commented Mar 22, 2011

summary of change patch, for the reviewer only

@kiwifb
Copy link
Member Author

kiwifb commented Mar 22, 2011

comment:2

Attachment: trac_10986-spkg-upgrade.patch.gz

This is now ready for review.

@haraldschilly
Copy link
Member

comment:3

nice, it just built successfully on the same machine where i reported the problem mentioned above!

@jdemeyer
Copy link

Author: François Bissey

@jdemeyer
Copy link

Reviewer: Harald Schilly

@jdemeyer
Copy link

Changed reviewer from Harald Schilly to Harald Schilly, Simon King

@simon-king-jena
Copy link
Member

comment:6

Thank you for changing it into a positive review! I was just about to do that myself.

@jdemeyer
Copy link

Merged: sage-4.7.alpha5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants