Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 274957

Summary: gpsdrive-2.10_pre6 fails to start because of missing font directory /usr/share/fonts/truetype/ttf-dejavu
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: Current packagesAssignee: Steve Arnold <nerdboy>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juergen Rose 2009-06-21 16:49:24 UTC
Start of gpsdrive fails with:
...
read_themed_icon([square.big] wlan.pay.eurospot): No Icon 'wlan.pay.eurospot' found for theme square.big
read_themed_icon([square.big] wlan.pay.fon): No Icon 'wlan.pay.fon' found for theme square.big
read_themed_icon([square.big] wlan.pay.ganag): No Icon 'wlan.pay.ganag' found for theme square.big
read_themed_icon([square.big] wlan.pay.t-mobile): No Icon 'wlan.pay.t-mobile' found for theme square.big
read_themed_icon([square.big] wlan.wep): No Icon 'wlan.wep' found for theme square.big
Read 577 POI-Types from geoinfo.db
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> > > >'
  what():  boost::filesystem::basic_directory_iterator constructor: Datei oder Verzeichnis nicht gefunden: "/usr/share/fonts/truetype/ttf-dejavu/"


Reproducible: Always
Comment 1 Tupone Alfredo gentoo-dev 2009-06-21 19:42:51 UTC
gpsdrive-2.10_pre6 is not in the official tree. Where did you get that?
Comment 2 Juergen Rose 2009-06-22 12:26:20 UTC
I could solve the problem with the ttf-dejavu font directory by creating a symbolic link:

/usr/share/fonts/truetype/ttf-dejavu -> /usr/share/fonts/dejavu

gpsdrive-2.10_pre6 was from the zugaina overlay, where is now gpsdrive-2.10_pre7.
Comment 3 Tupone Alfredo gentoo-dev 2009-06-23 06:28:58 UTC
I'm going to commit the pre 7 in a few days. For now, just uncomment the lines:

#use mapnik && sed -i -e "s:truetype/ttf-dejavu:dejavu:g" \
#    tests/{gpsdriverc,gpsdriverc-in,gpsdriverc-pre} \
#    src/gpsdrive_config.c || die "sed failed"

Don't know why they were commented there :/