Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libhugetlbfs.16202 for
openSUSE:Leap:15.2:Update checked in at 2021-05-07 18:05:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/libhugetlbfs.16202 (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.libhugetlbfs.16202.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libhugetlbfs.16202"
Fri May 7 18:05:52 2021 rev:1 rq:890400 version:2.20
Changes:
--------
New Changes file:
--- /dev/null 2021-04-29 10:03:23.520854754 +0200
+++
/work/SRC/openSUSE:Leap:15.2:Update/.libhugetlbfs.16202.new.2988/libhugetlbfs.changes
2021-05-07 18:05:53.259354665 +0200
@@ -0,0 +1,403 @@
+-------------------------------------------------------------------
+Wed Apr 21 12:39:48 UTC 2021 - Wolfgang Frisch <[email protected]>
+
+- Hardening: Link as PIE (bsc#1184123).
+
+-------------------------------------------------------------------
+Mon Sep 11 07:47:31 UTC 2017 - [email protected]
+
+- Run `make install-perlmod` to install/satisfy Perl modules
+ required by /usr/bin/cpupcstat, itself installed by just
+ `make install` [boo#1057963]
+
+-------------------------------------------------------------------
+Thu Apr 20 10:40:04 UTC 2017 - [email protected]
+
+- Update summary and descriptions a bit
+- Move development manpages (*.3) to development subpackage
+- Avoid ||/&& in %install because it can leave $? at non-zero
+ (unlike if..fi), and %install is run with sh -x.
+
+-------------------------------------------------------------------
+Thu Mar 9 09:10:07 UTC 2017 - [email protected]
+
+- Update to 2.20
+- Bug Fixes:
+ * Fix keyword collisions and warnings from GCC 5
+ * hugeadm output is parsed for default size in huge_page_setup_helper
+ * Testsuite: fallocate tests
+
+-------------------------------------------------------------------
+Fri Nov 6 13:10:03 UTC 2015 - [email protected]
+
+- Add zero_filesize_segment.patch to fix testcase on s390x
+- Fixes bnc#919680
+- Patches already included mainline and now deleted:
+D libhugetlbfs-2.18-restrict-is-a-reserved-word.patch
+D fix_plt_extrasz_always_returning_0_on_ppc64le.patch
+
+-------------------------------------------------------------------
+Fri Nov 6 12:01:55 UTC 2015 - [email protected]
+
+- Latest version from git next branch
+
+-------------------------------------------------------------------
+Tue Jun 23 22:35:32 UTC 2015 - [email protected]
+
+- Add libhugelbfs-2.18-restrict-is-a-reserved-word.patch which
+ fixes compilation with GCC 5 (and C99/C11 in general).
+* Add libhugetlbfs-2.18-restrict-is-a-reserved-word.patch
+
+-------------------------------------------------------------------
+Fri Feb 20 12:11:44 UTC 2015 - [email protected]
+
+- update to 2.18
+ to solve build failures for ppc/ppc64.
+ remove following patches now included in 2.18:
+ libhugetlbfs-ppc64le.patch
+ libhugetlbfs.ppc64le.step2.patch
+ libhugetlbfs.ppc64le.step3.patch
+ libhugetlbfs.ppc64le.step4.patch
+- Add fix_plt_extrasz_always_returning_0_on_ppc64le.patch
+ already upstream.
+
+-------------------------------------------------------------------
+Wed Mar 26 12:37:06 UTC 2014 - [email protected]
+
+- update to 2.17:
+ * PPC segement alignment restrictions can be disabled
+ * Added Aarch64 support
+ * Allow compiler overrides for 64 and 32 bit builds
+ * hugeadm now handles /etc/mtab being a simlink properly
+
+ * ppc64 fixes
+- remove libhugetlbfs.ia64-libdir.patch:
+ ia64 is no longer supported by openSUSE
+- add ignore-perl-modules.diff: do not install perl modules, unused
+ and are installed in the wrong place to be found anyway
+- add ARM support
+- add disable-rw-on-non-ldscripts.diff: Skip rw tests
+- Do not install tests anymore
+
+-------------------------------------------------------------------
+Tue Feb 11 08:09:11 UTC 2014 - [email protected]
+
+- Tests compile fine for s390(x), also include them in the package, the same
+ way it is done for other archs as well.
+
+-------------------------------------------------------------------
+Mon Feb 10 15:56:31 UTC 2014 - [email protected]
+
+- There are no tests installed in s390(x) case, therefore there are no
+ files in %{_libdir}/libhugetlbfs
+ Remove the directory from the file list to fix package build for s390(x)
+
+-------------------------------------------------------------------
+Sat Jan 11 05:56:47 UTC 2014 - [email protected]
+
+- Add support of ppc64le with 4 patches
+ libhugetlbfs-ppc64le.patch
+ libhugetlbfs.ppc64le.step2.patch
+ libhugetlbfs.ppc64le.step3.patch
+ libhugetlbfs.ppc64le.step4.patch
+
+-------------------------------------------------------------------
+Mon Mar 11 09:02:48 UTC 2013 - [email protected]
+
+- Update to version 2.16:
+ Features:
+ * ARM Support
+ * s390x Dynamic TASK_SIZE support
+
+ Bug Fixes:
+ * find_mounts() now properly NULL terminates mount point names
+
+-------------------------------------------------------------------
+Wed Jan 23 10:34:58 UTC 2013 - [email protected]
+
+- Update to version 2.15
+ Features:
+ * Some System z functionality went into 2.15
+ * Updated man pages
+ * Added basic events for core_i7 to oprofile_map_events
+
+ Fixes:
+ * Disable Unable to verify address range warning when offset < page_size
+ * Remove sscanf in library setup to avoid heap allocation before _morecore
+ override
+ * Revert heap exhaustion patch
+ * hugectl no longer clips LD_LIBRARY_PATH variable
+ * Fix clean on failure code to avoid closing stdout
+
+-------------------------------------------------------------------
+Wed Jul 11 06:24:07 UTC 2012 - [email protected]
+
+- Add excludearch for arm due to lacking support
+
+-------------------------------------------------------------------
+Tue Apr 10 19:51:51 UTC 2012 - [email protected]
+
+- Update to version 2.13
+ * hugeadm can now be used to control Transparent Huge Page tunables
+ * New morecore mode to better support THP
+ * Check permissions on hugetlbfs mount point before marking it as
+ available
+ * Fix shm tests to use random address instead of fixed, old address
+ failed on ARM
+
+-------------------------------------------------------------------
+Wed Oct 12 20:04:52 UTC 2011 - [email protected]
+
+- Update to version 2.12
+ * libhugetlbfs usages can now be restricted to certain binary names
+ * libhugetlbfs now supports static linking
+ * hugeadm uses more human readable directory names for mount points
+ * Fix segfault if specified user was not in passwd, failuer in
+ getpwuid() is now checked
+ * Added tests for static linking to testcase
+ * Added missing tests to driver script
+
+-------------------------------------------------------------------
+Sun May 29 21:42:52 UTC 2011 - [email protected]
+
+- Do not include the 268MB testcase
/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw.
+
+-------------------------------------------------------------------
+Fri Dec 17 11:45:36 UTC 2010 - [email protected]
+
+- Update to version 2.11
+ Bugfixes and new features are listed in the NEWS file in
+ /usr/share/doc/packages/libhugetlbfs/NEWS
+
+-------------------------------------------------------------------
+Wed Oct 6 16:52:30 UTC 2010 - [email protected]
+
+- Update to version 2.9:
+ * Add --no-reseve to hugectl to request mmap'd pages are not reserved
+ for kernels newer than 2.6.34
+ * Add --obey-numa-mempol to hugeadm to request static pool pages are
+ allocated following the process NUMA memory policy
+ * Add switch to let administrator limit new mount points by size or inodes
+ * cpupcstat now caches the value returned by tlmiss_cost.sh to avoid
+ rerunning the script
+ * When specifying huge page pool sizes with hugeadm, memory sizes can
+ be used as well as the number of huge pages
+ * DEFAULT is now a valid huge page pool for resizing, it will adjust
+ the pool for the default huge page size
+ * tlbmiss_cost.sh in the contrib/ sub directory will estimate the cost
+ in CPU cycles of a TLB miss on the arch where it is run
+ * Add python script which automates huge page pool setup with minimal
+ input required from user
+ * cpupcstat now supports data collection using the perf tool as well as
+ oprofile
+ * --explain reports if min_free_kbytes is too small
+ * add --set-min_free_kbytes to hugeadm
+
+-------------------------------------------------------------------
+Fri Jun 18 14:41:41 UTC 2010 - [email protected]
++++ 206 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Leap:15.2:Update/.libhugetlbfs.16202.new.2988/libhugetlbfs.changes
New:
----
_service
baselibs.conf
disable-rw-on-non-ldscripts.diff
ignore-perl-modules.diff
libhugetlbfs-2.20.tar.xz
libhugetlbfs.changes
libhugetlbfs.s390.patch
libhugetlbfs.spec
libhugetlbfs.tests-malloc.patch
libhugetlbfs_fix_tests.patch
libhugetlbfs_ia64_fix_missing_test.patch
zero_filesize_segment.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libhugetlbfs.spec ++++++
#
# spec file for package libhugetlbfs
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" LDFLAGS="-pie"
BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot}
Name: libhugetlbfs
Version: 2.20
Release: 0
Summary: Helper library for the Huge Translation Lookaside Buffer
Filesystem
License: LGPL-2.1+
Group: System/Libraries
Url: https://github.com/libhugetlbfs/libhugetlbfs
Source0: %{name}-%{version}.tar.xz
Source1: baselibs.conf
Patch2: libhugetlbfs.s390.patch
Patch4: libhugetlbfs.tests-malloc.patch
Patch7: libhugetlbfs_ia64_fix_missing_test.patch
Patch8: libhugetlbfs_fix_tests.patch
Patch13: ignore-perl-modules.diff
Patch14: disable-rw-on-non-ldscripts.diff
Patch15: zero_filesize_segment.patch
BuildRequires: doxygen
BuildRequires: glibc-devel-static
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# bug437293
%ifarch ppc64
Obsoletes: libhugetlbfs-64bit
%endif
%description
The libhugetlbfs package interacts with the Linux hugetlbfs to
make large pages available to applications in a transparent manner.
%package devel
Summary: Development files for libhugetlbfs
Group: Development/Libraries/C and C++
Requires: libhugetlbfs
%description devel
Devel package, header and static library, of libhugetlbfs.
%package tests
Summary: Tests for package libhugetlbfs
Group: Development/Tools/Other
%description tests
The testsuite for libhugetlbfs. Binaries can be found in
%{_libdir}/libhugetlbfs/tests.
%prep
%setup -q
%patch2 -p1
%patch4 -p1
%patch7 -p1
%patch8 -p1
%patch13
%patch14
%patch15 -p1
%build
echo %{version} > version
make %{my_make_flags}
%install
make %{my_make_flags} PMDIR="%{perl_vendorlib}/TLBC" \
install install-perlmod install-tests
mkdir -p %{buildroot}%{_prefix}/include
cp -avL hugetlbfs.h %{buildroot}%{_prefix}/include
chmod 644 %{buildroot}%{_libdir}/*.a
if [ -f %{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript ]; then
chmod -f a-x
%{buildroot}%{_libdir}/libhugetlbfs/tests/obj64/dummy.ldscript
fi
%files
%defattr(-, root, root)
%doc LGPL-2.1 HOWTO README NEWS
%{_datadir}/libhugetlbfs
%{_bindir}/*
%{_mandir}/man[178]/*%{?ext_man}
%{_libdir}/libhugetlbfs_privutils.so
%{_libdir}/libhugetlbfs.so
%{perl_vendorlib}/TLBC/
%files devel
%defattr(-, root, root)
%{_includedir}/hugetlbfs.h
%{_libdir}/libhugetlbfs.a
%{_mandir}/man3/*%{?ext_man}
%files tests
%defattr(-,root,root)
%{_libdir}/libhugetlbfs/
%changelog
++++++ _service ++++++
<services>
<service name="tar_scm" mode="disabled">
<param name="url">git://github.com/libhugetlbfs/libhugetlbfs.git</param>
<param name="scm">git</param>
<param name="filename">libhugetlbfs</param>
<param name="version">2.20</param>
<param name="revision">2.20</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled" />
</services>
++++++ baselibs.conf ++++++
libhugetlbfs
+/usr/lib(64)?/libhugetlbfs
++++++ disable-rw-on-non-ldscripts.diff ++++++
--- tests/Makefile
+++ tests/Makefile
@@ -46,7 +46,7 @@
TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \
$(HUGELINK_TESTS:%=xBDT.%) $(HUGELINK_RW_TESTS)
else
-TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_RW_TESTS)
+TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS)
endif
else
@@ -55,7 +55,7 @@
TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \
$(HUGELINK_TESTS:%=xBDT.%)
else
-TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_RW_TESTS)
+TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS)
endif
endif
++++++ ignore-perl-modules.diff ++++++
We don't need them, and they're not installed in a directory
where they can be found anyway..
--- Makefile
+++ Makefile
@@ -442,7 +442,7 @@
for x in $(INSTALL_BIN); do \
$(INSTALL) -m 755 $(BIN_OBJ_DIR)/$$x $(DESTDIR)$(EXEDIR); done
-install-stat: install-perlmod
+install-stat:
@$(VECHO) INSTALL_SCRIPT $(DESTDIR)$(EXEDIR)
$(INSTALL) -d $(DESTDIR)$(EXEDIR)
for x in $(INSTALL_SCRIPT); do \
++++++ libhugetlbfs.s390.patch ++++++
---
Makefile | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Index: libhugetlbfs-2.17/Makefile
===================================================================
--- libhugetlbfs-2.17.orig/Makefile
+++ libhugetlbfs-2.17/Makefile
@@ -82,12 +82,12 @@ else
ifeq ($(ARCH),ia64)
CC64 = $(CC)
TMPLIB64 = lib64
-CFLAGS += -DNO_ELFLINK
+CPPFLAGS += -DNO_ELFLINK
else
ifeq ($(ARCH),sparc64)
CC64 = $(CC) -m64
TMPLIB64 = lib64
-CFLAGS += -DNO_ELFLINK
+CPPFLAGS += -DNO_ELFLINK
else
ifeq ($(ARCH),s390x)
CC64 = $(CC) -m64
@@ -98,10 +98,15 @@ TMPLIB64 = lib64
TMPLIB32 = lib
CUSTOM_LDSCRIPTS = no
else
+ifeq ($(ARCH),s390)
+CC32 = gcc -m31
+ELF32 = elf_s390
+else
$(error "Unrecognized architecture ($(ARCH))")
endif
endif
endif
+endif
endif
endif
endif
++++++ libhugetlbfs.tests-malloc.patch ++++++
Test malloc, set unused to NULL if it fails
---
tests/heapshrink-helper.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/tests/heapshrink-helper.c
+++ b/tests/heapshrink-helper.c
@@ -21,5 +21,7 @@
static void __attribute__((constructor)) setup_heapshrink_helper(void)
{
- (void) malloc(1);
+ void *unused = malloc(1);
+ if (unused)
+ unused = NULL;
}
++++++ libhugetlbfs_fix_tests.patch ++++++
References: bnc#706891
Signed-off-by: Thomas Renninger <[email protected]>
--- libhugetlbfs-2.12/tests/run_tests.py.org 2011-07-20 00:00:46.000000000
-0400
+++ libhugetlbfs-2.12/tests/run_tests.py 2011-07-20 00:01:55.000000000
-0400
@@ -234,7 +234,7 @@ def get_pagesizes():
"""
sizes = set()
out = ""
- (rc, out) = bash("../obj/hugeadm --page-sizes")
+ (rc, out) = bash("hugeadm --page-sizes")
if rc != 0 or out == "": return sizes
for size in out.split("\n"): sizes.add(int(size))
++++++ libhugetlbfs_ia64_fix_missing_test.patch ++++++
libhugetlbfs: TESTS_64 is not defined for ia64, check when trying to install it
That was for libhugetlbfs version 2.12 (TEST_64 is not defined for ia64),
same seem to be the case for x86_64 in version 2.15.
-> Revert the installation of this test totally.
Signed-off-by: Thomas Renninger <[email protected]>
---
tests/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libhugetlbfs-2.15/tests/Makefile
===================================================================
--- libhugetlbfs-2.15.orig/tests/Makefile
+++ libhugetlbfs-2.15/tests/Makefile
@@ -292,7 +292,7 @@ obj64/install:
$(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64
$(INSTALL) -m 755 $(HELPERS:%=obj64/%)
$(DESTDIR)$(INST_TESTSDIR64)/obj64
$(INSTALL) -m 755 $(HELPER_LIBS:%=obj64/%)
$(DESTDIR)$(INST_TESTSDIR64)/obj64
- $(INSTALL) -m 755 $(TESTS_64:%=obj64/%)
$(DESTDIR)$(INST_TESTSDIR64)/obj64
+
$(INSTALL) -m 755 run_tests.py $(DESTDIR)$(INST_TESTSDIR64)
install: $(OBJDIRS:%=%/install)
++++++ zero_filesize_segment.patch ++++++
diff --git a/tests/Makefile b/tests/Makefile
index e2e1156..4daa5d1 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -39,6 +39,11 @@ LDLIBS = $(STATIC_LDLIBS) -ldl -lhugetlbfs_privutils
LDFLAGS32 = -L../obj32
LDFLAGS64 = -L../obj64
INSTALL = install
+ifeq ($(ARCH),s390x)
+ARCH_SUFFIX = .s390x
+else
+ARCH_SUFFIX =
+endif
TESTS = $(LIB_TESTS) $(NOLIB_TESTS) $(STRESS_TESTS) dummy.ldscript
ifdef ELF32
@@ -181,7 +186,7 @@ $(LDSCRIPT_TESTS:%=obj32/%): obj32/%: %.ld obj32/%.o
obj32/testutils.o
@$(VECHO) LD32 "(preload test)" $@
$(CC32) $(LDFLAGS) $(LDFLAGS32) -o $@ -Lobj32 $^ $(LDLIBS) || cp
$(BADTOOLCHAIN) $@
-$(LDSCRIPT_TESTS:%=obj64/%): obj64/%: %.ld obj64/%.o obj64/testutils.o
+$(LDSCRIPT_TESTS:%=obj64/%): obj64/%: %$(ARCH_SUFFIX).ld obj64/%.o
obj64/testutils.o
@$(VECHO) LD64 "(preload test)" $@
$(CC64) $(LDFLAGS) $(LDFLAGS64) -o $@ -Lobj64 $^ $(LDLIBS) || cp
$(BADTOOLCHAIN) $@
diff --git a/tests/zero_filesize_segment.s390x.ld
b/tests/zero_filesize_segment.s390x.ld
new file mode 100644
index 0000000..813a92f
--- /dev/null
+++ b/tests/zero_filesize_segment.s390x.ld
@@ -0,0 +1,7 @@
+SECTIONS
+{
+ .empty (0x90000000) : {
+ __empty_segment = .;
+ . = . + 4;
+ }
+}