Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you provide a way to run in Alpine linux? #305

Closed
mega6453 opened this issue Oct 25, 2023 · 0 comments
Closed

Can you provide a way to run in Alpine linux? #305

mega6453 opened this issue Oct 25, 2023 · 0 comments

Comments

@mega6453
Copy link

I tried building it in alpine linux.. Getting some errors after 90% as below:

[ 10%] Building CXX object CMakeFiles/zsign.dir/archo.cpp.o
[ 20%] Building CXX object CMakeFiles/zsign.dir/bundle.cpp.o
[ 30%] Building CXX object CMakeFiles/zsign.dir/macho.cpp.o
[ 40%] Building CXX object CMakeFiles/zsign.dir/openssl.cpp.o
[ 50%] Building CXX object CMakeFiles/zsign.dir/signing.cpp.o
[ 60%] Building CXX object CMakeFiles/zsign.dir/zsign.cpp.o
[ 70%] Building CXX object CMakeFiles/zsign.dir/common/base64.cpp.o
[ 80%] Building CXX object CMakeFiles/zsign.dir/common/common.cpp.o
[ 90%] Building CXX object CMakeFiles/zsign.dir/common/json.cpp.o
In file included from /home/zsign/common/json.cpp:1:
/home/zsign/common/json.h:70:9: error: 'time_t' does not name a type
70 | time_t asDate() const;
| ^~~~~~
/home/zsign/common/json.h:31:1: note: 'time_t' is defined in header ''; did you forget to '#include '?
30 | #include
+++ |+#include
31 | using namespace std;
/home/zsign/common/json.h:74:25: error: 'time_t' has not been declared
74 | void assignDate(time_t val);
| ^~~~~~
/home/zsign/common/json.h:75:31: error: 'time_t' has not been declared
75 | void assignDateString(time_t val);
| ^~~~~~
/home/zsign/common/json.h:183:17: error: 'time_t' does not name a type
183 | time_t vDate;
| ^~~~~~
/home/zsign/common/json.h:183:17: note: 'time_t' is defined in header ''; did you forget to '#include '?
/home/zsign/common/json.h:299:27: error: 'time_t' has not been declared
299 | static string d2s(time_t t);
| ^~~~~~
/home/zsign/common/json.cpp: In member function 'bool JValue::isEmpty() const':
/home/zsign/common/json.cpp:134:38: error: 'const union JValue::HOLD' has no member named 'vDate'; did you mean 'vData'?
134 | return (0 == m_Value.vDate);
| ^~~~~
| vData
/home/zsign/common/json.cpp: In member function 'void JValue::Free()':
/home/zsign/common/json.cpp:266:25: error: 'union JValue::HOLD' has no member named 'vDate'; did you mean 'vData'?
266 | m_Value.vDate = 0;
| ^~~~~
| vData
/home/zsign/common/json.cpp: In member function 'bool JValue::asBool() const':
/home/zsign/common/json.cpp:371:33: error: 'const union JValue::HOLD' has no member named 'vDate'; did you mean 'vData'?
371 | return (m_Value.vDate > 0);
| ^~~~~
| vData
/home/zsign/common/json.cpp: At global scope:
/home/zsign/common/json.cpp:810:6: error: no declaration matches 'void JValue::assignDate(time_t)'
810 | void JValue::assignDate(time_t val)
| ^~~~~~
/home/zsign/common/json.h:74:14: note: candidate is: 'void JValue::assignDate(int)'
74 | void assignDate(time_t val);
| ^~~~~~~~~~
/home/zsign/common/json.h:35:7: note: 'class JValue' defined here
35 | class JValue
| ^~~~~~
/home/zsign/common/json.cpp:825:6: error: no declaration matches 'void JValue::assignDateString(time_t)'
825 | void JValue::assignDateString(time_t val)
| ^~~~~~
/home/zsign/common/json.h:75:14: note: candidate is: 'void JValue::assignDateString(int)'
75 | void assignDateString(time_t val);
| ^~~~~~~~~~~~~~~~
/home/zsign/common/json.h:35:7: note: 'class JValue' defined here
35 | class JValue
| ^~~~~~
/home/zsign/common/json.cpp:832:8: error: no declaration matches 'time_t JValue::asDate() const'
832 | time_t JValue::asDate() const
| ^~~~~~
/home/zsign/common/json.cpp:832:8: note: no functions named 'time_t JValue::asDate() const'
/home/zsign/common/json.h:35:7: note: 'class JValue' defined here
35 | class JValue
| ^~~~~~
/home/zsign/common/json.cpp: In static member function 'static void JWriter::FastWriteValue(const JValue&, std::string&
':
/home/zsign/common/json.cpp:1706:36: error: 'const class JValue' has no member named 'asDate'; did you mean 'asData'?
1706 | strDoc += d2s(jval.asDate());
| ^~~~~~
| asData
/home/zsign/common/json.cpp: In member function 'void JWriter::StyleWriteValue(const JValue&)':
/home/zsign/common/json.cpp:1783:36: error: 'const class JValue' has no member named 'asDate'; did you mean 'asData'?
1783 | strDoc += d2s(jval.asDate());
| ^~~~~~
| asData
/home/zsign/common/json.cpp: At global scope:
/home/zsign/common/json.cpp:1904:8: error: no declaration matches 'std::string JWriter::d2s(time_t)'
1904 | string JWriter::d2s(time_t t)
| ^~~~~~~
/home/zsign/common/json.h:299:23: note: candidate is: 'static std::string JWriter::d2s(int)'
299 | static string d2s(time_t t);
| ^~~
/home/zsign/common/json.h:278:7: note: 'class JWriter' defined here
278 | class JWriter
| ^~~~~~~
/home/zsign/common/json.cpp: In static member function 'static void PWriter::FastWriteValue(const JValue&, std::string&, std::string&)':
/home/zsign/common/json.cpp:2958:45: error: 'const class JValue' has no member named 'asDate'; did you mean 'asData'?
2958 | strdoc += JWriter::d2s(pval.asDate());
| ^~~~~~
| asData
make[2]: *** [CMakeFiles/zsign.dir/build.make:188: CMakeFiles/zsign.dir/common/json.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/zsign.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

@mega6453 mega6453 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant