[sage-devel] Missing package?
I have just tried to build sage and got the following error message [sagelib-9.2.rc0] pkgconfig.pkgconfig.PackageNotFoundError: fflas-ffpack not found I recently upgraded to Pop!_OS 20.10 Could someone please tell me how to fix this? Thanks, Bruce -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/39947bb0-0e4f-48ca-9f08-e29bfd7f93f9n%40googlegroups.com.
Re: [sage-devel] Missing package?
I have tried to switch to 9,3.beta0 (yes, my OS is essentially Ubuntu 20.10) This failed and I don't know what went wrong. The end of the log file is: [sagelib-9.3.beta0] gcc -pthread -shared -Wl,-rpath-link,/home/bruce/sage-8.9.beta1/local/lib -L/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath,/home/bruce/sage-8.9.beta1/local/lib -L. -Wl,-rpath-link,/home/bruce/sage-8.9.beta1/local/lib -L/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath,/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath-link,/home/bruce/sage-8.9.beta1/local/lib -L/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath,/home/bruce/sage-8.9.beta1/local/lib build/temp.linux-x86_64-3.8/build/cythonized/sage/ext/interpreters/wrapper_el.o -L/home/bruce/sage-8.9.beta1/local/lib -o build/lib.linux-x86_64-3.8/sage/ext/interpreters/wrapper_el.cpython-38-x86_64-linux-gnu.so -lpari [sagelib-9.3.beta0] error: command 'gcc' failed with exit status 1 [sagelib-9.3.beta0] [sagelib-9.3.beta0] real42m3.944s [sagelib-9.3.beta0] user40m56.660s [sagelib-9.3.beta0] sys0m56.600s make[4]: *** [Makefile:2163: sagelib-no-deps] Error 1 make[3]: *** [Makefile:2163: /home/bruce/sage-8.9.beta1/local/var/lib/sage/installed/sagelib-9.3.beta0] Error 2 make[2]: *** [Makefile:1766: all-start] Error 2 make[2]: Leaving directory '/home/bruce/sage-8.9.beta1/build/make' real142m18.202s user161m41.339s sys9m2.716s *** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): It is safe to delete any log files and build directories, but they contain information that is helpful for debugging build problems. WARNING: If you now run 'make' again, the build directory of the same version of the package will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. On Tuesday, 3 November 2020 at 12:51:24 UTC dim...@gmail.com wrote: > On Tue, Nov 3, 2020 at 10:38 AM brucew...@gmail.com > wrote: > > > > I have just tried to build sage and got the following error message > > > > [sagelib-9.2.rc0] pkgconfig.pkgconfig.PackageNotFoundError: fflas-ffpack > not found > > 9.2 is now released - why are you still on rc0? > > Most probably this error means that fflas_ffpack was not > successfully installed. > (you can check logs/pkgs/fflas_ffpack-2.4.3.log for errors) > It could also be the case that a buildsystem update broke something, > and you need > to "make distclean" > > In any case, it seems that you have a system similar to Ubuntu version > 20.10 (released 2020-10-22) - and > probably only very little, if at all, testing, was done for it in 9.2 > (released 2020-10-26). > > You'd be better switch to 9.3.beta0 > > Please also post the top-level config.log, and look at the final part > of output of ./configure to see which > system packages you can install. > > > > > > > I recently upgraded to Pop!_OS 20.10 > > > > Could someone please tell me how to fix this? > > > > Thanks, > > Bruce > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/39947bb0-0e4f-48ca-9f08-e29bfd7f93f9n%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/ea466d27-c6ef-415e-b9d8-9d2631703325n%40googlegroups.com.
Re: [sage-devel] Missing package?
"make giac" failed. I don't know why. On Wednesday, 4 November 2020 at 19:07:27 UTC Michael Orlitzky wrote: > On 11/4/20 9:49 AM, brucew...@gmail.com wrote: > > I have tried to switch to 9,3.beta0 (yes, my OS is essentially Ubuntu > 20.10) > > This failed and I don't know what went wrong. The end of the log file is: > > You have to do "make giac" there when it crashes. There's a ticket open > to fix this with a positive review already. After giac installs, another > "make" should finish the sage installation. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/11bbd5df-89f9-41fa-8097-03258535ccfdn%40googlegroups.com. Found local metadata for giac-1.5.0.87p2.p1 Using cached file /home/bruce/sage-8.9.beta1/upstream/giac-1.5.0.87p2.tar.bz2 giac-1.5.0.87p2.p1 Setting up build directory for giac-1.5.0.87p2.p1 Finished extraction Applying patches from ../patches... Applying ../patches/cygwin-icas.patch patching file src/icas.cc Hunk #1 succeeded at 164 (offset 4 lines). Hunk #2 succeeded at 172 (offset 4 lines). Applying ../patches/dirent.patch patching file src/help.cc Hunk #1 succeeded at 55 (offset 3 lines). Hunk #2 succeeded at 958 (offset 5 lines). Hunk #3 succeeded at 1022 (offset 5 lines). Applying ../patches/isnan-conflict.patch patching file src/global.cc Hunk #1 succeeded at 4198 (offset 59 lines). Hunk #2 succeeded at 4207 (offset 59 lines). Applying ../patches/macos-ifactor.patch patching file src/ifactor.cc Hunk #1 succeeded at 4010 (offset 3 lines). Applying ../patches/nofltk-check.patch patching file check/testgeo patching file check/TP00-sol.cas patching file check/TP00-sol.cas.out1 patching file check/TP02-sol.cas patching file check/TP09-sol.cas patching file check/TP19-sol.cas Applying ../patches/pari_2_11.patch patching file check/TP11-sol.cas.out1 Host system: Linux pop-os 5.8.0-7625-generic #26~1603126178~20.10~210fe73-Ubuntu SMP Tue Oct 20 01:12:15 UTC x86_64 x86_64 x86_64 GNU/Linux C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 10.2.0-13ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-10 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-10-JvwpWM/gcc-10-10.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-JvwpWM/gcc-10-10.2.0/debian/tmp-gcn/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.2.0 (Ubuntu 10.2.0-13ubuntu1) Package 'giac' is currently not installed No legacy uninstaller found for 'giac'; nothing to do Configuring giac... Configuring giac-1.5.0.87p2.p1 configure: WARNING: you should use --build, --host, --target configure: WARNING: unrecognized options: --disable-maintainer-mode checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc op
Re: [sage-devel] Missing package?
I removed libnauty (which was actually libnauty2) did "make libnauty" then "make giac" and finally "make build". It seems to have worked. That you all for your help and patience. On Wednesday, 4 November 2020 at 23:07:09 UTC dim...@gmail.com wrote: > On Wed, Nov 4, 2020 at 10:00 PM Dima Pasechnik wrote: > > > > On Wed, Nov 4, 2020 at 9:46 PM Matthias Koeppe > wrote: > > > > > > On Wednesday, November 4, 2020 at 11:29:17 AM UTC-8, > brucew...@gmail.com wrote: > > >> > > >> "make giac" failed. I don't know why. > > >>> > > >>> > > > > > > From the log: > > > > > > /usr/bin/bash ../libtool --tag=CXX --mode=link g++ -std=gnu++11 -g -O2 > -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -no-undefined > -Wl,-rpath-link,/home/bruce/sage-8.9.beta1/local/lib > -L/home/bruce/sage-8.9.beta1/local/lib > -Wl,-rpath,/home/bruce/sage-8.9.beta1/local/lib -o icas icas.o libxcas.la > -lreadline -lncurses -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp > -L/home/bruce/sage-8.9.beta1/local/lib -lgsl -lm -lopenblas -lm > -L/home/bruce/sage-8.9.beta1/local/lib -lopenblas -lrt -lpthread -lnauty > -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp > > > libtool: link: g++ -std=gnu++11 -g -O2 -fno-strict-aliasing > -DGIAC_GENERIC_CONSTANTS -Wl,-rpath-link > -Wl,/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath > -Wl,/home/bruce/sage-8.9.beta1/local/lib -o .libs/icas icas.o > -L/home/bruce/sage-8.9.beta1/local/lib ./.libs/libxcas.a > /home/bruce/sage-8.9.beta1/local/var/tmp/sage/build/giac-1.5.0.87p2.p1/src/src/.libs/libgiac.so > > -lntl -lpari -lreadline -lncurses -lgsl -lopenblas -lrt -lpthread -lnauty > /usr/lib/x86_64-linux-gnu/libcurl.so -lglpk -ldl -lm -lecm -lmpfi -lmpfr > -lgmp -pthread -Wl,-rpath -Wl,/home/bruce/sage-8.9.beta1/local/lib > > > /usr/bin/ld: > /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: > undefined reference to `graph_free@CLIQUER_1' > > > /usr/bin/ld: > /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: > undefined reference to `clique_unweighted_find_single@CLIQUER_1' > > > /usr/bin/ld: > /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: > undefined reference to `graph_new@CLIQUER_1' > > > collect2: error: ld returned 1 exit status > > > > > > > > > Looks like the system libnauty is broken. What system is this? Try > removing the libnauty system package > > > > it is "mostly" Ubuntu 20.10, so > > > https://ubuntu.pkgs.org/20.10/ubuntu-universe-arm64/libnauty2_2.7r1+ds-1_arm64.deb.html > > - with an interesting dependency, libcliquer > > Note that in Sage's configuration there is no such dependency, and > > this might be the problem here, I guess > > yes, that's how it looks like from the config.log posted here. I > suspect that it is a bug in giac, and > one has to link with libcliquer here too (is libnauty underlinked?) > > > > > > > > > > > -- > > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com. > > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/2479bef3-22ef-48ec-a96b-7abdbdb53b37o%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/de12cfc8-9212-41d2-bcaf-3e152c830b61n%40googlegroups.com.
Re: [sage-devel] Missing package?
This is off-topic but I don't know the right place to ask this question about using git. I now have a detached HEAD at 9.3.beta0 I tried "git checkout master" and got some hints and then fatal: 'master' matched multiple (2) remote tracking branches How do I get my develop branch back? On Wednesday, 4 November 2020 at 23:10:23 UTC brucew...@gmail.com wrote: > I removed libnauty (which was actually libnauty2) did "make libnauty" then > "make giac" and finally "make build". > It seems to have worked. That you all for your help and patience. > > On Wednesday, 4 November 2020 at 23:07:09 UTC dim...@gmail.com wrote: > >> On Wed, Nov 4, 2020 at 10:00 PM Dima Pasechnik wrote: >> > >> > On Wed, Nov 4, 2020 at 9:46 PM Matthias Koeppe >> wrote: >> > > >> > > On Wednesday, November 4, 2020 at 11:29:17 AM UTC-8, >> brucew...@gmail.com wrote: >> > >> >> > >> "make giac" failed. I don't know why. >> > >>> >> > >>> >> > > >> > > From the log: >> > > >> > > /usr/bin/bash ../libtool --tag=CXX --mode=link g++ -std=gnu++11 -g >> -O2 -fno-strict-aliasing -DGIAC_GENERIC_CONSTANTS -no-undefined >> -Wl,-rpath-link,/home/bruce/sage-8.9.beta1/local/lib >> -L/home/bruce/sage-8.9.beta1/local/lib >> -Wl,-rpath,/home/bruce/sage-8.9.beta1/local/lib -o icas icas.o libxcas.la >> -lreadline -lncurses -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp >> -L/home/bruce/sage-8.9.beta1/local/lib -lgsl -lm -lopenblas -lm >> -L/home/bruce/sage-8.9.beta1/local/lib -lopenblas -lrt -lpthread -lnauty >> -lcurl -lglpk -ldl -lm -lecm -lmpfi -lmpfr -lgmp >> > > libtool: link: g++ -std=gnu++11 -g -O2 -fno-strict-aliasing >> -DGIAC_GENERIC_CONSTANTS -Wl,-rpath-link >> -Wl,/home/bruce/sage-8.9.beta1/local/lib -Wl,-rpath >> -Wl,/home/bruce/sage-8.9.beta1/local/lib -o .libs/icas icas.o >> -L/home/bruce/sage-8.9.beta1/local/lib ./.libs/libxcas.a >> /home/bruce/sage-8.9.beta1/local/var/tmp/sage/build/giac-1.5.0.87p2.p1/src/src/.libs/libgiac.so >> >> -lntl -lpari -lreadline -lncurses -lgsl -lopenblas -lrt -lpthread -lnauty >> /usr/lib/x86_64-linux-gnu/libcurl.so -lglpk -ldl -lm -lecm -lmpfi -lmpfr >> -lgmp -pthread -Wl,-rpath -Wl,/home/bruce/sage-8.9.beta1/local/lib >> > > /usr/bin/ld: >> /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: >> undefined reference to `graph_free@CLIQUER_1' >> > > /usr/bin/ld: >> /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: >> undefined reference to `clique_unweighted_find_single@CLIQUER_1' >> > > /usr/bin/ld: >> /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libnauty.so: >> undefined reference to `graph_new@CLIQUER_1' >> > > collect2: error: ld returned 1 exit status >> > > >> > > >> > > Looks like the system libnauty is broken. What system is this? Try >> removing the libnauty system package >> > >> > it is "mostly" Ubuntu 20.10, so >> > >> https://ubuntu.pkgs.org/20.10/ubuntu-universe-arm64/libnauty2_2.7r1+ds-1_arm64.deb.html >> > - with an interesting dependency, libcliquer >> > Note that in Sage's configuration there is no such dependency, and >> > this might be the problem here, I guess >> >> yes, that's how it looks like from the config.log posted here. I >> suspect that it is a bug in giac, and >> one has to link with libcliquer here too (is libnauty underlinked?) >> >> > >> > >> > > >> > > -- >> > > You received this message because you are subscribed to the Google >> Groups "sage-devel" group. >> > > To unsubscribe from this group and stop receiving emails from it, >> send an email to sage-devel+...@googlegroups.com. >> > > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/2479bef3-22ef-48ec-a96b-7abdbdb53b37o%40googlegroups.com >> . >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/46c65437-1729-48b3-9b4b-5305e7bfd20en%40googlegroups.com.