tilix icon indicating copy to clipboard operation
tilix copied to clipboard

Flatpak install: won't build ldc-0.17

Open mickstephenson opened this issue 6 years ago • 3 comments

-- Build files have been written to: /run/build/ldc-0.17 [4/865] Building CXX object CMakeFiles/not.dir/utils/not.cpp.o FAILED: CMakeFiles/not.dir/utils/not.cpp.o /usr/bin/c++ -DDMDV2 -DHAVE_SC_ARG_MAX -DIN_LLVM -DLDC_INSTALL_PREFIX="/app/ldc-0.17" -DLDC_LLVM_VER=600 -DLLVM_INTRINSIC_TD_PATH="/usr/include" -DOPAQUE_VTBLS -D__LITTLE_ENDIAN__ -I. -Idmd2 -Idmd2/root -I. -isystem /app/include -march=x86-64 -mtune=generic -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include -march=x86-64 -mtune=generic -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-pedantic -DLDC_POSIX -MD -MT CMakeFiles/not.dir/utils/not.cpp.o -MF CMakeFiles/not.dir/utils/not.cpp.o.d -o CMakeFiles/not.dir/utils/not.cpp.o -c utils/not.cpp utils/not.cpp: In function ‘int main(int, const char**)’: utils/not.cpp:51:61: error: could not convert ‘nullptr’ from ‘std::nullptr_t’ to ‘llvm::ArrayRef<llvm::Optionalllvm::StringRef >’ int Result = sys::ExecuteAndWait(Program, argv, nullptr, nullptr, 0, 0, ^~~~~~~ [5/865] Building CXX object CMakeFiles/ldmd2.dir/driver/ldmd.cpp.o FAILED: CMakeFiles/ldmd2.dir/driver/ldmd.cpp.o /usr/bin/c++ -DDMDV2 -DHAVE_SC_ARG_MAX -DIN_LLVM -DLDC_EXE_NAME="ldc2" -DLDC_INSTALL_PREFIX="/app/ldc-0.17" -DLDC_LLVM_VER=600 -DLLVM_INTRINSIC_TD_PATH="/usr/include" -DOPAQUE_VTBLS -D__LITTLE_ENDIAN__ -I. -Idmd2 -Idmd2/root -I. -isystem /app/include -march=x86-64 -mtune=generic -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include -march=x86-64 -mtune=generic -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-pedantic -DLDC_POSIX -MD -MT CMakeFiles/ldmd2.dir/driver/ldmd.cpp.o -MF CMakeFiles/ldmd2.dir/driver/ldmd.cpp.o.d -o CMakeFiles/ldmd2.dir/driver/ldmd.cpp.o -c driver/ldmd.cpp driver/ldmd.cpp: In function ‘int execute(const string&, const char*)’: driver/ldmd.cpp:133:55: error: could not convert ‘nullptr’ from ‘std::nullptr_t’ to ‘llvm::ArrayRef<llvm::Optionalllvm::StringRef >’ int rc = ls::ExecuteAndWait(exePath, args, nullptr, nullptr, 0, 0, &errorMsg); ^~~~~~~ [9/865] Building CXX object CMakeFiles/gen_gccbuiltins.dir/utils/gen_gccbuiltins.cpp.o ninja: build stopped: subcommand failed. Error: module ldc-0.17: Child process exited with code 1

mickstephenson avatar Jan 05 '19 00:01 mickstephenson

Still no change or update? I swear Flatpak never works

thebitstick avatar Mar 21 '19 12:03 thebitstick

@thebitstick the Flatpak package of Tilix is just an experimental thing. No one never said it's really works :)

bilelmoussaoui avatar Mar 21 '19 13:03 bilelmoussaoui

See this: https://github.com/gnunn1/tilix/issues/2169#issuecomment-2569996426

edgan avatar Jan 04 '25 01:01 edgan