GNU bug report logs - #52472
[PATCH] gnu: Add libtree

Previous Next

Package: guix-patches;

Reported by: poptsov.artyom <at> gmail.com (Artyom V. Poptsov)

Date: Mon, 13 Dec 2021 20:43:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: othacehe <at> gnu.org, Julien Lepiller <julien <at> lepiller.eu>, 52472 <at> debbugs.gnu.org
Subject: [bug#52472] [PATCH] gnu: Add libtree
Date: Mon, 17 Jan 2022 22:14:08 +0300
[Message part 1 (text/plain, inline)]
Hello,

> I suggest removing '#:tests?

Okay, done.

> Guix doesn't do staged installation

Unfortunately it seems to me that libtree fails when I remove
'(string-append "DESTDIR=" #$output)' from the make flags.

The reason is this code from libtree Makefile:

--8<---------------cut here---------------start------------->8---
install: all
	mkdir -p $(DESTDIR)$(BINDIR)
	cp -p libtree $(DESTDIR)$(BINDIR)
	mkdir -p $(DESTDIR)$(SHAREDIR)/man/man1
	cp -p doc/libtree.1 $(DESTDIR)$(SHAREDIR)/man/man1
--8<---------------cut here---------------end--------------->8---

As you can see it's using 'DESTDIR' as prefix for the installation.

- Artyom
[0001-gnu-Add-libtree.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Artyom "avp" Poptsov <poptsov.artyom <at> gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.