[Bug 891177] New: ocamlopt, the native code generator of ocaml, is broken in the distribution package.
https://bugzilla.novell.com/show_bug.cgi?id=891177 https://bugzilla.novell.com/show_bug.cgi?id=891177#c0 Summary: ocamlopt, the native code generator of ocaml, is broken in the distribution package. Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: IA64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dukebright@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729) The openSuSE package ocaml 4.01.0-59.1 has the bug. This package has probably had it for many years. I believe I saw the same bug about 4 years ago, but didn't pursue it. The details are in https://forums.opensuse.org/showthread.php/500178-In-the-13-1-ocaml-package-... I suspect there are not many users of ocamlopt in openSuSE, but the MediaWiki Math extension uses it, which is where I encountered the problem. Reproducible: Always Steps to Reproduce: 1. Create the file hw.ml: let () = print_endline "Hello, world!" 2. Execute duke@ee:~/Documents> ocamlopt hw.ml -o hw 3. This is verbatim from http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/#a-hello-world-k... Actual Results: sh: as: command not found File "hw.ml", line 1: Error: Assembler error, input left in file /tmp/camlasmd7b8ce.s I'm reasonably sure the "as" not found is the (or an) assembler in openSuSE. Expected Results: After executing: duke@ee:~/Documents> ./hw Expect: Hello, world! I am told that Ubuntu doesn't have this problem. I'd rather fight than switch. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891177 https://bugzilla.novell.com/show_bug.cgi?id=891177#c1 --- Comment #1 from Duke Winsor <dukebright@gmail.com> 2014-08-12 02:31:18 UTC --- In SUSE 12.3 ocamlopt version 3.12.1 works correctly. In SUSE 13.1 ocamlopt version 4.00.1 fails as described above. Version 4.00 is in the oss repository. In SuSE 13.1 ocamlopt version 4.01.0 also fails as described above. Version 4.01 is in http://download.opensuse.org/repositories/devel:/languages:/ocaml/opensuse_1... and when trying to get to it through the factory, the location is listed as http://download.opensuse.org/repositories/devel:/languages:/ocml/opensuse_13... with the "a" missing from the package name. The specific package I tested is ocaml-4.01.0-59.1.x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891177 https://bugzilla.novell.com/show_bug.cgi?id=891177#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ampsaltis@gmail.com, | |bwiedemann@suse.com AssignedTo|bnc-team-screening@forge.pr |ohering@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891177 https://bugzilla.novell.com/show_bug.cgi?id=891177#c2 --- Comment #2 from Duke Winsor <dukebright@gmail.com> 2014-08-18 19:19:12 UTC --- There appears to be another bug in ocaml in both SuSE 12.3 and SuSE 13.1. It prevents both ocaml and ocamlopt from rendering PNG graphics. This text at a SuSE 12.3.11 command prompt: /srv/../extensions/Math/math/texvc ~/tmp ~/tex "y=x+2" iso-8859-1 "rgb 1.0 1.0 1.0" should produce a PNG graphic for "y=x+2" in ~/tex as well as other text on stdout. In SuSE 12.3, it produces: Cdaa63ef966cc412541190bc8794731de<i>y</i> = <i>x</i> + 2<mi>y</mi><mo>=</mo><mi>x</mi><mo>+</mo><mn>2</mn>-linux-r8wa: which appears to be the correct stdout result, but it creates no graphic file. Because of this, mediawiki math works in SuSE 12.3 only when the math can be rendered without PNG graphics. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891177 https://bugzilla.novell.com/show_bug.cgi?id=891177#c3 --- Comment #3 from Duke Winsor <dukebright@gmail.com> 2014-08-18 19:20:30 UTC --- Correction: The execution in the previous comment is for SuSE 12.3.11, not 12.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891177 https://bugzilla.novell.com/show_bug.cgi?id=891177#c4 Olaf Hering <ohering@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |dukebright@gmail.com --- Comment #4 from Olaf Hering <ohering@suse.com> 2014-08-26 14:40:12 CEST --- Does 'zypper in binutils' fix it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891177 https://bugzilla.novell.com/show_bug.cgi?id=891177#c5 Olaf Hering <ohering@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|dukebright@gmail.com | --- Comment #5 from Olaf Hering <ohering@suse.com> 2014-08-26 19:24:49 CEST --- "zypper in gcc" will fix it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
"zypper in gcc" will fix it. In SuSE 12.3, "# zypper in gcc" yields No update candidate for 'gcc-4.7-7.1.1.x86_64'. The highest available version is already installed. In SuSE 13.1, it yields The following NEW packages are going to be installed: binutils gcc gcc48 glibc-devel libasan0 libatomic1 libitm1 libtsan0
https://bugzilla.novell.com/show_bug.cgi?id=891177 https://bugzilla.novell.com/show_bug.cgi?id=891177#c6 Duke Winsor <dukebright@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #6 from Duke Winsor <dukebright@gmail.com> 2014-08-27 04:48:57 UTC --- (In reply to comment #5) linux-glibc-devel That definitely fixed the compile problem. I've installed a copy of Ubuntu 14.04.1 in another partition, and I'm working through getting the mediawiki math extension running there. That is what the mediawiki folks recommended as a platform. Their ocaml script still doesn't generate PNG files in SuSE, but until I verify that it does so in Ubuntu, I can't be sure they haven't created the bug in their updates. Therefore, I consider this bug report closed. If I can verify a difference between Ubuntu and SuSE behavior of ocaml, I'll file a separate bug report and reference this one. Thanks very much for the help! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=891177 https://bugzilla.novell.com/show_bug.cgi?id=891177#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-08-27 10:00:13 CEST --- This is an autogenerated message for OBS integration: This bug (891177) was mentioned in https://build.opensuse.org/request/show/246598 Factory / ocaml -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com