Bugday 2021-02-06

[[Article description::<span>Bugday focus: <span style="color:#FE5000">Installation Manual</span>]]

Topic 1: Respect toolchain variables - CC/CXX/CFLAGS/LDFLAGS/etc.

A lot of the ebuilds use incorrect toolchain variables causing esoteric problems, such as for cross-compiling, prefixes, LTO profiling, per-package workarounds, among many others.

These can generally be fixed by exporting the toolchain variables during the src_configure using the tc-export function from the toolchain-funcs.eclass.

Most of the bugs should be of this kind, with a quick 3 line diff. For more complicated bugs, please ask for assistance on #gentoo-bugday on freenode.

Open bugs for direct toolchain calls - https://bugs.gentoo.org/buglist.cgi?quicksearch=direct%20calls
Open bugs for not respecting flags - https://bugs.gentoo.org/buglist.cgi?quicksearch=does%20not%20respect

Topic 2: Check the installation manual

Search and fix bugs in the installation manual.

I still do not know how to start. Could you provide an example workflow?

Larry wants to fix one of his favourite packages.

  • Larry picks one package in bug #705764
  • Larry adds the bug number to the "looking at" column in his row in the Activity Tracker (and adds a row for himself if one does not already exist) so others can see this bug is being worked on
  • net-misc/networkmanager: Fails to compile with -fno-common bug #706000
  • check upstream - is there a fix?
  • if there is, decide if a patch or a version bump makes more sense.
  • download or write a patch, copy it to /etc/portage/patches and test it
  • report upstream, and link the upstream bug/ticket in Gentoo's Bugzilla
  • now that the task is completed, Larry should update the Activity Tracker by moving the bug number from the "looking at" column to the "completed" column

Activity tracker

Wholooking atcompleted
Larry the Cowfix bug #000001 bug #000002bug #000001

See also

  • Bugday — a single day each month devoted to development efforts pertaining to a certain area of the Gentoo project.
This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.