http://zeitlin.homeunix.com/cgi-bin/mbugs/show_bug.cgi?id=874
Summary: SRC RPM build dependency for latexx2html not fatal early
in build.
Product: Mahogany
Version: 0.65
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P4
Component: Build/Compile/Install (*IX)
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
I hope these "bug" reports in the build process are okay. I don't want my
reports to be a pain. I feel funny having submitted two already and one more
now. On the other hand, I do not feel too bad since building this package took
me several hours because the build took in excess of an hour each occurance, and
it crashed out three times because the ./configure phase didn't crash out
because of failed dependancies. Maybe that's my bad for not digging in
install/build docs more?
On rpm --rebuild mahogany-0.65-0.src.rpm, the system DOES warn early on that the
build will not include documentation because latex2html was not found, but it
DOES NOT indicate that the rpm build will fail because of this, and DOES NOT
terminate early. At the very end of the build, the missing latex2html condition
caused the RPM build to abort before producing an RPM.
./configure section output:
checking for latex2html... no
configure: warning: One of the tools required to build documentation
is missing. Documentation cannot be built on this
system and you will need a pre-built Mdocs.tar.gz instead.
No indication is given that this is a fatal error. Note the "warning". AFAIC,
the build should crater here. Instead, at the very end of the build we get
this, and the RPM is not built:
make[2]: Entering directory `/usr/src/RPM/BUILD/mahogany-0.65/doc'
# One of the tools required to build documentation is missing.
# Please either install the required tool(s) and rerun configure
# or download a pre-built Mdocs-0.65.tar.gz and place it in the
# doc directory before running "make install".
make[2]: *** [makemap] Error 1
make[2]: Target `install2' not remade because of errors.
make[2]: Leaving directory `/usr/src/RPM/BUILD/mahogany-0.65/doc'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/mahogany-0.65/doc'
make: *** [install_doc] Error 2
make: Target `install' not remade because of errors.
error: Bad exit status from /var/tmp/rpm-tmp.18296 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.18296 (%install)
It would be appropriate to confirm that critical utilities are present during
the ./configure phase, or that "optional" components be detected so that the
build will not fail to produce an rpm.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers