Package Details: appanvil-git r736.4d7d2bf-2

Git Clone URL: https://aur.archlinux.org/appanvil-git.git (read-only, click to copy)
Package Base: appanvil-git
Description: A graphical user interface for the AppArmor access control system
Upstream URL: https://github.com/jack-ullery/AppAnvil
Licenses: GPL3
Conflicts: appanvil, libappanvil
Provides: appanvil, libappanvil
Submitter: impulse
Maintainer: impulse
Last Packager: impulse
Votes: 0
Popularity: 0.000000
First Submitted: 2023-10-03 03:36 (UTC)
Last Updated: 2025-03-23 19:27 (UTC)

Pinned Comments

impulse commented on 2025-03-23 19:40 (UTC) (edited on 2025-03-23 19:42 (UTC) by impulse)

Apologies guys for being late, (@linuxadmin & @hamedsbt) i only saw this today, thanks for your reports, i will try address issues more swiftly in future.

I have resolved the issue, the easy solution was to merge the libappanvil and appanvil packages into one (the library component is really only used for this program anyway, i am going to abandon the 'libappanvil-git' package as i don't think its currently needed).

In addition to fixing the issue I made some other improvements, including: 1. Adding aarch64 as a supported arch (i have to add them as i go along due to AUR guidelines) 2. More specific license labelling (GPL3 instead of generic GPL) 3. Added appropriate conflicts/provides fields to reduce possible future issues with similar packages. 4. Updated the pkg description to reflect the current description on the upstream repo (also in my view this description is clearer)

Latest Comments

yochananmarqos commented on 2025-03-24 01:51 (UTC)

@impulse: Now that upstream is a little less messy, please improve the packaging. See my PKGBUILD for reference.

impulse commented on 2025-03-23 19:40 (UTC) (edited on 2025-03-23 19:42 (UTC) by impulse)

Apologies guys for being late, (@linuxadmin & @hamedsbt) i only saw this today, thanks for your reports, i will try address issues more swiftly in future.

I have resolved the issue, the easy solution was to merge the libappanvil and appanvil packages into one (the library component is really only used for this program anyway, i am going to abandon the 'libappanvil-git' package as i don't think its currently needed).

In addition to fixing the issue I made some other improvements, including: 1. Adding aarch64 as a supported arch (i have to add them as i go along due to AUR guidelines) 2. More specific license labelling (GPL3 instead of generic GPL) 3. Added appropriate conflicts/provides fields to reduce possible future issues with similar packages. 4. Updated the pkg description to reflect the current description on the upstream repo (also in my view this description is clearer)

linuxadmin commented on 2024-04-26 12:10 (UTC)

Hi. It is still broken and can't build. Please help fix the issue and build appanvil

/usr/src/debug/appanvil-git/AppAnvil/src/tabs/controller/profile_modify_controller.cc:124:(.text.unlikely+0x12b7): undefined reference to AppArmor::Tree::FileMode::getExecuteMode[abi:cxx11]() const' /usr/bin/ld: /tmp/ccggFwdE.ltrans3.ltrans.o: in functionProfileModifyController::handle_file_rule_changed(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&) [clone .cold]': /usr/include/libappanvil/tree/FileRule.hh:10:(.text.unlikely+0x137e): undefined reference to vtable for AppArmor::Tree::FileRule' /usr/bin/ld: /tmp/ccggFwdE.ltrans3.ltrans.o: in functionProfileModifyController::handle_file_rule_changed(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&) [clone .cold]': /usr/include/libappanvil/tree/RuleNode.hh:16:(.text.unlikely+0x14ae): undefined reference to vtable for AppArmor::Tree::RuleNode' /usr/bin/ld: /tmp/ccggFwdE.ltrans4.ltrans.o: in functionProfileModifyImpl<AppArmor::Parser>::update_profile_text()': /usr/src/debug/appanvil-git/AppAnvil/src/tabs/view/profile_modify.cc:49:(.text+0x1409): undefined reference to AppArmor::Parser::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const' /usr/bin/ld: /tmp/ccggFwdE.ltrans4.ltrans.o: in functionProfileModifyImpl<AppArmor::Parser>::handle_raw_profile_text_change()': /usr/src/debug/appanvil-git/AppAnvil/src/tabs/view/profile_modify.cc:56:(.text+0x1821): undefined reference to AppArmor::Parser::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >() const' /usr/bin/ld: /tmp/ccggFwdE.ltrans4.ltrans.o: in functionProfileModifyImpl<AppArmor::Parser>::apply_raw_profile_text_change()': /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/ccggFwdE.ltrans4.ltrans.o: in functionProfiles::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 toAppArmor::Parser::hasChanges()' /usr/bin/ld: /tmp/ccggFwdE.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 tovtable 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: CMakeFiles/appanvil.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in package(). Aborting... error: failed to build 'appanvil-git-r619.2df0101-1':

hamedsbt commented on 2024-03-14 11:48 (UTC)

/usr/bin/ld: /tmp/ccq6276E.ltrans4.ltrans.o: in function `ProfileModifyImpl<AppArmor::Parser>::apply_raw_profile_text_change()': /usr/src/debug/appanvil-git/AppAnvil/src/tabs/view/profile_modify.cc:67:(.text+0x18b7): undefined reference to `AppArmor::Parser::updateFromString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /tmp/ccq6276E.ltrans4.ltrans.o: in function `Profiles::handle_modify_profile_toggle()': /usr/src/debug/appanvil-git/AppAnvil/src/tabs/view/profile_modify.cc:93:(.text+0x90ee): 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+0x94be): undefined reference to `AppArmor::Parser::hasChanges()' /usr/bin/ld: /tmp/ccq6276E.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+0x5281): 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: CMakeFiles/appanvil.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in package(). Aborting... -> error making: appanvil-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: appanvil-git - exit status 4