pkgsrc-Users archive

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

Re: python31[12] PLIST failure under Linux



Hi,

I had a somewhat related issue building Python 3.11 from the 2023Q3 release on two RHEL 8 systems.  In one case, it built and installed fine.  In the other, the dbm.so module was built, but not included in the PLIST.

On the second system, I merely worked around the issue by adding an explicit PLIST.dbm=yes to the pkgsrc Makefile.  However, it sounds like the logic for determing whether PLIST.dbm and PLIST.nis should be se may need some work.

-- 
Iain

On 10/28/23, 6:25 AM, "pkgsrc-users-owner%NetBSD.org@localhost <mailto:pkgsrc-users-owner%NetBSD.org@localhost> on behalf of Chavdar Ivanov" <pkgsrc-users-owner%NetBSD.org@localhost <mailto:pkgsrc-users-owner%NetBSD.org@localhost> on behalf of ci4ic4%gmail.com@localhost <mailto:ci4ic4%gmail.com@localhost>> wrote:

Hi,


While trying to rebuild python311 (later tried with 312, same result), I got:
...
=> Checking file-check results for python312-3.12.0nb3
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in
/usr/pkgsrc/lang/python312/work/.destdir/usr/pkg:
ERROR: /usr/pkgsrc/lang/python312/work/.destdir/usr/pkg/lib/python3.12/lib-dynload/nis.so
*** Error code 1
...


The Makefile logic finds the requisite .h files and keeps it in the
PLIST, but actually the module is never built (it is commented out in
the Modules/Setup and I can't find any traces of it being built in the
log files). Using python310, nis.so does get built under Linux.


Tested under Ubuntu 23.04 aarch64, if this matter.


Locally solved by removing the line in PLIST.


Chavdar

--
----





Home | Main Index | Thread Index | Old Index