Commit Graph

2070 Commits

Author SHA1 Message Date
Ivan Zakharyaschev
e6e202e522 4.0.4-alt100.92
- find-requires: treat symlinks leading to some real content all way
  through the same package as that content.
- find-{requires,provides}: in case of an error in it, the pipe to it
  will be broken (must not change the visible behavior of rpm-build).
2016-04-05 23:26:03 +03:00
Ivan Zakharyaschev
6b43518d50 find-{requires,provides}: switched to the equivalent use of tmpdir.sh 2016-04-05 23:24:45 +03:00
Ivan Zakharyaschev
816c140ae7 find-{requires,provides}: in case of an error in it, the pipe to it will be broken (must not change the visible behavior of rpm-build)
We move "cat > /dev/null" to the only place where consuming the whole
input is useful for there to be no error.

This is done in preparation for a switch to the usage of tmpdir.sh.
2016-04-05 23:22:24 +03:00
Ivan Zakharyaschev
5630438416 debuginfo.req.files: ignore everything under /usr/lib/debug/.build-id/
The special directory structure there doesn't correspond to the
directory structure where debuginfo.req expects to find and process
*.debug files.
2016-04-05 22:57:42 +03:00
Ivan Zakharyaschev
7f43b629e2 find-requires: a TODO notice on directory symlinks vs percolation 2016-04-05 22:57:42 +03:00
Ivan Zakharyaschev
6412a7f161 find-requires: treat symlinks leading to some real content inside the same package as that content 2016-04-05 22:57:42 +03:00
Ivan Zakharyaschev
dc0def4a3b percolate: hopefully, it will work just with /bin/sh (not to create an extra dep)
Conflicts:
	scripts/percolate
2016-04-05 22:57:42 +03:00
Ivan Zakharyaschev
0f969acf44 percolate: register it in Makefile etc. 2016-04-05 22:57:42 +03:00
Ivan Zakharyaschev
70bf25fc08 percolate: a helper script (will be used to follow symlinks only through known files) 2016-04-05 22:57:35 +03:00
Ivan Zakharyaschev
484d6f523f 4.0.4-alt100.91
- brp-verify_elf: handle all rules for setting LD_PRELOAD in the form
  of pairs of RPM_LD_PRELOAD_@ and RPM_FILES_TO_LD_PRELOAD_@ env vars.
- verify-elf: substitute LD_PRELOAD with "$VERIFY_ELF_LD_PRELOAD"
  before ldd (i.e., any prior value of LD_PRELOAD will be cleared!)
- examples of usage of the above facilities:
  rpm-build-python3-0.1.9.3 and rpm-build-python.
2016-03-31 21:23:29 +03:00
Ivan Zakharyaschev
c024ff3ce7 brp-verify_elf: set -o pipefail -- just in case 2016-03-31 21:23:29 +03:00
Ivan Zakharyaschev
e124ef0b4c brp-verify_elf: handle all rules for setting LD_PRELOAD in the form of pairs of RPM_LD_PRELOAD_@ and RPM_FILES_TO_LD_PRELOAD_@ env vars 2016-03-31 21:23:29 +03:00
Ivan Zakharyaschev
9d2611ea44 verify-elf: substitute LD_PRELOAD before ldd (with what is passed on stdin after \t)
Of course, this will clean any externally set LD_PRELOAD.
2016-03-31 21:23:22 +03:00
a0380cbc27 4.0.4-alt100.90
- lib.req: made "no symbol bindings" condition fatal.
- relative: fixed potential heap buffer overflow (by Gleb F-Malinovskiy).
- rpmrc.in: armv7: do not force FPU kind, rely on compiler defaults
  (by Sergey Bolshakov).
2016-03-10 16:27:08 +00:00
Gleb Fotengauer-Malinovskiy
03302d4963 relative.c: fix potential heap buffer overflow 2016-03-10 19:22:33 +03:00
b78cc75d12 lib.req: make "no symbol bindings" condition fatal 2016-03-10 15:30:27 +00:00
Sergey Bolshakov
00c4f63a1d rpmrc.in: armv7: do not force FPU kind, rely on compiler defaults 2016-03-10 15:04:32 +00:00
3899fb125e 4.0.4-alt100.89.1
- ldd: reverted recent change (closes: #31870).
2016-03-10 16:14:33 +00:00
864001eba2 Revert "ldd.in: pass --list to rtld"
ld.so --list option is incompatible with LD_TRACE_LOADED_OBJECTS.

This reverts commit da9e6dfaab.
2016-03-10 16:10:54 +00:00
f4c77cad3e 4.0.4-alt100.89
- brp-bytecompile_python: exclude paths listed
  in $RPM_PYTHON3_COMPILE_INCLUDE (ALT#28606).
- ldd: pass --list to rtld.
2016-03-09 15:23:58 +00:00
42eacfcc82 brp-bytecompile_python: exclude paths listed in $RPM_PYTHON3_COMPILE_INCLUDE (ALT#28606)
$RPM_PYTHON3_COMPILE_INCLUDE is usually a subset of
$RPM_PYTHON_COMPILE_INCLUDE, so add the former to the exclude list.
2016-03-09 15:02:22 +00:00
da9e6dfaab ldd.in: pass --list to rtld 2016-01-11 18:19:19 +00:00
Gleb Fotengauer-Malinovskiy
0f9a4a36ae 4.0.4-alt100.88
- compress_files: changed default method to xz.
2015-12-02 21:51:48 +03:00
Gleb Fotengauer-Malinovskiy
ae81f541b9 compress_files: change default method to xz 2015-12-02 21:46:44 +03:00
010eb422d8 4.0.4-alt100.87
- rpm-build: removed texinfo from requirements.
2015-11-30 18:52:16 +00:00
Gleb Fotengauer-Malinovskiy
ab529f8498 4.0.4-alt100.86
- Made rpm2cpio exit code accurate for large packages.
2015-11-18 20:53:31 +03:00
Gleb Fotengauer-Malinovskiy
91210177c1 Make rpm2cpio exit code accurate for large packages
Grab the uncompressed payload size from header and compare number of
bytes copied to that for exit code.  Previously, truncated payloads could
have returned with success.  This also fixes the exit code for large
payloads.
2015-11-18 20:52:46 +03:00
Gleb Fotengauer-Malinovskiy
499405d5b4 4.0.4-alt100.85
- Added aarch64 architecture support.
2015-09-15 14:09:54 +03:00
Gleb Fotengauer-Malinovskiy
ed33f2daf7 installplatform, rpmrc.in: introduce aarch64 architecture 2015-09-15 14:07:56 +03:00
Gleb Fotengauer-Malinovskiy
b01060affd 4.0.4-alt100.84
- set.c: rewritten without nested functions.
- find-package: added support for newer naming of gcc and
  libstdc++-devel.
2015-05-21 18:54:44 +03:00
Gleb Fotengauer-Malinovskiy
2cee1a78a7 set.c: rewrite without nested functions 2015-05-21 18:08:21 +03:00
Gleb Fotengauer-Malinovskiy
39018f9f32 find-package: add support for newer naming of gcc and libstdc++-devel 2015-05-21 18:07:37 +03:00
Gleb Fotengauer-Malinovskiy
067436eba4 4.0.4-alt100.83
- platform.in: added support for gcc >= 5.
2015-05-18 13:12:14 +03:00
Gleb Fotengauer-Malinovskiy
6ebedc2f12 platform.in: add gcc >= 5 support to __gcc_version_base macro 2015-05-18 13:12:14 +03:00
Gleb Fotengauer-Malinovskiy
7ddeb99e44 4.0.4-alt100.82
- platform.in: removed -Wtrampolines from %optflags_warnings (enabled
  by default in gcc >= 4.9.2-alt3).
2015-03-20 18:14:11 +03:00
Gleb Fotengauer-Malinovskiy
1045bebe41 Revert "platform.in: add -Wtrampolines to %optflags_warnings"
This reverts commit d0d01af035.
2015-03-18 18:01:09 +03:00
23214e4126 4.0.4-alt100.81
- platform.in: added -Wtrampolines to %optflags_warnings.
- librpmbuild: rewritten without using nested functions.
- verify-elf: fixed regression in verify_lfs.
2015-01-28 17:55:30 +00:00
d0d01af035 platform.in: add -Wtrampolines to %optflags_warnings 2015-01-28 17:04:55 +00:00
1ccc182f71 build: rewrite without using nested functions
gcc generates trampolines for pointers to nested functions.
This implies executable stack - the thing we want to avoid.
2015-01-28 17:04:30 +00:00
6ad3a37cb9 verify-elf: fix regression in verify_lfs 2015-01-28 13:41:37 +00:00
bbb649bae3 4.0.4-alt100.80
- verify-elf: resurrected verify_stack.
2015-01-26 21:05:28 +00:00
a44f6ae523 verify-elf: make verify_stack work again 2015-01-23 14:56:29 +00:00
7af393f36d 4.0.4-alt100.79
- rpmbuild: implemented finer control for %_deps_optimization
  (by viy@; closes: #30476).
2014-11-19 17:26:33 +00:00
32171d0cb5 build/reqprov.c (deps_opt_enabled): cleanup 2014-11-19 17:23:34 +00:00
Igor Vlasenko
83f32e64e2 Finer control for %_deps_optimization (ALT#30476)
0: disabled
1: old behaviour with %_deps_optimization=0
2: old behaviour with %_deps_optimization=1
3: old behaviour with %_deps_optimization=2
2014-11-19 17:22:58 +00:00
Gleb Fotengauer-Malinovskiy
decd789cf4 4.0.4-alt100.78
- Backported Disttag.
- psm.c: write installed/removed package buildtime to syslog.
2014-06-24 19:06:57 +04:00
Gleb Fotengauer-Malinovskiy
6e12c7d1f2 psm.c: write installed/removed package buildtime to syslog 2014-06-24 19:03:56 +04:00
Gleb Fotengauer-Malinovskiy
4ebe39ba25 Backport Disttag: syntax to spec file parser and header content.
Original commit by jbj@ (10336f1):
- add Disttag: syntax to spec file parser and header
content.
2014-06-24 19:00:52 +04:00
1efb40518c 4.0.4-alt100.77
- fixup-binconfig:
  extended library search path stripping algorithm to handle rpaths.
- pkgconfig.{req,prov}:
  allowed pkgconfig names to start with "+" (closes: #29737).
2014-02-25 12:25:53 +00:00
213af284d9 fixup-binconfig: strip rpaths
Extend library search path stripping algorithm to handle rpaths.
2014-02-25 12:25:51 +00:00