On Tue, Sep 19, 2006, Caleb Epstein wrote:

> On 9/19/06, Ralf S. Engelschall <[EMAIL PROTECTED]> wrote:
> >As you can see, there is even no fdatasync reference in my version...
>
> I thought I knew what the problem was, but now I'm not so sure.  In
> order to build Subversion yesterday, I added the line "%l_ldflags
> -lrt" to my ~root/.rpmmacros file.  This was in place when I was
> building packages today, so I figured that the configure step for
> SQLite must have been able to find "fdatasync" because of this and
> built a reference to it into the library.  But now when I remove my
> .rpmmacros file, I see this in the configure output when building
> SQLite:
>
> checking for library containing fdatasync... -lrt
> [...]
> checking for fdatasync... yes
>
> And the library which is build does refer to this symbol:
>
> [EMAIL PROTECTED]:/openpkg-current/RPM/TMP/sqlite-3.3.7# nm
> ./sqlite-3.3.7/.libs/libsqlite3.a | grep fdatasync
>         U fdatasync
>
> Thoughts?  I can send the full output of "openpkg rpmbuild -bc" if you need
> it.

Ah, I see: I've overlooked the fact that the _installed_ version
was not in sync with my _temporarily built_ version:

| [EMAIL PROTECTED]:/u/rse/wrk/openpkg/src/sqlite [P=sqlite B=HEAD 
E=/openpkg-dev T=/openpkg-dev S=src]
| developer$ nm /tmp/rse/openpkg/sqlite-3.3.7/sqlite-3.3.7/.libs/libsqlite3.a 
|grep fdatasync
|          U fdatasync
| [EMAIL PROTECTED]:/u/rse/wrk/openpkg/src/sqlite [P=sqlite B=HEAD 
E=/openpkg-dev T=/openpkg-dev S=src]
| developer$ nm /openpkg-dev/lib/libsqlite3.a |grep fdatasync
| [EMAIL PROTECTED]:/u/rse/wrk/openpkg/src/sqlite [P=sqlite B=HEAD 
E=/openpkg-dev T=/openpkg-dev S=src]
| developer$ opd inst -f
| ++ installing sqlite
| ++ installing sqlite-3.3.7-20060812 
(sqlite-3.3.7-20060812.ix86-solaris10-openpkgdev.rpm) forced
| Preparing...                ########################################### [100%]
|    1:sqlite                 ########################################### [100%]
| Connection to rm1.openpkg.net closed.
| ++ cleaning up sources and logs
| [EMAIL PROTECTED]:/u/rse/wrk/openpkg/src/sqlite [P=sqlite B=HEAD 
E=/openpkg-dev T=/openpkg-dev S=src]
| developer$ nm /openpkg-dev/lib/libsqlite3.a |grep fdatasync
|          U fdatasync
| [EMAIL PROTECTED]:/u/rse/wrk/openpkg/src/sqlite [P=sqlite B=HEAD 
E=/openpkg-dev T=/openpkg-dev S=src]

Ok, then we are sync now. My SQLite now also wishes fdatasync.
Seems like something new in SQLite 3.3. Ok, now that we
found the problem, I was able to fix it in OpenPKG-CURRENT:
http://cvs.openpkg.org/chngview?cn=30131
Many thanks for your investigation, Caleb.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to