Opened 5 years ago

Closed 5 years ago

#57953 closed defect (worksforme)

notmuch 0.28: assumes universal-darwin16 but I have universal-darwin17

Reported by: borwick (John Borwick) Owned by: rseichter (Ralph Seichter)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: notmuch

Description

The ruby bindings are complaining there's no rule to make config.h:

:info:build creating Makefile
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C bindings/ruby
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_notmuch/notmuch/work/notmuch-0.28/bindings/ruby'
:info:build make[1]: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin16/ruby/config.h', needed by `database.o'.  Stop.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_notmuch/notmuch/work/notmuch-0.28/bindings/ruby'
:info:build make: *** [ruby-bindings] Error 2

The fix/workaround:

cd "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0"
ln -s universal-darwin17 universal-darwin16

Attachments (1)

main.log (208.5 KB) - added by borwick (John Borwick) 5 years ago.
build log

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by borwick (John Borwick)

Attachment: main.log added

build log

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

Owner: set to rseichter
Status: newassigned

comment:2 Changed 5 years ago by rseichter (Ralph Seichter)

John, how do you build with Ruby support given that there is no "ruby" variant of the Notmuch port and that configure is called as follows on my machine?

./configure --prefix=/opt/local --with-docs --without-ruby --with-emacs

I have inherited a few tickets regarding Notmuch, some of them several years old, and I am trying to figure out which ones are still relevant.

comment:3 Changed 5 years ago by borwick (John Borwick)

Hi Ralph!

I think you can close this.

Re: ruby, I am guessing some dependent port had a ruby dependency.

Re: closing this, I think I hadn't rebuilt macports since I did an OS update, resulting in the "ln -s universal-darwin17 universal-darwin16" fixing this issue. I think if I had done a full wipe and rebuild when I was supposed to, then this bug would not have shown up. I highly doubt this was a notmuch-specific issue.

Thank you very much for taking on maintenance of this port! I am now using notmuch+Emacs for my email and I really appreciate that notmuch is a macports port!

comment:4 Changed 5 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.