Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40356 - cedilla ebuild faulty. The default installation has bad search path.
Summary: cedilla ebuild faulty. The default installation has bad search path.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Chuck Short (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 01:06 UTC by Willie Wong
Modified: 2004-07-22 17:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Willie Wong 2004-02-04 01:06:47 UTC
The installation of cedilla yields incorrect directory information that is retained in the program. The program (in common lisp) is listed as:

/usr/bin/cedilla
---------------------------------
#!/usr/bin/clisp -ansi -q
;;; Automatically generated file -- do not modify.

(SETQ *LOAD-VERBOSE* NIL) 
(LOAD #P"/var/tmp/portage/cedilla-0.3/image/usr/lib/cedilla/package.fas") 
(LOAD #P"/var/tmp/portage/cedilla-0.3/image/usr/lib/cedilla/macros.fas") 
(LOAD #P"/var/tmp/portage/cedilla-0.3/image/usr/lib/cedilla/struct.fas") 
(LOAD #P"/var/tmp/portage/cedilla-0.3/image/usr/lib/cedilla/generics.fas") 
(LOAD #P"/var/tmp/portage/cedilla-0.3/image/usr/lib/cedilla/unicode.fas") 
(LOAD #P"/var/tmp/portage/cedilla-0.3/image/usr/lib/cedilla/data.fas") 
(LOAD #P"/var/tmp/portage/cedilla-0.3/image/usr/lib/cedilla/data-add.fas") 
(LOAD #P"/var/tmp/portage/cedilla-0.3/image/usr/lib/cedilla/afm.fas") 
-------------snip---------------------

As shown, the file is written under the assumption that it will be in the work directory. cedilla will not run under this conditions, simply because it cannot find the required libraries. 

Reproducible: Always
Steps to Reproduce:
1.emerge cedilla
2./usr/bin/cedilla

Actual Results:  
*** - LOAD: A file with name
/var/tmp/portage/cedilla-0.3/image/usr/lib/cedilla/package.fas does not exist


Expected Results:  
Something other than that error

An easy fix should be to strip the directory information from the file before
installing it. Perhaps something like

sed -i -e "s/\/var\/tmp\/portage\/cedilla-0.3\/image//" cedilla

somewhere in the ebuild will help.
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-02-11 15:33:12 UTC
Fixed in cvs thanks for the bug report.
Comment 2 Sascha Silbe 2004-07-22 17:20:33 UTC
Still happens for new installations (I never installed cedilla before):

sascha@cube:~$ cedilla --help
WARNING: *FOREIGN-ENCODING*: reset to ASCII

*** - LOAD: A file with name /var/tmp/portage/portage/cedilla-0.3/image/usr/lib/cedilla/package.fas does not exist
sascha@cube:~$ qpkg -I -v cedilla
app-text/cedilla-0.3 *
sascha@cube:~$