tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Why do I keep on getting an empty package?



On Sun, 21 Dec 2014 15:02:23 +0000
Ottavio Caruso <ottavio2006-netbsd%yahoo.com@localhost> wrote:

> On 21 December 2014 at 14:08, Niclas Rosenvik <nros%users.sf.net@localhost>
> wrote:
> > On Sun, 21 Dec 2014 10:59:59 +0000
> > Ottavio Caruso <ottavio2006-netbsd%yahoo.com@localhost> wrote:
> >
> >> On 21 December 2014 at 10:21, Ottavio Caruso
> >> <ottavio2006-netbsd%yahoo.com@localhost> wrote:
> >> > After changing configure parameters to my copy of abiword-3, I
> >> > keep on getting a (almost) empty package with no binary.
> >> >
> >> > I have zeroed PLIST, rebuilt the package, reinstalled, populated
> >> > PLIST, deinstalled and reinstalled, yet the package contains all
> >> > files apart from the binary. Cleaning distfiles and depends and
> >> > rebuilding the whole thing doesn't change much.
> >> >
> >> > PLIST is attached.
> >>
> >> Update: it install the package into /bin, not /usr/pkg/bin. Anybody
> >> has a clue why?
> >
> > What arguments are you using to configure?
> > Can you post the Makefile you use?
> >
> > Regards,
> > Niclas Rosenvik
> 
> Makefile is as follows:
> 
> # $NetBSD$
> 
> DISTNAME=       abiword-3.0.0
> CATEGORIES=     wip
> MASTER_SITES=
> http://www.abisource.com/downloads/abiword/3.0.0/source/
> 
> MAINTAINER=     pkgsrc-users%NetBSD.org@localhost
> HOMEPAGE=
> http://www.abisource.com/downloads/abiword/3.0.0/source/
> COMMENT=        Open Source cross-platform word processor
> LICENSE=        gnu-gpl-v2
> 
> GNU_CONFIGURE=  yes
> USE_LIBTOOL=    yes
> USE_TOOLS+=     pkg-config gmake
> USE_LANGUAGES=  c c++
> 
> CONFIGURE_ARGS+=        --enable-spell
> 
> 
> PKGCONFIG_OVERRIDE+=    libabiword.pc.in
> 
> 
> .include "../../graphics/librsvg/buildlink3.mk"
> .include "../../x11/gtk3/buildlink3.mk"
> .include "../../graphics/cairo/buildlink3.mk"
> .include "../../textproc/libxslt/buildlink3.mk"
> .include "../../converters/wv/buildlink3.mk"
> .include "../../devel/libgsf/buildlink3.mk"
> .include "../../devel/glib2/buildlink3.mk"
> .include "../../converters/fribidi/buildlink3.mk"
> .include "../../devel/boost-libs/buildlink3.mk"
> .include "../../mk/jpeg.buildlink3.mk"
> .include "../../graphics/png/buildlink3.mk"
> 
> 
> .include "../../mk/bsd.pkg.mk"

Your makefile worked for me without any problems at installation.
.include "../../textproc/enchant/buildlink3.mk"
was needed for the build to pass.
For me it installs the abiword binary into ${DESTDIR}/usr/pkg/bin and I
tried to run it after package install and it work for me.
I can't reproduce your problem. Is this the only package where this
happens to you. Have you tried to build another package that uses gnu
configure and see if the same happens to it?
The system I tried to build on was NetBSD-6.1.5 and pkgsrc-2014Q3.


Niclas


Home | Main Index | Thread Index | Old Index