Bug 964423 - Singular is FTBFS on ARM due to tex error when building docs
Summary: Singular is FTBFS on ARM due to tex error when building docs
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Singular
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paulo Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords: FutureFeature
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2013-05-18 13:07 UTC by Peter Robinson
Modified: 2014-05-05 13:56 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2014-05-05 13:56:20 UTC


Attachments (Terms of Use)

Description Peter Robinson 2013-05-18 13:07:17 UTC
It looks like quite a straight forward fix but i don't really know tex/perl

http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=1829562

make[1]: Entering directory `/builddir/build/BUILD/Singular-3-1-5/doc'
perl ./doc2tex.pl -docdir ./d2t_singular -Singular /bin/true -verbose 1  -make make -exdir ./examples  -o cones.tex cones.doc
(d2t cones.doc==>cones.tex(coneViaPoints)(coneViaInequalities)(canonicalizeCone)(coneLink)(containsAsFace)(containsInSupport)(containsPositiveVector)(containsRelatively)(ambientDimension)(codimension)(dimension)(dual)(equations)(facets)(linspace)(generatorsOfSpan)(getMultiplicity)(span)(inequalities)(linealityDimension)(linealitySpace)(linearForms)(negatedCone)(quotientLatticeBasis)(rays)(relativeInteriorPoint)(semigroupGenerator)(uniquePoint)(convexHull)(convexIntersection)(isFullSpace)(isOrigin)(isSimplicial)(setLinearForms)(setMultiplicity)(containsInCollection)(emptyFan)(fullFan)(fullFan_1)(getCone)(insertCone)(isCompatible)(isPure)(nmaxcones)(ncones)(numberOfConesOfDimension)(removeCone)(polytopeViaPoints)(polytopeViaInequalities)(dualPolytope)(newtonPolytope)(vertices)==>cones.tex)
perl ./doc2tex.pl -docdir ./d2t_singular -Singular /bin/true -verbose 1  -make make -exdir ./examples  -o decodegb.tex decodegb.doc
(d2t decodegb.doc==>decodegb.tex==>decodegb.tex)
perl ./doc2tex.pl -docdir ./d2t_singular -Singular /bin/true -verbose 1  -make make -exdir ./examples  -o examples.tex examples.doc
(d2t examples.doc==>examples.tex(Basic_programming)(Writing_procedures_and_libraries)(Rings_associated_to_monomial_orderings)(Long_coefficients)(Parameters)(Formatting_output)(Parallelization_with_MPtcp_links)(Dynamic_modules)(groebner_and_std)(Groebner_basis_conversion)(slim_Groebner_bases)(Saturation)(Finite_fields)(Elimination)(Free_resolution)(Handling_graded_modules)(Computation_of_Ext)(Depth)(Factorization)(Primary_decomposition)(Normalization)(Kernel_of_module_homomorphisms)(Algebraic_dependence)(Milnor_and_Tjurina_number)(Critical_points)(Polar_curves)(T1_and_T2)(Deformations)(Invariants_of_plane_curve_singularities)(Branches_of_space_curve_singularities)(Classification_of_hypersurface_singularities)(Resolution_of_singularities)(G_a_-Invariants)(Invariants_of_a_finite_group)(Left_and_two-sided_Groebner_bases)(Right_Groebner_bases_and_syzygies)(Solving_systems_of_polynomial_equations)(AG_codes)==>examples.tex)
perl ./doc2tex.pl -docdir ./d2t_singular -Singular /bin/true -verbose 1  -make make -exdir ./examples  -o general.tex general.doc
(d2t general.doc==>general.tex(Command_line_options)(Quotient_rings)(Function_without_return_value)(Print_command)(Names)(Names_1)(Names_2)(Names_3)(Objects)(Type_casting)(How_to_use_links)(How_to_use_links_1)(ASCII_links)(MPfile_links)(MPtcp_links)(DBM_links)(Example_of_an_interactive_procedure_definition_and_its_execution:)<sample.lib>(Example_of_a_procedure_definition_in_a_library:)(Names_in_procedures)<template.lib><lib template make[2]: *** [d2t_singular/template_lib.pl] Error 1
**** Error: non-zero exit status of system call: 'make  --no-print-directory -s  VERBOSE=1 ./d2t_singular/template_lib.tex': 
make[1]: *** [general.tex] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/Singular-3-1-5/doc'
make[1]: Entering directory `/builddir/build/BUILD/Singular-3-1-5/emacs'
perl cmpl.pl -Singular /builddir/build/BUILDROOT/Singular-3.1.5-5.fc19.arm/usr/lib/Singular/Singular-3-1-5 -cmpl cmd > cmd-cmpl.el
perl cmpl.pl -hlp /builddir/build/BUILDROOT/Singular-3.1.5-5.fc19.arm/usr/lib/Singular/info/singular.hlp -cmpl hlp > hlp-cmpl.el
Can not open file /builddir/build/BUILDROOT/Singular-3.1.5-5.fc19.arm/usr/lib/Singular/info/singular.hlp: No such file or directory
make[1]: *** [hlp-cmpl.el] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/Singular-3-1-5/emacs'
make: *** [install-sharedist] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.kdsO0Z (%install)

Comment 1 Rex Dieter 2013-08-01 17:57:57 UTC
Ditto failure on f20 too, seen today trying to fix broken deps.  will probably have to make the makefile/perl-scripts more verbose to see exactly what's going on there.

Comment 2 Paulo Andrade 2013-08-01 20:24:04 UTC
I think it is required to debug what is going on by executing
perl with the proper arguments in the armv7hl build chroot.
That is, somewhat like:

---%<---
$ pwd
/some/where/rpmbuild/BUILD/Singular-3-1-5/doc

$ perl  ./doc2tex.pl -docdir ./d2t_singular -Singular /bin/true -verbose 1  -make make -exdir ./examples  -o general.tex general.doc
---%<---

and from there add debug options to the perl command line,
run in the perl -d "debugger", possibly add some print
statements to doc2tex.pl to binsearch what is going wrong.


Sorry for not following closely fedora armv7hl now, but
if you could give me some link to a qemu image I can try
to debug it. A chroot tarball may be enough, I should be
able to chroot to it in some old qemu images of when I
did port Mandriva to armv7hl (but it is an almost 2 year
old port).

Comment 3 Rex Dieter 2014-03-10 15:31:40 UTC
adding arm tracker for the perl/tex borkage.


Note You need to log in before you can comment on or make changes to this bug.