[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: automake 1.16.4 and new PYTHON_PREFIX
From: |
FOURNIER Yvan |
Subject: |
RE: automake 1.16.4 and new PYTHON_PREFIX |
Date: |
Tue, 24 Aug 2021 17:04:34 +0000 |
Hello,
I concurr.
In the case of the software I work on (code-saturne.org), we have in addition
chosen not to version generated files, so as to be more consistent with a
"maintainer mode" logic. Meaning that depending on the machine we install on,
we can get a different behavior, as we cannot control which autotools version
is installed. This had never been an issue in the last 15 years, a long as we
updated our code when new autotools versions threw warning messages. So it was
a bit of a surprise when I was bitten by this on a recent (Arch) Linux system.
This definitely breaks quite a bit of packaging, along with our documentation.
Best regards,
Yvan Fournier
----------------------------------------------------------------------
Message: 1
Date: Mon, 23 Aug 2021 18:56:47 +0200
From: Víctor López <victor.lopez@bsc.es>
To: automake@gnu.org
Subject: automake 1.16.4 and new PYTHON_PREFIX
Message-ID: <ab22fa1a-d2e3-d43f-9af4-fcb6b1d78da9@bsc.es>
Content-Type: text/plain; charset=utf-8; format=flowed
Hello,
After reading the 1.16.4 patch notes regarding PYTHON_PREFIX and the discussion
that originated the change in https://bugs.gnu.org/35322, I'm still not sure if
this is expected:
> cat configure.ac
AC_INIT([foo], [1.0])
AM_INIT_AUTOMAKE([foreign])
AM_PATH_PYTHON
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
> cat Makefile.am
python_PYTHON = foo.py
> touch foo.py
> autoreconf -fi
> ./configure --prefix=/tmp/foo && make install
/usr/bin/install: cannot create regular file
'/usr/lib/python3.9/site-packages/foo.py': Permission denied
Sure, I can use the new flag --with-python_prefix=/tmp/foo, but I feel that
these changes may have broken a lot of installation scripts and outdate the
documentation of some packages. Is it intended to be this way?
Thanks
------------------------------
Subject: Digest Footer
_______________________________________________
Automake mailing list
Automake@gnu.org
https://lists.gnu.org/mailman/listinfo/automake
------------------------------
End of Automake Digest, Vol 219, Issue 4
****************************************
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à
l'intention exclusive des destinataires et les informations qui y figurent sont
strictement confidentielles. Toute utilisation de ce Message non conforme à sa
destination, toute diffusion ou toute publication totale ou partielle, est
interdite sauf autorisation expresse.
Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le
copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si
vous avez reçu ce Message par erreur, merci de le supprimer de votre système,
ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support
que ce soit. Nous vous remercions également d'en avertir immédiatement
l'expéditeur par retour du message.
Il est impossible de garantir que les communications par messagerie
électronique arrivent en temps utile, sont sécurisées ou dénuées de toute
erreur ou virus.
____________________________________________________
This message and any attachments (the 'Message') are intended solely for the
addressees. The information contained in this Message is confidential. Any use
of information contained in this Message not in accord with its purpose, any
dissemination or disclosure, either whole or partial, is prohibited except
formal approval.
If you are not the addressee, you may not copy, forward, disclose or use any
part of it. If you have received this message in error, please delete it and
all copies from your system and notify the sender immediately by return message.
E-mail communication cannot be guaranteed to be timely secure, error or
virus-free.
- automake 1.16.4 and new PYTHON_PREFIX, Víctor López, 2021/08/23
- RE: automake 1.16.4 and new PYTHON_PREFIX,
FOURNIER Yvan <=
- RE: automake 1.16.4 and new PYTHON_PREFIX, Karl Berry, 2021/08/24
- Re: automake 1.16.4 and new PYTHON_PREFIX, Joshua Root, 2021/08/25
- Re: automake 1.16.4 and new PYTHON_PREFIX, FOURNIER Yvan, 2021/08/25
- Re: automake 1.16.4 and new PYTHON_PREFIX, Karl Berry, 2021/08/25
- Re: automake 1.16.4 and new PYTHON_PREFIX, Luke Mewburn, 2021/08/26
- Re: automake 1.16.4 and new PYTHON_PREFIX, Karl Berry, 2021/08/26