Opened 5 years ago

Closed 5 years ago

#58735 closed defect (fixed)

poppler @0.79.0 fails to build with cctools +llvm39 installed

Reported by: tehcog (tehcog) Owned by: ken-cunningham-webuse
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: dbevans (David B. Evans), jeremyhu (Jeremy Huddleston Sequoia)
Port: cctools poppler

Description

Please see attached main.log

Jul 18 17:11:14 xxXXXxx --->  Computing dependencies for poppler
Jul 18 17:11:14 xxXXXxx --->  Fetching archive for poppler
Jul 18 17:11:14 xxXXXxx --->  Attempting to fetch poppler-0.79.0_0.darwin_13.x86_64.tbz2 from https://packages.macports.org/poppler
Jul 18 17:11:15 xxXXXxx --->  Attempting to fetch poppler-0.79.0_0.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/poppler
Jul 18 17:11:15 xxXXXxx --->  Attempting to fetch poppler-0.79.0_0.darwin_13.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/poppler
Jul 18 17:11:45 xxXXXxx --->  Verifying checksums for poppler
Jul 18 17:11:45 xxXXXxx --->  Extracting poppler
Jul 18 17:11:45 xxXXXxx --->  Applying patches to poppler
Jul 18 17:11:46 xxXXXxx --->  Configuring poppler
Jul 18 17:11:54 xxXXXxx --->  Building poppler
Jul 18 17:12:28 xxXXXxx Error: Failed to build poppler: command execution failed
Jul 18 17:12:28 xxXXXxx Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log for details.

Attachments (1)

poppler_main.log (709.6 KB) - added by tehcog (tehcog) 5 years ago.
main.log

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by tehcog (tehcog)

Attachment: poppler_main.log added

main.log

comment:1 Changed 5 years ago by kencu (Ken)

3190	:info:build fatal error: otool: can't find or exec: /opt/local/bin/llvm-objdump-mp-3.9 (No such file or directory)
3191	:info:build Traceback (most recent call last):
3192	:info:build   File "/opt/local/bin/g-ir-scanner", line 96, in <module>
3193	:info:build     sys.exit(scanner_main(sys.argv))
3194	:info:build   File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 547, in scanner_main
3195	:info:build     shlibs = create_binary(transformer, options, args)
3196	:info:build   File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 420, in create_binary
3197	:info:build     shlibs = resolve_shlibs(options, binary, options.libraries)
3198	:info:build   File "/opt/local/lib/gobject-introspection/giscanner/shlibs.py", line 163, in resolve_shlibs
3199	:info:build     _resolve_non_libtool(options, binary, non_libtool))
3200	:info:build   File "/opt/local/lib/gobject-introspection/giscanner/shlibs.py", line 109, in _resolve_non_libtool
3201	:info:build     output = subprocess.check_output(args)
3202	:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output
3203	:info:build     raise CalledProcessError(retcode, cmd, output=output)
3204	:info:build subprocess.CalledProcessError: Command '[u'otool', u'-L', u'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/build/glib/tmp-introspect9wnzBb/Poppler-0.18']' returned non-zero exit status 1
Last edited 5 years ago by kencu (Ken) (previous) (diff)

comment:2 Changed 5 years ago by kencu (Ken)

can you show us how your cctools is installed?

port -v installed cctools

I suspect you have the +llvm39 variant, and that variant will no longer work now that llvm-3.9 is gone. You'll probably need to upgrade it to the +llvm80 variant and then try again with poppler.

comment:3 in reply to:  2 Changed 5 years ago by tehcog (tehcog)

You were correct:

-> sudo port -v installed cctools
Password:
The following ports are currently installed:
  cctools @921_2+llvm39 (active) platform='darwin 13' archs='x86_64' date='2019-06-02T09:58:51-0400'
-> sudo port install cctools +llvm80
--->  Computing dependencies for cctools
--->  Fetching archive for cctools
--->  Attempting to fetch cctools-921_2+llvm80.darwin_13.x86_64.tbz2 from https://packages.macports.org/cctools
--->  Attempting to fetch cctools-921_2+llvm80.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/cctools
--->  Attempting to fetch cctools-921_2+llvm80.darwin_13.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/cctools
--->  Fetching distfiles for cctools
--->  Verifying checksums for cctools
--->  Extracting cctools
--->  Applying patches to cctools
--->  Configuring cctools
--->  Building cctools
--->  Staging cctools into destroot
--->  Installing cctools @921_2+llvm80
--->  Deactivating cctools @921_2+llvm39
--->  Cleaning cctools
--->  Activating cctools @921_2+llvm80
--->  Cleaning cctools
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
-> sudo port -v installed cctools
The following ports are currently installed:
  cctools @921_2+llvm39 platform='darwin 13' archs='x86_64' date='2019-06-02T09:58:51-0400'
  cctools @921_2+llvm80 (active) platform='darwin 13' archs='x86_64' date='2019-07-18T17:58:34-0400'
-> sudo port upgrade poppler
--->  Computing dependencies for poppler
--->  Fetching archive for poppler
--->  Attempting to fetch poppler-0.79.0_0.darwin_13.x86_64.tbz2 from https://packages.macports.org/poppler
--->  Attempting to fetch poppler-0.79.0_0.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/poppler
--->  Attempting to fetch poppler-0.79.0_0.darwin_13.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/poppler
--->  Fetching distfiles for poppler
--->  Verifying checksums for poppler
--->  Extracting poppler
--->  Applying patches to poppler
--->  Configuring poppler
--->  Building poppler
--->  Staging poppler into destroot
--->  Installing poppler @0.79.0_0
--->  Cleaning poppler
--->  Computing dependencies for poppler
--->  Deactivating poppler @0.78.0_0
--->  Cleaning poppler
--->  Activating poppler @0.79.0_0
--->  Cleaning poppler
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

Thanks!

Replying to kencu:

can you show us how your cctools is installed?

port -v installed cctools

I suspect you have the +llvm39 variant, and that variant will no longer work now that llvm-3.9 is gone. You'll probably need to upgrade it to the +llvm80 variant and then try again with poppler.

comment:4 Changed 5 years ago by kencu (Ken)

Great. Not sure if there is something here in cctools we are supposed to fix (or can fix) somehow, though. Clearly anyone with that variant is going to find out they are busted soon.

comment:5 Changed 5 years ago by jmroot (Joshua Root)

Cc: jeremyhu added
Port: cctools added
Summary: poppler @0.79.0 fails to build on maverickspoppler @0.79.0 fails to build with cctools +llvm39 installed

Yes, it can and should be fixed in cctools by bumping the revision.

comment:6 Changed 5 years ago by kencu (Ken)

has duplicate 58793

comment:7 Changed 5 years ago by ken-cunningham-webuse

Owner: set to ken-cunningham-webuse
Resolution: fixed
Status: newclosed

In c757a277ed75cadc895d50d0645421c4930289cc/macports-ports (master):

cctools: revbump to build against new default variants

closes: #58735

Note: See TracTickets for help on using tickets.