-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Update libmaus2 to v2.0.183 #52154
Update libmaus2 to v2.0.183 #52154
Changes from 10 commits
2fbd5e0
7187fb0
d8f3d46
98c789a
8edf93d
1deb425
1d0b928
8c2052c
7f9c3c4
219165f
dca0f25
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,10 +1,14 @@ | ||||||||||||||||||||||||
#!/bin/bash | ||||||||||||||||||||||||
set -eu | ||||||||||||||||||||||||
export LIBS="-lstdc++fs -lcurl" | ||||||||||||||||||||||||
export LIBS="-lstdc++fs -lcurl -lz -ldeflate" | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
./configure --prefix $PREFIX --with-snappy --with-io_lib | ||||||||||||||||||||||||
autoreconf -if | ||||||||||||||||||||||||
./configure --prefix="${PREFIX}" CXX="${CXX}" CC="${CC}" \ | ||||||||||||||||||||||||
LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" \ | ||||||||||||||||||||||||
CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \ | ||||||||||||||||||||||||
--with-snappy --with-io_lib --with-libdeflate \ | ||||||||||||||||||||||||
--with-libsecrecy --with-nettle \ | ||||||||||||||||||||||||
--with-lzma --with-gmp | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
cat config.log | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
make -j${CPU_COUNT} | ||||||||||||||||||||||||
make -j"${CPU_COUNT}" | ||||||||||||||||||||||||
make install | ||||||||||||||||||||||||
Comment on lines
+13
to
14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Add error handling for make commands Consider adding error handling and logging for make commands: -make -j"${CPU_COUNT}"
-make install
+if ! make -j"${CPU_COUNT}"; then
+ echo "Build failed. Last 50 lines of config.log:"
+ tail -n 50 config.log
+ exit 1
+fi
+if ! make install; then
+ echo "Installation failed"
+ exit 1
+fi 📝 Committable suggestion
Suggested change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Dependencies mismatch found in configure options and meta.yaml
libsecrecy
is specified in configure options but missing from meta.yaml requirementslzma
is specified in configure options but not explicitly listed in meta.yamlio_lib
in configure refers tostaden_io_lib
in meta.yamlRecommendations:
--with-libsecrecy
from configure options as it's not a dependency--with-lzma
from configure or add it to meta.yaml if required--with-io_lib
to--with-staden_io_lib
for consistency🔗 Analysis chain
Verify configure options against package requirements
The configure options look correct, but let's verify that all required dependencies are properly specified in meta.yaml.
Let me check the actual content of meta.yaml to better understand the dependencies and their naming conventions.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 1090
Script:
Length of output: 1765