[PC-BSD Pbi-dev] Bacula Bat PBI

Silver Salonen silver.salonen at gmail.com
Sat Jun 21 03:49:16 PDT 2008


On Friday 20 June 2008, Kris Moore wrote:
> Silver Salonen wrote:
> > On Friday 20 June 2008, Kris Moore wrote:
> >> Silver Salonen wrote:
> >>> On Friday 20 June 2008 13:24, Silver Salonen wrote:
> >>>> I've now created the build module, so what should I do with it now? :)
> >>>>
> >>>> Note: the module did not compile - the build got stuck after installing 
> > and 
> >>>> registering qmake-3.3.8 (saying that "clean" is an unknown target to 
> > make), 
> >>>> which is actually quite weird, because it should use qmake4 (as 
> >>>> USE_QT_VER=4). I'll try it once again though.. Or should I chroot 
> >>>> to /pbi-build before trying to build the module?
> >>> The error I get looks like this:
> >>>
> >>> ....
> >>> ===>  Installing for qmake-3.3.8_1
> >>> ===>   Generating temporary packing list
> >>> "/usr/share/mk/bsd.compat.mk", line 36: warning: NOMAN is deprecated in 
> > favor 
> >>> of NO_MAN
> >>> mkdir -p "/usr/local/share/qt"
> >>>
> > 
cp -Rp /usr/ports/devel/qmake/work/qt-x11-free-3.3.8/mkspecs /usr/local/share/qt
> >>> install -s -o root -g wheel -m 555   qmake /usr/local/bin
> >>> /bin/mkdir -p '/usr/local/share/doc/qt'
> 
>> /bin/cp -Rp '/usr/ports/devel/qmake/work/qt-x11-free-3.3.8/doc/html' '/usr/local/share/doc/qt'
> >>> ===>   Registering installation for qmake-3.3.8_1
> >>> make: don't know how to make clean. Stop
> >>> make: don't know how to make install. Stop
> >>> make: don't know how to make install. Stop
> >>> ERROR: 2.1 Build failed of bacula-bat!!!
> >>>
> >>> --
> >>> Silver
> >>
> >>
> >> Silver,
> >>
> >> qmake is built automatically by the software, but then it tries to build 
> >> the port specified in the module. Can you send me your module config 
> >> files so I can take a look at them? Specifically your pbi.conf file? 
> >> I'll be more than happy to help you debug it :)
> > 
> > Here they are :)
> > 
> 
> 
> Ahh, easy enough fix :)
> 
> You are missing the "export" line at the bottom of your pbi.conf
> 
> export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON 
> PROGLIBS PBIUPDATE BUILDKEY
> 
> Go ahead and add that, does it work now?

Yup, it works and builds the package successfully now. I have to tweak the 
package a bit though.. But once I'm done, what do I do with it?

-- 
Silver


More information about the Pbi-dev mailing list