Opened 5 years ago
Closed 5 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)
Change History (10)
Changed 5 years ago by jbgoette (Jörg Götte)
comment:1 follow-up: 3 Changed 5 years ago by jbgoette (Jörg Götte)
Downgrading to Xcode 10.3 resolves this problem.
comment:2 Changed 5 years ago by iqgrande
Cc: | iqgrande added |
---|
Changed 5 years ago by sjLambda (Lambda Coder)
Attachment: | main.log.gz added |
---|
failed to build poppler: command execution failed, see main.log for details.
Changed 5 years ago by iqgrande
Attachment: | main.log.zip added |
---|
comment:3 follow-up: 5 Changed 5 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 5 years ago by jbgoette (Jörg Götte)
Cc: | jbgoette added |
---|
comment:5 Changed 5 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 5 years ago by kencu (Ken)
we are working on it -- see <https://github.com/macports/macports-ports/pull/5385> and 59078.
comment:7 Changed 5 years ago by jmroot (Joshua Root)
Cc: | dbevans added |
---|---|
Port: | poppler added; poppler-0.81.0 removed |
Resolution: | → duplicate |
Status: | new → closed |
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) |
Building log: main.log