Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Building media-libs/lcms-2.6-r1 failed
Date: Wed, 29 Oct 2014 17:25:29
Message-Id: CAJ1xhMUJ58=WLhKLSZV1cdhOb2kch3b-YdG6rEo7Btr5Sj_CjQ@mail.gmail.com
In Reply to: [gentoo-user] Building media-libs/lcms-2.6-r1 failed by Gevisz
1 On Wed, Oct 29, 2014 at 6:05 PM, Gevisz <gevisz@×××××.com> wrote:
2 > After today's # emerge-webrsyc
3 > # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world
4 > failed with the following message:
5 >
6 > These are the packages that would be merged, in order:
7 >
8 > Calculating dependencies... done!
9 > [ebuild U ] media-libs/lcms-2.6-r1 [2.5] USE="threads%*" ABI_X86="(64%*) (-32) (-x32)"
10 > [ebuild U ] net-misc/wget-1.16 [1.14]
11 > [ebuild U ] media-gfx/imagemagick-6.8.9.9 [6.8.8.10-r1]
12 >
13 > Would you like to merge these packages? [Yes/No] y
14 > ...
15 >>>> Verifying ebuild manifests
16 >
17 >>>> Emerging (1 of 3) media-libs/lcms-2.6-r1
18 > * Fetching files in the background. To view fetch progress, run
19 > * `tail -f /var/log/emerge-fetch.log` in another terminal.
20 > * lcms2-2.6.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
21 >>>> Unpacking source...
22 >>>> Unpacking lcms2-2.6.tar.gz to /var/tmp/portage/media-libs/lcms-2.6-r1/work
23 >>>> Source unpacked in /var/tmp/portage/media-libs/lcms-2.6-r1/work
24 >>>> Preparing source in /var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6 ...
25 > * Applying lcms-2.6-cve-2014-0459.patch ... [ ok ]
26 > * Running elibtoolize in: lcms2-2.6/
27 > * Applying portage/1.2.0 patch ...
28 > * Applying sed/1.5.6 patch ...
29 > * Applying as-needed/2.2.6 patch ...
30 > * Applying target-nm/2.4.2 patch ...
31 >>>> Source prepared.
32 >>>> Configuring source in /var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6 ...
33 > * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
34 >>>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6-abi_x86_64.amd64"
35 > * econf: updating lcms2-2.6/config.guess with /usr/share/gnuconfig/config.guess
36 > * econf: updating lcms2-2.6/config.sub with /usr/share/gnuconfig/config.sub
37 > /var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --docdir=/usr/share/doc/lcms-2.6-r1 --enable-shared --disable-static --with-jpeg --with-tiff --with-zlib --with-threads
38 > checking build system type... x86_64-pc-linux-gnu
39 > checking host system type... x86_64-pc-linux-gnu
40 > checking for a BSD-compatible install... /usr/bin/install -c
41 > checking whether build environment is sane... yes
42 > checking for a thread-safe mkdir -p... /bin/mkdir -p
43 > checking for gawk... gawk
44 > checking whether make sets $(MAKE)... yes
45 > checking for style of include used by make... GNU
46 > checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
47 > checking whether the C compiler works... no
48 > configure: error: in `/var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6-abi_x86_64.amd64':
49 > configure: error: C compiler cannot create executables
50 > See `config.log' for more details
51 >
52 > !!! Please attach the following file when seeking support:
53 > !!! /var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6-abi_x86_64.amd64/config.log
54 > * ERROR: media-libs/lcms-2.6-r1::gentoo failed (configure phase):
55 > * econf failed
56 > *
57 > * Call stack:
58 > * ebuild.sh, line 93: Called src_configure
59 > * environment, line 3458: Called autotools-multilib_src_configure
60 > * environment, line 581: Called multilib-minimal_src_configure
61 > * environment, line 2677: Called multilib_parallel_foreach_abi 'multilib-minimal_abi_src_configure'
62 > * environment, line 2983: Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
63 > * environment, line 2570: Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
64 > * environment, line 2513: Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
65 > * environment, line 2511: Called _multibuild_parallel '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
66 > * environment, line 2561: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
67 > * environment, line 546: Called multilib-minimal_abi_src_configure
68 > * environment, line 2671: Called multilib_src_configure
69 > * environment, line 3104: Called autotools-utils_src_configure
70 > * environment, line 622: Called econf '--docdir=/usr/share/doc/lcms-2.6-r1' '--enable-shared' '--disable-static' '--with-jpeg' '--with-tiff' '--with-zlib' '--with-threads'
71 > * phase-helpers.sh, line 584: Called die
72 > * The specific snippet of code:
73 > * die "econf failed"
74 > *
75 > * If you need support, post the output of `emerge --info '=media-libs/lcms-2.6-r1::gentoo'`,
76 > * the complete build log and the output of `emerge -pqv '=media-libs/lcms-2.6-r1::gentoo'`.
77 > /usr/lib64/portage/bin/isolated-functions.sh: line 195: wait: `econf failed': not a pid or valid job spec
78 > * The complete build log is located at '/var/tmp/portage/media-libs/lcms-2.6-r1/temp/build.log'.
79 > * The ebuild environment file is located at '/var/tmp/portage/media-libs/lcms-2.6-r1/temp/environment'.
80 > * Working directory: '/var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6-abi_x86_64.amd64'
81 > * S: '/var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6'
82 >
83 >>>> Failed to emerge media-libs/lcms-2.6-r1, Log file:
84 >
85 >>>> '/var/tmp/portage/media-libs/lcms-2.6-r1/temp/build.log'
86 >
87 > * Messages for package media-libs/lcms-2.6-r1:
88 >
89 > * ERROR: media-libs/lcms-2.6-r1::gentoo failed (configure phase):
90 > * econf failed
91 > *
92 > * Call stack:
93 > * ebuild.sh, line 93: Called src_configure
94 > * environment, line 3458: Called autotools-multilib_src_configure
95 > * environment, line 581: Called multilib-minimal_src_configure
96 > * environment, line 2677: Called multilib_parallel_foreach_abi 'multilib-minimal_abi_src_configure'
97 > * environment, line 2983: Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
98 > * environment, line 2570: Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
99 > * environment, line 2513: Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
100 > * environment, line 2511: Called _multibuild_parallel '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
101 > * environment, line 2561: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
102 > * environment, line 546: Called multilib-minimal_abi_src_configure
103 > * environment, line 2671: Called multilib_src_configure
104 > * environment, line 3104: Called autotools-utils_src_configure
105 > * environment, line 622: Called econf '--docdir=/usr/share/doc/lcms-2.6-r1' '--enable-shared' '--disable-static' '--with-jpeg' '--with-tiff' '--with-zlib' '--with-threads'
106 > * phase-helpers.sh, line 584: Called die
107 > * The specific snippet of code:
108 > * die "econf failed"
109 > *
110 > * If you need support, post the output of `emerge --info '=media-libs/lcms-2.6-r1::gentoo'`,
111 > * the complete build log and the output of `emerge -pqv '=media-libs/lcms-2.6-r1::gentoo'`.
112 > * The complete build log is located at '/var/tmp/portage/media-libs/lcms-2.6-r1/temp/build.log'.
113 > * The ebuild environment file is located at '/var/tmp/portage/media-libs/lcms-2.6-r1/temp/environment'.
114 > * Working directory: '/var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6-abi_x86_64.amd64'
115 > * S: '/var/tmp/portage/media-libs/lcms-2.6-r1/work/lcms2-2.6'
116 >
117 > I think that something may be wrong with sys-devel/gcc-4.8.3 as my problems begun when
118 > I have updated it from sys-devel/gcc-4.7.3-r1 this Monday. Namely, just after this only
119 > update, # emerge @preserved-rebuild
120 > failed to rebuild app-text/pdftk-1.44 that was not updated that time and built well with
121 > sys-devel/gcc-4.7.3-r1. Then I recalled that to build app-text/pdftk I had to add gcj use
122 > flag to sys-devel/gcc. So, as I am not fond of Java, I just unmerged app-text/pdftk.
123 > Bu now it seems that I had to unmerge media-libs/lcms and all packages that depend on it.
124 >
125 > May be it would be easier to unmerge sys-devel/gcc-4.8.3 and return back to
126 > sys-devel/gcc-4.7.3-r1 but I do not know how to do it properly.
127 >
128
129 Did you remember to run 'gcc-config -f 1' after updating gcc as root?
130 What's the output of 'gcc-config -l'?

Replies

Subject Author
Re: [gentoo-user] Building media-libs/lcms-2.6-r1 failed Gevisz <gevisz@×××××.com>