pkgsrc-Users archive

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

Re: Build Open Office2 faild.



Kouichirou Hiratsuka wrote:
/usr/pkgsrc/misc/openoffice2/work/OOG680_m5/canvas/source/cairo/cairo_cairo.cxx: In member function 'cairo::Surface* cairo::Surface::getSimilar(cairo::Content, int, int)': /usr/pkgsrc/misc/openoffice2/work/OOG680_m5/canvas/source/cairo/cairo_cairo.cxx:202: error: 'PictStandardA8' was not declared in this scope /usr/pkgsrc/misc/openoffice2/work/OOG680_m5/canvas/source/cairo/cairo_cairo.cxx:205: error: 'PictStandardRGB24' was not declared in this scope /usr/pkgsrc/misc/openoffice2/work/OOG680_m5/canvas/source/cairo/cairo_cairo.cxx:209: error: 'PictStandardARGB32' was not declared in this scope /usr/pkgsrc/misc/openoffice2/work/OOG680_m5/canvas/source/cairo/cairo_cairo.cxx:213: error: 'XRenderFindStandardFormat' was not declared in this scope
dmake:  Error code 1, while making '../../unxbsdi3.pro/slo/cairo_cairo.obj'
---* tg_merge.mk *---

Buildlink of Xrender is missing.  However, I cannot reproduce it.
Please send me your /etc/mk.conf and the output of the following
commands:

  # cd /usr/pkgsrc/misc/openoffice2
  # make show-var VARNAME=USE_BUILTIN.Xrender
  # make show-var VARNAME=BUILDLINK_DEPENDS
  # make show-var VARNAME=DEPENDS

And what version of NetBSD are you using?

best regards.
I moved to a faster machine (t5048) with the same NetBSD version and userland and I was able to complete a build and make a package. I successfully installed the package on my target (nv2292), which was giving me the problems.

However, it would be nice to know why it built on t5048, but not on nv2292. Below is info for both build environments.

================= nv2292 ===================
# more /etc/mk.conf

DEPENDS_TARGET= package
ACCEPTABLE_LICENSES+=quakedata-license
ACCEPTABLE_LICENSES+=adobe-acrobat-license
ACCEPTABLE_LICENSES+=flash-license
ALLOW_VULNERABLE_PACKAGES=yes
PKG_RESUME_TRANSFERS=yes
PASSIVE_FETCH=1
PKG_OPTIONS.ghostscript-esp=-x11

# dmesg
...
NetBSD 4.99.31 (NV2292) #5: Sat Oct 27 02:38:37 EST 2007
       solomon@t5048:/usr/obj/sys/arch/i386/compile/NV2292
total memory = 1150 MB
rbus: rbus_min_start set to 0x80000000
avail memory = 1116 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xfd72a
mainbus0 (root)
cpu0 at mainbus0 apid 0: (boot processor)
cpu0: Intel Pentium 4 (686-class), 1495.27 MHz, id 0xf0a
cpu0: features 3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 3febfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 3febfbff<FXSR,SSE,SSE2,SS,HTT,TM>
cpu0: "Intel(R) Pentium(R) 4 CPU 1500MHz"
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
cpu0: L2 cache 256 KB 64B/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: enabling thermal monitor 1 ... enabled.
cpu0: Intel(R) On Demand Clock Modulation (state enabled)
cpu0: calibrating local timer
cpu0: apic clock running at 99 MHz
cpu0: 8 page colors
...

nv2292# cd /usr/pkgsrc/misc/openoffice2
nv2292# make show-var VARNAME=USE_BUILTIN.Xrender
no
nv2292# make show-var VARNAME=BUILDLINK_DEPENDS
firefox gtk2 python24 gettext zlib fontconfig MesaLib cairo freetype2 libxml2 libxslt x11-links x11-links xcursor x11-links Xfixes x11-links x11-links Xrandr Xrender x11-links x11-links
nv2292# make show-var VARNAME=DEPENDS
libpaper-[0-9]*:../../print/libpaper firefox>=2.0:../../www/firefox gtk2+>=2.4.0:../../x11/gtk2 python24>=2.4:../../lang/python24 MesaLib>=3.4.2:../../graphics/MesaLib cairo>=1.0.0nb2:../../graphics/cairo fontconfig>=1.0.1:../../fonts/fontconfig fontconfig>=2.1nb2:../../fonts/fontconfig freetype2>=2.1.8:../../graphics/freetype2 freetype2>=2.1.3:../../graphics/freetype2 libxslt>=1.1.8:../../textproc/libxslt libxml2>=2.6.2:../../textproc/libxml2 xcursor>=1.0:../../x11/xcursor xcursor>=1.1.1:../../x11/xcursor Xrandr>=0.99:../../x11/liboldXrandr Xrandr>=1.0.1:../../x11/liboldXrandr Xrender>=0.2:../../x11/Xrender Xrender>=0.8:../../x11/Xrender Xrender>=0.8.2:../../x11/Xrender Xfixes>=2.0.0:../../x11/Xfixes firefox>=2.0.0.3nb1:../../www/firefox gtk2+>=2.8.17nb1:../../x11/gtk2 python24>=2.4.2nb4:../../lang/python24 MesaLib>=6.4.1nb1:../../graphics/MesaLib cairo>=1.0.4nb1:../../graphics/cairo fontconfig>=2.3.2nb2:../../fonts/fontconfig freetype2>=2.1.10nb1:../../graphics/freetype2 libxslt>=1.1.15nb1:../../textproc/libxslt libxml2>=2.6.23nb1:../../textproc/libxml2 xcursor>=1.1.2nb1:../../x11/xcursor Xrandr>=1.0.2nb3:../../x11/liboldXrandr Xrender>=0.9.0nb1:../../x11/Xrender Xfixes>=2.0.1nb2:../../x11/Xfixes
nv2292#

================= t5048 ===================
t5048# more /etc/mk.conf
DEPENDS_TARGET= package
ALLOW_VULNERABLE_PACKAGES=yes
PKG_RESUME_TRANSFERS=yes
PASSIVE_FETCH=1
PKG_OPTIONS.ghostscript-esp=-x11
ACCEPTABLE_LICENSES+=quakedata-license
ACCEPTABLE_LICENSES+=adobe-acrobat-license
ACCEPTABLE_LICENSES+=openmotif-license
ACCEPTABLE_LICENSES+=flash-license


t5048# dmesg | more
....
NetBSD 4.99.31 (T5048) #1: Sun Oct 28 06:24:40 EST 2007
       solomon@t5048:/usr/obj/sys/arch/i386/compile/T5048
total memory = 445 MB
rbus: rbus_min_start set to 0x40000000
avail memory = 426 MB
timecounter: Timecounters tick every 10.000 msec
RTC BIOS diagnostic error 80<clock_battery>
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0 apid 0: (boot processor)
cpu0: Intel (686-class), 3000.35 MHz, id 0xf4a
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 649d<SSE3,MONITOR,DS-CPL,EST,CID,xTPR>
cpu0: features3 20100000<XD,EM64T>
cpu0: "Intel(R) Pentium(R) 4 CPU 3.00GHz"
cpu0: I-cache 12K uOp cache 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: using thermal monitor 1
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 64 page colors
cpu1 at mainbus0 apid 1: (application processor) (<--- sidebar, this is a HT pentium4, why does BSD see 2 cpu's?)
cpu1: not started
....
t5048# make show-var VARNAME=USE_BUILTIN.Xrender
no

t5048# make show-var VARNAME=BUILDLINK_DEPENDS
firefox gtk2 python24 gettext zlib fontconfig MesaLib cairo freetype2 libxml2 libxslt x11-links x11-links xcursor x11-links Xfixes x11-links x11-links Xrandr Xrender x11-links x11-links

t5048# make show-var VARNAME=BUILDLINK_DEPENDS
firefox gtk2 python24 gettext zlib fontconfig MesaLib cairo freetype2 libxml2 libxslt x11-links x11-links xcursor x11-links Xfixes x11-links x11-links Xrandr Xrender x11-links x11-links
t5048# make show-var VARNAME=DEPENDS
libpaper-[0-9]*:../../print/libpaper firefox>=2.0:../../www/firefox gtk2+>=2.4.0:../../x11/gtk2 python24>=2.4:../../lang/python24 MesaLib>=3.4.2:../../graphics/MesaLib cairo>=1.0.0nb2:../../graphics/cairo fontconfig>=1.0.1:../../fonts/fontconfig fontconfig>=2.1nb2:../../fonts/fontconfig freetype2>=2.1.8:../../graphics/freetype2 freetype2>=2.1.3:../../graphics/freetype2 libxslt>=1.1.8:../../textproc/libxslt libxml2>=2.6.2:../../textproc/libxml2 xcursor>=1.0:../../x11/xcursor xcursor>=1.1.1:../../x11/xcursor Xrandr>=0.99:../../x11/liboldXrandr Xrandr>=1.0.1:../../x11/liboldXrandr Xrender>=0.2:../../x11/Xrender Xrender>=0.8:../../x11/Xrender Xrender>=0.8.2:../../x11/Xrender Xfixes>=2.0.0:../../x11/Xfixes firefox>=2.0.0.3nb1:../../www/firefox gtk2+>=2.8.17nb1:../../x11/gtk2 python24>=2.4.2nb4:../../lang/python24 MesaLib>=6.4.1nb1:../../graphics/MesaLib cairo>=1.0.4nb1:../../graphics/cairo fontconfig>=2.3.2nb2:../../fonts/fontconfig freetype2>=2.1.10nb1:../../graphics/freetype2 libxslt>=1.1.15nb1:../../textproc/libxslt libxml2>=2.6.23nb1:../../textproc/libxml2 xcursor>=1.1.2nb1:../../x11/xcursor Xrandr>=1.0.2nb3:../../x11/liboldXrandr Xrender>=0.9.0nb1:../../x11/Xrender Xfixes>=2.0.1nb2:../../x11/Xfixes
t5048#




Home | Main Index | Thread Index | Old Index