Opened 9 years ago

Closed 8 years ago

#50259 closed defect (fixed)

zathura-plugin-pdf-mupdf @0.2.8 (office) Build failure - Undefined symbols for architecture x86_64

Reported by: nhed-macports16@… Owned by: harciga
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: zathura-plugin-pdf-mupdf

Description

Console log:

$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.3.4 installed,
MacPorts base version 2.3.4 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated


$ sudo port clean zathura-plugin-pdf-mupdf
--->  Cleaning zathura-plugin-pdf-mupdf


$ sudo port build zathura-plugin-pdf-mupdf
--->  Computing dependencies for gettext
--->  Fetching archive for gettext
--->  Attempting to fetch gettext-0.19.7_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/gettext
--->  Attempting to fetch gettext-0.19.7_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/gettext
--->  Attempting to fetch gettext-0.19.7_0.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gettext
--->  Fetching distfiles for gettext
--->  Attempting to fetch gettext-0.19.7.tar.gz from ftp://ftp.gnu.org/gnu/gettext
--->  Verifying checksums for gettext                                                
--->  Extracting gettext
--->  Configuring gettext
--->  Building gettext
--->  Staging gettext into destroot
--->  Installing gettext @0.19.7_0
--->  Cleaning gettext
--->  Computing dependencies for gettext
--->  Deactivating gettext @0.19.6_0
--->  Cleaning gettext
--->  Activating gettext @0.19.7_0
--->  Cleaning gettext
--->  Computing dependencies for gobject-introspection
--->  Fetching archive for gobject-introspection
--->  Attempting to fetch gobject-introspection-1.46.0_1.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/gobject-introspection
--->  Attempting to fetch gobject-introspection-1.46.0_1.darwin_15.x86_64.tbz2 from http://packages.macports.org/gobject-introspection
--->  Attempting to fetch gobject-introspection-1.46.0_1.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gobject-introspection
--->  Fetching distfiles for gobject-introspection
--->  Verifying checksums for gobject-introspection
--->  Extracting gobject-introspection
--->  Applying patches to gobject-introspection
--->  Configuring gobject-introspection
--->  Building gobject-introspection
--->  Staging gobject-introspection into destroot
--->  Installing gobject-introspection @1.46.0_1
--->  Cleaning gobject-introspection
--->  Computing dependencies for gobject-introspection
--->  Deactivating gobject-introspection @1.46.0_0
--->  Cleaning gobject-introspection
--->  Activating gobject-introspection @1.46.0_1
--->  Cleaning gobject-introspection
--->  Computing dependencies for xorg-libXi
--->  Fetching archive for xorg-libXi
--->  Attempting to fetch xorg-libXi-1.7.6_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/xorg-libXi
--->  Attempting to fetch xorg-libXi-1.7.6_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/xorg-libXi
--->  Attempting to fetch xorg-libXi-1.7.6_0.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/xorg-libXi
--->  Fetching distfiles for xorg-libXi
--->  Attempting to fetch libXi-1.7.6.tar.bz2 from ftp://ftp.x.org/pub/individual/lib/
--->  Verifying checksums for xorg-libXi
--->  Extracting xorg-libXi
--->  Configuring xorg-libXi
--->  Building xorg-libXi
--->  Staging xorg-libXi into destroot
--->  Installing xorg-libXi @1.7.6_0
--->  Cleaning xorg-libXi
--->  Computing dependencies for xorg-libXi
--->  Deactivating xorg-libXi @1.7.5_0
--->  Cleaning xorg-libXi
--->  Activating xorg-libXi @1.7.6_0
--->  Cleaning xorg-libXi
--->  Computing dependencies for p5.22-uri
--->  Fetching archive for p5.22-uri
--->  Attempting to fetch p5.22-uri-1.710.0_0.darwin_15.noarch.tbz2 from http://lil.fr.packages.macports.org/p5.22-uri
--->  Attempting to fetch p5.22-uri-1.710.0_0.darwin_15.noarch.tbz2 from http://packages.macports.org/p5.22-uri
--->  Attempting to fetch p5.22-uri-1.710.0_0.darwin_15.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.22-uri
--->  Fetching distfiles for p5.22-uri
--->  Attempting to fetch URI-1.71.tar.gz from http://mirror.cogentco.com/pub/CPAN/modules/by-module/URI
--->  Verifying checksums for p5.22-uri
--->  Extracting p5.22-uri
--->  Configuring p5.22-uri
--->  Building p5.22-uri
--->  Staging p5.22-uri into destroot
--->  Installing p5.22-uri @1.710.0_0
--->  Cleaning p5.22-uri
--->  Computing dependencies for p5.22-uri
--->  Deactivating p5.22-uri @1.690.0_0
--->  Cleaning p5.22-uri
--->  Activating p5.22-uri @1.710.0_0
--->  Cleaning p5.22-uri
--->  Computing dependencies for p5.22-mozilla-ca
--->  Fetching archive for p5.22-mozilla-ca
--->  Attempting to fetch p5.22-mozilla-ca-20160104_0.darwin_15.noarch.tbz2 from http://lil.fr.packages.macports.org/p5.22-mozilla-ca
--->  Attempting to fetch p5.22-mozilla-ca-20160104_0.darwin_15.noarch.tbz2 from http://packages.macports.org/p5.22-mozilla-ca
--->  Attempting to fetch p5.22-mozilla-ca-20160104_0.darwin_15.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.22-mozilla-ca
--->  Fetching distfiles for p5.22-mozilla-ca
--->  Attempting to fetch Mozilla-CA-20160104.tar.gz from http://mirror.cogentco.com/pub/CPAN/modules/by-module/Mozilla
--->  Verifying checksums for p5.22-mozilla-ca
--->  Extracting p5.22-mozilla-ca
--->  Configuring p5.22-mozilla-ca
--->  Building p5.22-mozilla-ca
--->  Staging p5.22-mozilla-ca into destroot
--->  Installing p5.22-mozilla-ca @20160104_0
--->  Cleaning p5.22-mozilla-ca
--->  Computing dependencies for p5.22-mozilla-ca
--->  Deactivating p5.22-mozilla-ca @20150826_0
--->  Cleaning p5.22-mozilla-ca
--->  Activating p5.22-mozilla-ca @20160104_0
--->  Cleaning p5.22-mozilla-ca
--->  Computing dependencies for zathura-plugin-pdf-mupdf
--->  Fetching distfiles for zathura-plugin-pdf-mupdf
--->  Verifying checksums for zathura-plugin-pdf-mupdf
--->  Extracting zathura-plugin-pdf-mupdf
--->  Applying patches to zathura-plugin-pdf-mupdf
--->  Configuring zathura-plugin-pdf-mupdf
--->  Building zathura-plugin-pdf-mupdf
Error: org.macports.build for port zathura-plugin-pdf-mupdf returned: command execution failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port zathura-plugin-pdf-mupdf failed

nhed@nhed-lt1~
$ sudo port build zathura-plugin-pdf-mupdf
--->  Computing dependencies for zathura-plugin-pdf-mupdf
--->  Building zathura-plugin-pdf-mupdf
Error: org.macports.build for port zathura-plugin-pdf-mupdf returned: command execution failed
Please see the log file for port zathura-plugin-pdf-mupdf for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_office_zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port zathura-plugin-pdf-mupdf failed

Last 150 lines of above mentioned main.log:

:msg:main 
:debug:main Executing org.macports.main (zathura-plugin-pdf-mupdf)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 502
:debug:main euid changed to: 504
:debug:main Skipping completed org.macports.fetch (zathura-plugin-pdf-mupdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (zathura-plugin-pdf-mupdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (zathura-plugin-pdf-mupdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (zathura-plugin-pdf-mupdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (zathura-plugin-pdf-mupdf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Jan  7 21:09:21 EST 2016
:notice:build --->  Building zathura-plugin-pdf-mupdf
:debug:build Executing org.macports.build (zathura-plugin-pdf-mupdf)
:debug:build Environment: 
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_office_zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf/work/.CC_PRINT_OPTIONS'
CFLAGS='-arch x86_64'
CPATH='/opt/local/include'
CPP='/usr/bin/cpp'
CXX='/usr/bin/clang++'
LDFLAGS='-arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.11'
VERBOSE='1'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_office_zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf/work/zathura-pdf-mupdf-0.2.8" && /usr/bin/make -j8 -w all PREFIX=/opt/local'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_office_zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf/work/zathura-pdf-mupdf-0.2.8" && /usr/bin/make -j8 -w all PREFIX=/opt/local 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_office_zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf/work/zathura-pdf-mupdf-0.2.8'
:info:build /usr/bin/clang -Wl,-dylib_install_name,pdf.dylib -Wl,-bundle_loader,/opt/local/bin/zathura -bundle -arch x86_64 -o pdf.dylib ./document.o ./image.o ./index.o ./links.o ./page.o ./plugin.o ./render.o ./search.o ./select.o ./utils.o -L/opt/local/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl  -L/opt/local/lib -lgirara-gtk3  -lmupdf -lmujs -L/opt/local/lib -lcrypto  -ljbig2dec -lopenjp2 -ljpeg -lz
:info:build Undefined symbols for architecture x86_64:
:info:build   "_FT_Done_Face", referenced from:
:info:build       _fz_drop_font in libmupdf.a(font.o)
:info:build   "_FT_Done_FreeType", referenced from:
:info:build       _fz_drop_font in libmupdf.a(font.o)
:info:build       _fz_new_font_from_file in libmupdf.a(font.o)
:info:build       _fz_keep_freetype in libmupdf.a(font.o)
:info:build       _fz_new_font_from_memory in libmupdf.a(font.o)
:info:build   "_FT_Done_Glyph", referenced from:
:info:build       _fz_render_ft_stroked_glyph_pixmap in libmupdf.a(font.o)
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build       _fz_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build   "_FT_Get_Advance", referenced from:
:info:build       _fz_advance_glyph in libmupdf.a(font.o)
:info:build       _add_text in libmupdf.a(pdf-appearance.o)
:info:build       _pdf_dev_text in libmupdf.a(pdf-device.o)
:info:build       _xps_measure_font_glyph in libmupdf.a(xps-glyphs.o)
:info:build       _xps_parse_glyphs in libmupdf.a(xps-glyphs.o)
:info:build   "_FT_Get_Char_Index", referenced from:
:info:build       _fz_encode_character in libmupdf.a(font.o)
:info:build       _add_text in libmupdf.a(pdf-appearance.o)
:info:build       _pdf_font_cid_to_gid in libmupdf.a(pdf-font.o)
:info:build       _pdf_load_simple_font_by_name in libmupdf.a(pdf-font.o)
:info:build       _xps_encode_font_char in libmupdf.a(xps-glyphs.o)
:info:build       _xps_parse_glyphs in libmupdf.a(xps-glyphs.o)
:info:build   "_FT_Get_Glyph", referenced from:
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build   "_FT_Get_Glyph_Name", referenced from:
:info:build       _pdf_load_simple_font_by_name in libmupdf.a(pdf-font.o)
:info:build   "_FT_Get_Name_Index", referenced from:
:info:build       _pdf_load_simple_font_by_name in libmupdf.a(pdf-font.o)
:info:build   "_FT_Get_X11_Font_Format", referenced from:
:info:build       _ft_kind in libmupdf.a(pdf-font.o)
:info:build   "_FT_Glyph_Stroke", referenced from:
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build   "_FT_Glyph_To_Bitmap", referenced from:
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build   "_FT_Init_FreeType", referenced from:
:info:build       _fz_keep_freetype in libmupdf.a(font.o)
:info:build   "_FT_Library_Version", referenced from:
:info:build       _fz_keep_freetype in libmupdf.a(font.o)
:info:build   "_FT_Load_Glyph", referenced from:
:info:build       _do_ft_render_glyph in libmupdf.a(font.o)
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build       _fz_outline_ft_glyph in libmupdf.a(font.o)
:info:build       _fz_adjust_ft_glyph_width in libmupdf.a(font.o)
:info:build       _fz_bound_glyph in libmupdf.a(font.o)
:info:build       _pdf_load_simple_font_by_name in libmupdf.a(pdf-font.o)
:info:build   "_FT_New_Face", referenced from:
:info:build       _fz_new_font_from_file in libmupdf.a(font.o)
:info:build   "_FT_New_Memory_Face", referenced from:
:info:build       _fz_new_font_from_memory in libmupdf.a(font.o)
:info:build   "_FT_Outline_Decompose", referenced from:
:info:build       _fz_outline_ft_glyph in libmupdf.a(font.o)
:info:build   "_FT_Outline_Embolden", referenced from:
:info:build       _do_ft_render_glyph in libmupdf.a(font.o)
:info:build       _fz_outline_ft_glyph in libmupdf.a(font.o)
:info:build       _fz_bound_glyph in libmupdf.a(font.o)
:info:build   "_FT_Outline_Get_CBox", referenced from:
:info:build       _fz_bound_glyph in libmupdf.a(font.o)
:info:build   "_FT_Outline_Translate", referenced from:
:info:build       _do_ft_render_glyph in libmupdf.a(font.o)
:info:build       _fz_outline_ft_glyph in libmupdf.a(font.o)
:info:build       _fz_bound_glyph in libmupdf.a(font.o)
:info:build   "_FT_Render_Glyph", referenced from:
:info:build       _do_ft_render_glyph in libmupdf.a(font.o)
:info:build   "_FT_Select_Charmap", referenced from:
:info:build       _load_cid_font in libmupdf.a(pdf-font.o)
:info:build   "_FT_Set_Char_Size", referenced from:
:info:build       _fz_text_extract in libmupdf.a(stext-device.o)
:info:build       _do_ft_render_glyph in libmupdf.a(font.o)
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build       _fz_outline_ft_glyph in libmupdf.a(font.o)
:info:build       _fz_adjust_ft_glyph_width in libmupdf.a(font.o)
:info:build       _fz_bound_glyph in libmupdf.a(font.o)
:info:build       _pdf_load_simple_font_by_name in libmupdf.a(pdf-font.o)
:info:build       ...
:info:build   "_FT_Set_Charmap", referenced from:
:info:build       _pdf_load_simple_font_by_name in libmupdf.a(pdf-font.o)
:info:build       _xps_select_font_encoding in libmupdf.a(xps-glyphs.o)
:info:build       _xps_parse_glyphs in libmupdf.a(xps-glyphs.o)
:info:build   "_FT_Set_Transform", referenced from:
:info:build       _do_ft_render_glyph in libmupdf.a(font.o)
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build       _fz_bound_glyph in libmupdf.a(font.o)
:info:build   "_FT_Stroker_Done", referenced from:
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build   "_FT_Stroker_New", referenced from:
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build   "_FT_Stroker_Set", referenced from:
:info:build       _do_render_ft_stroked_glyph in libmupdf.a(font.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [pdf.dylib] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_office_zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf/work/zathura-pdf-mupdf-0.2.8'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_office_zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf/work/zathura-pdf-mupdf-0.2.8" && /usr/bin/make -j8 -w all PREFIX=/opt/local 
:info:build Exit code: 2
:error:build org.macports.build for port zathura-plugin-pdf-mupdf returned: command execution failed
:debug:build Error code: CHILDSTATUS 60625 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for zathura-plugin-pdf-mupdf: org.macports.build
:notice:build Please see the log file for port zathura-plugin-pdf-mupdf for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_office_zathura-plugin-pdf-mupdf/zathura-plugin-pdf-mupdf/main.log


Change History (3)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to starkhalo@…
Port: zathura-plugin-pdf-mupdf added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers zathura-plugin-pdf-mupdf), if any.

comment:2 Changed 8 years ago by harciga

Superseded by #51918. Please close.

comment:3 Changed 8 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.