Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281271 - app-text/xindy-2.3 fails to emerge with dev-lisp/clisp-2.48
Summary: app-text/xindy-2.3 fails to emerge with dev-lisp/clisp-2.48
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 02:38 UTC by hirakendu
Modified: 2010-04-24 11:12 UTC (History)
9 users (show)

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


Attachments
A patch in order to fix clisp 2.48 clisp-link add problem of Makefile in xindy rte directory. (rte-makefile.patch,926 bytes, patch)
2009-09-07 09:07 UTC, Semen Cirit
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hirakendu 2009-08-13 02:38:27 UTC
more of an upstream bug, but still a bug. ('clisp-link add-module-set' has been changed to 'clisp-link add', but making appropriate change in Makefile still gives error 'directory already exists'.)



Reproducible: Always

Steps to Reproduce:
Comment 1 Arttu Valo 2009-08-19 16:58:33 UTC
(In reply to comment #0)
> ('clisp-link add-module-set' has been
> changed to 'clisp-link add', but making appropriate change in Makefile still
> gives error 'directory already exists'.)

If anyone wondered this short bug submission, the error (without fixing attempts) looks probably like this:

make[2]: Leaving directory `/var/tmp/portage/app-text/xindy-2.3/work/xindy-2.3/rte/ordrules'
/usr/lib64/clisp-2.48//clisp-link add-module-set ordrules /usr/lib64/clisp-2.48//full xindy-build-dir
Usage: /usr/lib64/clisp-2.48//clisp-link [ link | create | add | run ] ...
make[1]: *** [xindy-build-dir] Error 1

When trying to fix it with the reported s/add-module-set[s]?/add/ it will probably result in something like this:

make[2]: Leaving directory `/var/tmp/portage/app-text/xindy-2.3/work/xindy-2.3/rte/ordrules'
/usr/lib64/clisp-2.48//clisp-link add ordrules /usr/lib64/clisp-2.48//full xindy-build-dir
/usr/lib64/clisp-2.48//clisp-link: /usr/lib64/clisp-2.48//full already exists
make[1]: *** [xindy-build-dir] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/xindy-2.3/work/xindy-2.3/rte'
make: *** [all-recursive] Error 1

A-ha, the directory should not exist? Or which one does xindy really even want, the old add-module-set (singular, gone from clisp-2.48 script) or add-module-sets (plural, renamed to add in clisp-2.48)?

Actually, looking at the clisp-link script -- I cannot understand why it isn't failing with earlier clisp versions as well. Making the destination directory with make_dest has not been changed, and it appears to be supposed to always fail if the target exists.
Comment 2 Semen Cirit 2009-09-07 09:07:05 UTC
Created attachment 203350 [details, diff]
A patch in order to fix clisp 2.48 clisp-link add problem of Makefile in xindy rte directory.

A patch in order to fix clisp 2.48 clisp-link add-module-set problem of Makefile in xindy rte directory.

The "add-module-set" option is changed with "add" option and appropriate changes made acording to "add" option.
Comment 3 hirakendu 2009-09-07 15:02:02 UTC
@ comment #2: Thanks for the patch. Works. Should have rtfm of clisp-link :).

@ comment #1: Thanks for the details. Was in the middle of a 'emerge -e world' party and was in a hurry :).
Comment 4 Tomás Touceda (RETIRED) gentoo-dev 2009-09-10 01:08:10 UTC
I've talk to xindy's developers [0], so for 2.4 version we wont have this dependency problem.

[0] https://sourceforge.net/tracker/?func=detail&atid=110646&aid=2854493&group_id=10646
Comment 5 Yu Yuwei 2009-09-11 02:54:11 UTC
patch works, thanks!
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2009-09-11 15:37:52 UTC
We probably need an ebuild that applies the patch when the installed clisp is higher than version 2.48 and otherwise doesn't. Otherwise applying the patch will break xindy for older clisps.
Comment 7 Tomás Touceda (RETIRED) gentoo-dev 2009-09-18 21:07:35 UTC
(In reply to comment #6)
> We probably need an ebuild that applies the patch when the installed clisp is
> higher than version 2.48 and otherwise doesn't. Otherwise applying the patch
> will break xindy for older clisps.
> 

Couldn't we let xindy 2.3 depend on old clisp, and create "new" version 2.3-r1 that depends on the new clisp applying the corresponding patch?
Comment 8 Ling Kun 2010-04-09 14:27:51 UTC
patch is ok, works well , Thank you  all :)
Comment 9 Fabio Erculiani (RETIRED) gentoo-dev 2010-04-20 14:22:03 UTC
@tex herd: any update? Can I review, merge, send-upstream the attached patch?
Comment 10 Alexis Ballier gentoo-dev 2010-04-24 11:12:35 UTC
applied, thanks for the patch