OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Project sfwnv
:
Documents
>
Software build engine policy
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
Software build engine policy
Hide Line numbers
1: {{{ 2: 3: OpenSolaris Freeware Consolidation 4: REQUIREMENTS FOR SFW USE OF SOFTWARE BUILD ENGINES 5: 7 August 2007 6: 7: 1. Summary 8: 9: The SFW consolidation is willing to support a variety of build 10: approaches on a per-component basis. This document includes 11: requirements for the use of any high-level build tool, such as the 12: pkgbuild utility. 13: 14: 2. Discussion 15: 16: The OpenSolaris Freeware Consolidation (SFW) has historically 17: allowed components to construct themselves in whatever manner is 18: most appropriate to emit the binary and supporting artifacts needed. 19: In practice, this policy has resulted primarily in components being 20: built via one of two ways: 21: 22: - Makefile-driven build utilizing the component’s build system 23: 24: - Makefile-driven build with a build crafted by the component’s SFW 25: maintainer 26: 27: These schemes are constructed around make(1)’s capabilities, plus 28: the adoption of one or more conventions around Makefiles to state 29: dependencies, invoke compilers and other tools, and to assemble 30: packages. 31: 32: A higher level approach is to use a software build engine, which 33: takes a more abstract build description and emits the output 34: component’s artifacts in the form of a package (or other assembly of 35: binaries). An example of a software build engine relevant to 36: OpenSolaris is the pkgbuild utility [1], as used in the JDS 37: Consolidation [2]. 38: 39: The SFW C-team supports the utilization of software build engines in 40: its Consolidation’s build process. The following requirements, in 41: the form used for other OpenSolaris requirements documents [3], outline the 42: implementation constraints on the use of such tools. 43: 44: 2.1 Requirements 45: 46: The intention of the requirements is that the SFW consolidation’s 47: build process be a predictable and convenient means of 48: reproducibly producing software. 49: 50: 2.1.1 Consolidation-wide requirements 51: 52: "Essential" requirements. 53: 54: E0. Non-root build. 55: 56: SFW has historically permitted builds without special privilege. 57: Requiring special privilege to build has been found to discourage 58: participation in a consolidation’s evolution. 59: 60: E1. Reproducibility and source availability. 61: 62: As a consolidation publishing components used by other 63: consolidations, SFW can get requests to redeliver these components. 64: These requests can be satisfied if the consolidation can rebuild 65: each component from a known set of sources. That is, a method for 66: guaranteeing that the source for the component is available over the 67: delivery lifetime of the component. (This requirement can be 68: interpreted as a constraint on engine-driven automated source 69: downloads.) 70: 71: E2. Simultaneous builds on a single system 72: 73: Organizations contributing to SFW have had a set of supported build 74: configurations, ranging from a single workstation to a shared build 75: server. In each of these cases, it is expected that the build 76: system’s installed configuration will not be changed as a result of 77: the build process. 78: 79: This requirement implies that package modifying operations 80: (installations, upgrades, and deletions) on the default path are 81: disallowed without a waiver. C-team approval will be required for a 82: waiver of the "no package modifications"; any such operations 83: executed during a build must be reversible. (Since SFW builds will 84: continue to take place on shared systems, such operations may also 85: involve awareness of other consuming builds.) 86: 87: It is permissible to construct a special environment to permit 88: simultaneous builds, as long as this construction can be carried out 89: without manual intervention. Such environments should be capable of 90: being cleaned automatically by the build process. Numerous options 91: are available on OpenSolaris-based systems for the construction of 92: isolated environments. 93: 94: E3. Package auditing. 95: 96: It must be possible to audit, as a part of the build process, the 97: changes made to a package between build invocations. That is, a 98: byproduct of the build should be an inventory of the changes in 99: contents and metadata associated with a package, such that 100: inventories of a package produced at distinct times can be compared. 101: The primary purpose of auditing is to eliminate basic packaging 102: errors, such as conflicting file membership or permissions. Audited 103: packages reduce C-team costs for interaction with distributions. 104: 105: E4. Inter-component dependency. 106: 107: Build-time inter-component dependencies will be resolved via 108: Makefiles and advertised installation. That is, a component, 109: regardless of its build method, must have a means of identifying its 110: availability in a build-specific location if it is required by 111: another component later in the build. The build dependency will be 112: handled via one or more Makefile statements. 113: 114: This requirement can be satisfied via use of a single proto area, 115: but other approaches are permissible. In principle, this 116: requirement can be handled with a naming convention. 117: 118: "Conditional" requirements. 119: 120: C5. Disconnected operation. 121: 122: It is strongly desired that it be possible to build the 123: consolidation without network access. Lack of disconnected 124: operation will discourage potential contributors. 125: 126: There are no optional requirements in this section. 127: 128: 2.1.2 Consolidation-wide non-requirements 129: 130: Satisfaction of E0 and E2 via a consolidation specific setuid tool 131: is permissible. 132: 133: With E3 "Package auditing" and E4 "Inter-component dependency" 134: satisfied, it is not necessary for an isolated component to install 135: in the proto area. 136: 137: 2.1.3 Per-component build requirements 138: 139: "Essential requirements" 140: 141: E6. Documentation of native component build capability. 142: 143: For a small class of components, a "native" build is necessary, so 144: that a component capable of running on the build system can 145: construct other artifacts during the build process. It is important 146: for a software build engine to document clearly whether it is 147: or is not capable of constructing native components, as well as the 148: target components. 149: 150: There are no conditional or optional requirements in this section. 151: 152: 2.1.4 Software build engine requirements 153: 154: "Essential requirements" 155: 156: E7. Open source 157: 158: Any software build engine used in SFW must be available under an 159: OSI-approved license. 160: 161: "Conditional requirements" 162: 163: C8. Engine-description versioning 164: 165: It is expected that a software build engine will have a statement of 166: versioning such that build descriptions identify the minimal version 167: of the engine required for their interpretation. 168: 169: C8. OpenSolaris delivery 170: 171: It is strongly desired that any software build engine used in SFW 172: ship in one of the OpenSolaris Consolidations. It is not necessary 173: that the engine be delivered by the SFW Consolidation. 174: 175: There no optional requirements in this section. 176: 177: 3. References 178: 179: [1] L. Peter, pkgbuild, http://pkgbuild.sf.net 180: 181: [2] JDS Consolidation, http://opensolaris.org/os/project/jds/ 182: 183: [3] IEEE Std 830-1998, "IEEE Recommended Practice for Software Requirements Specifications", 1998. 184: 185: }}}
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Internet Key Exchange, version 2
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Project sfwnv Pages
Documents
Software build engine policy
Build Instructions
Files