Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#21469 - [pacman] makepkg: run namcap at the end
Attached to Project:
Arch Linux
Opened by Robson Roberto Souza Peixoto (robsonpeixoto) - Monday, 25 October 2010, 18:51 GMT
Last edited by Allan McRae (Allan) - Tuesday, 26 October 2010, 01:28 GMT
Opened by Robson Roberto Souza Peixoto (robsonpeixoto) - Monday, 25 October 2010, 18:51 GMT
Last edited by Allan McRae (Allan) - Tuesday, 26 October 2010, 01:28 GMT
|
DetailsOne suggestion. Why not put to run the namcap at the end of makepkg to avoid mistakes like that https://bugs.archlinux.org/task/21426 .
In some cases is a optdep, but it can help a lot. Thanks |
This task depends upon
the "mistake" is there because at the time when gstreamer0.10-ffmpeg was built, gstreamer0.10-base was still using liboil and now is using orc
Of course the gstreamer0.10-ffmpeg don't need of namcap, but using the namcap I can see the error. It's only a example where the namcap can be very useful, OMHO.
If the makepkg run at the end, the packager will see the warning: gstreamer0.10-ffmpeg E: Dependency detected and not included (liboil) from files ['usr/lib/gstreamer-0.10/libgstpostproc.so', 'usr/lib/gstreamer-0.10/libgstffmpegscale.so'] . So, the packager can verify if it is really a error.
Ok, the pacman produces quite a lot false positives, but in a lot of cases can be very useful. And with this feedbacks, the namcap can be improved a lot.
The point that I think is important is that the moment the package is being compiled, the namcap tries to find errors. It can be very useful for the packager and to improve the namcap.
The gstreamer is not the point. The point is make the work of packagers easier and reduce the number of bugs/problems.
Besides taking useless amounts of time, what about chroots? my chroots don't have namcap installed, and running namcap from the host system will not catch dependencies unless I install the resulting package first. Actually, makechrootpkg already runs namcap, so official packages that are built the official way already generate namcap reports when it is available.
Another suggestion. Why not suggest the installation of namcap by the makechrootpkg if isn't available? It is used by other systems?