Re: Xen-4.16.0 + FreeBSD-13.1 dom0 fails on large ADM64 system

From: Brian Buhrow <buhrow_at_nfbcal.org>
Date: Fri, 10 May 2024 08:43:21 UTC
On May 10, 10:14am, Roger Pau =?utf-8?B?TW9ubsOp?= wrote:
} Subject: Re: Xen-4.16.0 + FreeBSD-13.1 dom0 fails on large ADM64 system
} On Sun, May 05, 2024 at 12:52:39AM -0700, Brian Buhrow wrote:
} > 	hello Roger.  After some further investigation, I found a solution.  The first is a link
} > to a bug report which demonstrates the problem. Then, I include the diff I made to the ports
} I'm afraid with this applied I get:
} 
} ====> Checking for pkg-plist issues (check-plist)
} ===> Parsing plist
} ===> Checking for items in STAGEDIR missing from pkg-plist
} Error: Orphaned: %%PYTHON_SITELIBDIR%%/pygrub-0.7-py%%PYTHON_VER%%.egg-info
} Error: Orphaned: %%PYTHON_SITELIBDIR%%/xen-3.0-py%%PYTHON_VER%%.egg-info
} ===> Checking for items in pkg-plist which are not in STAGEDIR
} Error: Missing: %%PYTHON_SITELIBDIR%%/pygrub-0.7-py%%PYTHON_VER%%.egg-info/PKG-INFO
} Error: Missing: %%PYTHON_SITELIBDIR%%/pygrub-0.7-py%%PYTHON_VER%%.egg-info/SOURCES.txt
} Error: Missing: %%PYTHON_SITELIBDIR%%/pygrub-0.7-py%%PYTHON_VER%%.egg-info/dependency_links.txt
} Error: Missing: %%PYTHON_SITELIBDIR%%/pygrub-0.7-py%%PYTHON_VER%%.egg-info/top_level.txt
} Error: Missing: %%PYTHON_SITELIBDIR%%/xen-3.0-py%%PYTHON_VER%%.egg-info/PKG-INFO
} Error: Missing: %%PYTHON_SITELIBDIR%%/xen-3.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt
} Error: Missing: %%PYTHON_SITELIBDIR%%/xen-3.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt
} Error: Missing: %%PYTHON_SITELIBDIR%%/xen-3.0-py%%PYTHON_VER%%.egg-info/top_level.txt
} ===> Error: Plist issues found.
} *** Error code 1
} 
} I've got not idea what's wrong here.
} 
} Roger.

	That's interesting.  I think you said you're runing under FreeBSD-15, while I'm running
FreeBSD-13.1.  You'vve already confirmed that the egg-info names point to files, rather than
directories, but with the ports tree snapped to the latest version on 13.1, when I build python
packages, the egg-info names point to directories with the files indicated in the patch inside them.
That's regardless of whether I build python3.8 or python3.9.  
I wonder why your copy of the ports tree is building the egg-info names as files?  Are you
updating your entire ports tree, or just the packages you work on?  I wouldn't think the
difference in the packaging would have to do with the different versions of FreeBSD, especially
since under older versions of the ports tree, the egg-info names are built as files as well,
while running on FreeBSD-13.1.  

With the patch I sent you, I can make package and make install successfully with the xen-tools
port on 13.1, using the latest version of the ports tree.