(address . bug-guix@gnu.org)
In recent master, GNU Octave fails to build on my x86_64 system.
Here's the tail of the log.
Mark
Toggle snippet (20 lines)
libtool: link: g++ -fPIC -DPIC -shared -nostdlib /gnu/store/hf5kklv837xbfcv6gc7gpsj36l69j3sj-glibc-2.19/lib/crti.o /gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbeginS.o -Wl,--whole-archive array/.libs/libarray.a cruft/.libs/libcruft.a cruft/ranlib/.libs/libranlib.a numeric/.libs/libnumeric.a operators/.libs/liboperators.a system/.libs/libsystem.a util/.libs/libutil.a ../libgnu/.libs/libgnu.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/gnu/store/w5csmfiqjvk94lhiv5qr9gmpn6157l2q-curl-7.35.0/lib -Wl,-rpath -Wl,/gnu/store/vm5ihgqdzf0dxcpc76gfwzsd5zxm1bgz-pcre-8.32/lib -Wl,-rpath -Wl,/gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib -Wl,-rpath -Wl,/gnu/store/w5csmfiqjvk94lhiv5qr9gmpn6157l2q-curl-7.35.0/lib -Wl,-rpath -Wl,/gnu/store/vm5ihgqdzf0dxcpc76gfwzsd5zxm1bgz-pcre-8.32/lib -Wl,-rpath -Wl,/gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib /gnu/store/w5csmfiqjvk94lhiv5qr9gmpn6157l2q-curl-7.35.0/lib/libcurl.so -llapack -lblas -lreadline -lncurses -L/gnu/store/vm5ihgqdzf0dxcpc76gfwzsd5zxm1bgz-pcre-8.32/lib /gnu/store/vm5ihgqdzf0dxcpc76gfwzsd5zxm1bgz-pcre-8.32/lib/libpcre.so -ldl -L/gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib -L/gnu/store/24zqczrfsvz4y70byvlbiqsc7f8y2f17-perl-5.16.1/lib -L/gnu/store/mrgh23r6a5mdfvp2fspv7c1g0r46igfg-ghostscript-9.06.0/lib -L/gnu/store/k42ljxy7g8av6jv99bjdh4wcv1ddqpg8-lapack-3.5.0/lib -L/gnu/store/hyw9k8jvr9xcggiw72fc6lsq8a9yxcl8-readline-6.3/lib -L/gnu/store/zysrgzapv5vzjqrbcz2y3ksi9w651876-ncurses-5.9/lib -L/gnu/store/wqnqhp01lpvdhx4a8l1kgcb8bsnz121r-glpk-4.54/lib -L/gnu/store/w5csmfiqjvk94lhiv5qr9gmpn6157l2q-curl-7.35.0/lib -L/gnu/store/lr1ki5pkxnw25rnd0z17hjl2l2ngysfb-fltk-1.3.2/lib -L/gnu/store/v5wr09jhn17ami1k844r6y6n3sy6y0kr-fontconfig-2.10.93/lib -L/gnu/store/nw5y8klybqh3wn0xc66b1dfjafs5hybv-freetype-2.4.11/lib -L/gnu/store/fjgps76im3kra76qkkyk7abkf15ijrwm-hdf5-1.8.12-lib/lib -L/gnu/store/jxyc3cccbkblisknipyafnhycna77mi6-libxft-2.3.1/lib -L/gnu/store/9d7kl81a32psj0kp5r0pa33i0r4904j6-libxrender-0.9.7/lib -L/gnu/store/0wpcnb6afgssr6dxls04qr3bw049yy24-renderproto-0.11.1/lib -L/gnu/store/0x7fb6bwy2krz4mp0bkbbjpmhbs86y12-mesa-8.0.5/lib -L/gnu/store/h261a1i9afcvk06rrrsgxr908yhxrzzy-libxxf86vm-1.1.2/lib -L/gnu/store/n2f4hyqxrqgl3xzg7pzqllaxgl2vha7p-libxdamage-1.1.3/lib -L/gnu/store/3ys5k1i9ylzfl7vqkbygzc5w4p6hhlaq-libx11-1.5.0/lib -L/gnu/store/s426x6j1206s8fa6bvziqncpbslq7rfi-libdrm-2.4.33/lib -L/gnu/store/42gl7v2zymq1k2digq4ps3v8hfjgniig-glproto-1.4.15/lib -L/gnu/store/qszq7kppz86wnk9gbsk76nmh4rlnx13f-libxcb-1.8.1/lib -L/gnu/store/0pmpr03aqpa3isv5h46yhfghjlm39bl7-kbproto-1.0.6/lib -L/gnu/store/ilk79p1n43wh1f6216i5ml2f3c8pdbhq-libxdmcp-1.1.1/lib -L/gnu/store/drfa0rj88xkl3a5mdsg0shvs7l1iw1w0-libxau-1.0.7/lib -L/gnu/store/5d91m00mn4wv95x9liz1fb2w98zx99b3-libpthread-stubs-0.3/lib -L/gnu/store/8vc1przq2pgya04q5a8phqlnd11vxdsa-xproto-7.0.23/lib -L/gnu/store/kzn30f7sg54hlz3blaimc1962fhpm7fs-util-macros-1.17/lib -L/gnu/store/5fp4day13nixpw1qaksdw89h3pr8drss-damageproto-1.2.1/lib -L/gnu/store/k8r39q9as7lcfx1dhy33n3mkgsgdcprp-xf86vidmodeproto-2.3.1/lib -L/gnu/store/ywklhh8g1adi4v43dij99yda4d5wffdf-libxext-1.3.1/lib -L/gnu/store/9vzbp3qjz81sgnvg74j8cpzc6n0lmq03-xextproto-7.2.1/lib -L/gnu/store/8f15savrvf13z1z9hi5cb5l6akdx4gzr-zlib-1.2.7/lib -L/gnu/store/vkgwsi1vi2k91y22clf42z2qxydyxfbb-bzip2-1.0.6/lib -L/gnu/store/394ijzg3g53i77q9400j22w1wamcjkxs-xz-5.0.4/lib -L/gnu/store/sw5gnvc1q14pyiw5d7xc47xcy942gsf5-gawk-4.1.0/lib -L/gnu/store/plw2fk911b33n75ylmrqkfwkhwg75ydv-binutils-2.24/lib -L/gnu/store/6z7k9ms4sf367c3phl7djhb740ly3dqi-gcc-4.8.2/lib -L/gnu/store/hf5kklv837xbfcv6gc7gpsj36l69j3sj-glibc-2.19/lib -L/gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib/gcc/x86_64-unknown-linux-gnu/4.8.2 -L/gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../.. /gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib/libgfortran.so /gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib/libquadmath.so /gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib/libstdc++.so -lm -lpthread -lc -lgcc_s /gnu/store/p0sjqi40vd47z57g0i7mvhx9hrng9c2g-gfortran-4.8.2/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtendS.o /gnu/store/hf5kklv837xbfcv6gc7gpsj36l69j3sj-glibc-2.19/lib/crtn.o -O2 -pthread -pthread -Wl,-soname -Wl,liboctave.so.2 -o .libs/liboctave.so.2.0.0
ld: /gnu/store/k42ljxy7g8av6jv99bjdh4wcv1ddqpg8-lapack-3.5.0/lib/liblapack.a(sgbtrf.f.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/gnu/store/k42ljxy7g8av6jv99bjdh4wcv1ddqpg8-lapack-3.5.0/lib/liblapack.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:3616: recipe for target 'liboctave.la' failed
make[4]: *** [liboctave.la] Error 1
make[4]: Leaving directory '/tmp/nix-build-octave-3.8.0.drv-0/octave-3.8.0/liboctave'
Makefile:8975: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/nix-build-octave-3.8.0.drv-0/octave-3.8.0/liboctave'
Makefile:3398: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/nix-build-octave-3.8.0.drv-0/octave-3.8.0/liboctave'
Makefile:2103: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/nix-build-octave-3.8.0.drv-0/octave-3.8.0'
Makefile:1968: recipe for target 'all' failed
make: *** [all] Error 2
phase `build' failed after 870 seconds