[PC-BSD Pbi-dev] trying to build bacula-bat PBI

Silver Salonen silver.salonen at gmail.com
Fri Mar 27 12:09:15 PST 2009


On Friday 27 March 2009 19:13:35 Kris Moore wrote:
> Silver Salonen wrote:
> > 
> > Hi.
> > 
> > I now tried to build the PBI with pbi-builder 2.1, but it still doesn't 
work 
> > for me :(
> > 
> > Output of pbibuild.sh:
> > ==========
> > Module bacula-bat needs a rebuild
> > Removing /pbi-build/pbisandbox
> > rm: /pbi-build/pbisandbox/dev/fd: Operation not supported
> > rm: /pbi-build/pbisandbox/dev/net: Operation not supported
> > rm: /pbi-build/pbisandbox/dev: Device busy
> > rm: /pbi-build/pbisandbox/usr/ports/distfiles: Device busy
> > rm: /pbi-build/pbisandbox/usr/ports: Directory not empty
> > rm: /pbi-build/pbisandbox/usr: Directory not empty
> > rm: /pbi-build/pbisandbox: Directory not empty
> > mount_nullfs: Resource deadlock avoided
> > Rebuilding module bacula-bat...
> > Running port build...
> > SUCCESS! Build finished for bacula-bat
> > rm: /pbi-build/outgoing/bacula-bat/*.pbi: No such file or directory
> > Getting md5 for /pbi-build/pbisandbox//usr/ports/sysutils/bacula-
> > server/Makefile
> > 655831ccfe31e72051af9620db05fde0
> > rm: /pbi-build/outgoing/bacula-bat/build.log.bz2: No such file or 
directory
> > ==========
> > 
> > End of buildlog:
> > ==========
> > ===>   Registering installation for kdewebdev-3.5.10_1,2
> > Copying over bacula-bat...
> > Copying over PBC...
> > bin/
> > Making Directory bin
> > cp -R /usr/local/bin/kmdr-executor bin/
> > etc/
> > Making Directory etc
> > cp -R /usr/local/etc/bat.conf.sample etc/
> > bin/
> > Making Directory bin
> > cp -R /usr/local/sbin/bat bin/
> > autolibs/
> > Making Directory autolibs
> > cp -R /usr/local/lib/libkom* autolibs/
> > Starting build of pbc file...
> > Creating PkgConfig file...      du: file: No such file or directory
> > du: (standard: No such file or directory
> > du: input): No such file or directory
> > du: matches: No such file or directory
> > 0       total
> > Done!
> > Populating libraries... Checking for libs in the ExePath: Variables
> > Checking for libs for all bin/ entries
> > ls: file: No such file or directory
> > ls: input): No such file or directory
> > ls: matches/autolibs: No such file or directory
> > chflags: file: No such file or directory
> > chflags: input): No such file or directory
> > chflags: matches: No such file or directory
> > Done!
> > Creating file archive...        Done!
> > Setting up PBI structure ...    usage: cp [-R [-H | -L | -P]] [-f | -i | -
n] 
> > [-alpv] source_file target_file
> >        cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... 
> > target_directory
> > Done!
> > Creating the PBI file ...       Done!
> > Removing Workdir...             Done!
> > SUCCESS! PBI Creation finished for bacula-bat
> > /pbi-
> > 
build/pbisandbox/root/file(standardinput)matchesfile(standardinput)matches-
> > PVfile(standardinput)matches.pbi
> > ==========
> > 
> 
> Interesting, TONS of errors there. How are you trying to build this PBI? 
> You're running as root, correct? Also, are you running this command?
> 
> # ./buildpbi.sh bacula-bat

Nope, I just ran ./buildpbi.sh as root in /pbi-build (linked from /usr/pbi-
build), smth like:

# cd /usr
# tar xfzv ~/Downloads/pbibuild-x86-pcbsd7-2.1.tbz
# ln -s /usr/pbi-build /pbi-build
# cd /pbi-build
# rsync -av ~/svn/bacula-bat modules/
# ./buildpbi.sh

-- 
Silver


More information about the Pbi-dev mailing list