Issue 1604 in webm: Cannot build, "No rule to make target '/usr/include/x86_64-linux-gnu/bits/libio.h"

620 views
Skip to first unread message

werner.r… via monorail

unread,
Mar 2, 2019, 8:24:27 AM3/2/19
to webm-d...@webmproject.org
Status: Unconfirmed
Owner: ----

New issue 1604 by werner.r...@gmail.com: Cannot build, "No rule to make target '/usr/include/x86_64-linux-gnu/bits/libio.h"
https://bugs.chromium.org/p/webm/issues/detail?id=1604

I am using Git master (c73a44c725ab76fdec608fb63c7c22d1e189deef) to build libvpx under Ubuntu 18.10. The same error happens with v1.8.0.

I get the following output:

PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=yasm && \
PATH="$HOME/bin:$PATH" make -j 7 && \
make install
disabling examples
disabling unit_tests
enabling vp9_highbitdepth
enabling vp8_encoder
enabling vp8_decoder
enabling vp9_encoder
enabling vp9_decoder
Configuring for target 'x86_64-linux-gcc'
enabling x86_64
enabling runtime_cpu_detect
enabling mmx
enabling sse
enabling sse2
enabling sse3
enabling ssse3
enabling sse4_1
enabling avx
enabling avx2
enabling avx512
using yasm
enabling postproc
enabling webm_io
enabling libyuv
Creating makefiles for x86_64-linux-gcc libs
Creating makefiles for x86_64-linux-gcc tools
Creating makefiles for x86_64-linux-gcc docs
[CREATE] vp9_rtcd.h
[CREATE] vpx_config.asm
[DEP] vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm.d
[DEP] vp9/encoder/x86/vp9_error_sse2.asm.d
[DEP] vp9/encoder/x86/vp9_dct_sse2.asm.d
[DEP] vp8/common/x86/loopfilter_block_sse2_x86_64.asm.d
[DEP] vp8/common/x86/mfqe_sse2.asm.d
[DEP] vp8/common/x86/subpixel_ssse3.asm.d
[DEP] vp8/common/x86/iwalsh_sse2.asm.d
[DEP] vp8/common/x86/loopfilter_sse2.asm.d
[DEP] vp8/common/x86/subpixel_sse2.asm.d
[DEP] vp8/common/x86/recon_sse2.asm.d
[DEP] vp8/common/x86/idctllm_sse2.asm.d
[DEP] vp8/common/x86/subpixel_mmx.asm.d
[DEP] vp8/common/x86/recon_mmx.asm.d
[DEP] vp8/common/x86/idctllm_mmx.asm.d
[DEP] vp8/common/x86/dequantize_mmx.asm.d
[DEP] vp8/encoder/x86/temporal_filter_apply_sse2.asm.d
[DEP] vp8/encoder/x86/block_error_sse2.asm.d
[DEP] vp8/encoder/x86/fwalsh_sse2.asm.d
[DEP] vp8/encoder/x86/dct_sse2.asm.d
[DEP] vp8/encoder/x86/copy_sse3.asm.d
[DEP] vp8/encoder/x86/copy_sse2.asm.d
[DEP] vpx_dsp/x86/highbd_subpel_variance_impl_sse2.asm.d
[DEP] vpx_dsp/x86/highbd_variance_impl_sse2.asm.d
[DEP] vpx_dsp/x86/subpel_variance_sse2.asm.d
[DEP] vpx_dsp/x86/ssim_opt_x86_64.asm.d
[DEP] vpx_dsp/x86/highbd_sad_sse2.asm.d
[DEP] vpx_dsp/x86/highbd_sad4d_sse2.asm.d
[DEP] vpx_dsp/x86/subtract_sse2.asm.d
[DEP] vpx_dsp/x86/sad_sse2.asm.d
[DEP] vpx_dsp/x86/sad4d_sse2.asm.d
[DEP] vpx_dsp/x86/sad_sse4.asm.d
[DEP] vpx_dsp/x86/sad_ssse3.asm.d
[DEP] vpx_dsp/x86/sad_sse3.asm.d
[DEP] vpx_dsp/x86/avg_ssse3_x86_64.asm.d
[DEP] vpx_dsp/x86/inv_wht_sse2.asm.d
[DEP] vpx_dsp/x86/fwd_txfm_ssse3_x86_64.asm.d
[DEP] vpx_dsp/x86/vpx_convolve_copy_sse2.asm.d
[DEP] vpx_dsp/x86/vpx_high_subpixel_bilinear_sse2.asm.d
[DEP] vpx_dsp/x86/vpx_high_subpixel_8t_sse2.asm.d
[DEP] vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm.d
[DEP] vpx_dsp/x86/vpx_subpixel_8t_ssse3.asm.d
[DEP] vpx_dsp/x86/vpx_subpixel_bilinear_sse2.asm.d
[DEP] vpx_dsp/x86/vpx_subpixel_8t_sse2.asm.d
[DEP] vpx_dsp/x86/deblock_sse2.asm.d
[DEP] vpx_dsp/x86/add_noise_sse2.asm.d
[DEP] vpx_dsp/x86/highbd_intrapred_sse2.asm.d
[DEP] vpx_dsp/x86/intrapred_ssse3.asm.d
[DEP] vpx_dsp/x86/intrapred_sse2.asm.d
[DEP] vpx_ports/emms_mmx.asm.d
[DEP] vpx_config.c.d
[DEP] vp9/decoder/vp9_job_queue.c.d
[DEP] vp9/common/vp9_common_data.c.d
[DEP] vp9/common/vp9_filter.c.d
[DEP] vp9/encoder/vp9_treewriter.c.d
[DEP] vp9/encoder/vp9_cost.c.d
[DEP] vp8/common/x86/idct_blk_sse2.c.d
[DEP] vp8/common/x86/loopfilter_x86.c.d
[DEP] vp8/common/x86/vp8_asm_stubs.c.d
[DEP] vp8/common/swapyv12buffer.c.d
[DEP] vp8/common/idctllm.c.d
[DEP] vp8/common/filter.c.d
[DEP] vp8/common/entropymv.c.d
[DEP] vp8/encoder/dct.c.d
[DEP] vp8/encoder/copy_c.c.d
[DEP] vpx_dsp/x86/highbd_variance_sse2.c.d
[DEP] vpx_dsp/variance.c.d
[DEP] vpx_dsp/sum_squares.c.d
[DEP] vpx_dsp/skin_detection.c.d
[DEP] vpx_dsp/x86/fwd_txfm_avx2.c.d
[DEP] vpx_dsp/fwd_txfm.c.d
[DEP] vpx_dsp/vpx_convolve.c.d
[DEP] vpx_dsp/bitreader_buffer.c.d
[DEP] vpx_dsp/psnr.c.d
[DEP] vpx_dsp/bitwriter.c.d
[DEP] vpx_dsp/prob.c.d
make[1]: *** No rule to make target '/usr/include/x86_64-linux-gnu/bits/libio.h', needed by 'vpx/src/vpx_decoder.c.o'. Stop.
make: *** [Makefile:17: .DEFAULT] Error 2

The way I understand this (but I am no means an expert on building software under Linux), glibc no longer ships this header: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a4fea3f2c3253b9ae6ffacd3747034ccbe56bc60

Any idea what to do?

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

johannko… via monorail

unread,
Mar 4, 2019, 7:09:24 PM3/4/19
to webm-d...@webmproject.org
Updates:
Status: WontFix

Comment #1 on issue 1604 by johannko...@google.com: Cannot build, "No rule to make target '/usr/include/x86_64-linux-gnu/bits/libio.h"
https://bugs.chromium.org/p/webm/issues/detail?id=1604#c1

That looks strange. We don't manually include libio.h anywhere so I would recommend filing a bug upstream.

Out of curiosity, what version of gcc are you using?
$ gcc -v

werner.r… via monorail

unread,
Mar 5, 2019, 5:48:18 AM3/5/19
to webm-d...@webmproject.org

Comment #2 on issue 1604 by werner.r...@gmail.com: Cannot build, "No rule to make target '/usr/include/x86_64-linux-gnu/bits/libio.h"
https://bugs.chromium.org/p/webm/issues/detail?id=1604#c2

Thanks. Indeed I can't find an explicit reference to that header in the code. What specifically do you mean by "upstream"? gcc? Ubuntu?

I don't have access to the machine where I ran it, but I'll come back to you.

johannko… via monorail

unread,
Mar 5, 2019, 6:33:23 PM3/5/19
to webm-d...@webmproject.org

Comment #3 on issue 1604 by johannko...@google.com: Cannot build, "No rule to make target '/usr/include/x86_64-linux-gnu/bits/libio.h"
https://bugs.chromium.org/p/webm/issues/detail?id=1604#c3

Since the post removing it was to glibc, maybe there?
https://www.gnu.org/software/libc/bugs.html

It looks like the author built a lot of other packages and looked for issues. The fixes I see there don't seem to apply to vpx_decoder.c in an obvious way to me unfortunately.

werner.r… via monorail

unread,
Mar 18, 2019, 6:15:36 AM3/18/19
to webm-d...@webmproject.org

Comment #4 on issue 1604 by werner.r...@gmail.com: Cannot build, "No rule to make target '/usr/include/x86_64-linux-gnu/bits/libio.h"
https://bugs.chromium.org/p/webm/issues/detail?id=1604#c4

I just checked gcc and found that I had two versions installed:

gcc (Ubuntu 8.2.0-7ubuntu1) 8.2.0
gcc (Homebrew gcc 5.5.0_4) 5.5.0

Both procude the same error. I'll see if someone can help me with glibc, or maybe Ubuntu.

werner.r… via monorail

unread,
Mar 18, 2019, 6:20:20 AM3/18/19
to webm-d...@webmproject.org

Comment #5 on issue 1604 by werner.r...@gmail.com: Cannot build, "No rule to make target '/usr/include/x86_64-linux-gnu/bits/libio.h"
https://bugs.chromium.org/p/webm/issues/detail?id=1604#c5

Actually, no, first running "make clean", then retrying with gcc from Ubuntu solved the issue. Thanks for your help and the hint with "gcc -v"!
Reply all
Reply to author
Forward
0 new messages