Opened 17 months ago

Closed 17 months ago

Last modified 15 months ago

#66076 closed defect (invalid)

gnuplot build failing on Ventura

Reported by: pidloop Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: gnuplot

Description

Hello. Trying to build gnuplot on ventura with Xcode 4.1rc2 is failing. I first tried

sudo port -N install gnuplot +aquaterm +x11 

which resulted in the attached error. Since it seems to be an issue with aquaterm I then tried

sudo port clean gnuplot
sudo port -N install gnuplot -aquaterm

Other ports have been building fine, this is the first that has given any trouble. Thanks.

Attachments (3)

gnuplot-build-error.log (101.3 KB) - added by pidloop 17 months ago.
log file building gnuplot
gnuploy-build-aquaterm.log (187.7 KB) - added by pidloop 17 months ago.
building gnuplot without aquaterm
gnuplot-nolocallib.log (166.5 KB) - added by pidloop 17 months ago.
gnuplot after removing /usr/local/lib

Download all attachments as: .zip

Change History (12)

Changed 17 months ago by pidloop

Attachment: gnuplot-build-error.log added

log file building gnuplot

Changed 17 months ago by pidloop

Attachment: gnuploy-build-aquaterm.log added

building gnuplot without aquaterm

comment:1 Changed 17 months ago by kencu (Ken)

somehow, you are trying to link this:

clang: error: no such file or directory: '/usr/local/lib/libstdc++.dylib'

and that file both should not be used at all, and would not exist in that location if it was supposed to be used...

Let's see if anyone else has that issue, or if it is "just you"...

comment:2 Changed 17 months ago by pidloop

Hi Ken. Well, I see all the files in /usr/local/lib are at least 2 years old (I think these are from back when I tried brew which I abandoned after they were so rude when I asked them a simple question) so for fun I did

mv /usr/local/lib{,-macport-test}

and tried again

sudo port clean gnuplot
sudo port install gnuplot

but now I get a completely different error, see attached.

Changed 17 months ago by pidloop

Attachment: gnuplot-nolocallib.log added

gnuplot after removing /usr/local/lib

comment:3 Changed 17 months ago by kencu (Ken)

I have it building now, but because there are no buildbot prebuilts at present, it will take a while.

BTW, AquaTerm is fixed by this PR, for me on Ventura Intel at least:

https://github.com/macports/macports-ports/pull/16469

comment:4 Changed 17 months ago by pidloop

After cleaning more stuff out from my /usr/local gnuplot now builds and runs fine. Many thanks for your help.

But still no joy with aquaterm. Not sure how to access that fix you mention, selfupdate no help.

comment:5 Changed 17 months ago by kencu (Ken)

someone will merge that PR soon enough ... we like to give the person in charge of the port first dibs though.

checking out a PR, or downloading and applying a patch, are stages of expertise with MacPorts. Some really want to understand how this works, others are more happy to sit back and wait for the magic.

If you get to the stage of having a fork of the MacPorts ports tree in your local repo, and then clone that to your hard drive so you can work with it, and then add https://github.com/macports/macports-ports.git as a remote repo named "upstream" -- let me know and I'll help the rest from that point. It's pretty easy.

comment:6 Changed 17 months ago by pidloop

Thanks ... happy enough to "wait for the magic".

This ticket can be closed. Thanks again.

comment:7 Changed 17 months ago by jmroot (Joshua Root)

Keywords: gnuplot removed
Owner: set to mojca
Status: newassigned

comment:8 in reply to:  4 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

Replying to pidloop:

After cleaning more stuff out from my /usr/local gnuplot now builds and runs fine.

Yes, keep in mind that having things in /usr/local often interferes with MacPorts. See wiki:FAQ#usrlocal.

comment:9 Changed 15 months ago by pidloop

gnuplot +aquaterm builds fine now. Thanks everyone.

Note: See TracTickets for help on using tickets.