| Newsgroups |
gmane.linux.lfs.automated |
| Message-ID |
<[email protected]> |
Hi Pierre, list,
I'm back trying to continue what is now a slightly old BLFS build to
check for issues and space requirements when building gnome (I
started out with space constraints where I'm backing up my images).
I've managed to sort most of the issues (including copying the
initial image to a bigger one after it filled up '/' in qt5 - hadn't
realised qt5 was pulled in for gnome).
However, librsvg is beating me. The current set of scripts are to
build all of gnome on a system which started with openssh, xorg,
fluxbox. Unsurprisingly, librsvg was early in the build and
apparently sailed through. Last night I got to eog which complained
that its runtime dependency of librsvg-2 could not be found by
pkgconfig. When I looked at the log from librsvg I was surprised to
see that it had failed to find cargo but apparently did not stop the
build even though the log ended with 'Error 2'.
Now that I know that rebuilding an early package will rebuild
whatever follows, I copied the script to just before eog and fixed
up the Makefile to invoke it. Checking as my jhalfs user, cargo is
on the PATH. So I added a couple of echos at the start of the
librsvg script to show the PATH and `type -pa cargo` (I think that
which has been installed, but I prefer the simple approach).
Similar result, althogh cargo was definitely present at the start of
the script. Again, the build continues and fails when eog cannot
find librsvg. And yes, this is still rustc-1.52.0 because it's the
old version of the book. Looking at the log, cargo was found during
the build, I can see it blocked waiting on the package cache and
then compiled various crates, but apparently the install failed to
find cargo. Log follows:
PATH is /opt/rustc/bin:/usr/local/bin:/usr/bin:/opt/qt5/bin
cargo is at /opt/rustc/bin/cargo
librsvg-2.52.0.tar.xz: OK
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 whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether ln -s works... 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 option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking for library containing strerror... none required
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for cos in -lm... yes
checking for dlopen... yes
checking for cargo... cargo
checking for rustc... rustc
checking platform... POSIX
checking for cairo >= 1.16.0 cairo-png >= 1.16.0 cairo-gobject >= 1.16.0 freetype2 >= 20.0.14 gdk-pixbuf-2.0 >= 2.20 gio-2.0 >= 2.24.0 glib-2.0 >= 2.50.0 harfbuzz >= 2.0.0 libxml-2.0 >= 2.9.0 pangocairo >= 1.44.0 pangoft2 >= 1.44.0 ... yes
checking for gthread-2.0 >= 2.50.0... yes
checking for gmodule-2.0... yes
checking for gio-2.0 "gio-unix-2.0" gdk-pixbuf-2.0 cairo pangocairo... yes
checking whether to build the GDK-Pixbuf SVG loader... yes
checking for gdk-pixbuf-2.0 >= 2.20... yes
checking for gdk-pixbuf-query-loaders... /usr/bin/gdk-pixbuf-query-loaders
checking if gcc supports "-Wl,-Bsymbolic-functions" flag... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... yes
checking whether to build Rust code with debugging information... no
checking for gobject-introspection... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for vala... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/librsvg/rsvg-version.h
config.status: creating Makefile
config.status: creating librsvg-zip
config.status: creating gdk-pixbuf-loader/Makefile
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version.xml
config.status: creating win32/Makefile
config.status: creating win32/config.h.win32
config.status: creating win32/config-msvc.mak
config.status: creating librsvg-2.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
librsvg-2.52.0
prefix: /usr
C compiler: gcc
rustc: rustc 1.52.0
Cairo version: 1.17.4
Pango version: 1.48.10
Freetype version: 24.0.18
Harfbuzz version: 3.0.0
Debugging information for Rust: no
Build introspectable bindings: yes
Build Vala bindings: yes
Build GdkPixbuf loader: yes
Build HTML documentation: no
make all-recursive
make[1]: Entering directory '/sources/librsvg/librsvg-2.52.0'
Making all in .
make[2]: Entering directory '/sources/librsvg/librsvg-2.52.0'
cd . && \
PKG_CONFIG_ALLOW_CROSS=1 \
PKG_CONFIG='/usr/bin/pkg-config' \
CARGO_TARGET_DIR=/sources/librsvg/librsvg-2.52.0/target \
cargo --locked build --release --bin rsvg-convert
CC _rsvg_dummy.lo
cd . && \
PKG_CONFIG_ALLOW_CROSS=1 \
PKG_CONFIG='/usr/bin/pkg-config' \
CARGO_TARGET_DIR=/sources/librsvg/librsvg-2.52.0/target \
cargo --locked build --release --lib \
&& cd /sources/librsvg/librsvg-2.52.0 && /bin/sh ./libtool --silent --tag=CC --mode=link gcc -g -O2 -o librsvg_c_api.la _rsvg_dummy.lo && mv /sources/librsvg/librsvg-2.52.0/target/release/liblibrsvg.a .libs/librsvg_c_api.a
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on build directory
Compiling proc-macro2 v1.0.29
Compiling unicode-xid v0.2.2
Compiling syn v1.0.76
Compiling libc v0.2.102
Compiling serde v1.0.130
Compiling autocfg v1.0.1
Compiling anyhow v1.0.44
Compiling unicode-segmentation v1.8.0
Compiling smallvec v1.6.1
Compiling either v1.6.1
Compiling strum v0.21.0
Compiling version-compare v0.0.11
Compiling pkg-config v0.3.19
Compiling getrandom v0.1.16
Compiling cfg-if v1.0.0
Compiling ppv-lite86 v0.2.10
Compiling siphasher v0.3.7
Compiling version_check v0.9.3
Compiling memchr v2.4.1
Compiling futures-core v0.3.17
Compiling futures-task v0.3.17
Compiling lazy_static v1.4.0
Compiling pin-project-lite v0.2.7
Compiling proc-macro-hack v0.5.19
Compiling futures-channel v0.3.17
Compiling pin-utils v0.1.0
Compiling slab v0.4.4
Compiling bitflags v1.3.2
Compiling crossbeam-utils v0.8.5
Compiling matches v0.1.9
Compiling encoding_index_tests v0.1.4
Compiling semver v1.0.4
Compiling once_cell v1.8.0
Compiling log v0.4.14
Compiling new_debug_unreachable v1.0.4
Compiling crossbeam-epoch v0.9.5
Compiling rayon-core v1.9.1
Compiling precomputed-hash v0.1.1
Compiling scopeguard v1.1.0
Compiling mac v0.1.1
Compiling tinyvec_macros v0.1.0
Compiling regex-syntax v0.6.25
Compiling gio v0.14.6
Compiling utf-8 v0.7.6
Compiling typenum v1.14.0
Compiling dtoa v0.4.8
Compiling percent-encoding v2.1.0
Compiling unicode-bidi v0.3.6
Compiling rawpointer v0.2.1
Compiling byteorder v1.4.3
Compiling itoa v0.4.8
Compiling futures-io v0.3.17
Compiling nodrop v0.1.14
Compiling convert_case v0.4.0
Compiling stable_deref_trait v1.2.0
Compiling paste v1.0.5
Compiling unicode-width v0.1.8
Compiling bytemuck v1.7.2
Compiling strsim v0.8.0
Compiling vec_map v0.8.2
Compiling ansi_term v0.11.0
Compiling thin-slice v0.1.1
Compiling rctree v0.3.3
Compiling language-tags v0.3.2
Compiling itertools v0.10.1
Compiling heck v0.3.3
Compiling cfg-expr v0.8.1
Compiling num-traits v0.2.14
Compiling futures-util v0.3.17
Compiling memoffset v0.6.4
Compiling num-integer v0.1.44
Compiling num-rational v0.4.0
Compiling rayon v1.5.1
Compiling phf_shared v0.8.0
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Compiling data-url v0.1.0
Compiling encoding-index-japanese v1.20141219.5
Compiling encoding-index-korean v1.20141219.5
Compiling encoding-index-singlebyte v1.20141219.5
Compiling encoding-index-simpchinese v1.20141219.5
Compiling encoding-index-tradchinese v1.20141219.5
Compiling futf v0.1.4
Compiling tinyvec v1.4.0
Compiling dtoa-short v0.3.3
Compiling form_urlencoded v1.0.1
Compiling matrixmultiply v0.3.1
Compiling fxhash v0.2.1
Compiling itertools v0.9.0
Compiling servo_arc v0.1.1
Compiling textwrap v0.11.0
Compiling rgb v0.8.27
Compiling tendril v0.4.2
Compiling encoding v0.2.33
Compiling unicode-normalization v0.1.19
Compiling time v0.1.43
Compiling num_cpus v1.13.0
Compiling atty v0.2.14
Compiling quote v1.0.9
Compiling aho-corasick v0.7.18
Compiling crossbeam-channel v0.5.1
Compiling toml v0.5.8
Compiling string_cache v0.8.1
Compiling rustc_version v0.4.0
Compiling clap v2.33.3
Compiling idna v0.2.3
Compiling rand_core v0.5.1
Compiling num-complex v0.4.0
Compiling approx v0.5.0
Compiling float-cmp v0.8.0
Compiling regex v1.5.4
Compiling cast v0.2.7
Compiling futures-executor v0.3.17
Compiling crossbeam-deque v0.8.1
Compiling url v2.2.2
Compiling rand_chacha v0.2.2
Compiling rand_pcg v0.2.1
Compiling chrono v0.4.19
Compiling simba v0.5.1
Compiling locale_config v0.3.0
Compiling rand v0.7.3
Compiling phf_generator v0.8.0
Compiling phf_codegen v0.8.0
Compiling string_cache_codegen v0.5.1
Compiling selectors v0.22.0
Compiling markup5ever v0.10.1
Compiling thiserror-impl v1.0.29
Compiling strum_macros v0.21.1
Compiling phf_macros v0.8.0
Compiling cssparser v0.27.2
Compiling cssparser-macros v0.6.0
Compiling derive_more v0.99.16
Compiling nalgebra-macros v0.1.0
Compiling phf v0.8.0
Compiling thiserror v1.0.29
Compiling system-deps v3.2.0
Compiling proc-macro-crate v1.1.0
Compiling nalgebra v0.27.1
Compiling glib-macros v0.14.1
Compiling glib-sys v0.14.0
Compiling gobject-sys v0.14.0
Compiling gio-sys v0.14.0
Compiling pango-sys v0.14.0
Compiling cairo-sys-rs v0.14.0
Compiling pangocairo-sys v0.14.0
Compiling gdk-pixbuf-sys v0.14.0
Compiling librsvg v2.52.0 (/sources/librsvg/librsvg-2.52.0)
Compiling xml5ever v0.16.1
Compiling glib v0.14.5
Compiling pango v0.14.3
Compiling cairo-rs v0.14.3
Compiling pangocairo v0.14.0
Compiling gdk-pixbuf v0.14.0
Finished release [optimized] target(s) in 1m 59s
Compiling librsvg v2.52.0 (/sources/librsvg/librsvg-2.52.0)
CCLD librsvg-2.la
GISCAN Rsvg-2.0.gir
GICOMP Rsvg-2.0.gir
VAPIGEN librsvg-2.0.vapi
Finished release [optimized] target(s) in 2m 04s
cd /sources/librsvg/librsvg-2.52.0 && mv /sources/librsvg/librsvg-2.52.0/target/release/rsvg-convert rsvg-convert
make[2]: Leaving directory '/sources/librsvg/librsvg-2.52.0'
Making all in gdk-pixbuf-loader
make[2]: Entering directory '/sources/librsvg/librsvg-2.52.0/gdk-pixbuf-loader'
CC rsvg_loader-test.o
CC libpixbufloader_svg_la-io-svg.lo
GEN gdk-pixbuf-loaders
GEN librsvg.thumbnailer
CCLD libpixbufloader-svg.la
CCLD rsvg-loader
make[2]: Leaving directory '/sources/librsvg/librsvg-2.52.0/gdk-pixbuf-loader'
Making all in tests
make[2]: Entering directory '/sources/librsvg/librsvg-2.52.0/tests'
make all-am
make[3]: Entering directory '/sources/librsvg/librsvg-2.52.0/tests'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/sources/librsvg/librsvg-2.52.0/tests'
make[2]: Leaving directory '/sources/librsvg/librsvg-2.52.0/tests'
Making all in doc
make[2]: Entering directory '/sources/librsvg/librsvg-2.52.0/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/sources/librsvg/librsvg-2.52.0/doc'
Making all in win32
make[2]: Entering directory '/sources/librsvg/librsvg-2.52.0/win32'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/sources/librsvg/librsvg-2.52.0/win32'
make[1]: Leaving directory '/sources/librsvg/librsvg-2.52.0'
make install-recursive
make[1]: Entering directory '/sources/librsvg/librsvg-2.52.0'
Making install in .
make[2]: Entering directory '/sources/librsvg/librsvg-2.52.0'
cd . && \
PKG_CONFIG_ALLOW_CROSS=1 \
PKG_CONFIG='/usr/bin/pkg-config' \
CARGO_TARGET_DIR=/sources/librsvg/librsvg-2.52.0/target \
cargo --locked build --release --bin rsvg-convert
/bin/sh: line 2: cargo: command not found
make[2]: *** [Makefile:1572: /sources/librsvg/librsvg-2.52.0/target/release/rsvg-convert] Error 127
make[2]: Leaving directory '/sources/librsvg/librsvg-2.52.0'
make[1]: *** [Makefile:1077: install-recursive] Error 1
make[1]: Leaving directory '/sources/librsvg/librsvg-2.52.0'
make: *** [Makefile:1388: install] Error 2
Any clues, please ?
ĸen
--
Vetinari smiled. "Can you keep a secret, Mister Lipwig?"
"Oh, yes, sir. I've kept lots."
"Capital. And the point is, so can I. You do not need to know.”
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page