From owner-freebsd-ports-bugs@freebsd.org Fri Sep 25 09:18:29 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE76EA075E9 for ; Fri, 25 Sep 2015 09:18:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B89C2115A for ; Fri, 25 Sep 2015 09:18:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8P9IT0m000147 for ; Fri, 25 Sep 2015 09:18:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203327] graphics/openjpeg: latest changes (from 2.1.0_1 to 2.1.1) break building of mupdf (and possibly other ports) Date: Fri, 25 Sep 2015 09:18:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dennis.noordsij@helsinki.fi X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 09:18:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203327 Bug ID: 203327 Summary: graphics/openjpeg: latest changes (from 2.1.0_1 to 2.1.1) break building of mupdf (and possibly other ports) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: dennis.noordsij@helsinki.fi Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) One of the recent changes to graphics/openjpeg causes graphics/mupdf to no longer build, with the following errors: <.. snip ..> cc -fstack-protector -o build/release/mujstest build/release/platform/x11/jstest_main.o build/release/platform/x11/pdfapp.o build/release/libmupdf.a -L/usr/local/lib -lm -L/usr/local/lib -lfreetype -ljbig2dec -ljpeg -L/usr/local/lib -lopenjp2 -lz build/release/libmupdf.a(load-jpx.o): In function `fz_load_jpx': source/fitz/load-jpx.c:(.text+0x56): undefined reference to `opj_set_default_decoder_parameters' source/fitz/load-jpx.c:(.text+0x69): undefined reference to `opj_create_decompress' source/fitz/load-jpx.c:(.text+0x84): undefined reference to `opj_set_info_handler' source/fitz/load-jpx.c:(.text+0x94): undefined reference to `opj_set_warning_handler' source/fitz/load-jpx.c:(.text+0xa4): undefined reference to `opj_set_error_handler' source/fitz/load-jpx.c:(.text+0xb1): undefined reference to `opj_setup_decoder' source/fitz/load-jpx.c:(.text+0xc3): undefined reference to `opj_stream_default_create' source/fitz/load-jpx.c:(.text+0xe5): undefined reference to `opj_stream_set_read_function' source/fitz/load-jpx.c:(.text+0xf2): undefined reference to `opj_stream_set_skip_function' source/fitz/load-jpx.c:(.text+0xff): undefined reference to `opj_stream_set_seek_function' source/fitz/load-jpx.c:(.text+0x10e): undefined reference to `opj_stream_set_user_data' source/fitz/load-jpx.c:(.text+0x119): undefined reference to `opj_stream_set_user_data_length' source/fitz/load-jpx.c:(.text+0x129): undefined reference to `opj_read_header' source/fitz/load-jpx.c:(.text+0x141): undefined reference to `opj_decode' source/fitz/load-jpx.c:(.text+0x14b): undefined reference to `opj_stream_destroy' source/fitz/load-jpx.c:(.text+0x153): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x42d): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x4e1): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x4f8): undefined reference to `opj_stream_destroy' source/fitz/load-jpx.c:(.text+0x500): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x514): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x534): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x548): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x55c): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x570): undefined reference to `opj_image_destroy' build/release/libmupdf.a(load-jpx.o):source/fitz/load-jpx.c:(.text+0x593): more undefined references to `opj_image_destroy' follow build/release/libmupdf.a(load-jpx.o)build/release/libmupdf.a(load-jpx.o): In function `fz_load_jpx': source/fitz/load-jpx.c:(.text+0x56): undefined reference to `opj_set_default_decoder_parameters' source/fitz/load-jpx.c:(.text+0x69): undefined reference to `opj_create_decompress' source/fitz/load-jpx.c:(.text+0x84): undefined reference to `opj_set_info_handler' source/fitz/load-jpx.c:(.text+0x94): undefined reference to `opj_set_warning_handler' source/fitz/load-jpx.c:(.text+0xa4): undefined reference to `opj_set_error_handler' source/fitz/load-jpx.c:(.text+0xb1): undefined reference to `opj_setup_decoder' source/fitz/load-jpx.c:(.text+0xc3): undefined reference to `opj_stream_default_create' source/fitz/load-jpx.c:(.text+0xe5): undefined reference to `opj_stream_set_read_function' source/fitz/load-jpx.c:(.text+0xf2): undefined reference to `opj_stream_set_skip_function' source/fitz/load-jpx.c:(.text+0x: In function `fz_load_jpx': source/fitz/load-jpx.c:(.text+0x56): undefined reference to `opj_set_default_decoder_parameters' source/fitz/load-jpx.c:(.text+0x69): undefined reference to `opj_create_decompress' source/fitz/load-jpx.c:(.text+0x84): undefined reference to `opj_set_info_handler' source/fitz/load-jpx.c:(.text+0x94): undefined reference to `opj_set_warning_handler' source/fitz/load-jpx.c:(.text+0xa4): undefined reference to `opj_set_error_handler' source/fitz/load-jpx.c:(.text+0xb1): undefined reference to `opj_setup_decoder' source/fitz/load-jpx.c:(.text+0xc3): undefined reference to `opj_stream_default_create' source/fitz/load-jpx.c:(.text+0xe5): undefined reference to `opj_stream_set_read_function' source/fitz/load-jpx.c:(.text+0xf2): undefined reference to `opj_stream_set_skip_function' source/fitz/load-jpx.c:(.text+0xff): undefined reference to `opj_stream_set_seek_function' source/fitz/load-jpx.c:(.text+0x10e): undefined reference to `opj_stream_set_user_data' source/fitz/load-jpx.c:(.text+0x119): undefined reference to `opj_stream_set_user_data_length' source/fitz/load-jpx.c:(.text+0x129): undefined reference to `opj_read_header' source/fitz/load-jpx.c:(.text+0x141): undefined reference to `opj_decode' source/fitz/load-jpx.c:(.text+0x14b): undefined reference to `opj_stream_destroy' source/fitz/load-jpx.c:(.text+0x153): undefined reference to `opj_destroy_codec'ff ): undsource/fitz/load-jpx.c:e(f.texti+n0exd42d )r:e fuenrednecfei nteod `refopj_stream_set_seek_functione'r encesource/fitz/load-jpx.c: (t.texto+ 0`x10eopj_image_destroy)': undefinsource/fitz/load-jpx.c:e(d.text +r0x4e1): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x4f8): undefined reference to `opj_stream_destroy' eference to `opj_stream_set_user_data' source/fitz/load-jpx.c:(.text+0x119): undefined reference to `opj_stream_set_user_data_length' source/fitz/load-jpx.c:(.text+0x129): undefined reference to `opj_read_header' source/fitz/load-jpx.c:(.text+0x141): undefined reference to `opj_decode' source/fitz/load-jpx.c:(.text+0x14b): undefined reference to `opj_stream_destroy' source/fitz/load-jpx.c:(.text+0x153): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x42d): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x4e1): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x4f8): undefined reference to `opj_stream_destroy' source/fitz/load-jpx.c:(.text+0x500): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x514): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x534): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x548): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x55c): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x570): undefined reference to `opj_image_destroy' build/release/libmupdf.a(load-jpx.o):source/fitz/load-jpx.c:(.text+0x593): more undefined references to `opj_image_destroy' follow source/fitz/load-jpx.c:(.text+0x500): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x514): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x534): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x548): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x55c): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x570): undefined reference to `opj_image_destroy' build/release/libmupdf.a(load-jpx.o):source/fitz/load-jpx.c:(.text+0x593): more undefined references to `opj_image_destroy' follow /usr/bin/ld: build/release/mutool: hidden symbol `opj_setup_decoder' isn't defined /usr/bin/ld: final link failed: Nonrepresentable section on output /usr/bin/ld: build/release/mujstest: hidden symbol `opj_setup_decoder' isn't defined /usr/bin/ld: final link failed: Nonrepresentable section on output /usr/bin/ld: build/release/mudraw: hidden symbol `opj_setup_decoder' isn't defined /usr/bin/ld: final link failed: Nonrepresentable section on output cc: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:248: recipe for target 'build/release/mutool' failed gmake[2]: *** [build/release/mutool] Error 1 gmake[2]: *** Waiting for unfinished jobs.... cc: error: linker command failed with exit code 1 (use -v to see invocation) cc: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:260: recipe for target 'build/release/mujstest' failed gmake[2]: *** [build/release/mujstest] Error 1 Makefile:241: recipe for target 'build/release/mudraw' failed gmake[2]: *** [build/release/mudraw] Error 1 build/release/libmupdf.a(load-jpx.o): In function `fz_load_jpx': source/fitz/load-jpx.c:(.text+0x56): undefined reference to `opj_set_default_decoder_parameters' source/fitz/load-jpx.c:(.text+0x69): undefined reference to `opj_create_decompress' source/fitz/load-jpx.c:(.text+0x84): undefined reference to `opj_set_info_handler' source/fitz/load-jpx.c:(.text+0x94): undefined reference to `opj_set_warning_handler' source/fitz/load-jpx.c:(.text+0xa4): undefined reference to `opj_set_error_handler' source/fitz/load-jpx.c:(.text+0xb1): undefined reference to `opj_setup_decoder' source/fitz/load-jpx.c:(.text+0xc3): undefined reference to `opj_stream_default_create' source/fitz/load-jpx.c:(.text+0xe5): undefined reference to `opj_stream_set_read_function' source/fitz/load-jpx.c:(.text+0xf2): undefined reference to `opj_stream_set_skip_function' source/fitz/load-jpx.c:(.text+0xff): undefined reference to `opj_stream_set_seek_function' source/fitz/load-jpx.c:(.text+0x10e): undefined reference to `opj_stream_set_user_data' source/fitz/load-jpx.c:(.text+0x119): undefined reference to `opj_stream_set_user_data_length' source/fitz/load-jpx.c:(.text+0x129): undefined reference to `opj_read_header' source/fitz/load-jpx.c:(.text+0x141): undefined reference to `opj_decode' source/fitz/load-jpx.c:(.text+0x14b): undefined reference to `opj_stream_destroy' source/fitz/load-jpx.c:(.text+0x153): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x42d): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x4e1): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x4f8): undefined reference to `opj_stream_destroy' source/fitz/load-jpx.c:(.text+0x500): undefined reference to `opj_destroy_codec' source/fitz/load-jpx.c:(.text+0x514): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x534): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x548): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x55c): undefined reference to `opj_image_destroy' source/fitz/load-jpx.c:(.text+0x570): undefined reference to `opj_image_destroy' build/release/libmupdf.a(load-jpx.o):source/fitz/load-jpx.c:(.text+0x593): more undefined references to `opj_image_destroy' follow /usr/bin/ld: build/release/mupdf-x11: hidden symbol `opj_setup_decoder' isn't defined /usr/bin/ld: final link failed: Nonrepresentable section on output cc: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:268: recipe for target 'build/release/mupdf-x11' failed gmake[2]: *** [build/release/mupdf-x11] Error 1 gmake[2]: Leaving directory '/usr/ports/graphics/mupdf/work/mupdf-1.7-source' ===> Compilation failed unexpectedly. If I install the openjpeg binary pkg version (2.1.0_1) mupdf builds fine. If I install openjpeg from ports (version 2.1.1), the problem happens. (Tried in a poudriere box, jails, and vanilla FreeBSD, all on up to date 10.2-RELEASE). I don't really know where to look for the problem, usually undefined reference means the library is not installed or can not be found, but that is not the case here. (Portsnap up to date as of Fri Sep 25 11:13:39 CEST 2015) Happy to provide more information -- You are receiving this mail because: You are the assignee for the bug.