Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294416 - app-text/cedilla-0.3 searches for files in /var/tmp/portage/
Summary: app-text/cedilla-0.3 searches for files in /var/tmp/portage/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-24 13:20 UTC by Daniel Kukula
Modified: 2012-01-18 20:10 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 Daniel Kukula 2009-11-24 13:20:32 UTC
I hava a script wich run cedilla and it crashes with such output:

kuku@kuku ~/SRC/tesseract-polish-read-only/src/training_images $ make
for part in  sample_pl-part0.folded  sample_pl-part1.folded  sample_pl-part2.folded  sample_pl-part3.folded; do \
                for font in courier helvetica times; do \
                 cedilla -fs $font $part `echo $part | sed -e s/.folded//`-$font.ps ;\
                done \
        done
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
*** - LOAD: A file with name /var/tmp/portage/app-text/cedilla-0.3/image/usr/lib/cedilla/package.fas does
      not exist
make: *** [sample_pl-part0-courier.ps] Błąd 1

so it seems that cedillla has the path hardcoded 
I tried to create symlinks in /var/tmp/portage/app-text/cedilla-0.3/image/ to /usr and /etc and then it works


Reproducible: Always

Steps to Reproduce:
1.download the source code from svn checkout http://tesseract-polish.googlecode.com/svn/trunk/ tesseract-polish-read-only
2.go into src/training_images and run make





emerge --info                                
Portage 2.1.7.6 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-zen8 i686)                  
=================================================================                                             
System uname: Linux-2.6.31-zen8-i686-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1                    
Timestamp of tree: Mon, 23 Nov 2009 08:30:01 +0000                                                            
app-shells/bash:     4.0_p35                                                                                  
dev-java/java-config: 2.1.9-r1                                                                                
dev-lang/python:     2.6.4, 3.1.1-r1                                                                          
dev-util/cmake:      2.8.0                                                                                    
sys-apps/baselayout: 2.0.1                                                                                    
sys-apps/openrc:     0.5.2-r2                                                                                 
sys-apps/sandbox:    2.2                                                                                      
sys-devel/autoconf:  2.13, 2.63-r1                                                                            
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                  
sys-devel/binutils:  2.20                                                                                     
sys-devel/gcc-config: 1.4.1                                                                                   
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amr amrnb aspell berkdb bittorrent-external bluetooth branding bzip bzip2 cairo caps cdr cleartype cli consolekit cracklib crypt cups dbus dirac dri dts dvd dvdr emboss encode evo exif extras fam fbcondecor firefox flac fortran gdbm gif gimp google-gadgets gphoto2 gpm gstreamer hal hfs icecast iconv id3 ipv6 jingle jpeg kde kdehiddenvisibility ldap lensfun libnotify libsamplerate lzma mad mikmod mmx mng modules mono moonlight mp3 mp4 mpeg mudflap musepack mysql ncurses nls nptl nptlonly nsplugin ogg open-amr openexr opengl openmp pam parport pcre pdf png ppds pppd psyco python qt3support qt4 quicktime readline reflection scanner schroedinger sdl semantic-desktop session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd threads thumbnail thunar tiff truetype unicode usb v4l v4l2 vorbis webkit win32codecs x264 x86 xml xorg xulrunner xv xvid zip zlib" ALSA_CARDS="intel_hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" SANE_BACKENDS="hp plustek" USERLAND="GNU" VIDEO_CARDS="intel i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Kukula 2009-11-24 13:34:53 UTC
after searching I see that the sed command in the ebuild doesn't work as expected
so in the /usr/bin/cedilla the links aren't changed
Comment 2 Marcin Cieślak 2010-02-02 16:08:33 UTC
(In reply to comment #1)
> after searching I see that the sed command in the ebuild doesn't work as
> expected
> so in the /usr/bin/cedilla the links aren't changed
> 

The sed command should say:

	sed -i 's#/var/tmp/portage/app-text/cedilla-0.3/image##g' ${S}/cedilla

This should probably be fixed properly in the lisp compilation process.

Stantard /etc/cedilla-config.lisp requires also different Type 1 fonts to be installed, mostly from TeX and X11 distributions. Otherwise it fails with:

Cedilla: 
OPEN: Directory #P"/usr/share/texmf/" does not exist





Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-01-18 20:10:13 UTC
This should be fixed in current cedilla-0.6