Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39673 closed defect (fixed)

plplot @5.9.9_12+aquaterm+universal+x11: build failure, cannot find i386 symbols

Reported by: andreasnuyts@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: plplot

Description

I wanted to install gnudatalanguage +wxWidgets, but it failed when installing plplot-5.9.9_12+aquaterm+universal+x11.darwin_10.i386-x86_64.tbz2. I then tried to install plplot +aquaterm+universal+x11 separately, which also fails. Install succeeds for plplot +aquaterm+x11.

I am using OS X 10.6.8, and have Xcode 3.2.6 installed.

I get the following error message:

Andreas:~ Andreas$ sudo port install plplot +aquaterm+universal+x11
--->  Computing dependencies for plplot
--->  Fetching archive for plplot
--->  Attempting to fetch plplot-5.9.9_12+aquaterm+universal+x11.darwin_10.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/plplot
--->  Attempting to fetch plplot-5.9.9_12+aquaterm+universal+x11.darwin_10.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/plplot
--->  Attempting to fetch plplot-5.9.9_12+aquaterm+universal+x11.darwin_10.i386-x86_64.tbz2 from http://packages.macports.org/plplot
--->  Fetching distfiles for plplot
--->  Verifying checksum(s) for plplot
--->  Extracting plplot
--->  Configuring plplot
--->  Building plplot
Error: org.macports.build for port plplot returned: command execution failed
Please see the log file for port plplot for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_plplot/plplot/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port plplot failed

Uninstalling, cleaning and reinstalling doesn't help.

Attachments (1)

main.log (516.8 KB) - added by andreasnuyts@… 11 years ago.
The log file referred to in the error message.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by andreasnuyts@…

Attachment: main.log added

The log file referred to in the error message.

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: takeshi@… removed
Owner: changed from macports-tickets@… to takeshi@…
Summary: plplot @5.9.9_12+aquaterm+universal+x11plplot @5.9.9_12+aquaterm+universal+x11: build failure, cannot find i386 symbols
:info:build ld: warning: in /opt/local/lib/libQtSvg.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build ld: warning: in /opt/local/lib/libQtGui.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build ld: warning: in /opt/local/lib/libQtXml.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build ld: warning: in /opt/local/lib/libQtCore.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build Undefined symbols for architecture i386:
:info:build   "QWidget::~QWidget()", referenced from:
:info:build       QtPLWidget::QtPLWidget(int, int, QWidget*)in plqt.cpp.o
:info:build       QtPLWidget::~QtPLWidget()in plqt.cpp.o
:info:build       QtPLWidget::~QtPLWidget()in plqt.cpp.o
:info:build       QtPLWidget::~QtPLWidget()in plqt.cpp.o
:info:build       QtPLWidget::~QtPLWidget()in plqt.cpp.o
:info:build       QtPLWidget::~QtPLWidget()in plqt.cpp.o
:info:build   "QWidget::move(QPoint const&)", referenced from:
:info:build       plD_init_qtwidget(PLStream*)     in qt.cpp.o

[…snip…]

:info:build   "QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int)", referenced from:
:info:build       QtExtWidget::captureMousePlotCoords(double*, double*)in plqt.cpp.o
:info:build       QtPLWidget::getCursorCmd(PLGraphicsIn*)        in plqt.cpp.o
:info:build       QtExtWidget::~QtExtWidget()in plqt.cpp.o
:info:build       QtExtWidget::~QtExtWidget()in plqt.cpp.o
:info:build   "QString::shared_null", referenced from:
:info:build       __ZN7QString11shared_nullE$non_lazy_ptr in plqt.cpp.o
:info:build      (maybe you meant: __ZN7QString11shared_nullE$non_lazy_ptr)
:info:build ld: symbol(s) not found for architecture i386
:info:build collect2: ld returned 1 exit status

comment:2 Changed 11 years ago by tenomoto (Takeshi Enomoto)

A developer of GDL says that wxWidgets support is immature. plplot has a problem with Qt. CMake finds Qt and tried to link against it even if qt is turned off. If you don't need qt4-mac, uninstall it. If you need it, deactivate it. Then try install plplot again.

comment:3 in reply to:  2 Changed 11 years ago by andreasnuyts@…

Replying to takeshi@…:

A developer of GDL says that wxWidgets support is immature. plplot has a problem with Qt. CMake finds Qt and tried to link against it even if qt is turned off. If you don't need qt4-mac, uninstall it. If you need it, deactivate it. Then try install plplot again.

I don't really understand the diagnosis, but the remedy works! I got it installed, thanks for the help.

comment:4 Changed 11 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Plplot port should handle Qt4 properly in r108177.

comment:5 Changed 11 years ago by tenomoto (Takeshi Enomoto)

Similar problems in #38688, #39408.

comment:6 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.