kitsunyan / pakku

Pacman wrapper with AUR support
GNU General Public License v3.0
130 stars 8 forks source link

A few well known "problematic" aur packages #1

Closed polygamma closed 6 years ago

polygamma commented 6 years ago

Hey!

Welcome to the AUR helper business! :) Here are a few well known packages, which may be used to validate the function of your helper, which are known to cause problems. Regarding the first two packages: opinions about whether an aur helper should be capable of installing those, or not, differ strongly, so may you decide that for your helper by yourself, but it is nevertheless nice to know about those.

that is correct, but there is one more unsolvable problem: botan-1.10 which is a dep of qca-qt5-git way: plasma-git-meta to plasma-nm-git to qca-qt5-git

it would be nice to also display that problem

kitsunyan commented 6 years ago

That's serious business, I guess! (Actually, "Welcome hell" would be more suitable greeting)

Thanks for the list, I'll try to check them all and report here. I already tried to install ros-lunar-desktop since it was referenced in AUR Helpers Arch wiki page, but I couldn't install it, several dependencies were invalid. I tried to fix them (commented code lines, etc), but, ultimately, I gave up: the error was too incomprehensible for me >.<

kitsunyan commented 6 years ago

Checked mingw-w64-gcc. My resolver doesn't even try to lookup for mingw-w64-gcc-base since it's already provided by mingw-w64-gcc-base. Fixed in https://github.com/kitsunyan/pakku/commit/9a2357c70b7a704877515c0a4418a85a5ccecfcd.

kitsunyan commented 6 years ago

Checked both ros-indigo-desktop-full and plasma-git-meta. Now I don't interupt resolving when I found unsatisfied dependency so I could find python2-catkin-pkg which is referenced as python2-catkin_pkg by another package. This also fixes a problem with incomplete list of missing dependencies. Although, these issues aren't bound. Fixed in https://github.com/kitsunyan/pakku/commit/7306b66419c8e3f1785f2bb22d6851c827f7b671.

polygamma commented 6 years ago

FYI: I have just tried to install ros-lunar-desktop again to see, if it is still possible to install, and it is. I used my aur helper (obviously) with: aurman -S ros-lunar-desktop --pgp_fetch --noedit --noconfirm in a virtual machine with just base, base-devel and aurman installed.

You may use aurman -S ros-lunar-desktop --solution_way to see in which order aurman is going to install packages, without the need to install anything, to compare it with what your aur helper calculates. Alternatively, if you want even more information: https://github.com/polygamma/aurman/wiki/Using-aurman-as-dependency-solver

kitsunyan commented 6 years ago

For instance, I can't build ros-lunar-turtlesim. Neither with pakku nor with aurman.

[ 96%] Generating include/turtlesim/moc_turtle_frame.cpp
standard input:0: Note: No relevant classes found. No output generated.
[ 98%] Building CXX object CMakeFiles/turtlesim_node.dir/include/turtlesim/moc_turtle_frame.cpp.o
c++: error: /home/aur/.cache/aurman/ros-lunar-turtlesim/src/build/include/turtlesim/moc_turtle_frame.cpp: No such file or directory
c++: fatal error: no input files
compilation terminated.
make[2]: *** [CMakeFiles/turtlesim_node.dir/build.make:139: CMakeFiles/turtlesim_node.dir/include/turtlesim/moc_turtle_frame.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 98%] Built target mimic
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/turtlesim_node.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Aurman even tries to install ros-lunar-qt-gui-cpp before it but it stucks on this:

[  5%] Generating __/__/include/qt_gui_cpp/moc_plugin.cpp
[ 11%] Generating __/__/include/qt_gui_cpp/moc_plugin_context.cpp
[ 16%] Generating __/__/include/qt_gui_cpp/moc_plugin_bridge.cpp
standard input:0: Note: No relevant classes found. No output generated.
standard input:0: Note: No relevant classes found. No output generated.
polygamma commented 6 years ago

Do you have cmake-git instead of cmake or qt5-base-git instead of qt5-base installed? Those tend to make problems, even though they shouldn't... Or anything else in that direction

polygamma commented 6 years ago

Addition: You could also try running aurman with --deep_search to see what makes the difference.

kitsunyan commented 6 years ago

Nah, forget about it. qt5 uses new statx syscall which is not whitelisted in docker (I test all these builds in docker container).

kitsunyan commented 6 years ago

Finally, I successfully built ros-lunar-desktop. I wanted to checkout the commit in which .SRCINFO was changed (actually, I used git bisect to find a suitable commit), but it seems to be harmful. Packagers often forget to update .SRCINFO or pkgrel making changes to PKGBUILD, so I decided to put it off.

I tested clion, it seems that everything works as you describe.

kitsunyan commented 6 years ago

So, thanks again for the list, I appreciate it. It was really helpful for me to understand some rare cases.

polygamma commented 6 years ago

You are very welcome :)