Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465680 - app-accessibility/julius-4.2.2 fails to install libsent
Summary: app-accessibility/julius-4.2.2 fails to install libsent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-04-12 14:18 UTC by Jukka Holappa
Modified: 2013-04-12 14:37 UTC (History)
1 user (show)

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


Attachments
Fixed install path patch file to replace the original (julius-4.2.2-install.patch,9.54 KB, patch)
2013-04-12 14:22 UTC, Jukka Holappa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jukka Holappa 2013-04-12 14:18:25 UTC
julius-4.2.2-install.patch introduces a bug in libsent-part of the Julius package that causes "make install" to fail for libsent because of a wrong path. This component is required when Julius is used in a library mode.

The problematic part is in the first chunk:
--- julius-4.2.2/libsent/Makefile.in
+++ julius-4.2.2/libsent/Makefile.in
@@ -144,16 +144,16 @@
 install: install.lib install.include install.bin

 install.lib: $(TARGET)
-      ${INSTALL} -d ${libdir}
-      ${INSTALL_DATA} $(TARGET) ${libdir}
+      ${INSTALL} -d $(DESTDIR)/${libdir}
+      ${INSTALL_DATA} $(DESTDIR)/$(TARGET) ${libdir}

Instead, the last line should be:
+      ${INSTALL_DATA} $(TARGET) $(DESTDIR)/${libdir}

Otherwise source file will be searched in the wrong place (build image directory) and it will not be found. This error stops the install process and no parts (library, header files) of the libsent will be installed.

Reproducible: Always

Steps to Reproduce:
1. emerge julius
2. ls -la /usr/lib64/libsent.a

Actual Results:  
ls: cannot access /usr/lib64/libsent.a: No such file or directory

Expected Results:  
-rw-r--r-- 1 root root 2018034 Apr 12 17:01 /usr/lib64/libsent.a
Comment 1 Jukka Holappa 2013-04-12 14:22:00 UTC
Created attachment 345378 [details, diff]
Fixed install path patch file to replace the original

Added a corrected patch to replace the original that fixes the problem for me.
Comment 2 Julian Ospald 2013-04-12 14:37:43 UTC
+  12 Apr 2013; Julian Ospald <hasufell@gentoo.org>
+  files/julius-4.2.2-install.patch:
+  fix installation of libsent wrt #465680