Re: CALL FOR TEST: Updates to pixmap, cairo, poppler,and firefox 3.0! - FreeBSD

This is a discussion on Re: CALL FOR TEST: Updates to pixmap, cairo, poppler,and firefox 3.0! - FreeBSD ; Jeremy Messenger cox.net> writes: > x11/pixman: Update to 0.10.0 > graphics/cairo: Update to 1.6.4 > graphics/poppler: Update to 0.8.3 OK, no problems with those three. > www/firefox3: Update to 3.0 final ....while this fails during sqlite3 compilation; something to do ...

+ Reply to Thread
Results 1 to 11 of 11

Thread: Re: CALL FOR TEST: Updates to pixmap, cairo, poppler,and firefox 3.0!

  1. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler,and firefox 3.0!

    Jeremy Messenger cox.net> writes:

    > x11/pixman: Update to 0.10.0
    > graphics/cairo: Update to 1.6.4
    > graphics/poppler: Update to 0.8.3


    OK, no problems with those three.

    > www/firefox3: Update to 3.0 final


    ....while this fails during sqlite3 compilation; something to do with threads:

    sqlite3.c: In function `getOverflowPage':
    sqlite3.c:29298: warning: 'rc' might be used uninitialized in this function
    sqlite3.c: In function `sqlite3Select':
    sqlite3.c:61787: warning: 'pEList' might be used uninitialized in this function
    sqlite3.c:61788: warning: 'pTabList' might be used uninitialized in this function
    rm -f libsqlite3.so
    cc -I/usr/local/include -I/usr/local/include -Wall -W -Wno-unused
    -Wpointer-arith -Wcast-align -W -Wno-long-long -O2 -fno-strict-aliasing -pipe
    -march=pentium3 -O2 -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe
    -DNDEBUG -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-h,libsqlite3.so -o
    libsqlite3.so sqlite3.o -pthread -Wl,-rpath-link,../../../dist/bin
    -Wl,-Bsymbolic -lc -lm -pthread -pthread -L/usr/local/lib -liconv
    sqlite3.o(.text+0x4c69): In function `findLockInfo':
    : undefined reference to `pthread_create'
    sqlite3.o(.text+0x4c8d): In function `findLockInfo':
    : undefined reference to `pthread_create'
    sqlite3.o(.text+0x4c9f): In function `findLockInfo':
    : undefined reference to `pthread_join'
    sqlite3.o(.text+0x4cb1): In function `findLockInfo':
    : undefined reference to `pthread_join'
    sqlite3.o(.text+0x5269): In function `unixLock':
    : undefined reference to `pthread_equal'
    sqlite3.o(.text+0x55d4): In function `unixUnlock':
    : undefined reference to `pthread_equal'
    gmake[4]: *** [libsqlite3.so] Error 1
    gmake[4]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/db/sqlite3/src'


    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  2. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    On Wed, 18 Jun 2008 07:15:24 -0500, Lapo Luchini wrote:

    > Jeremy Messenger cox.net> writes:
    >
    >> x11/pixman: Update to 0.10.0
    >> graphics/cairo: Update to 1.6.4
    >> graphics/poppler: Update to 0.8.3

    >
    > OK, no problems with those three.


    Good.

    >> www/firefox3: Update to 3.0 final

    >
    > ...while this fails during sqlite3 compilation; something to do with
    > threads:
    >
    > sqlite3.c: In function `getOverflowPage':
    > sqlite3.c:29298: warning: 'rc' might be used uninitialized in this
    > function
    > sqlite3.c: In function `sqlite3Select':
    > sqlite3.c:61787: warning: 'pEList' might be used uninitialized in this
    > function
    > sqlite3.c:61788: warning: 'pTabList' might be used uninitialized in this
    > function
    > rm -f libsqlite3.so
    > cc -I/usr/local/include -I/usr/local/include -Wall -W -Wno-unused
    > -Wpointer-arith -Wcast-align -W -Wno-long-long -O2 -fno-strict-aliasing
    > -pipe
    > -march=pentium3 -O2 -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe
    > -DNDEBUG -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-h,libsqlite3.so -o
    > libsqlite3.so sqlite3.o -pthread
    > -Wl,-rpath-link,../../../dist/bin
    > -Wl,-Bsymbolic -lc -lm -pthread -pthread -L/usr/local/lib -liconv
    > sqlite3.o(.text+0x4c69): In function `findLockInfo':
    > : undefined reference to `pthread_create'
    > sqlite3.o(.text+0x4c8d): In function `findLockInfo':
    > : undefined reference to `pthread_create'
    > sqlite3.o(.text+0x4c9f): In function `findLockInfo':
    > : undefined reference to `pthread_join'
    > sqlite3.o(.text+0x4cb1): In function `findLockInfo':
    > : undefined reference to `pthread_join'
    > sqlite3.o(.text+0x5269): In function `unixLock':
    > : undefined reference to `pthread_equal'
    > sqlite3.o(.text+0x55d4): In function `unixUnlock':
    > : undefined reference to `pthread_equal'
    > gmake[4]: *** [libsqlite3.so] Error 1
    > gmake[4]: Leaving directory
    > `/usr/ports/www/firefox3/work/mozilla/db/sqlite3/src'


    Ummm... I can't reproduce it.. What is version of FreeBSD on this system?
    I will need to ask ahze to see the reason why we aren't use system sqlite
    (use sqlite port instead of include in Firefox3 tarball). Do you have
    sqlite3 installed? If yes, then what version and did you tweak anything in
    sqlite3 like disable thread option or else?

    Thanks for test!

    Cheers,
    Mezz


    --
    mezz7@cox.net - mezz@FreeBSD.org
    FreeBSD GNOME Team
    http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  3. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    Jeremy Messenger wrote:
    > Ummm... I can't reproduce it.. What is version of FreeBSD on this
    > system? I will need to ask ahze to see the reason why we aren't use
    > system sqlite (use sqlite port instead of include in Firefox3
    > tarball). Do you have sqlite3 installed? If yes, then what version and
    > did you tweak anything in sqlite3 like disable thread option or else?


    You're perfectly right, I kinda forgot about it, but I *do have* sqlite3
    installed from the ports, and it was compiled without threads.
    Probably the Makefile was compiling a local copy (with threads) and then
    using my system-wide copy without threads. I guess it would be better to
    either always use the ports one (and add a R-deps) or avoid the system
    one to be found by that line at all…

    PS: system is a i386 6.3-STABLE FreeBSD 6.3-STABLE #17: Mon Feb 25
    13:49:06 CET 2008

    --
    Lapo Luchini - http://lapo.it/

    “Software and cathedrals are much the same - first we build them, then
    we pray.” (anonymous)
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  4. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    On Wed, 18 Jun 2008 11:06:58 -0500, Lapo Luchini wrote:

    > Jeremy Messenger wrote:
    >> Ummm... I can't reproduce it.. What is version of FreeBSD on this
    >> system? I will need to ask ahze to see the reason why we aren't use
    >> system sqlite (use sqlite port instead of include in Firefox3 tarball).
    >> Do you have sqlite3 installed? If yes, then what version and did you
    >> tweak anything in sqlite3 like disable thread option or else?

    >
    > You're perfectly right, I kinda forgot about it, but I *do have* sqlite3
    > installed from the ports, and it was compiled without threads.
    > Probably the Makefile was compiling a local copy (with threads) and then
    > using my system-wide copy without threads. I guess it would be better to
    > either always use the ports one (and add a R-deps) or avoid the system
    > one to be found by that line at all…


    Yes, exactly, it's what I have suspected by look at -I/-L. I will waiting
    for ahze or someone to answer back for why not use sqlite port instead. If
    there is problem with sqlite port vs firefox3, then I will have to fix the
    -I/-L in firefox3's sqlite.

    Cheers,
    Mezz

    > PS: system is a i386 6.3-STABLE FreeBSD 6.3-STABLE #17: Mon Feb 25
    > 13:49:06 CET 2008



    --
    mezz7@cox.net - mezz@FreeBSD.org
    FreeBSD GNOME Team
    http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  5. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    Jeremy Messenger wrote:
    >> You're perfectly right, I kinda forgot about it, but I *do have*
    >> sqlite3 installed from the ports, and it was compiled without threads.

    >
    > Yes, exactly, it's what I have suspected by look at -I/-L. I will
    > waiting for ahze or someone to answer back for why not use sqlite port
    > instead. If there is problem with sqlite port vs firefox3, then I will
    > have to fix the -I/-L in firefox3's sqlite.


    Update: this happened also after I re-compiled by sqlite3 port to
    include threads support, on my i386 6-STABLE.

    The build stops also on my i386 7-STABLE laptop, the error is the same
    already reported by Naram Qashat in
    http://lists.freebsd.org/pipermail/f...ne/020408.html

    --
    Lapo Luchini - http://lapo.it/

    “Beware of bugs in the above code; I have only proved it correct, not
    tried it.” (Donald Knuth, 1977-03-22)
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  6. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    Lapo Luchini wrote:
    > Jeremy Messenger wrote:
    >>> You're perfectly right, I kinda forgot about it, but I *do have*
    >>> sqlite3 installed from the ports, and it was compiled without threads.

    >>
    >> Yes, exactly, it's what I have suspected by look at -I/-L. I will
    >> waiting for ahze or someone to answer back for why not use sqlite port
    >> instead. If there is problem with sqlite port vs firefox3, then I will
    >> have to fix the -I/-L in firefox3's sqlite.

    >
    > Update: this happened also after I re-compiled my sqlite3 port to
    > include threads support, on my i386 6-STABLE.


    Second update: it happens also *without* the sqlite3 port installed.

    --
    Lapo Luchini - http://lapo.it/

    “C is quirky, flawed, and an enormous success.” (Dennis M. Ritchie)
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  7. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    On Thu, 19 Jun 2008 02:31:43 -0500, Lapo Luchini wrote:

    > Jeremy Messenger wrote:
    >>> You're perfectly right, I kinda forgot about it, but I *do have*
    >>> sqlite3 installed from the ports, and it was compiled without threads.

    >> Yes, exactly, it's what I have suspected by look at -I/-L. I will
    >> waiting for ahze or someone to answer back for why not use sqlite port
    >> instead. If there is problem with sqlite port vs firefox3, then I will
    >> have to fix the -I/-L in firefox3's sqlite.

    >
    > Update: this happened also after I re-compiled by sqlite3 port to
    > include threads support, on my i386 6-STABLE.


    Strange, I can't reproduce your problem when I reinstall sqlite3 without
    threads support. Right now, I am building this patch[1] and I would like
    you to test it too.

    [1] http://people.freebsd.org/~mezz/diff...rc_Makefile.in

    Put it in firefox3/files/. Don't forget to do the 'make clean' first. You
    can put sqlite3 without threads back in.

    Cheers,
    Mezz


    --
    mezz7@cox.net - mezz@FreeBSD.org
    FreeBSD GNOME Team
    http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  8. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    Jeremy Messenger wrote:
    > Strange, I can't reproduce your problem when I reinstall sqlite3
    > without threads support.


    Are you testing on 6.x? I can't reproduce it myself on 7.x.
    Also this 6.x box is a 6-STABLE from Feb 25 I wonder if that could
    change things (I guess not).

    > Right now, I am building this patch[1] and I would like you to test it
    > too.
    >
    > [1] http://people.freebsd.org/~mezz/diff...rc_Makefile.in
    >
    > Put it in firefox3/files/. Don't forget to do the 'make clean' first.
    > You can put sqlite3 without threads back in.


    It really seems to have nothing to do with the presence of a sqlite3
    package after all (I reproduced it also without a sqlite3 package
    installed), and you patch isn't enough to fix it.
    I managed to build it changing the patch to also include "-lpthread" or
    "-lthr", though.

    --
    Lapo Luchini - http://lapo.it/

    “X-rays will prove to be a hoax.” (Lord Kelvin, 1883)
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  9. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    On Fri, 20 Jun 2008 04:32:17 -0500, Lapo Luchini wrote:

    > Jeremy Messenger wrote:
    >> Strange, I can't reproduce your problem when I reinstall sqlite3
    >> without threads support.

    >
    > Are you testing on 6.x? I can't reproduce it myself on 7.x.
    > Also this 6.x box is a 6-STABLE from Feb 25 I wonder if that could
    > change things (I guess not).


    I don't have any 6.x here.

    >> Right now, I am building this patch[1] and I would like you to test it
    >> too.
    >>
    >> [1]
    >> http://people.freebsd.org/~mezz/diff...rc_Makefile.in
    >>
    >> Put it in firefox3/files/. Don't forget to do the 'make clean' first.
    >> You can put sqlite3 without threads back in.

    >
    > It really seems to have nothing to do with the presence of a sqlite3
    > package after all (I reproduced it also without a sqlite3 package
    > installed), and you patch isn't enough to fix it.
    > I managed to build it changing the patch to also include "-lpthread" or
    > "-lthr", though.


    Okay, can you edit in patch-db_sqlite3_src_Makefile.in by change from
    $(OS_LDFLAGS) to -lpthread and let me know if it works for you. If it
    doesn't work then can you send me full log of build in bz2 or gz in
    private? The mailing list will strip off if it's too big in attach. Or put
    in somewhere website if you prefer.

    Cheers,
    Mezz


    --
    mezz7@cox.net - mezz@FreeBSD.org
    FreeBSD GNOME Team
    http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  10. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    Jeremy Messenger wrote:
    > Okay, can you edit in patch-db_sqlite3_src_Makefile.in by change from
    > $(OS_LDFLAGS) to -lpthread and let me know if it works for you.


    I managed to build it using (I didn't try with "-lpthread" only, sorry):
    OS_LIBS = $(OS_LDFLAGS) -lpthread

    I only used it for half an hour now, but seems to work fine.

    --
    Lapo Luchini - http://lapo.it/

    “There is no reason anyone would want a computer in their home.” (Ken
    Olson, founder of DEC, 1977)
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


  11. Re: CALL FOR TEST: Updates to pixmap, cairo, poppler, and firefox3.0!

    On Mon, 23 Jun 2008 09:25:22 -0500, Lapo Luchini wrote:

    > Jeremy Messenger wrote:
    >> Okay, can you edit in patch-db_sqlite3_src_Makefile.in by change from
    >> $(OS_LDFLAGS) to -lpthread and let me know if it works for you.

    >
    > I managed to build it using (I didn't try with "-lpthread" only, sorry):
    > OS_LIBS = $(OS_LDFLAGS) -lpthread
    >
    > I only used it for half an hour now, but seems to work fine.


    It's ok and I have committed the fix. Thanks!

    Cheers,
    Mezz


    --
    mezz7@cox.net - mezz@FreeBSD.org
    FreeBSD GNOME Team
    http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
    _______________________________________________
    freebsd-gnome@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
    To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"


+ Reply to Thread