current/ports/math/gnumeric; make package fails

Julian H. Stacey jhs at berklix.com
Tue Jul 27 23:50:35 UTC 2010


Hi Koop Mast, cc gnome@
You wrote	Tue, 27 Jul 2010 10:17:14 +0200 

> On Mon, 2010-07-26 at 16:01 +0200, Julian H. Stacey wrote:
> > Hi gnome@
> > FYI
> > current/ports/math/gnumeric; make package fails
> > 
> > uname -a
> >   FreeBSD blak.js.berklix.net 8.1-RC2 FreeBSD 8.1-RC2 #0: Tue Jul 20 17:37:21 CEST 2010     jhs at blak.js.berklix.net:/usr/src/sys/amd64/compile/GENERIC  amd64
> > cd /pri/FreeBSD/branches/amd64/-current/ports/math/gnumeric ; make package
> >   ===>  Building package for gnumeric-1.10.7
> >   ....
> >   Creating bzip'd tar ball in '/.amd_mnt/fire/usra/ftp/pri/FreeBSD/branches/amd64/-current/ports/packages/All/gnumeric-1.10.7.tbz'
> >   tar: lib/goffice/0.8.7/plugins/gnumeric/gnumeric.la: Cannot stat: No such file or directory
> >   tar: lib/goffice/0.8.7/plugins/gnumeric/gnumeric.so: Cannot stat: No such file or directory
> >   tar: lib/goffice/0.8.7/plugins/gnumeric/plugin.xml: Cannot stat: No such file or directory
> >   tar: lib/pkgconfig/libspreadsheet-1.10.pc: Cannot stat: No such file or directory
> >   tar: Error exit delayed from previous errors.
> 
> I can't reproduce this, 

Thanks for looking :-)


> have you updated goffice to 0.8.7?

No, I neither installed nor upgraded goffice by choice, 
  ( I did switch to trying current gnumeric after release gnumeric
  failed, & current gnumeric specifies 0.8.8 not 0.8.7 see below )
I relied on FreeBSD getting its dependencies right, It doesn't seem to have.

All ports I installed came via my ports/*/Makefile.local, &
	grep goffice /usr/ports/*/Makefile.local	# Shows Nothing
Though I have a lot of packages installed:
	cd /var/db/pkg ; ls -1 | wc -l # 800
they come as dependencies of building with my ports/*/Makefile.local,

Only goffice I see installed:
	cd /var/db/pkg ; echo *goffice*
		goffice-0.8.5
comes from being a dependency 
	xs pkg_info -R goffice*
		Information for goffice-0.8.5:
		Required by:
			abiword-2.8.4_1
			gnumeric-1.10.7

8.1-RELEASE/ports/math/gnumeric/Makefile
	1.10.5
current/ports/math/gnumeric/Makefile
	PORTVERSION=    1.10.7

So goffice-0.8.5 was installed by either:
	 current/ports/math/gnumeric
or possibly 
	editors/abiword
but abiword wants goffice-0.8.8:

8.1-RELEASE/ports/editors/abiword/Makefile	&
current/ports/editors/abiword/Makefile	both specify the same:
	PORTVERSION=    2.8.4
	LIB_DEPENDS=    goffice-0.8.8

There's version inconsistency withing 8.1-RELEASE:
   8.1-RELEASE/ports/devel/goffice/Makefile	&
   8.1-RELEASE/ports/devel/goffice/distinfo
	0.8.5
   8.1-RELEASE/ports/editors/abiword/Makefile	&
   8.1-RELEASE/ports/math/gnumeric/Makefile
	LIB_DEPENDS=	goffice-0.8.8:${PORTSDIR}/devel/goffice

   current/ports/devel/goffice/Makefile		&
   current/ports/devel/goffice/distinfo
	0.8.7
   current/ports/math/gnumeric/Makefile		&
   current/ports/editors/abiword/Makefile	
	LIB_DEPENDS=    goffice-0.8.8

A search of my /usr/local for goffice:
	lib/goffice/0.8.5/plugins/gnumeric/gnumeric.la
	lib/goffice/0.8.5/plugins/plot_barcol/barcol.la
	lib/goffice/0.8.5/plugins/plot_distrib/distrib.la
	lib/goffice/0.8.5/plugins/plot_pie/pie.la
	lib/goffice/0.8.5/plugins/plot_radar/radar.la
	lib/goffice/0.8.5/plugins/plot_surface/surface.la
	lib/goffice/0.8.5/plugins/plot_xy/xy.la
	lib/goffice/0.8.5/plugins/reg_linear/linreg.la
	lib/goffice/0.8.5/plugins/reg_logfit/logfit.la
	lib/goffice/0.8.5/plugins/smoothing/smoothing.la
	lib/libgoffice-0.8.la
	libdata/pkgconfig/libgoffice-0.8.pc
	share/doc/goffice-0.8/goffice-08-GOGlibExtras.html

I'm too tired to solbe this right now, but there's version inconsistency
within FreeBSD, nor just here on my box.


After a deinstall & reinstall of RELEASE gnumeric, most error
messages are now gone, shrunk to just this:
    Creating bzip'd tar ball in '/usr/ports/packages/All/gnumeric-1.10.5.tbz'
    tar: lib/pkgconfig/libspreadsheet-1.10.pc: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors.
    pkg_create: make_dist: tar command failed with code 256
    *** Error code 1

    Stop in /ad6s4d/ports/math/gnumeric.

On current:
setenv PORTSDIR  /pri/FreeBSD/branches/amd64/-current/ports
cd /pri/FreeBSD/branches/amd64/-current/ports/math/gnumeric
make package
	Creating bzip'd tar ball in '/pri/FreeBSD/branches/amd64/-current/ports/packages/All/gnumeric-1.10.7.tbz'
	tar: lib/goffice/0.8.7/plugins/gnumeric/gnumeric.la: Cannot stat: No such file or directory
	tar: lib/goffice/0.8.7/plugins/gnumeric/gnumeric.so: Cannot stat: No such file or directory
	tar: lib/goffice/0.8.7/plugins/gnumeric/plugin.xml: Cannot stat: No such file or directory
	tar: lib/pkgconfig/libspreadsheet-1.10.pc: Cannot stat: No such file or directory
	tar: Error exit delayed from previous errors.


Background of my box:
    No old libs, as a New box, so I started with 8.1-RC2 DVD, built
    FS & insatlled OS inc. src/ made world, added a few essential
    packages off 8.1-RC2 DVD (eg rdist, not gnumeric goffice or
    anything non essential)
      cvs -Q -R export -r RELEASE_8_1_0  ports 
    then rebuilt my standard raft of ports 
    http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/jhs/*/Makefile.local
    with repeated iterations & variations of eg 
      cd /usr/ports ; make BERKLIX_CLIENT=YES BERKLIX_MINIMAL=YES \
      BERKLIX_SERVER=YES BERKLIX_GATE=YES BERKLIX_AMBITIOUS=YES package-recursive
    with occasional top ups from current where some dependency broke
    & had been fixed in current

    Lots of dependencies in ports/ broke the first time, so
    rather than waste lots of human time analysing, it was far quicker to
    drop into the SUBDIR & mouse copy
	make clean ; make ; make deinstall ; make install ; make
	package \ make package-recursive
    + the dd reboot &/or ldconfig -R -m
    before bothering to analyse any breaks.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
	Mail plain text.  Not HTML, Not quoted-printable, Not Base64.


More information about the freebsd-gnome mailing list