GithubHelp home page GithubHelp logo

Comments (7)

Deurstann avatar Deurstann commented on July 22, 2024 1

Oh yes, in fact 5.10.105 was the linux kernel version, i have updated the issue with the corrected informations.

from lima.

kleag avatar kleag commented on July 22, 2024

You report using Manjaro 5.10.105 but https://manjaro.org/download/ gives only access to version 21.2.5 in 3 different flavors (XFCE, KDE or Gnome). Could you precise your environment, please? Including the compiler and its version. Otherwise, it is complicated to reproduce your problem. In my up to date KDE Neon, it compiles successfully, as well as in CI Debian 11 and Ubuntu 20.04.

from lima.

kleag avatar kleag commented on July 22, 2024

I made a Dockerfile for Manjaro Linux (pushed to continuous_integration/) and was able to reproduce the problem:

gael@brezhoneg2:~/Projets/Lima/lima$ docker build -f continuous_integration/Dockerfile-manjaro .
[+] Building 7.3s (22/23)                                                                                                                                                                                         
 => [internal] load build definition from Dockerfile-manjaro                                                                                                                                                 0.0s
 => => transferring dockerfile: 46B                                                                                                                                                                          0.0s
 => [internal] load .dockerignore                                                                                                                                                                            0.0s
 => => transferring context: 34B                                                                                                                                                                             0.0s
 => [internal] load metadata for docker.io/manjarolinux/base:latest                                                                                                                                          0.9s
 => [auth] manjarolinux/base:pull token for registry-1.docker.io                                                                                                                                             0.0s
 => [ 1/20] FROM docker.io/manjarolinux/base:latest@sha256:96fac6cb520eb22daf83a62721cb093f3bf0a91cbaa09137b929035c872b0ea5                                                                                  0.0s
 => CACHED [ 2/20] RUN pacman -Syu                                                                                                                                                                           0.0s
 => CACHED [ 3/20] RUN pacman -Sy --noconfirm --needed base-devel git cmake clang ninja qt5 boost qwt enchant tre                                                                                            0.0s
 => CACHED [ 4/20] RUN pacman -Sy --noconfirm --needed python-nltk                                                                                                                                           0.0s
 => CACHED [ 5/20] RUN sed -ie "s|DEFAULT_URL = 'http://nltk.googlecode.com/svn/trunk/nltk_data/index.xml'|DEFAULT_URL = 'http://nltk.github.com/nltk_data/'|" /usr/lib/python*/*/nltk/downloader.py         0.0s
 => CACHED [ 6/20] RUN python3 -m nltk.downloader -d nltk_data dependency_treebank                                                                                                                           0.0s
 => CACHED [ 7/20] RUN cat nltk_data/corpora/dependency_treebank/wsj_*.dp | grep -v "^$" > nltk_data/corpora/dependency_treebank/nltk-ptb.dp                                                                 0.0s
 => CACHED [ 8/20] RUN mkdir -p /src/                                                                                                                                                                        0.0s
 => CACHED [ 9/20] RUN git clone --branch=master --recurse-submodules https://${GITHUB_TOKEN}@github.com/aymara/lima /src/lima                                                                               0.0s
 => CACHED [10/20] RUN ls /src                                                                                                                                                                               0.0s
 => CACHED [11/20] RUN ls /src/lima/extern/fastText                                                                                                                                                          0.0s
 => CACHED [12/20] RUN ls /src/lima/extern/fastText/src                                                                                                                                                      0.0s
 => CACHED [13/20] WORKDIR /src/lima                                                                                                                                                                         0.0s
 => CACHED [14/20] RUN mkdir -p /src/lima/build                                                                                                                                                              0.0s
 => CACHED [15/20] WORKDIR /src/lima/build                                                                                                                                                                   0.0s
 => CACHED [16/20] RUN cmake -G Ninja -DLIMA_RESOURCES:STRING=build -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE:STRING=Release -DLIMA_VERSION_RELEASE:STRING="$(cat /src/lima/release)" -DSHORTEN_P  0.0s
 => CACHED [17/20] RUN ninja                                                                                                                                                                                 0.0s
 => ERROR [18/20] RUN ninja test                                                                                                                                                                             6.3s
------                                                                                                                                                                                                            
 > [18/20] RUN ninja test:                                                                                                                                                                                        
#22 0.448 [0/1] Running tests...                                                                                                                                                                                  
#22 0.455 Test project /src/lima/build                                                                                                                                                                            
#22 0.466       Start  1: LimaStringTest0                                                                                                                                                                         
#22 0.472  1/24 Test  #1: LimaStringTest0 ...................   Passed    0.01 sec                                                                                                                                
#22 0.472       Start  2: LimaStringTest1
#22 0.479  2/24 Test  #2: LimaStringTest1 ...................   Passed    0.01 sec
#22 0.479       Start  3: LimaStringTest2
#22 0.486  3/24 Test  #3: LimaStringTest2 ...................   Passed    0.01 sec
#22 0.486       Start  4: LimaStringTest3
#22 0.493  4/24 Test  #4: LimaStringTest3 ...................   Passed    0.01 sec
#22 0.493       Start  5: ReadWriteTools1
#22 0.499  5/24 Test  #5: ReadWriteTools1 ...................   Passed    0.01 sec
#22 0.500       Start  6: ReadWriteTools2
#22 0.506  6/24 Test  #6: ReadWriteTools2 ...................   Passed    0.01 sec
#22 0.506       Start  7: FileUtilsTest0
#22 0.535  7/24 Test  #7: FileUtilsTest0 ....................   Passed    0.03 sec
#22 0.535       Start  8: ShiftFromTest0
#22 0.544  8/24 Test  #8: ShiftFromTest0 ....................   Passed    0.01 sec
#22 0.544       Start  9: StringsPoolTest0
#22 0.554  9/24 Test  #9: StringsPoolTest0 ..................   Passed    0.01 sec
#22 0.554       Start 10: XMLConfigurationFilesTest0
#22 0.567 10/24 Test #10: XMLConfigurationFilesTest0 ........   Passed    0.01 sec
#22 0.568       Start 11: TimeUtilsTest0
#22 0.613 11/24 Test #11: TimeUtilsTest0 ....................   Passed    0.05 sec
#22 0.614       Start 12: LinguisticCodeTest0
#22 2.062 12/24 Test #12: LinguisticCodeTest0 ...............   Passed    1.45 sec
#22 2.063       Start 13: BagOfWordsTest0
#22 2.074 13/24 Test #13: BagOfWordsTest0 ...................   Passed    0.01 sec
#22 2.074       Start 14: BagOfWordsTest1
#22 2.086 14/24 Test #14: BagOfWordsTest1 ...................   Passed    0.01 sec
#22 2.086       Start 15: BagOfWordsTest2
#22 2.097 15/24 Test #15: BagOfWordsTest2 ...................   Passed    0.01 sec
#22 2.097       Start 16: BagOfWordsTest3
#22 2.114 16/24 Test #16: BagOfWordsTest3 ...................   Passed    0.02 sec
#22 2.114       Start 17: PropertyCodeTest0
#22 2.169 17/24 Test #17: PropertyCodeTest0 .................   Passed    0.05 sec
#22 2.169       Start 18: AnnotationGraphTest0
#22 2.181 18/24 Test #18: AnnotationGraphTest0 ..............   Passed    0.01 sec
#22 2.181       Start 19: CharChartTest0
#22 2.208 19/24 Test #19: CharChartTest0 ....................   Passed    0.03 sec
#22 2.209       Start 20: CharChartTestAra
#22 2.223 20/24 Test #20: CharChartTestAra ..................   Passed    0.01 sec
#22 2.223       Start 21: TestXmlReader0
#22 4.513 21/24 Test #21: TestXmlReader0 ....................***Failed    2.29 sec
#22 4.513       Start 22: EnhancedAnalysisDictionaryTest0
#22 5.058 22/24 Test #22: EnhancedAnalysisDictionaryTest0 ...   Passed    0.54 sec
#22 5.059       Start 23: EnhancedAnalysisDictionaryTest1
#22 6.163 23/24 Test #23: EnhancedAnalysisDictionaryTest1 ...   Passed    1.10 sec
#22 6.163       Start 24: DictionaryDataTest1
#22 6.251 24/24 Test #24: DictionaryDataTest1 ...............   Passed    0.09 sec
#22 6.251 
#22 6.251 96% tests passed, 1 tests failed out of 24
#22 6.251 
#22 6.251 Total Test time (real) =   5.80 sec
#22 6.251 
#22 6.251 The following tests FAILED:
#22 6.251        21 - TestXmlReader0 (Failed)
#22 6.252 Errors while running CTest
#22 6.252 Output from these tests are in: /src/lima/build/Testing/Temporary/LastTest.log
#22 6.252 Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
#22 6.253 FAILED: CMakeFiles/test.util 
#22 6.253 cd /src/lima/build && /usr/bin/ctest --force-new-ctest-process
#22 6.253 ninja: build stopped: subcommand failed.
------
executor failed running [/bin/sh -c ninja test]: exit code: 1

from lima.

kleag avatar kleag commented on July 22, 2024

My build fails because svmtool is not installed, so lima felt back to using the ngram matrices based pos tagger which is not setup during the execEnv environment used during build and install. So analyzeXml fails to run.

There is 2 possibilities there: installing the matrices into execEnv or installing svmtool in manjaro.

I'm trying the second one.

from lima.

kleag avatar kleag commented on July 22, 2024

I was able to correct lima build under manjaro in the docker container. It has been a little bit complicated to build all (or retrieve from deb files) all the dependences.
Please refer to https://github.com/aymara/lima/blob/master/continuous_integration/Dockerfile-manjaro for details.
Please close this issue if it works for you too.

from lima.

Deurstann avatar Deurstann commented on July 22, 2024

It works now, thank you.

from lima.

kleag avatar kleag commented on July 22, 2024

Great. Note that with this build, you will not have the tensorflow-based deelima modules. To build them, you should adapt the recipe to retrieve the tensorflow-for-lima .deb and convert it to arch as made for other deb files. But it is not a problem for now.

from lima.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.