From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | chris(dot)travers(at)adjust(dot)com, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Strange OSX make check-world failure |
Date: | 2018-09-17 21:29:35 |
Message-ID: | CAEepm=2VD6K2-WeNgn7oeXApUZCPNSxPh9tH70oiWJzKvvBTWA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Sep 18, 2018 at 2:14 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Chris Travers <chris(dot)travers(at)adjust(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2018-09-17 21:33:52 | Re: Online verification of checksums |
Previous Message | Thomas Munro | 2018-09-17 21:14:48 | Re: [HACKERS] proposal - Default namespaces for XPath expressions (PostgreSQL 11) |