Hello, In the Message; Subject : [opensuse] checkinstall doesn't work Message-ID : <87zj5nx0fy.wl%nomiya@galaxy.dti.ne.jp> Date & Time: Sat, 02 May 2015 09:55:29 +0900 Masaru Nomiya <nomiya@galaxy.dti.ne.jp> has written:
I'm using openSUSE 13.2. I installed checkinstall package from
http://software.opensuse.org/package/checkinstall?search_term=checkinstall
Then I tried to make rpm package for the libiconv-1.14.tar.gz. The build of libiconv-1.4 successed, but checkinstall command failed to make rpm package;
[...] Building target platforms: x86_64 Building for target x86_64 Processing files: libiconv-1.14-1.x86_64 error: Not a directory: /var/tmp/tmp.OEFTDky3Lf/package/usr/local/lib64/libcharset.so.1 error: Not a directory: /var/tmp/tmp.OEFTDky3Lf/package/usr/local/lib64/libiconv.so.2 error: Not a directory: /var/tmp/tmp.OEFTDky3Lf/package/usr/local/lib64/libiconv.so error: Not a directory: /var/tmp/tmp.OEFTDky3Lf/package/usr/local/lib64/libcharset.so
RPM build errors: Not a directory: /var/tmp/tmp.OEFTDky3Lf/package/usr/local/lib64/libcharset.so.1 Not a directory: /var/tmp/tmp.OEFTDky3Lf/package/usr/local/lib64/libiconv.so.2 Not a directory: /var/tmp/tmp.OEFTDky3Lf/package/usr/local/lib64/libiconv.so Not a directory: /var/tmp/tmp.OEFTDky3Lf/package/usr/local/lib64/libcharset.so
How can I solve this problem?
With this patch for checkinstall-1.6.2-0.4.src.rpm; --- checkinstall.in.orig 2015-05-02 12:34:24.894240253 +0900 +++ checkinstall.in 2015-05-02 12:36:52.561583541 +0900 @@ -2423,7 +2423,7 @@ # Prepare directories to be included in the .spec file mv ${TMP_DIR}/newfiles ${TMP_DIR}/newfiles.tmp cat ${TMP_DIR}/newfiles.tmp | while read line; do - [ -d "${BUILD_DIR}/${line}" -o -L "${BUILD_DIR}/${line}" ] && echo -n "%dir " >> ${TMP_DIR}/newfiles + [ -d "${BUILD_DIR}/${line}" ] && echo -n "%dir " >> ${TMP_DIR}/newfiles echo "\"/${line}\"" >> ${TMP_DIR}/newfiles done checkinstall works fine. Thanks, --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computers. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org