Hi,
I've tried to build several packages on sparc64 current, but glib2
doesn't want to build. Any ideas?
/usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H
-I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"GLib\"
-DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_
STATIC -I/usr/local/include -DG_DISABLE_SINGLE_INCLUDES -pthread -O2
-pipe -Wall -MT gspawn.lo -MD -MP -MF .deps/gspawn.Tpo -c -o gspawn.lo
gspawn.c
cc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include
-DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION -DPCRE_STATIC -I/usr/local/include
-DG_DISABLE_SINGLE_INCL
UDES -pthread -O2 -pipe -Wall -MT gspawn.lo -MD -MP -MF .deps/gspawn.Tpo
-c gspawn.c -fPIC -DPIC -o .libs/gspawn.o
cc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include
-DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION -DPCRE_STATIC -I/usr/local/include
-DG_DISABLE_SINGLE_INCL
UDES -pthread -O2 -pipe -Wall -MT gspawn.lo -MD -MP -MF .deps/gspawn.Tpo
-c gspawn.c -o gspawn.o >/dev/null 2>&1
mv -f .deps/gspawn.Tpo .deps/gspawn.Plo
/usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall
-version-info 1802:0:1802 -export-dynamic -export-symbols-regex "^g.*"
-L/usr/local/lib -o libglib-2.0.la -rpath /usr/local/lib garra
y.lo gasyncqueue.lo gatomic.lo gbacktrace.lo gbase64.lo gbookmarkfile.lo
gcache.lo gchecksum.lo gcompletion.lo gconvert.lo gdataset.lo gdate.lo
gdir.lo gerror.lo gfileutils.lo ghash.lo ghook.lo ghostutil
s.lo giochannel.lo gkeyfile.lo glist.lo gmain.lo gmappedfile.lo
gmarkup.lo gmem.lo gmessages.lo gnode.lo goption.lo gpattern.lo gpoll.lo
gprimes.lo gqsort.lo gqueue.lo grel.lo grand.lo gregex.lo gscanner
.lo gsequence.lo gshell.lo gslice.lo gslist.lo gstdio.lo gstrfuncs.lo
gstring.lo gtestutils.lo gthread.lo gthreadpool.lo gtimer.lo gtree.lo
guniprop.lo gutf8.lo gunibreak.lo gunicollate.lo gunidecomp.lo
gurifuncs.lo gutils.lo gprintf.lo libcharset/libcharset.la giounix.lo
gspawn.lo -L/usr/local/lib -lpcre -lintl -liconv
generating symbol list for `libglib-2.0.la'
/usr/bin/nm -B .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o
.libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.o .libs/gcache.o
.libs/gchecksum.o .libs/gcompletion.o .libs/gconvert.o .libs/gda
taset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o
.libs/ghash.o .libs/ghook.o .libs/ghostutils.o .libs/giochannel.o
.libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .li
bs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o
.libs/goption.o .libs/gpattern.o .libs/gpoll.o .libs/gprimes.o
.libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gregex.o
.libs/gsca
nner.o .libs/gsequence.o .libs/gshell.o .libs/gslice.o .libs/gslist.o
.libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gtestutils.o
.libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o
.libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o
.libs/gunidecomp.o .libs/gurifuncs.o .libs/gutils.o .libs/gprintf.o
.libs/giounix.o .libs/gspawn.o libcharset/.libs/libcharset.a | se
d -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' |
sort | uniq > .libs/libglib-2.0.exp
/usr/bin/grep -E -e "^g.*" ".libs/libglib-2.0.exp" >
".libs/libglib-2.0.expT"
mv -f ".libs/libglib-2.0.expT" ".libs/libglib-2.0.exp"
rm -fr .libs/libglib-2.0.lax
mkdir .libs/libglib-2.0.lax
rm -fr .libs/libglib-2.0.lax/libcharset.a
mkdir .libs/libglib-2.0.lax/libcharset.a
(cd .libs/libglib-2.0.lax/libcharset.a && ar x
/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib/libcharset/.libs/libcharset.a)
cc -shared -fPIC -DPIC -o .libs/libglib-2.0.so.1802.0 .libs/garray.o
.libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gbase64.o
.libs/gbookmarkfile.o .libs/gcache.o .libs/gchecksum.o .libs/
gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o
.libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o
.libs/ghook.o .libs/ghostutils.o .libs/giochannel.o .libs/gkeyfile.o
.libs/glist
.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o
.libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o
.libs/gpoll.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o
.libs/grand.o .libs/gregex.o .libs/gscanner.o .libs/gsequence.o
.libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o
.libs/gstrfuncs.o .libs/gstring.o .libs/gtestutils.o .libs/gthread.o
.libs/gth
readpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o
.libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o
.libs/gurifuncs.o .libs/gutils.o .libs/gprintf.o .libs/giounix.o .libs/gspa
wn.o .libs/libglib-2.0.lax/libcharset.a/localcharset.o
-L/usr/local/lib -lpcre -lintl -liconv
-Wl,-retain-symbols-file,.libs/libglib-2.0.exp
rm -fr .libs/libglib-2.0.lax
mkdir .libs/libglib-2.0.lax
rm -fr .libs/libglib-2.0.lax/lt1-libcharset.a
mkdir .libs/libglib-2.0.lax/lt1-libcharset.a
(cd .libs/libglib-2.0.lax/lt1-libcharset.a && ar x
/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib/libcharset/.libs/libcharset.a)
ar cru .libs/libglib-2.0.a garray.o gasyncqueue.o gatomic.o
gbacktrace.o gbase64.o gbookmarkfile.o gcache.o gchecksum.o
gcompletion.o gconvert.o gdataset.o gdate.o gdir.o gerror.o gfileutils.o
ghash.o g
hook.o ghostutils.o giochannel.o gkeyfile.o glist.o gmain.o
gmappedfile.o gmarkup.o gmem.o gmessages.o gnode.o goption.o gpattern.o
gpoll.o gprimes.o gqsort.o gqueue.o grel.o grand.o gregex.o gscanner.o
gsequence.o gshell.o gslice.o gslist.o gstdio.o gstrfuncs.o gstring.o
gtestutils.o gthread.o gthreadpool.o gtimer.o gtree.o guniprop.o gutf8.o
gunibreak.o gunicollate.o gunidecomp.o gurifuncs.o gutils.o
gprintf.o giounix.o gspawn.o
.libs/libglib-2.0.lax/lt1-libcharset.a/localcharset.o
ranlib .libs/libglib-2.0.a
rm -fr .libs/libglib-2.0.lax .libs/libglib-2.0.lax
creating libglib-2.0.la
(cd .libs && rm -f libglib-2.0.la && ln -s ../libglib-2.0.la libglib-2.0.la)
cc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include
-DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION -DPCRE_STATIC -I/usr/local/include
-DG_DISABLE_SINGLE_INCL
UDES -pthread -O2 -pipe -Wall -MT gtester.o -MD -MP -MF
.deps/gtester.Tpo -c -o gtester.o gtester.c
mv -f .deps/gtester.Tpo .deps/gtester.Po
/usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall
-L/usr/local/lib -o gtester gtester.o libglib-2.0.la -lintl -liconv
cc -O2 -pipe -Wall -o .libs/gtester gtester.o -L/usr/local/lib
-L./.libs -lglib-2.0 -lpcre -lintl -liconv -Wl,-rpath,/usr/local/lib
/usr/local/lib/libglib-2.0.so.1801.0: warning: vsprintf() is often
misused, please use vsnprintf()
/usr/local/lib/libglib-2.0.so.1801.0: warning: strcpy() is almost always
misused, please use strlcpy()
/usr/local/lib/libglib-2.0.so.1801.0: warning: strcat() is almost always
misused, please use strlcat()
creating gtester
gmake[4]: Leaving directory `/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib'
Making all in tests
gmake[4]: Entering directory
`/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib/tests'
cc -DHAVE_CONFIG_H -I. -I../.. -g -I../.. -I../../glib
-DG_DISABLE_CAST_CHECKS -I/usr/local/include
-DG_DISABLE_SINGLE_INCLUDES -pthread -O2 -pipe -Wall -MT testing.o -MD
-MP -MF .deps/testing.Tpo -c -o testing.o testing.c
mv -f .deps/testing.Tpo .deps/testing.Po
/usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall
-L/usr/local/lib -o testing testing.o ../../glib/libglib-2.0.la -lintl
-liconv
mkdir .libs
cc -O2 -pipe -Wall -o .libs/testing testing.o -L/usr/local/lib
-L../../glib/.libs -lglib-2.0 -lpcre -lintl -liconv
-Wl,-rpath,/usr/local/lib
/usr/local/lib/libglib-2.0.so.1801.0: warning: vsprintf() is often
misused, please use vsnprintf()
/usr/local/lib/libglib-2.0.so.1801.0: warning: strcpy() is almost always
misused, please use strlcpy()
/usr/local/lib/libglib-2.0.so.1801.0: warning: strcat() is almost always
misused, please use strlcat()
testing.o(.text+0x1754): In function `test_log_handler':
/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib/tests/testing.c:206:
undefined reference to `g_test_log_set_fatal_handler'
testing.o(.text+0x1794):/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib/tests/testing.c:210:
undefined reference to `g_test_log_set_fatal_handler'
collect2: ld returned 1 exit status
gmake[4]: *** [testing] Error 1
gmake[4]: Leaving directory
`/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib/tests'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/pobj/glib-2.22.4/glib-2.22.4/glib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/pobj/glib-2.22.4/glib-2.22.4'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/devel/glib2 (line 2193 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/devel/glib2 (line 1448 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/devel/glib2 (line 1988 of
/usr/ports/infrastructure/mk/bsd.port.mk).
OpenBSD 4.6-current (GENERIC) #0: Fri Jan 15 10:39:06 CET 2010
r...@************:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 268435456 (256MB)
avail mem = 247955456 (236MB)
mainbus0 at root: Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 400MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.1) @ 400 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K
external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000: SUNW,sabre, impl 0, version 0, ign
7c0
psycho0: bus range 0-2, PCI bus 0
psycho0: dvma map c0000000-dfffffff
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 "Sun Simba PCI-PCI" rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 1 function 0 "Sun PCIO EBus2" rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ivec 0x25
"SUNW,pll" at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 400000-40007f ivec 0x2b: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ivec 0x29: layout 37
wskbd0 at comkbd0: console keyboard
comms0 at ebus0 addr 3062f8-3062ff ivec 0x2a
wsmouse0 at comms0 mux 0
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ivec
0x22: polled
"fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ivec
0x27 not configured
clock1 at ebus0 addr 0-1fff: mk48t59
"flashprom" at ebus0 addr 0-fffff not configured
audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ivec 0x23 ivec 0x24: nvaddrs 0
audio0 at audioce0
hme0 at pci1 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address
08:00:20:f9:10:f6
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
machfb0 at pci1 dev 2 function 0 "ATI Mach64" rev 0x5c
machfb0: ATY,GT-C, 1152x900
wsdisplay0 at machfb0 mux 1: console (std, sun emulation), using wskbd0
pciide0 at pci1 dev 3 function 0 "CMD Technology PCI0646" rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7e0 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST320420A>
wd0: 16-sector PIO, LBA, 19458MB, 39851760 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
probe(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
SENSE KEY: Unit Attention
ASC/ASCQ: Power On, Reset, or Bus Device Reset Occurred
probe(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
SENSE KEY: Not Ready
ASC/ASCQ: Medium Not Present
cd0 at scsibus0 targ 0 lun 0: <LG, CD-ROM CRD-8483B, 1.00> ATAPI 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
ppb1 at pci0 dev 1 function 0 "Sun Simba PCI-PCI" rev 0x13
pci2 at ppb1 bus 2
ahc0 at pci2 dev 1 function 0 "Adaptec AHA-2940" rev 0x00: ivec 0x7d0
scsibus1 at ahc0: 8 targets, initiator 7
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
bootpath: /p...@1f,0/p...@1,1/i...@3,0/d...@0,0
root on wd0a swap on wd0b dump on wd0b