Opened 16 months ago
Last modified 14 months ago
#67752 new update
scid @4.7.0_0: upgrade to 5.0.2
Reported by: | wepl (Bert Jahn) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | Raimondi (Israel Chauca Fuentes) | |
Port: | scid |
Description
Could you please make scid 5.0.2 available to macports? Currently only 4.7 is available. Thanks a lot.
Attachments (6)
Change History (15)
Changed 16 months ago by Raimondi (Israel Chauca Fuentes)
Attachment: | patch-Info.plist.diff added |
---|
Changed 16 months ago by Raimondi (Israel Chauca Fuentes)
Attachment: | patch-Makefile.conf.diff added |
---|
Changed 16 months ago by Raimondi (Israel Chauca Fuentes)
comment:1 Changed 16 months ago by Raimondi (Israel Chauca Fuentes)
comment:2 Changed 16 months ago by wepl (Bert Jahn)
Thanks for you work. I'm unsure how to test this, but did the following: I copied the files into /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/scid replacing existing ones. Then executed 'port upgrade scid'. Got:
---> Computing dependencies for scid ---> Fetching archive for scid ---> Attempting to fetch scid-5.0.2_0.darwin_17.x86_64.tbz2 from http://packages.macports.org/scid ---> Attempting to fetch scid-5.0.2_0.darwin_17.x86_64.tbz2 from http://fra.de.packages.macports.org/scid ---> Attempting to fetch scid-5.0.2_0.darwin_17.x86_64.tbz2 from http://cph.dk.packages.macports.org/scid ---> Fetching distfiles for scid ---> Attempting to fetch scid_src_5.0.2.zip from http://distfiles.macports.org/scid ---> Attempting to fetch scid_src_5.0.2.zip from http://deac-fra.dl.sourceforge.net/scid ---> Verifying checksums for scid ---> Extracting scid ---> Applying patches to scid ---> Configuring scid ---> Building scid Error: Failed to build scid: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_scid/scid/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
log file attached
Changed 16 months ago by wepl (Bert Jahn)
Changed 16 months ago by Raimondi (Israel Chauca Fuentes)
Attachment: | Portfile.2 added |
---|
This Portfile uses cmake to build
comment:3 Changed 16 months ago by Raimondi (Israel Chauca Fuentes)
I just uploaded a new Portfile that uses cmake to build. Let me know how that goes.
Changed 16 months ago by wepl (Bert Jahn)
Attachment: | main.log.2 added |
---|
comment:4 Changed 16 months ago by wepl (Bert Jahn)
there are now compiler errors, main.log.2 attached
comment:5 Changed 16 months ago by Raimondi (Israel Chauca Fuentes)
I just realized that your machine is running High Sierra (macOS 10.13) and I have no way to test under that version. If you manage to make a working Portfile, we can work on merging the changes.
comment:6 Changed 15 months ago by wepl (Bert Jahn)
The Portfile you sent did work in your environment?
So is it failing because the compiler is too old in my environment?
I have here:
> /usr/bin/clang++ --version Apple LLVM version 10.0.0 (clang-1000.10.44.4) Target: x86_64-apple-darwin17.7.0
As far as I have checked I can neither upgrade macOS nor Xcode (iMac12,1) anymore.
I don't know how to fix the compiler error.
So if this is all I'll continue to use scid 4.7.0.
Thanks a lot for your time!
comment:7 Changed 15 months ago by Raimondi (Israel Chauca Fuentes)
Yes, the Portfile works fine here. Can you install gcc and try with that one?
comment:8 Changed 15 months ago by wepl (Bert Jahn)
I have installed gcc-devel. What must I change in the Portfile that it gets used?
comment:9 Changed 14 months ago by Raimondi (Israel Chauca Fuentes)
In cmake's FAQ(1) there are a couple of options, but I'm not sure how to handle that in the Portfile. Maybe in the mailing list or #macports someone could answer that or give some pointers.
(1)https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#how-do-i-use-a-different-compiler
Thanks for the heads up. The attached files would update Scid to 5.0.2.