On Tue, Aug 27, 2013 at 12:21:26PM +0200, Matthieu Herrb wrote:
> On Sat, Aug 24, 2013 at 12:11:16PM +0200, Marc Espie wrote:
> > On Sat, Aug 24, 2013 at 09:50:56AM +0200, Matthieu Herrb wrote:
> > > On Sat, Aug 24, 2013 at 08:52:26AM +0200, Jan Stary wrote:
> > > > This is current/macppc, with a freshly cvs up'd ports;
> > > > devel/libexecinfo builds, but then refuses to make package,
> > > > saying
> > > > 
> > > >    make package
> > > >    `/usr/ports/pobj/libexecinfo-0.2/fake-macppc/.fake_done' is up to 
> > > > date.
> > > >    ===>  Building package for libexecinfo-0.2p3v0
> > > >    Create /usr/ports/packages/powerpc/all/libexecinfo-0.2p3v0.tgz
> > > >    Error:
> > > >    
> > > > /usr/ports/pobj/libexecinfo-0.2/fake-macppc/usr/local/lib/libexecinfo_p.a
> > > >    does not exist
> > > >    Fatal error: can't continue
> > > >     at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1386.
> > > >     *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1855
> > > >     '/usr/ports/packages/powerpc/all/libexecinfo-0.2p3v0.tgz')
> > > >     *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2403
> > > >     '_internal-package')
> > > >     *** Error 1 in /usr/ports/devel/libexecinfo
> > > >     (/usr/ports/infrastructure/mk/bsd.port.mk:2383 'package')
> > > > 
> > > > Indeed, libexecinfo_p.a is not there.
> > > > If I comment it out of pkg/PLIST,
> > > > the package gets made alright,
> > > > without the file of course.
> > > 
> > > I{ bet you have NOPROFILE= in /etc/mk.conf
> > 
> > sigh... yet another piece bsd.port.mk should override or something...
> 
> I would suggest that bsd.port.mk forces it to set, because I'm not
> sure if it's really expected that the few ports that use bsd.lib.mk to
> build their libs actually produce profiling libs. (given that other
> ports using their own build stuff, autotool, cmake,... won't provide
> them)

Well, basically, I would tend to see that as a defect, the other way round.

If it's sensible to provide profiled versions of base system libs, 
why wouldn't it be sane to do the same for X and ports ?

Reply via email to