summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-February/012132.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-February/012132.html')
-rw-r--r--zarb-ml/mageia-dev/2012-February/012132.html207
1 files changed, 207 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-February/012132.html b/zarb-ml/mageia-dev/2012-February/012132.html
new file mode 100644
index 000000000..d29e9b886
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-February/012132.html
@@ -0,0 +1,207 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] removal of .la from libxt breaks xpdf build
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20removal%20of%20.la%20from%20libxt%20breaks%20xpdf%20build&In-Reply-To=%3Cjhsen8%247nn%241%40dough.gmane.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="012131.html">
+ <LINK REL="Next" HREF="012135.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] removal of .la from libxt breaks xpdf build</H1>
+ <B>David Walser</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20removal%20of%20.la%20from%20libxt%20breaks%20xpdf%20build&In-Reply-To=%3Cjhsen8%247nn%241%40dough.gmane.org%3E"
+ TITLE="[Mageia-dev] removal of .la from libxt breaks xpdf build">luigiwalser at yahoo.com
+ </A><BR>
+ <I>Mon Feb 20 04:29:43 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="012131.html">[Mageia-dev] removal of .la from libxt breaks xpdf build
+</A></li>
+ <LI>Next message: <A HREF="012135.html">[Mageia-dev] removal of .la from libxt breaks xpdf build
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#12132">[ date ]</a>
+ <a href="thread.html#12132">[ thread ]</a>
+ <a href="subject.html#12132">[ subject ]</a>
+ <a href="author.html#12132">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>David Walser wrote:
+&gt;<i> Pascal Terjan wrote:
+</I>&gt;&gt;<i> On Sun, Feb 19, 2012 at 17:23, Pascal Terjan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>&gt; wrote:
+</I>&gt;&gt;&gt;<i> On Sun, Feb 19, 2012 at 17:08, Pascal Terjan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>&gt; wrote:
+</I>&gt;&gt;&gt;&gt;<i> On Sun, Feb 19, 2012 at 16:29, Pascal Terjan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>&gt; wrote:
+</I>&gt;&gt;&gt;&gt;&gt;<i> On Sun, Feb 19, 2012 at 16:23, Pascal Terjan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>&gt; wrote:
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> On Sun, Feb 19, 2012 at 15:55, David Walser &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">luigiwalser at yahoo.com</A>&gt; wrote:
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> Funda Wang wrote:
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> ? 2012-2-12 ??12:08?&quot;David Walser&quot; &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">luigiwalser at yahoo.com</A>&gt;???
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> D Morgan asked us to say if removal of .la files broke anything. It
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> breaks xpdf, and I don't know if it's fixable. xpdf needs libXt.la to
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> build libxpdf.la, and the xpdf build is heavily dependent on libxpdf.la.
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> See xpdf-3.03-shared.diff for example.
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> The problem is xpdf depends on lesstif, it will bring libXt.la. But lesstif
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> cannot be built now for some reasons.
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> OK, I see that Funda synced lesstif with Mandriva and fixed the package. It now builds locally and I believe it is OK. On the build
+</I>&gt;<i> system,
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> it always fails with gcc segfaulting, and it fails at a different place every time. I have seen this with other packages where
+</I>&gt;<i> eventually it
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> will work, and it seems to be a resources issue that causes it. It appears not enough resources (probably RAM) are allocated to the
+</I>&gt;<i> VM (I'm
+</I>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<i> assuming it's a VM) on the build system to build this package.
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> It's not a vm and it has either 8GB of ram (ecosse) or 12GB (jonund)
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> +4GB swap...
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> Looking at the log, this is just a normal internal compiler error from gcc:
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> XmString.c: In function 'XmStringGetNextTriple':
+</I>&gt;&gt;&gt;&gt;&gt;<i> XmString.c:5484:9: warning: cast from pointer to integer of different
+</I>&gt;&gt;&gt;&gt;&gt;<i> size [-Wpointer-to-int-cast]
+</I>&gt;&gt;&gt;&gt;&gt;<i> XmString.c: In function 'XmStringComponentCreate':
+</I>&gt;&gt;&gt;&gt;&gt;<i> XmString.c:5520:33: warning: cast from pointer to integer of different
+</I>&gt;&gt;&gt;&gt;&gt;<i> size [-Wpointer-to-int-cast]
+</I>&gt;&gt;&gt;&gt;&gt;<i> {standard input}: Assembler messages:
+</I>&gt;&gt;&gt;&gt;&gt;<i> {standard input}: Warning: end of file not at end of a line; newline inserted
+</I>&gt;&gt;&gt;&gt;&gt;<i> {standard input}:1840: Error: number of operands mismatch for `test'
+</I>&gt;&gt;&gt;&gt;&gt;<i> {standard input}: Error: open CFI at the end of file; missing
+</I>&gt;&gt;&gt;&gt;&gt;<i> .cfi_endproc directive
+</I>&gt;&gt;&gt;&gt;&gt;<i> gcc: internal compiler error: Segmentation fault (program cc1)
+</I>&gt;&gt;&gt;&gt;&gt;<i> Please submit a full bug report,
+</I>&gt;&gt;&gt;&gt;&gt;<i> with preprocessed source if appropriate.
+</I>&gt;&gt;&gt;&gt;&gt;<i> See &lt;<A HREF="http://bugs.mageia.org/">http://bugs.mageia.org/</A>&gt; for instructions.
+</I>&gt;&gt;&gt;&gt;&gt;<i> make[2]: *** [XmString.lo] Error 1
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> It was reported at least on <A HREF="https://bugs.archlinux.org/task/27357">https://bugs.archlinux.org/task/27357</A> but
+</I>&gt;&gt;&gt;&gt;&gt;<i> I din't find upstream (gcc) report. I'll try to have a look.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Crash happens when you build <A HREF="http://fasmz.org/~pterjan/tmp/XmStringE.c">http://fasmz.org/~pterjan/tmp/XmStringE.c</A>
+</I>&gt;&gt;&gt;&gt;<i> with -O1 or -O2, I'll test on other arch/versions and report bug
+</I>&gt;&gt;&gt;&gt;<i> upstream
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> <A HREF="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52310">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52310</A>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Duplicate of <A HREF="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51077">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51077</A> which
+</I>&gt;&gt;<i> contains a patch for gcc
+</I>&gt;<i>
+</I>&gt;<i> tmb added the patch to gcc to fix that issue (thanks Thomas!).
+</I>&gt;<i>
+</I>&gt;<i> Now the build dies because libXext.la is missing[1] :o( What's the solution for that?
+</I>&gt;<i>
+</I>&gt;<i> [1] - <A HREF="https://bugs.mageia.org/show_bug.cgi?id=4492#c2">https://bugs.mageia.org/show_bug.cgi?id=4492#c2</A>
+</I>
+Funda Wang fixed lesstif (thanks Funda!). Now xpdf still won't build...
+
+libxpdf.la -L../fofi -lfofi -L../goo -lGoo -L../splash -lsplash Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o
+CharCodeToUnicode.o CMap.o CoreOutputDev.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o
+JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o OptionalContent.o Outline.o OutputDev.o Page.o
+Parser.o PDFCore.o PDFDoc.o PDFDocEncoding.o PreScanOutputDev.o PSOutputDev.o PSTokenizer.o SecurityHandler.o SplashOutputDev.o Stream.o
+TextOutputDev.o UnicodeMap.o UnicodeTypeTable.o XPDFApp.o XPDFCore.o XPDFTree.o XPDFViewer.o XpdfPluginAPI.o XRef.o xpdf.o -lXm -lXt -lXp -
+lXext -lXpm -lSM -lICE -L/usr/lib -lX11 -lXft -lXrender -lfontconfig -lz
+
+*** Warning: Linking the shared library libxpdf.la against the non-libtool
+*** objects Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o CoreOutputDev.o Decrypt.o Dict.o Error.o
+FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o
+NameToCharCode.o Object.o OptionalContent.o Outline.o OutputDev.o Page.o Parser.o PDFCore.o PDFDoc.o PDFDocEncoding.o PreScanOutputDev.o
+PSOutputDev.o PSTokenizer.o SecurityHandler.o SplashOutputDev.o Stream.o TextOutputDev.o UnicodeMap.o UnicodeTypeTable.o XPDFApp.o XPDFCore.o
+XPDFTree.o XPDFViewer.o XpdfPluginAPI.o XRef.o xpdf.o is not portable!
+libtool: link: g++ -fPIC -DPIC -shared Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o
+CoreOutputDev.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o
+JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o OptionalContent.o Outline.o OutputDev.o Page.o Parser.o PDFCore.o PDFDoc.o
+PDFDocEncoding.o PreScanOutputDev.o PSOutputDev.o PSTokenizer.o SecurityHandler.o SplashOutputDev.o Stream.o TextOutputDev.o UnicodeMap.o
+UnicodeTypeTable.o XPDFApp.o XPDFCore.o XPDFTree.o XPDFViewer.o XpdfPluginAPI.o XRef.o xpdf.o -O2 -march=i586 -mtune=generic -Wl,--as-
+needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L../fofi -lfofi -L../goo -lGoo -L../splash -
+lsplash -lXm -lXt -lXp -lXext -lXpm -lSM -lICE -L/usr/lib -lX11 -lXft -lXrender -lfontconfig -lz -lstdc++ -lm -lc -lgcc_s -Wl,-soname -
+Wl,libxpdf.so.0 -o .libs/libxpdf.so.0.0.0
+g++: error: Annot.o: No such file or directory
+g++: error: Array.o: No such file or directory
+g++: error: BuiltinFont.o: No such file or directory
+g++: error: BuiltinFontTables.o: No such file or directory
+g++: error: Catalog.o: No such file or directory
+g++: error: CharCodeToUnicode.o: No such file or directory
+g++: error: CMap.o: No such file or directory
+g++: error: CoreOutputDev.o: No such file or directory
+g++: error: Decrypt.o: No such file or directory
+g++: error: Dict.o: No such file or directory
+g++: error: Error.o: No such file or directory
+g++: error: FontEncodingTables.o: No such file or directory
+g++: error: Function.o: No such file or directory
+g++: error: Gfx.o: No such file or directory
+g++: error: GfxFont.o: No such file or directory
+g++: error: GfxState.o: No such file or directory
+g++: error: GlobalParams.o: No such file or directory
+g++: error: JArithmeticDecoder.o: No such file or directory
+g++: error: JBIG2Stream.o: No such file or directory
+g++: error: JPXStream.o: No such file or directory
+g++: error: Lexer.o: No such file or directory
+g++: error: Link.o: No such file or directory
+g++: error: NameToCharCode.o: No such file or directory
+g++: error: Object.o: No such file or directory
+g++: error: OptionalContent.o: No such file or directory
+g++: error: Outline.o: No such file or directory
+g++: error: OutputDev.o: No such file or directory
+g++: error: Page.o: No such file or directory
+g++: error: Parser.o: No such file or directory
+g++: error: PDFCore.o: No such file or directory
+g++: error: PDFDoc.o: No such file or directory
+g++: error: PDFDocEncoding.o: No such file or directory
+g++: error: PreScanOutputDev.o: No such file or directory
+g++: error: PSOutputDev.o: No such file or directory
+g++: error: PSTokenizer.o: No such file or directory
+g++: error: SecurityHandler.o: No such file or directory
+g++: error: SplashOutputDev.o: No such file or directory
+g++: error: Stream.o: No such file or directory
+g++: error: TextOutputDev.o: No such file or directory
+g++: error: UnicodeMap.o: No such file or directory
+g++: error: UnicodeTypeTable.o: No such file or directory
+g++: error: XPDFApp.o: No such file or directory
+g++: error: XPDFCore.o: No such file or directory
+g++: error: XPDFTree.o: No such file or directory
+g++: error: XPDFViewer.o: No such file or directory
+g++: error: XpdfPluginAPI.o: No such file or directory
+g++: error: XRef.o: No such file or directory
+g++: error: xpdf.o: No such file or directory
+make[1]: *** [libxpdf.la] Error 1
+
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="012131.html">[Mageia-dev] removal of .la from libxt breaks xpdf build
+</A></li>
+ <LI>Next message: <A HREF="012135.html">[Mageia-dev] removal of .la from libxt breaks xpdf build
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#12132">[ date ]</a>
+ <a href="thread.html#12132">[ thread ]</a>
+ <a href="subject.html#12132">[ subject ]</a>
+ <a href="author.html#12132">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>