| Name |
locales |
| Description |
GNU C Library |
| Version |
2.39-0ubuntu8.6 |
| Package Base |
glibc |
| Homepage |
https://www.gnu.org/software/libc/libc.html |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
['Aurelien Jarno <aurel32@debian.org>', 'Clint Adams <clint@debian.org>', 'Samuel Thibault <sthibault@debian.org>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/glibc/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/README?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/all?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/alpha?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/any?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/arm?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/git-updates.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/hppa?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/hurd-i386?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/i386?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/locale?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/localedata?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/m68k?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/mips?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/powerpc?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/series.hurd-amd64?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/series.hurd-i386?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/sh4?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glibc/plain/debian/patches/ubuntu?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/locales/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
['debconf', 'libc-bin'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['gettext', 'dpkg', 'dpkg-dev', 'xz-utils', 'file', 'quilt', 'autoconf', 'gawk', 'debhelper-compat', 'rdfind', 'symlinks', 'netbase', 'gperf', 'bison', 'linux-libc-dev', 'systemtap-sdt-dev [linux-any]', 'libaudit-dev [linux-any]', 'libcap-dev [linux-any] <!stage2>', 'libselinux1-dev [linux-any] <!stage2>', 'mig-for-host', 'gnumach-dev', 'hurd-dev', 'binutils-for-host', 'g++-multilib [amd64 i386 mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el powerpc ppc64 s390x sparc sparc64 x32] <!nobiarch>', 'g++-x86-64-linux-gnu [amd64] <cross>', 'g++-arc-linux-gnu [arc] <cross>', 'g++-aarch64-linux-gnu [arm64] <cross>', 'g++-arm-linux-gnueabi [armel] <cross>', 'g++-arm-linux-gnueabihf [armhf] <cross>', 'g++-hppa-linux-gnu [hppa] <cross>', 'g++-i686-linux-gnu [i386] <cross>', 'g++-m68k-linux-gnu [m68k] <cross>', 'g++-mips-linux-gnu [mips] <cross>', 'g++-mipsel-linux-gnu [mipsel] <cross>', 'g++-mips64-linux-gnuabin32 [mipsn32] <cross>', 'g++-mips64el-linux-gnuabin32 [mipsn32el] <cross>', 'g++-mips64-linux-gnuabi64 [mips64] <cross>', 'g++-mips64el-linux-gnuabi64 [mips64el] <cross>', 'g++-mipsisa32r6-linux-gnu [mipsr6] <cross>', 'g++-mipsisa32r6el-linux-gnu [mipsr6el] <cross>', 'g++-mipsisa64r6-linux-gnuabin32 [mipsn32r6] <cross>', 'g++-mipsisa64r6el-linux-gnuabin32 [mipsn32r6el] <cross>', 'g++-mipsisa64r6-linux-gnuabi64 [mips64r6] <cross>', 'g++-mipsisa64r6el-linux-gnuabi64 [mips64r6el] <cross>', 'g++-nios2-linux-gnu [nios2] <cross>', 'g++-powerpc-linux-gnu [powerpc] <cross>', 'g++-powerpc64-linux-gnu [ppc64] <cross>', 'g++-powerpc64le-linux-gnu [ppc64el] <cross>', 'g++-riscv64-linux-gnu [riscv64] <cross>', 'g++-sparc-linux-gnu [sparc] <cross>', 'g++-sparc64-linux-gnu [sparc64] <cross>', 'g++-s390x-linux-gnu [s390x] <cross>', 'g++-sh3-linux-gnu [sh3] <cross>', 'g++-sh4-linux-gnu [sh4] <cross>', 'g++-x86-64-linux-gnux32 [x32] <cross>', 'g++-alpha-linux-gnu [alpha] <cross>', 'g++-ia64-linux-gnu [ia64] <cross>', 'python3', 'libidn2-0', 'libc-bin', 'libgd-dev <!stage1 !stage2>'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
540ec674aa05ba9082586f1df59ea2c6d35a3468295d830f3d1fc13b76f6aa14 |
#! /usr/bin/make -f
# -*- makefile -*-
# debian/rules file for GNU libc.
# Copyright 1998, 1999 by Joel Klecker <espy@debian.org>
# Copyright 2000 Ben Collins <bcollins@debian.org>
# Copyright 2003 Jeff Bailey <jbailey@debian.org>
# This Makefile is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# What are the phases to building glibc?
# Unpack main tarball
# Do any necessary overlays
# Apply patches
# Determine how many builds there are to do. For Each build:
# Create build directory
# Configure
# Build
# Test as desired
# Install to package directories
# Run debian magic to build packages.
# Things you may need to customise:
# These are done as absolute paths so that in the case of filesystem size
# limitations, they can be overridden and spread all over.
build-tree := build-tree
debian-tmp = debian/tmp$(filter-out -libc,-$(curpass))
stamp := $(CURDIR)/stamp-dir/
DUMMY := $(shell mkdir -p $(stamp))
# Beyond here you shouldn't need to customise anything:
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_ARCH_ENDIAN ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_ENDIAN)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
DEB_BUILD_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_BITS)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
include /usr/share/dpkg/pkg-info.mk
# The minimum package version with which these packages are compatible.
shlib_dep_ver = $(DEB_VERSION_UPSTREAM)
shlib_dep = $(libc) (>= $(shlib_dep_ver))
DEB_BUILDDIR ?= $(build-tree)/$(DEB_HOST_ARCH)-$(curpass)
DEB_BUILDDIRLIBC ?= $(build-tree)/$(DEB_HOST_ARCH)-libc
GLIBC_SOURCES = $(filter-out debian $(shell basename $(stamp)) $(build-tree), $(wildcard *))
# Support multiple makes at once based on number of processors
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
# use the package settings, not the settings from the environment
define unsetenv
unexport $(1)
$(1) =
endef
$(foreach v, CPPFLAGS CFLAGS CXXFLAGS LDFLAGS, $(if $(filter environment,$(origin $(v))),$(eval $(call unsetenv, $(v)))))
# export debhelper substitution variables
export $(build-tree)
# Default setup
GLIBC_PASSES ?= libc
prefix=/usr
bindir=$(prefix)/bin
datadir=$(prefix)/share
complocaledir=$(prefix)/lib/locale
sysconfdir=/etc
libexecdir=$(prefix)/lib
rootsbindir=/sbin
includedir=$(prefix)/include
docdir=$(prefix)/share/doc
mandir=$(prefix)/share/man
sbindir=$(prefix)/sbin
vardbdir=/var/lib/misc
rtlddir=/lib
slibdir=/lib/$(DEB_HOST_MULTIARCH)
libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
mvec = no
rtld_so=$(shell awk 'BEGIN {FS="="} /^ld\.so-version/ {print $$2}' $(DEB_BUILDDIR)/soversions.mk)
rtld_target=$(shell readlink $(debian-tmp)$(rtlddir)/$(rtld_so))
libc_so=$(shell awk 'BEGIN {FS="="} /^libc\.so-version/ {print "libc.so"$$2}' $(DEB_BUILDDIR)/soversions.mk)
BASE_CC = gcc
BASE_CXX = g++
BASE_MIG = mig
# If you override DEB_GCC_VERSION, consider adding DEB_CFLAGS_APPEND=-Wno-error.
DEB_GCC_VERSION ?=
RUN_TESTSUITE = yes
TIMEOUTFACTOR = 25
# Set cross and native compiler names, including version.
CC = $(DEB_HOST_GNU_TYPE)-$(BASE_CC)$(DEB_GCC_VERSION)
CXX = $(DEB_HOST_GNU_TYPE)-$(BASE_CXX)$(DEB_GCC_VERSION)
MIG = $(DEB_HOST_GNU_TYPE)-$(BASE_MIG)
BUILD_CC = $(DEB_BUILD_GNU_TYPE)-$(BASE_CC)
BUILD_CXX = $(DEB_BUILD_GNU_TYPE)-$(BASE_CXX)
BUILD_CFLAGS = -O2 -g -fdebug-prefix-map=$(CURDIR)=.
HOST_CFLAGS = -pipe -O2 -g -fdebug-prefix-map=$(CURDIR)=. $(call xx,extra_cflags)
# 32-bit MIPS builders have a 2GB memory space. This is not enough to
# build test-tgmath3.o with GCC, unless tweaking the garbage collector.
ifeq ($(findstring mips,$(DEB_BUILD_ARCH))-$(DEB_BUILD_ARCH_BITS), mips-32)
CC += --param ggc-min-expand=10
endif
configure_target := $(DEB_HOST_GNU_TYPE)
# Normally we'll just use this for --build. If the architecture requires
# that build daemons be able to run a particular optimized library, then
# they can set the --build to match --host for that optimized build.
# Among other things this lets tests run.
configure_build := $(DEB_BUILD_GNU_TYPE)
# Which build pass are we on?
curpass = $(filter-out %_,$(subst _,_ ,$@))
ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
DEB_ARCH_REGULAR_PACKAGES = $(libc)-dev
DEB_INDEP_REGULAR_PACKAGES =
DEB_UDEB_PACKAGES =
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
DEB_BUILD_OPTIONS+=nocheck
endif
else
DEB_ARCH_REGULAR_PACKAGES = $(libc) $(libc)-dev $(libc)-dbg libc-bin libc-dev-bin
ifeq ($(filter stage2,$(DEB_BUILD_PROFILES)),)
DEB_ARCH_REGULAR_PACKAGES += libc-devtools
endif
DEB_INDEP_REGULAR_PACKAGES = glibc-doc glibc-source locales
ifneq ($(filter noudeb,$(DEB_BUILD_PROFILES)),)
DEB_UDEB_PACKAGES =
else
DEB_UDEB_PACKAGES = $(libc)-udeb
endif
## Locales can only be pre-generated during native compiles
ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
DEB_ARCH_REGULAR_PACKAGES += locales-all
endif
endif
# Generic kernel version check
define kernel_check
(if [ $(CURRENT_KERNEL_VERSION) -lt $(1) ]; then \
false; \
fi)
endef
# Include libidn for both NPTL and FBTL targets.
standard-add-ons = libidn,
# Pull in all the per-arch magic!
-include debian/sysdeps/$(DEB_HOST_ARCH_OS).mk
-include debian/sysdeps/$(DEB_HOST_ARCH).mk
ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
DEB_ARCH_REGULAR_PACKAGES += $(foreach p,$(DEB_ARCH_MULTILIB_PACKAGES), $(if $(findstring -dev,$(p)), $(p)))
else
DEB_ARCH_REGULAR_PACKAGES += $(DEB_ARCH_MULTILIB_PACKAGES)
endif
# Don't run dh_strip on this package
NOSTRIP_$(libc)-dbg = 1
# Put the debug files from these packages in $(libc)-dbg
DEBUG_$(libc) = 1
ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
ifeq ($(threads),yes)
DEB_ARCH_REGULAR_PACKAGES += nscd
endif
endif
# And now the rules...
include debian/rules.d/*.mk
clean:: unpatch
rm -rf $(patsubst %,debian/tmp-%,$(GLIBC_PASSES))
rm -rf $(build-tree)
rm -rf $(stamp)
rm -rf debian/include
rm -f debian/control.in/libc0.3 debian/control.in/libc6 debian/control.in/libc6.1 \
debian/*.preinst.* debian/*.links.*
# Required Debian targets
build-arch: $(stamp)info \
$(patsubst %,$(stamp)build_%,$(GLIBC_PASSES)) \
$(patsubst %,$(stamp)check_%,$(GLIBC_PASSES)) \
build-arch-post-check
ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
build-arch: $(stamp)build_locales-all
endif
build-indep: $(stamp)source $(stamp)build_libc
build: build-arch build-indep
binary-indep: build-indep testroot debian/control $(build-tree) \
$(patsubst %,$(stamp)binaryinst_%,$(DEB_INDEP_REGULAR_PACKAGES))
binary-arch: build-arch testroot debian/control $(build-tree) \
$(patsubst %,$(stamp)binaryinst_%,$(DEB_ARCH_REGULAR_PACKAGES)) \
$(patsubst %,$(stamp)binaryinst_%,$(DEB_UDEB_PACKAGES))
binary: binary-indep binary-arch
testroot:
dh_testroot