Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel-sobukus-protection sorcery by Thomas Orgis (032a6948f18498e95f5c0e97d05d5d428caafb26)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to devel-sobukus-protection sorcery by Thomas Orgis (032a6948f18498e95f5c0e97d05d5d428caafb26)
  • Date: Fri, 26 Feb 2021 09:54:24 +0000

GIT changes to devel-sobukus-protection sorcery by Thomas Orgis
<sobukus AT sourcemage.org>:

var/lib/sorcery/modules/libunpack | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit e691f5d0ec91988e5e7b0acd987a0e5f43de0f73
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

resurrect: Fix extraction of cache tarballs

Force the use of GNU tar.

Fixes: cbd21858672f ("libunpack: Improve tarball extraction")

commit 85b671af5ddb30d7a1c5682b3d9b5ee73d54ae8f
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

libdepengine: avoid building dependees after dependencies failed

This is another hack on the horrid sorcery logic of running many times
through the same code to do different things. The problem: Building of
a dependency fails, but sorcery still tries to build the spell depending
on the failed one, usually resulting in predictable failure, otherwise
in a perhaps unintended build with an older installed version of the
dependency.

Example was nss failing for me (still have to figure out that weird one)
and still firefox cast bein attempted after that. This is stupid
behaviour.

I solve that by grepping for the spell in $FAILED_LIST and using occurence
there to indicate a nonzero return value where there is no value recorded
from the depengine_cast_engine. The only justification is that it works.

Caveat: It only works to avoid nonsense in the casting phase. If things
fail in configure phase, we still have the pecuilarity that dependees are
removed from the cast only if they have been processed before. If you
specified

cast a b

where b depends on a and configuration of a fails, b is still attempted to
be cast. This is for another night, or a proper rewrite.

Note: There are other places with grep $spell $FAILED_LIST. I suggest
checking if that
should read "^$spell$" instead there, too.

commit 511f1c101db05bee4b4468fbc5e6ccbea1ccb053
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

libsorcery: fix updating of sorcery again by actuall decompressing the
tarball

`bzip -dc` decompresses,
`bzip -c` does not.
We got broken `sorcery -u` for a year.
Celebrate!

commit e06fd95036c1e60c33c29445e3886bb4ba89c7e0
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

libdepends: report missing SUB_DEPENDS

commit 04b9952933d6ba7b24edc77acda054e1e79f79de
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

Add FIXMEs for compgen

commit de7301faec8a20551eba2516bd5ea068a4814ce1
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

protected: also adding guile stuff

GNU Make has a possible dependency on guile. If you enable it and upgrade
guile, you could break make and have a hosed system again.

commit 8ff0cffe559722ccd98b15d0fe122ccc28d2befd
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

protected: add more core libs that hose the system on updates

Bash is broken when you remove libreadline. GCC is broken when you remove
libisl.
All hell is broken if you remove ICU libs. Just don't do that.

This fixes bug 16112. A proper fix for the whole library removal business
is
still to come. Hopefully (see bug 16100 for one recent approach).

diff --git a/var/lib/sorcery/modules/libunpack
b/var/lib/sorcery/modules/libunpack
index 488c8c7..061a325 100755
--- a/var/lib/sorcery/modules/libunpack
+++ b/var/lib/sorcery/modules/libunpack
@@ -592,7 +592,10 @@ unpack_missing() {
##
#---------------------------------------------------------------------
uncompress_unpack_cache() {
- uncompress_unpack "$1" root cache same-permissions
+ # FIXME enable unpacking with non-gnu tar
+ local filename=$(guess_filename "$basedir/$1") &&
+ local compressor=$(guess_compressor "$filename") &&
+ uncompress_core "$filename" "$compressor" | tar -xf -
}

#---------------------------------------------------------------------



  • [SM-Commit] GIT changes to devel-sobukus-protection sorcery by Thomas Orgis (032a6948f18498e95f5c0e97d05d5d428caafb26), Thomas Orgis, 02/26/2021

Archive powered by MHonArc 2.6.24.

Top of Page