https://pantsbuild.org/ logo
r

red-balloon-89377

03/26/2019, 2:08 PM
hi! I’m trying to run pants to test some things, and I’m getting this error:
Copy code
creating build/temp.macosx-10.9-x86_64-3.7/build
creating build/temp.macosx-10.9-x86_64-3.7/build/temp.macosx-10.9-x86_64-3.7
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c build/temp.macosx-10.9-x86_64-3.7/_openssl.c -o build/temp.macosx-10.9-x86_64-3.7/build/temp.macosx-10.9-x86_64-3.7/_openssl.o -Wconversion -Wno-error=sign-conversion

stderr:
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
build/temp.macosx-10.9-x86_64-3.7/_openssl.c:488:10: fatal error: 'openssl/opensslv.h' file not found
#include <openssl/opensslv.h>
         ^~~~~~~~~~~~~~~~~~~~
Has anyone seen it before?
h

hundreds-father-404

03/26/2019, 2:09 PM
Huh. You’ve already brew installed openssl and modified your Path in .bashrc to point to it, right?
r

red-balloon-89377

03/26/2019, 2:10 PM
I have done the first part, let me check for the second (there is some hidden bashrc magic, which may be the culprit and I can probably override)
Does just adding it to my path work?
Copy code
$ which openssl
/usr/bin/openssl
$ openssl version
LibreSSL 2.6.5
$ echo $PATH | tr ':' '\n' | grep usr/bin
/usr/bin
This doesn’t happen with
./pants2
, if it helps
h

hundreds-father-404

03/26/2019, 2:18 PM
r

red-balloon-89377

03/26/2019, 2:21 PM
Perfect, thank you 🙂
a

aloof-angle-91616

03/26/2019, 4:58 PM
@hundreds-father-404 i think errors on first use are really important fixes to make, thanks for that one
❤️ 1
h

hundreds-father-404

03/26/2019, 5:05 PM
Do you know how we publish docs? I couldn’t find it on the site and not sure if I just didn’t look in right place (am afk) or if it’s not published yet
a

aloof-angle-91616

03/26/2019, 10:31 PM
./build-support/bin/publish_docs.sh
you make a fix then someone runs the script to push to our github pages repo
are you planning to fix the newline literals on the site because i was gonna last night then i passed out
h

hundreds-father-404

03/26/2019, 10:36 PM
I haven’t had time to look into it yet. Have to hash out two projects today if you have a minute
a

aloof-angle-91616

03/26/2019, 10:38 PM
i have several minutes but i have a very stressful thing at 5 so perhaps later
👍 1
w

wide-energy-11069

04/15/2019, 4:23 AM
just ran into this. can confirm the PR works
👌 1
5 Views