Description of Problem: SSIA. Performing a re-build of jfsutils from the SRPM fails on an everything install of "phoebe". Build log is attached. Version-Release number of selected component (if applicable): # ls -l jfsutils-1.0.17-4.src.rpm -rw-r--r-- 1 root root 514008 Dec 17 13:07 jfsutils-1.0.17-4.src.rpm # md5sum jfsutils-1.0.17-4.src.rpm 84c086850709a5f6a33f9a136aaac9db jfsutils-1.0.17-4.src.rpm How Reproducible: always (100%) Steps to Reproduce: 1. Phoebe "everything" install 2. rpm -Uvh {distdir}/SRPMS/jfsutils-1.0.17-4.src.rpm 3. rpmbuild -ba /usr/src/redhat/SPECS/jfsutils.spec Actual Results: Out of "rpmbuild -ba" is attached Expected Results: Successful build
Created attachment 89014 [details] Output of "rpmbuild -ba"
Some of the JFS source files declare errno, rather than including <errno.h>. I successfully built jfsutils-1.1.0 after changing the following files in libfs: * fsssubs.c * log_dump.c * log_map.c * log_read.c * logredo.c I'll try to submit a patch when I get a chance. By the way, jfsutils-1.0.17 is rather old. JFS in Linux 2.4.20 is approximately 1.1.0. If you do update jfsutils to 1.1.0 or later, you'll need to add a BuildPreReq of e2fsprogs-devel to the spec file for uuid.h.
Created attachment 89023 [details] compile jfsutils-1.0.17 on RH 8.0.92 Replaces "extern int errno" with "#include <errno.h>." Does not apply cleanly to 1.0.18.
Created attachment 89024 [details] compile jfsutils-1.0.23 and later on RH 8.0.92 Replaces "extern int errno" with "#include <errno.h>." Applies cleanly to 1.0.23 through 1.1.1.
Whatever changed, it now builds (phoebe #2).