Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714610 - media-libs/libbluray-1.2.0: fails to build with -fno-common or gcc-10
Summary: media-libs/libbluray-1.2.0: fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 708340
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-03-25 01:43 UTC by Craig Andrews
Modified: 2021-02-27 05:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,162.05 KB, text/x-log)
2020-03-25 01:43 UTC, Craig Andrews
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2020-03-25 01:43:29 UTC
dist:
      [jar] Building jar: /var/tmp/portage/media-libs/libbluray-1.2.0/work/libbluray-1.2.0-abi_x86_64.amd64/.libs/libbluray-j2se-gentoo.jar
libtool: link: /usr/bin/gcc-nm  src/file/.libs/libbluray_la-file.o src/file/.libs/libbluray_la-filesystem.o src/libbluray/.libs/libbluray_la-bluray.o src/libbluray/.libs/libbluray_la-register.o src/libbluray/bdnav/.libs/libbluray_la-bdid_parse.o src/libbluray/bdnav/.libs/libbluray_la-bdmv_parse.o src/libbluray/bdnav/.libs/libbluray_la-clpi_parse.o src/libbluray/bdnav/.libs/libbluray_la-extdata_parse.o src/libbluray/bdnav/.libs/libbluray_la-index_parse.o src/libbluray/bdnav/.libs/libbluray_la-meta_parse.o src/libbluray/bdnav/.libs/libbluray_la-mpls_parse.o src/libbluray/bdnav/.libs/libbluray_la-navigation.o src/libbluray/bdnav/.libs/libbluray_la-sound_parse.o src/libbluray/bdnav/.libs/libbluray_la-uo_mask.o src/libbluray/decoders/.libs/libbluray_la-graphics_controller.o src/libbluray/decoders/.libs/libbluray_la-graphics_processor.o src/libbluray/decoders/.libs/libbluray_la-ig_decode.o src/libbluray/decoders/.libs/libbluray_la-m2ts_demux.o src/libbluray/decoders/.libs/libbluray_la-m2ts_filter.o src/libbluray/decoders/.libs/libbluray_la-pg_decode.o src/libbluray/decoders/.libs/libbluray_la-pes_buffer.o src/libbluray/decoders/.libs/libbluray_la-rle.o src/libbluray/decoders/.libs/libbluray_la-textst_decode.o src/libbluray/decoders/.libs/libbluray_la-textst_render.o src/libbluray/disc/.libs/libbluray_la-aacs.o src/libbluray/disc/.libs/libbluray_la-bdplus.o src/libbluray/disc/.libs/libbluray_la-dec.o src/libbluray/disc/.libs/libbluray_la-disc.o src/libbluray/disc/.libs/libbluray_la-properties.o src/libbluray/hdmv/.libs/libbluray_la-hdmv_vm.o src/libbluray/hdmv/.libs/libbluray_la-mobj_parse.o src/libbluray/hdmv/.libs/libbluray_la-mobj_print.o src/util/.libs/libbluray_la-array.o src/util/.libs/libbluray_la-bits.o src/util/.libs/libbluray_la-event_queue.o src/util/.libs/libbluray_la-logging.o src/util/.libs/libbluray_la-mutex.o src/util/.libs/libbluray_la-refcnt.o src/util/.libs/libbluray_la-strutl.o src/util/.libs/libbluray_la-time.o src/libbluray/bdj/.libs/libbluray_la-bdj.o src/libbluray/bdj/.libs/libbluray_la-bdjo_parse.o src/libbluray/bdj/native/.libs/libbluray_la-bdjo.o src/libbluray/bdj/native/.libs/libbluray_la-java_awt_BDFontMetrics.o src/libbluray/bdj/native/.libs/libbluray_la-java_awt_BDGraphics.o src/libbluray/bdj/native/.libs/libbluray_la-org_videolan_Libbluray.o src/libbluray/bdj/native/.libs/libbluray_la-org_videolan_Logger.o src/libbluray/bdj/native/.libs/libbluray_la-register_native.o src/libbluray/bdj/native/.libs/libbluray_la-util.o src/libbluray/disc/.libs/libbluray_la-udf_fs.o contrib/libudfread/src/.libs/libbluray_la-default_blockinput.o contrib/libudfread/src/.libs/libbluray_la-ecma167.o contrib/libudfread/src/.libs/libbluray_la-udfread.o src/file/.libs/libbluray_la-dir_posix.o src/file/.libs/libbluray_la-dirs_xdg.o src/file/.libs/libbluray_la-dl_posix.o src/file/.libs/libbluray_la-file_posix.o src/file/.libs/libbluray_la-mount.o   |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libbluray.exp
./libtool: eval: line 1774: syntax error near unexpected token `|'
./libtool: eval: line 1774: `/usr/bin/gcc-nm  src/file/.libs/libbluray_la-file.o src/file/.libs/libbluray_la-filesystem.o src/libbluray/.libs/libbluray_la-bluray.o src/libbluray/.libs/libbluray_la-register.o src/libbluray/bdnav/.libs/libbluray_la-bdid_parse.o src/libbluray/bdnav/.libs/libbluray_la-bdmv_parse.o src/libbluray/bdnav/.libs/libbluray_la-clpi_parse.o src/libbluray/bdnav/.libs/libbluray_la-extdata_parse.o src/libbluray/bdnav/.libs/libbluray_la-index_parse.o src/libbluray/bdnav/.libs/libbluray_la-meta_parse.o src/libbluray/bdnav/.libs/libbluray_la-mpls_parse.o src/libbluray/bdnav/.libs/libbluray_la-navigation.o src/libbluray/bdnav/.libs/libbluray_la-sound_parse.o src/libbluray/bdnav/.libs/libbluray_la-uo_mask.o src/libbluray/decoders/.libs/libbluray_la-graphics_controller.o src/libbluray/decoders/.libs/libbluray_la-graphics_processor.o src/libbluray/decoders/.libs/libbluray_la-ig_decode.o src/libbluray/decoders/.libs/libbluray_la-m2ts_demux.o src/libbluray/decoders/.libs/libbluray_la-m2ts_filter.o src/libbluray/decoders/.libs/libbluray_la-pg_decode.o src/libbluray/decoders/.libs/libbluray_la-pes_buffer.o src/libbluray/decoders/.libs/libbluray_la-rle.o src/libbluray/decoders/.libs/libbluray_la-textst_decode.o src/libbluray/decoders/.libs/libbluray_la-textst_render.o src/libbluray/disc/.libs/libbluray_la-aacs.o src/libbluray/disc/.libs/libbluray_la-bdplus.o src/libbluray/disc/.libs/libbluray_la-dec.o src/libbluray/disc/.libs/libbluray_la-disc.o src/libbluray/disc/.libs/libbluray_la-properties.o src/libbluray/hdmv/.libs/libbluray_la-hdmv_vm.o src/libbluray/hdmv/.libs/libbluray_la-mobj_parse.o src/libbluray/hdmv/.libs/libbluray_la-mobj_print.o src/util/.libs/libbluray_la-array.o src/util/.libs/libbluray_la-bits.o src/util/.libs/libbluray_la-event_queue.o src/util/.libs/libbluray_la-logging.o src/util/.libs/libbluray_la-mutex.o src/util/.libs/libbluray_la-refcnt.o src/util/.libs/libbluray_la-strutl.o src/util/.libs/libbluray_la-time.o src/libbluray/bdj/.libs/libbluray_la-bdj.o src/libbluray/bdj/.libs/libbluray_la-bdjo_parse.o src/libbluray/bdj/native/.libs/libbluray_la-bdjo.o src/libbluray/bdj/native/.libs/libbluray_la-java_awt_BDFontMetrics.o src/libbluray/bdj/native/.libs/libbluray_la-java_awt_BDGraphics.o src/libbluray/bdj/native/.libs/libbluray_la-org_videolan_Libbluray.o src/libbluray/bdj/native/.libs/libbluray_la-org_videolan_Logger.o src/libbluray/bdj/native/.libs/libbluray_la-register_native.o src/libbluray/bdj/native/.libs/libbluray_la-util.o src/libbluray/disc/.libs/libbluray_la-udf_fs.o contrib/libudfread/src/.libs/libbluray_la-default_blockinput.o contrib/libudfread/src/.libs/libbluray_la-ecma167.o contrib/libudfread/src/.libs/libbluray_la-udfread.o src/file/.libs/libbluray_la-dir_posix.o src/file/.libs/libbluray_la-dirs_xdg.o src/file/.libs/libbluray_la-dl_posix.o src/file/.libs/libbluray_la-file_posix.o src/file/.libs/libbluray_la-mount.o   |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libbluray.exp'
make[1]: *** [Makefile:1414: libbluray.la] Error 2
Comment 1 Craig Andrews gentoo-dev 2020-03-25 01:43:54 UTC
Created attachment 625434 [details]
build.log
Comment 2 Azamat H. Hackimov 2020-06-29 18:56:18 UTC
Cannot confirm.

Seem this is rather java implementation issue. At least on icedtea-bin-8 it builds fine.
Comment 3 Althorion 2020-06-30 09:22:33 UTC
Happens to me too, and I don’t even have Java installed on my PC and build it with -java.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 07:00:31 UTC
Bump to 1.2.1, maybe?
Comment 5 Larry the Git Cow gentoo-dev 2021-02-27 05:16:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6efc21890bcd7fe0c7ea73642fe71f9e78970eb5

commit 6efc21890bcd7fe0c7ea73642fe71f9e78970eb5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-27 04:49:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-27 04:49:37 +0000

    media-libs/libbluray: fix gcc 10 build
    
    Closes: https://bugs.gentoo.org/714610
    Package-Manager: Portage-3.0.15, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libbluray/libbluray-1.2.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)