[Bug 209368] New: Pattern representing the default rpmbuild environment
https://bugzilla.novell.com/show_bug.cgi?id=209368 Summary: Pattern representing the default rpmbuild environment Product: openSUSE 10.2 Version: Alpha 4 plus Platform: All OS/Version: Linux Status: NEW Severity: Enhancement Priority: P5 - None Component: Patterns AssignedTo: aj@novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: aj@novell.com As recently discussed on the opensuse-factory mailing list, I suggest a new pattern that represents the minimal rpmbuild environment. Use case: Users who want to (re)build source packages using the rpmbuild command, with or without modifications, will appreciate this because it allows installing all the required packages at once. rpmbuild does not produce clean and reproducible results, but is still preferred over build and y2pmbuild by many users because it is fast, available on all rpm-based distributions and its usage is widely known. Specifications: - The pattern includes all packages that are assumed to be present for rpm builds targeted at the current architecture without being mentioned in "BuildRequires". - The pattern needs to be kept in sync with autobuild. Maybe it should be auto-generated, if possible. - All included packages are required by the pattern. There are no weak dependencies, so the user will be informed that uninstalling one of these packages breaks the build environment. - The Category of this pattern is "Development". - The Summary of this pattern might be "RPM Build Environment". - The Description of this pattern might be "Minimal set of tools and libraries for building packages using the RPM package manager". - The pattern is visible - The pattern does not require the basis-devel pattern, because that would pull in some packages like libstdc++-devel, gcc-c++ and gcc-fortran which are _not_ implied and must be mentioned in "BuildRequires" if needed. - The pattern may, as an exception to the rule that it doesn't include optional and/or unrelated packages, optionally include the "build" package in order to give the user a hint that this is now the preferred tool for building packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209368 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |andreas.hanke@gmx-topmail.de ------- Comment #1 from aj@novell.com 2006-10-01 07:28 MST ------- I checked yesterday (and fixed as well). Now the "Basis Development" contains all these packages. But changing it might make sense - and then have "Basis Development" require the "RPM Build Environment" to avoid duplication. What do you think? thanks for the really detailed bugreport, you just missed the package list to make it more than perfect ;-) (I have that list). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209368 ------- Comment #2 from aj@novell.com 2006-10-01 07:40 MST ------- For reference, here's the list of packages. aaa_base acl attr autoconf automake bash bind-libs bind-utils binutils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db diffutils e2fsprogs file filesystem fillup findutils flex gawk gcc gdbm gdbm-devel gettext gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libnscd libstdc++ libtool libxcrypt libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch perl permissions popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209368 ------- Comment #3 from aj@novell.com 2006-10-01 07:45 MST ------- Normally I would not list dependend packages, e.g. remove zlib from above since zlib-devel will include it. What do you suggest in this case? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209368 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|andreas.hanke@gmx-topmail.de| ------- Comment #4 from andreas.hanke@gmx-topmail.de 2006-10-01 07:49 MST ------- Ad #1: Yes, sounds reasonable. No new pattern is needed if it would be a pure subset of another one. Whether you create it anyway and make "Basis Development" depend on it or not create it at all is your decision, both would be OK for me (I just like to be able to answer the question "Where are my BuildRequirements" with something like "Install pattern FOO"). Practical problem: "Basis Development" has most of these packages as optional dependencies while my proposal would have them as hard requirements. Ad #3: Omitting those packages which are pulled in by other explicitly listed packages is OK. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209368 ------- Comment #5 from andreas.hanke@gmx-topmail.de 2006-10-01 08:11 MST ------- The existing "Basis Development" pattern and the proposed one for rpmbuild aren't exactly the same use case. "Basis Development" is flexible and customizable. That's why most of the packages are optional, and this is good because different developers' needs are different. What rpmbuild needs, on the other hand, is clearly defined. It's a clearly defined list of packages and a package is either always needed or not needed at all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209368 ------- Comment #6 from aj@novell.com 2006-10-01 08:29 MST ------- Should "Basis Development" depend on "RPM Build"? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209368 ------- Comment #7 from aj@novell.com 2006-10-01 09:05 MST ------- First version of pattern is written and submitted for Alpha5. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=209368 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #8 from aj@novell.com 2006-10-20 04:45 MST ------- Looks fine, marking as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com