bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext-0.22.4 make fails with DESTDIR env set


From: Henrik Holst
Subject: Re: gettext-0.22.4 make fails with DESTDIR env set
Date: Tue, 10 Sep 2024 06:30:00 +0000

Thank you Bruno for your response.

I can tell at least what files it installs in the DESTDIR=/package

.
└── forge
    └── basic
        └── gettext
            └── upstream
                └── gettext-0.22.4
                    └── gettext-tools
                        └── src
                            ├── textstyle
                            │   ├── stdbool.h
                            │   ├── version.h
                            │   └── woe32dll.h
                            └── textstyle.h

The forge/basic/gettext/upstream/gettext-0.22.4 is the path where I have 
unpacked the gettext src. It makes sense that there is a make install happening 
during the build where the DESTDIR is picked up, as the files above are 
installed at ${DESTDIR}/$(pwd).

I agree, given the complexity of some package builds, that setting DESTDIR 
during the make is probably an overall dangerous approach. However, nobody 
likes to be surprised, and I think the GNU build standard should sanitize 
environment variables in a build if its going to call down to make install. A 
build should not assume the presence, nor the absence, of critical parameters 
in a call chain. 

Best,
Henrik Holst




reply via email to

[Prev in Thread] Current Thread [Next in Thread]