Opened 2 years ago

Closed 2 years ago

#59177 closed defect (duplicate)

poppler @0.81.0 fails to install (fatal error: 'time. h' file not found)

Reported by: jbgoette (Jörg Götte) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: iqgrande, jbgoette (Jörg Götte), dbevans (David B. Evans)
Port: poppler

Description

After upgrading to MacPorts 2.6.1 poppler fails to build, even if the old version (0.80 in this case) has been deactivated. I have currently Xcode 11.0 installed.

Attachments (3)

main.log (453.9 KB) - added by jbgoette (Jörg Götte) 2 years ago.
Building log: main.log
main.log.gz (43.9 KB) - added by sjLambda (Lambda Coder) 2 years ago.
failed to build poppler: command execution failed, see main.log for details.
main.log.zip (17.1 KB) - added by iqgrande 2 years ago.

Download all attachments as: .zip

Change History (10)

Changed 2 years ago by jbgoette (Jörg Götte)

Attachment: main.log added

Building log: main.log

comment:1 Changed 2 years ago by jbgoette (Jörg Götte)

Downgrading to 10.3 resolves this problem.

Version 0, edited 2 years ago by jbgoette (Jörg Götte) (next)

comment:2 Changed 2 years ago by iqgrande

Cc: iqgrande added

Changed 2 years ago by sjLambda (Lambda Coder)

Attachment: main.log.gz added

failed to build poppler: command execution failed, see main.log for details.

Changed 2 years ago by iqgrande

Attachment: main.log.zip added

comment:3 in reply to:  1 ; Changed 2 years ago by iqgrande

Replying to jbgoette:

Downgrading to Xcode 10.3 resolves this problem.

I downgraded to Xcode 10.3 and the issue persisted.

$ xcodebuild -version
Xcode 10.3
Build version 10G8

comment:4 Changed 2 years ago by jbgoette (Jörg Götte)

Cc: jbgoette added

comment:5 in reply to:  3 Changed 2 years ago by iqgrande

Replying to iqgrande:

Replying to jbgoette:

Downgrading to Xcode 10.3 resolves this problem.

I downgraded to Xcode 10.3 and the issue persisted.

$ xcodebuild -version
Xcode 10.3
Build version 10G8

I kept Xcode.app (version 11) and made a Xcode-10.3.app and set the environment to look for Xcode-10.3. Anyways, I found the following within main.log which, I think, might hold the key to this.

version:1
:debug:sysinfo macOS 10.14 (darwin/18.7.0) arch i386
:debug:sysinfo MacPorts 2.6.1
:debug:sysinfo Xcode 10.3
:debug:sysinfo SDK 10.14
<snip>
:info:build clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' [-Wmissing-sysroot]
<snip>

Ultimately, it is looking for things within /Applications/Xcode.app instead of through xcode-select, e.g.,

$ xcode-select -p
/Applications/Xcode-10.3.app/Contents/Developer

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

comment:7 Changed 2 years ago by jmroot (Joshua Root)

Cc: dbevans added
Port: poppler added; poppler-0.81.0 removed
Resolution: duplicate
Status: newclosed
Summary: poppler-0.81.0 fails to install (fatal error: 'time. h' file not found)poppler @0.81.0 fails to install (fatal error: 'time. h' file not found)
Note: See TracTickets for help on using tickets.