Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2006 10:01:38 -0700
From:      "Steve Kirk" <skirk@insomniacgames.com>
To:        <freebsd-gnome@freebsd.org>
Subject:   Problems with glib20 on FreeBSD6.1
Message-ID:  <514005087A4DA54CB81C428C81EAB93D01E8F07A@EXCHANGE.insomniacgames.com>

next in thread | raw e-mail | index | archive | help
Hi,
=20
I'm trying to update glib20 from ports on my FreeBSD 6.1 box, but it's
failing during configure:
=20
[snip][link to full details/output below]=20
checking size of pthread_t... configure: error: cannot compute sizeof
(pthread_t), 77 =3D=3D=3D>  Script "configure" failed unexpectedly.

Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose
the problem and suggest a solution. If - and only if - the
gnomelogalyzer cannot solve the problem, report the build failure to the
FreeBSD GNOME team at gnome@FreeBSD.org, and attach (a)
"/usr/ports/devel/glib20/work/glib-2.10.2/config.log", (b) the output of
the failed make command, and (c) the gnomelogalyzer output. Also, it
might be a good idea to provide an overview of all packages installed on
your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to
the mailing list (gnome@FreeBSD.org), because attachments sent to
FreeBSD mailing lists are usually discarded by the mailing list
software.
*** Error code 1


The system was clean-installed not 2 months ago with 6.0, CVSUP'd to
6.1-PRERELEASE, and finally to 6.1-RELEASE.
  [root@iceman:/usr/ports/devel/glib20] #uname -a
    FreeBSD iceman.insomniacgames.com 6.1-STABLE FreeBSD 6.1-STABLE #1:
Thu May 25 12:40:09 PDT 2006
    root@iceman.insomniacgames.com:/usr/obj/usr/src/sys/ICEMAN  i386=20


I have cvsup'd src (RELENG_6) a couple days ago & did a
buildworld/buildkernel - no change.
I have confirmed that the kernel config file is built with "options
_KPOSIX_PRIORITY_SCHEDULING".


I cvsup'd ports-all and portupgraded each updated package - no
improvement.
 - I should note there was a libpthread error upgrading ruby18:
   making ruby18
   cc -O2 -fno-strict-aliasing -pipe    -fPIC  -DRUBY_EXPORT  -rdynamic
-L.   main.o =20
       -Wl,-R -Wl,/usr/local/lib - L/usr/local/lib -L. -lruby18 -lcrypt
-lm  -pthread  -o ruby18
   /usr/lib/libpthread.so: undefined reference to `__usleep'
   *** Error code 1
   ...so ruby18 didn't get upgraded.

   I repeated "portupgrade -a" just prior to this email to confirm
everything (possible) was up to date:
   - the only failures were related to ruby18/libpthread or
glib20/pthread
     ** Listing the failed packages (*:skipped / !:failed)
        ! lang/ruby18 (ruby-1.8.4_5,1)  (linker error)
        * databases/ruby-mysql (ruby18-mysql-2.7)
        * databases/ruby-bdb (ruby18-bdb4-0.5.7)
        ! devel/glib20 (glib-2.8.6_1)   (configure error)
        * databases/ruby-bdb1 (ruby18-bdb1-0.2.2)
        * sysutils/portupgrade (portupgrade-2.0.1_1,1)
        ! graphics/ImageMagick (ImageMagick-6.2.5.5_3)  (linker error)
      --->  Packages processed: 1 done, 201 ignored, 4 skipped and 3
failed

I won't be surprized if it's a libpthread issue, but I'm pretty ignorant
as to dealing with that I'm afraid.  I'd appreciate any pointers to
dealing with it.

I ran the gnomeloganalyzer, but it had no solutions (output below)(I
checked into all the things it suggested).

All the output & what-not I've posted here:
http://www.insomniacgames.com/glib.txt
I'd be very appreciative if anyone has any ideas what I should look at,
upgrade, change, tweak to make this work.


Thanks,
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?514005087A4DA54CB81C428C81EAB93D01E8F07A>