Re: Strange OSX make check-world failure
От | Thomas Munro |
---|---|
Тема | Re: Strange OSX make check-world failure |
Дата | |
Msg-id | CAEepm=2VD6K2-WeNgn7oeXApUZCPNSxPh9tH70oiWJzKvvBTWA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Strange OSX make check-world failure (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Strange OSX make check-world failure
|
Список | pgsql-hackers |
On Tue, Sep 18, 2018 at 2:14 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > Chris Travers <chris.travers@adjust.com> writes: > > Logs are below. This happens on master, and on 10. I suspect it is an > > issue with something regarding ecpg. Wondering what I am doing wrong. > > "make check" generally won't work on OSX unless you've disabled SIP: > > https://www.howtogeek.com/230424/how-to-disable-system-integrity-protection-on-a-mac-and-why-you-shouldnt/ > > That might not be the issue --- I'd have rather expected a failure > sooner --- but it's worth checking. $ sw_vers ProductName: Mac OS X ProductVersion: 10.13.4 BuildVersion: 17E199 $ csrutil status System Integrity Protection status: enabled. $ make -s -C src/interfaces/ecpg check ... snip ... ====================== All 58 tests passed. ====================== Hmm... why does this work for me... let's see where it gets libraries from: $ otool -L src/interfaces/ecpg/test/pgtypeslib/dt_test src/interfaces/ecpg/test/pgtypeslib/dt_test: /Users/munro/install/postgres2/lib/libecpg.6.dylib (compatibility version 6.0.0, current version 6.12.0) /Users/munro/install/postgres2/lib/libpgtypes.3.dylib (compatibility version 3.0.0, current version 3.12.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) Aha! It looks like it was important to run "make install" before running those tests. Let's see what happens if I remove those libraries and try again: ... test pgtypeslib/dt_test ... stdout stderr FAILED (test process was terminated by signal 6: Abort trap) ... Same result as Chris. -- Thomas Munro http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: