make package "*** Error code 1"
Eugene Grosbein
eugen at grosbein.net
Fri Jun 8 14:38:09 UTC 2018
08.06.2018 20:12, duckmanjbr wrote:
> 1st off, thanks everyone for helping me out! There was indeed a missing filename and I believe I’ve remedied that. I’m moving along but now getting a "missing property prefix” error. Am I missing a log file or something to help trouble shoot these errors? I’d like to piece it together to a working state before I offer it as a pull request to pfSense/FreeBSD-ports.
>
> build_error:
> root@:~/pfSense-pkg-localrepo # make package
> ===> License APACHE20 accepted by the user
> ===> pfSense-pkg-LocalRepo-0.1_1 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by pfSense-pkg-LocalRepo-0.1_1 for building
> ===> Extracting for pfSense-pkg-LocalRepo-0.1_1
> /bin/mkdir -p /root/pfSense-pkg-localrepo/work/pfSense-pkg-LocalRepo-0.1
> ===> Patching for pfSense-pkg-LocalRepo-0.1_1
> ===> Configuring for pfSense-pkg-LocalRepo-0.1_1
> ===> Staging for pfSense-pkg-LocalRepo-0.1_1
> ===> Generating temporary packing list
> /bin/mkdir -p /root/pfSense-pkg-localrepo/work/stage/usr/local/pkg
> /bin/mkdir -p /root/pfSense-pkg-localrepo/work/stage/usr/local/bin/localrepo
> /bin/mkdir -p /root/pfSense-pkg-localrepo/work/stage/etc/inc/priv
> /bin/mkdir -p /root/pfSense-pkg-localrepo/work/stage/share/pfSense-pkg-LocalRepo
> install -m 0644 -m 0644 /root/pfSense-pkg-localrepo/files/usr/local/pkg/localrepo.xml /root/pfSense-pkg-localrepo/work/stage/usr/local/pkg
> install -m 0644 /root/pfSense-pkg-localrepo/files/usr/local/pkg/localrepo.inc /root/pfSense-pkg-localrepo/work/stage/usr/local/pkg
> install -m 0644 /root/pfSense-pkg-localrepo/files/usr/local/bin/localrepo/localrepo.conf /root/pfSense-pkg-localrepo/work/stage/usr/local/bin/localrepo
> install -m 0644 /root/pfSense-pkg-localrepo/files/etc/inc/priv/localrepo.priv.inc /root/pfSense-pkg-localrepo/work/stage/etc/inc/priv
> install -m 0644 /root/pfSense-pkg-localrepo/files/usr/local/share/pfSense-pkg-LocalRepo/info.xml /root/pfSense-pkg-localrepo/work/stage/share/pfSense-pkg-LocalRepo
> ====> Compressing man pages (compress-man)
> ===> Building package for pfSense-pkg-LocalRepo-0.1_1
> [: =: unexpected operator
> pkg-static: Invalid package: object has missing property prefix
> pkg-static: the package is not valid
> *** Error code 1
I guess, your files/pkg-install.in file may have bugs.
And this seems to be very pfSence-specific, you probably get more attention asking pfSense people.
More information about the freebsd-ports
mailing list