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
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.
+ 12 Apr 2013; Julian Ospald <hasufell@gentoo.org> + files/julius-4.2.2-install.patch: + fix installation of libsent wrt #465680