Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • highlight highlight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • André Simon
  • highlighthighlight
  • Issues
  • #128
You need to sign in or sign up before continuing.

highlight 3.52 fails to build on aarch64 architecture

Full logs: https://kojipkgs.fedoraproject.org//work/tasks/1279/35551279/build.log https://koji.fedoraproject.org/koji/taskinfo?taskID=35551279

g++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -I ./include/ ./cli/main.cpp -DHL_DATA_DIR="/usr/share/highlight/" -DHL_CONFIG_DIR="/etc/highlight/" make[1]: Leaving directory '/builddir/build/BUILD/highlight-3.52/src' BUILDSTDERR: make[1]: Entering directory '/builddir/build/B/usr/bin/ld: main.o: in function std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': BUILDSTDERR: /usr/include/c++/9/bits/basic_string.h:6421: undefined reference to DataDir::LSB_DATA_DIR[abi:cxx11]' BUILDSTDERR: /usr/bin/ld: /usr/include/c++/9/bits/basic_string.h:6421: undefined reference to DataDir::LSB_DATA_DIR[abi:cxx11]' BUILDSTDERR: /usr/bin/ld: main.o: in function HLCmdLineApp::collectPluginPaths(std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > const&)': BUILDSTDERR: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:320: undefined reference to DataDir::getPluginPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' BUILDSTDERR: /usr/bin/ld: main.o: in function HLCmdLineApp::printConfigInfo()': BUILDSTDERR: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:244: undefined reference to DataDir::printConfigPaths()' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:245: undefined reference to DataDir::getFiletypesConfPath(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)' BUILDSTDERR: /usr/bin/ld: main.o: in function HLCmdLineApp::run(int, char const**)': BUILDSTDERR: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:338: undefined reference to DataDir::initSearchDirectories(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:351: undefined reference to DataDir::loadFileTypeConfig(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:356: undefined reference to DataDir::getThemePathabi:cxx11' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:375: undefined reference to DataDir::getThemePath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:362: undefined reference to DataDir::getLangPathabi:cxx11' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:359: undefined reference to DataDir::getPluginPath[abi:cxx11]()' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:510: undefined reference to DataDir::guessFileType(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool, bool)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:533: undefined reference to DataDir::getLangPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:518: undefined reference to DataDir::getFileSuffix(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:518: undefined reference to DataDir::guessFileType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/highlight-3.52/src/./cli/main.cpp:509: undefined reference to DataDir::getFileSuffix(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[1]: *** [makefile:106: cli] Error 1 BUILDSTDERR: make: *** [makefile:43: all] Error 2 BUILDSTDERR: make: *** Waiting for unfinished jobs.... UILD/highlight-3.52/src'

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking