[PC-BSD Pbi-dev] Problems building PBI for 10.0
rbgarga at gmail.com
Thu Feb 6 10:22:00 PST 2014
On 05-02-2014 19:27, Kris Moore wrote:
> On 02/05/2014 16:18, Renato Botelho wrote:
>> On 05-02-2014 19:11, Kris Moore wrote:
>>> On 02/05/2014 15:35, Renato Botelho wrote:
>>>> I'm attempting to build FreeBSD 10.0 based PBIs and had an error.
>>>> Here is the pbi.conf I used on test , it works fine for FreeBSD 8.3.
>>>> After some investigation, I noted the following files were missing on
>>>> /usr/pbi of target system after installation:
>>>> After manually copy it from builder to target system, it worked, with
>>>> some warnings:
>>>> .mount_nullfs: /usr/pbi/.mounts/git-amd64/virtbase/compat: No such file
>>>> or directory
>>>> .mount_nullfs: /usr/local/etc/fonts: No such file or directory
>>>> .mount_nullfs: /usr/local/lib/X11/icons: No such file or directory
>>>> Is there any obvious mistake I did on pbi.conf?
>>>>  http://pastebin.com/dfTS73cN
>>> The pbi.conf file looks right. Wonder why the files were missing in
>>> /usr/pbi/ though? Have you checked out our source repo and done a "make
>>> install" on src-sh/pbi-manager on the target system?
>>> It almost looks like either the builder or the target machine are
>>> running old copies of pbi-manager.
>> I ran 'install.sh' on src-sh/pbi-manager and make install on
>> src-sh/libsh on builder system, it on master branch of up2date git repo.
>> Files are present on /usr/pbi on builder, but they are not present on
>> target system after installation.
>> If you want to take a look on generated pbi, you can get it at .
>> Best regards
>>  http://files.pfsense.org/packages/10/All/git-22.214.171.124-amd64.pbi
> Ok, i think I figured this out. The target system you are running on
> doesn't have linux compat, or some of those Xorg directories. I've fixed
> it now in our 'master' branch. Can you update and re-install
> src-sh/pbi-manager on the target system? Do the warnings go away now?
The fix you pushed worked fine for that linux and xorg warnings, thanks!
The .pbime missing was an issue on my target system, also fixed.
The only small issue I can see now is the following:
We have all manpages excluded from PBI, using PBI_EXCLUDELIST parameter
on pbi.conf, an it works as expected, but, after I installed git PBI, it
created all manpages symlinks under /usr/pbi/man:
# ls -l /usr/pbi/man/man1/git.1.gz
/usr/pbi/man/man1/git.1.gz -> /usr/pbi/git-amd64/local/man/man1/git.1.gz
# ls -l /usr/pbi/git-amd64/local/man/man1/git.1.gz
ls: /usr/pbi/git-amd64/local/man/man1/git.1.gz: No such file or directory
More information about the Pbi-dev