incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 118627] New: Hyphenator: building the UNO component breaks due to name clash
Date Mon, 21 Nov 2011 22:13:20 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=118627

             Bug #: 118627
        Issue Type: DEFECT
           Summary: Hyphenator: building the UNO component breaks due to
                    name clash
    Classification: Code
           Product: lingucomponent
           Version: OOo 3.4 Beta
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: other
        AssignedTo: issues@lingucomponent.openoffice.org
        ReportedBy: arielch@apache.org
                CC: ooo-issues@incubator.apache.org


building the UNO component breaks due to library name clash with libhyphen's
library:

Entering
/mnt/build/openoffice/apache/trunk/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen

Making:    libhyphen.so
g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions
-Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo
-Wl,--hash-style=both -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared
-Wl,-O1 -Wl,--version-script ../../../../unxlngx6/misc/component_hyphen.map
-L../../../../unxlngx6/lib -L../lib
-L/mnt/build/openoffice/apache/trunk/main/solenv/unxlngx6/lib
-L/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6/lib
-L/mnt/build/openoffice/apache/trunk/main/solenv/unxlngx6/lib
-L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib64
-L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64
-L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server
-L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/native_threads
-L/usr/lib64 ../../../../unxlngx6/slo/hyphen_version.o -o
../../../../unxlngx6/lib/libhyphen.so ../../../../unxlngx6/slo/hreg.o
../../../../unxlngx6/slo/hyphenimp.o ../../../../unxlngx6/slo/lingutil.o
-luno_cppu -luno_cppuhelpergcc3 -li18nisolang1gcc3 -ltl -lsvl -luno_sal -lutl
-llng -lhyphen -lulingu -Wl,--as-needed -ldl -lpthread -lm -Wl,--no-as-needed 
../../../../unxlngx6/lib/libhyphen.so: file not recognized: File truncated
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../../../../unxlngx6/lib/libhyphen.so'
ERROR: error 65280 occurred while making
/mnt/build/openoffice/apache/trunk/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen


The output:
-o ../../../../unxlngx6/lib/libhyphen.so

libhyphen library:
-lhyphen

when the linker tries to find the library to link against, it will search first
in the output dir, and find the to-be-written-file; output of ld -debug:
[...]
-lutl
(/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6/lib/libutl.so)
attempt to open ../../../../unxlngx6/lib/liblng.so failed
attempt to open ../../../../unxlngx6/lib/liblng.a failed
attempt to open ../lib/liblng.so failed
attempt to open ../lib/liblng.a failed
attempt to open
/mnt/build/openoffice/apache/trunk/main/solenv/unxlngx6/lib/liblng.so failed
attempt to open
/mnt/build/openoffice/apache/trunk/main/solenv/unxlngx6/lib/liblng.a failed
attempt to open
/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6/lib/liblng.so
succeeded
-llng
(/mnt/build/openoffice/apache/trunk/main/solver/340/unxlngx6/lib/liblng.so)
attempt to open ../../../../unxlngx6/lib/libhyphen.so succeeded
../../../../unxlngx6/lib/libhyphen.so: file not recognized: File truncated


This is caused by the DLLPOSTFIX removal.
Solution: rename the UNO component using the naming scheme libXXX.uno

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message