Git Product home page Git Product logo

Comments (7)

jack-ullery avatar jack-ullery commented on July 30, 2024 1

Thank you for submitting the issue! When I get time, I'll see if I can build on that OS.

Were there any issues building and installing libappanvil? I suppose it's possible that a recent change there could have made it incompatible with the main branch here.

from appanvil.

jack-ullery avatar jack-ullery commented on July 30, 2024 1

I think you guys are right, I also wasn't able to get the PKGBUILD to work. Unfortunately, I wasn't the one to make those builds: appanvil-git, libappanvil-git, and have no control over them.

So maybe @JamesClarke7283 can help with that

from appanvil.

hamedsbt avatar hamedsbt commented on July 30, 2024

When I have time, I'll try to build libappanvill.

from appanvil.

gentoosys avatar gentoosys commented on July 30, 2024

also can't compile on arch

/usr/src/debug/appanvil-git/AppAnvil/src/tabs/view/profile_modify.cc:67:(.text+0x19e6): undefined reference to AppArmor::Parser::updateFromString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /tmp/ccC08Xuk.ltrans4.ltrans.o: in function Profiles::handle_modify_profile_toggle()':
/usr/src/debug/appanvil-git/AppAnvil/src/tabs/view/profile_modify.cc:93:(.text+0x936c): undefined reference to AppArmor::Tree::ProfileRule::name[abi:cxx11]() const' /usr/bin/ld: /usr/src/debug/appanvil-git/AppAnvil/src/tabs/view/profile_modify.cc:43:(.text+0x978f): undefined reference to AppArmor::Parser::hasChanges()'
/usr/bin/ld: /tmp/ccC08Xuk.ltrans5.ltrans.o: in function void std::__cxx11::list<AppArmor::Tree::ProfileRule, std::allocator<AppArmor::Tree::ProfileRule> >::_M_assign_dispatch<std::_List_const_iterator<AppArmor::Tree::ProfileRule> >(std::_List_const_iterator<AppArmor::Tree::ProfileRule>, std::_List_const_iterator<AppArmor::Tree::ProfileRule>, std::__false_type) [clone .isra.0]': /usr/include/libappanvil/tree/ProfileRule.hh:10:(.text+0x545e): undefined reference to vtable for AppArmor::Tree::ProfileRule'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/appanvil.dir/build.make:558: dist/appanvil] Error 1
make[1]: *** [CMakeFiles/Makefile2:148: CMak

from appanvil.

jack-ullery avatar jack-ullery commented on July 30, 2024

Weirdly enough, when I tried to build on Manjaro, it compiled without error for each kernel version I tested.

These were the kernels I tested on:

  • 6.6.26-1-MANJARO
  • 6.7.0-1-rt6-MANJARO
  • 6.8.8-2-MANJARO

It's possible there is a difference between Arch and Manjaro that helped the build. Or maybe this is another issue, perhaps related to the CPU architecture (I tested on an x86_64 CPU).

For the sake of redundancy, here are the commands I ran:

cd ~/Documents
git clone https://github.com/jack-ullery/libappanvil.git
cd libappanvil
git submodule update --init --recursive --remote
cmake .
make && sudo make install

cd ~/Documents
git clone https://github.com/jack-ullery/AppAnvil.git
cd AppAnvil
cmake .
make -j16

from appanvil.

gentoosys avatar gentoosys commented on July 30, 2024

I was tried to install from aur.
Maybe something wrong with PKGBUILDS
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libappanvil-git
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=appanvil-git

from appanvil.

Yoake2000 avatar Yoake2000 commented on July 30, 2024

Tried compiling libappanvil from source then appanvil on Arch. Both compiled successfully. I initially used the aur libappanvil and appanvil would fail to compile with it. There's maybe something wrong with the PKGBUILD for libappanvil since it hasn't been updated since last year.

from appanvil.

Related Issues (19)

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.