Opened 15 years ago

Closed 10 years ago

#22762 closed defect (fixed)

qtpfsgui fails to build

Reported by: adamlogan@… Owned by: clubjuggler@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: michaelld (Michael Dickens), adamlogan@…
Port: qtpfsgui

Description

I get the following error when installing qtpfsgui. Everything else up to this point was fine. I started the installation as an admin user, aborted the installation, then repeated the command with sudo.

adamlogan:~ adamlogan$ port install qtpfsgui
MacPorts running without privileges. You may be unable to complete certain actions (eg install).
--->  Computing dependencies for qtpfsgui
MacPorts running without privileges. You may be unable to complete certain actions (eg install).
--->  Fetching expat
^C
adamlogan:~ adamlogan$ sudo port install qtpfsgui
Password:
--->  Computing dependencies for qtpfsgui
--->  Fetching expat
--->  Attempting to fetch expat-2.0.1.tar.gz from http://internap.dl.sourceforge.net/expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat
--->  Staging expat into destroot
--->  Installing expat @2.0.1_0
--->  Activating expat @2.0.1_0
--->  Cleaning expat
--->  Fetching gperf
--->  Attempting to fetch gperf-3.0.4.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Installing gperf @3.0.4_0
--->  Activating gperf @3.0.4_0
--->  Cleaning gperf
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.13.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv
--->  Staging libiconv into destroot
--->  Installing libiconv @1.13_0
--->  Activating libiconv @1.13_0
--->  Cleaning libiconv
--->  Fetching ncursesw
--->  Attempting to fetch ncurses-5.7.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/ncurses
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Configuring ncursesw
--->  Building ncursesw
--->  Staging ncursesw into destroot
--->  Installing ncursesw @5.7_0+darwin_10
--->  Activating ncursesw @5.7_0+darwin_10
--->  Cleaning ncursesw
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Installing ncurses @5.7_0+darwin_10
--->  Activating ncurses @5.7_0+darwin_10
--->  Cleaning ncurses
--->  Fetching gettext
--->  Attempting to fetch gettext-0.17.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext
--->  Staging gettext into destroot
--->  Installing gettext @0.17_4
--->  Activating gettext @0.17_4
--->  Cleaning gettext
--->  Fetching perl5.8
--->  Attempting to fetch perl-5.8.9.tar.bz2 from http://www.cpan.org/src/
--->  Verifying checksum(s) for perl5.8
--->  Extracting perl5.8
--->  Applying patches to perl5.8
--->  Configuring perl5.8
--->  Building perl5.8
--->  Staging perl5.8 into destroot
--->  Installing perl5.8 @5.8.9_3
--->  Activating perl5.8 @5.8.9_3
--->  Cleaning perl5.8
--->  Fetching perl5
--->  Verifying checksum(s) for perl5
--->  Extracting perl5
--->  Configuring perl5
--->  Building perl5
--->  Staging perl5 into destroot
--->  Installing perl5 @5.8.9_0
--->  Activating perl5 @5.8.9_0
--->  Cleaning perl5
--->  Fetching p5-locale-gettext
--->  Attempting to fetch gettext-1.05.tar.gz from ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Locale
--->  Verifying checksum(s) for p5-locale-gettext
--->  Extracting p5-locale-gettext
--->  Applying patches to p5-locale-gettext
--->  Configuring p5-locale-gettext
--->  Building p5-locale-gettext
--->  Staging p5-locale-gettext into destroot
--->  Installing p5-locale-gettext @1.05_0
--->  Activating p5-locale-gettext @1.05_0
--->  Cleaning p5-locale-gettext
--->  Fetching help2man
--->  Attempting to fetch help2man-1.36.4.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/help2man
--->  Verifying checksum(s) for help2man
--->  Extracting help2man
--->  Applying patches to help2man
--->  Configuring help2man
--->  Building help2man
--->  Staging help2man into destroot
--->  Installing help2man @1.36.4_1
--->  Activating help2man @1.36.4_1
--->  Cleaning help2man
--->  Fetching m4
--->  Attempting to fetch m4-1.4.13.tar.bz2 from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/m4
--->  Verifying checksum(s) for m4
--->  Extracting m4
--->  Applying patches to m4
--->  Configuring m4
--->  Building m4
--->  Staging m4 into destroot
--->  Installing m4 @1.4.13_0
--->  Activating m4 @1.4.13_0
--->  Cleaning m4
--->  Fetching autoconf
--->  Attempting to fetch autoconf-2.65.tar.bz2 from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/autoconf
--->  Verifying checksum(s) for autoconf
--->  Extracting autoconf
--->  Configuring autoconf
--->  Building autoconf
--->  Staging autoconf into destroot
--->  Installing autoconf @2.65_0
--->  Activating autoconf @2.65_0
--->  Cleaning autoconf
--->  Fetching automake
--->  Attempting to fetch automake-1.11.tar.bz2 from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/automake
--->  Verifying checksum(s) for automake
--->  Extracting automake
--->  Configuring automake
--->  Building automake
--->  Staging automake into destroot
--->  Installing automake @1.11_0
--->  Activating automake @1.11_0
--->  Cleaning automake
--->  Fetching libtool
--->  Attempting to fetch libtool-2.2.6b.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/libtool
--->  Verifying checksum(s) for libtool
--->  Extracting libtool
--->  Configuring libtool
--->  Building libtool
--->  Staging libtool into destroot
--->  Installing libtool @2.2.6b_0
--->  Activating libtool @2.2.6b_0
--->  Cleaning libtool
--->  Fetching zlib
--->  Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib
--->  Staging zlib into destroot
--->  Installing zlib @1.2.3_3
--->  Activating zlib @1.2.3_3
--->  Cleaning zlib
--->  Fetching exiv2
--->  Attempting to fetch exiv2-0.18.2.tar.gz from http://distfiles.macports.org/exiv2
--->  Verifying checksum(s) for exiv2
--->  Extracting exiv2
--->  Configuring exiv2
--->  Building exiv2
--->  Staging exiv2 into destroot
--->  Installing exiv2 @0.18.2_0
--->  Activating exiv2 @0.18.2_0
--->  Cleaning exiv2
--->  Fetching fftw-3
--->  Attempting to fetch fftw-3.2.2.tar.gz from http://www.fftw.org/
--->  Verifying checksum(s) for fftw-3
--->  Extracting fftw-3
--->  Configuring fftw-3
--->  Building fftw-3
--->  Staging fftw-3 into destroot
--->  Installing fftw-3 @3.2.2_0+i386
--->  Activating fftw-3 @3.2.2_0+i386
--->  Cleaning fftw-3
--->  Fetching fftw-3-single
--->  Verifying checksum(s) for fftw-3-single
--->  Extracting fftw-3-single
--->  Configuring fftw-3-single
--->  Building fftw-3-single
--->  Staging fftw-3-single into destroot
--->  Installing fftw-3-single @3.2.2_0+i386
--->  Activating fftw-3-single @3.2.2_0+i386
--->  Cleaning fftw-3-single
--->  Fetching gsed
--->  Attempting to fetch sed-4.2.1.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/sed
--->  Verifying checksum(s) for gsed
--->  Extracting gsed
--->  Configuring gsed
--->  Building gsed
--->  Staging gsed into destroot
--->  Installing gsed @4.2.1_0
--->  Activating gsed @4.2.1_0
--->  Cleaning gsed
--->  Fetching ilmbase
--->  Attempting to fetch ilmbase-1.0.1.tar.gz from http://savannah.nongnu.org/download/openexr
--->  Verifying checksum(s) for ilmbase
--->  Extracting ilmbase
--->  Applying patches to ilmbase
--->  Configuring ilmbase
--->  Building ilmbase
--->  Staging ilmbase into destroot
--->  Installing ilmbase @1.0.1_2
--->  Activating ilmbase @1.0.1_2
--->  Cleaning ilmbase
--->  Fetching openexr
--->  Attempting to fetch openexr-1.6.1.tar.gz from http://savannah.nongnu.org/download/openexr
--->  Verifying checksum(s) for openexr
--->  Extracting openexr
--->  Applying patches to openexr
--->  Configuring openexr
--->  Building openexr
--->  Staging openexr into destroot
--->  Installing openexr @1.6.1_1
--->  Activating openexr @1.6.1_1
--->  Cleaning openexr
--->  Fetching pkgconfig
--->  Attempting to fetch pkg-config-0.23.tar.gz from http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/
--->  Verifying checksum(s) for pkgconfig
--->  Extracting pkgconfig
--->  Configuring pkgconfig
--->  Building pkgconfig
--->  Staging pkgconfig into destroot
--->  Installing pkgconfig @0.23_1
--->  Activating pkgconfig @0.23_1
--->  Cleaning pkgconfig
--->  Fetching dbus
--->  Attempting to fetch dbus-1.2.16.tar.gz from http://distfiles.macports.org/dbus
--->  Verifying checksum(s) for dbus
--->  Extracting dbus
--->  Applying patches to dbus
--->  Configuring dbus
--->  Building dbus
--->  Staging dbus into destroot
--->  Installing dbus @1.2.16_1
--->  Activating dbus @1.2.16_1
#################################################################################################
# Startup items have been generated that will aid in
# starting dbus with launchd. They are disabled
# by default. Execute the following command to start them,
# and to cause it to launch at startup:
#
# sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
# launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
##################################################################################################
--->  Cleaning dbus
--->  Fetching jpeg
--->  Attempting to fetch jpegsrc.v6b.tar.gz from ftp://ftp.uu.net/graphics/jpeg
--->  Attempting to fetch jpegsrc.v6b.tar.gz from http://www.ijg.org/files
--->  Attempting to fetch jpegsrc.v6b.tar.gz from http://distfiles.macports.org/jpeg
--->  Attempting to fetch droppatch.tar.gz from http://distfiles.macports.org/jpeg
--->  Verifying checksum(s) for jpeg
--->  Extracting jpeg
--->  Applying patches to jpeg
--->  Configuring jpeg
--->  Building jpeg
--->  Staging jpeg into destroot
--->  Installing jpeg @6b_3
--->  Activating jpeg @6b_3
--->  Cleaning jpeg
--->  Fetching tiff
--->  Attempting to fetch tiff-3.9.2.tar.gz from ftp://ftp5.freebsd.org/pub/FreeBSD/ports/distfiles/
--->  Verifying checksum(s) for tiff
--->  Extracting tiff
--->  Applying patches to tiff
--->  Configuring tiff
--->  Building tiff
--->  Staging tiff into destroot
--->  Installing tiff @3.9.2_0+macosx
--->  Activating tiff @3.9.2_0+macosx
--->  Cleaning tiff
--->  Fetching lcms
--->  Attempting to fetch lcms-1.18a.tar.gz from http://voxel.dl.sourceforge.net/lcms
--->  Verifying checksum(s) for lcms
--->  Extracting lcms
--->  Configuring lcms
--->  Building lcms
--->  Staging lcms into destroot
--->  Installing lcms @1.18a_0
--->  Activating lcms @1.18a_0
--->  Cleaning lcms
--->  Fetching libmng
--->  Attempting to fetch libmng-1.0.10.tar.gz from http://internap.dl.sourceforge.net/libmng
--->  Verifying checksum(s) for libmng
--->  Extracting libmng
--->  Configuring libmng
--->  Building libmng
--->  Staging libmng into destroot
--->  Installing libmng @1.0.10_0
--->  Activating libmng @1.0.10_0
--->  Cleaning libmng
--->  Fetching libpng
--->  Attempting to fetch libpng-1.2.40.tar.bz2 from http://internap.dl.sourceforge.net/libpng
--->  Verifying checksum(s) for libpng
--->  Extracting libpng
--->  Configuring libpng
--->  Building libpng
--->  Staging libpng into destroot
--->  Installing libpng @1.2.40_0
--->  Activating libpng @1.2.40_0
--->  Cleaning libpng
--->  Fetching openssl
--->  Attempting to fetch openssl-0.9.8l.tar.gz from http://distfiles.macports.org/openssl
--->  Verifying checksum(s) for openssl
--->  Extracting openssl
--->  Applying patches to openssl
--->  Configuring openssl
--->  Building openssl
--->  Staging openssl into destroot
--->  Installing openssl @0.9.8l_0+darwin
--->  Activating openssl @0.9.8l_0+darwin
--->  Cleaning openssl
--->  Fetching readline
--->  Attempting to fetch readline-6.0.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/readline
--->  Verifying checksum(s) for readline
--->  Extracting readline
--->  Applying patches to readline
--->  Configuring readline
--->  Building readline
--->  Staging readline into destroot
--->  Installing readline @6.0.000_2+darwin
--->  Activating readline @6.0.000_2+darwin
--->  Cleaning readline
--->  Fetching sqlite3
--->  Attempting to fetch sqlite-3.6.20.tar.gz from http://www.sqlite.org/
--->  Verifying checksum(s) for sqlite3
--->  Extracting sqlite3
--->  Configuring sqlite3
--->  Building sqlite3
--->  Staging sqlite3 into destroot
--->  Installing sqlite3 @3.6.20_0
--->  Activating sqlite3 @3.6.20_0
--->  Cleaning sqlite3
--->  Fetching qt4-mac
--->  Attempting to fetch qt-mac-opensource-src-4.5.3.tar.gz from http://distfiles.macports.org/qt4-mac
--->  Verifying checksum(s) for qt4-mac
--->  Extracting qt4-mac
--->  Applying patches to qt4-mac
--->  Configuring qt4-mac
--->  Building qt4-mac
--->  Staging qt4-mac into destroot
--->  Installing qt4-mac @4.5.3_0+darwin_10
--->  Activating qt4-mac @4.5.3_0+darwin_10
--->  Cleaning qt4-mac
--->  Fetching qtpfsgui
--->  Attempting to fetch qtpfsgui-1.9.2.tar.gz from http://internap.dl.sourceforge.net/qtpfsgui
--->  Verifying checksum(s) for qtpfsgui
--->  Extracting qtpfsgui
--->  Applying patches to qtpfsgui
--->  Configuring qtpfsgui
--->  Building qtpfsgui
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtpfsgui/work/qtpfsgui-1.9.2" && /usr/bin/make -j2 all " returned error 2
Command output:       QMap<QString, int>::detach_helper()   in preferencesDialog.o
  "QObject::killTimer(int)", referenced from:
      PreviewWidget::mouseReleaseEvent(QMouseEvent*)        in previewWidget.o
  "QLabel::text() const", referenced from:
      MainGui::aboutQtpfsgui()      in mainWindow.o
  "QToolBar::addSeparator()", referenced from:
      Ui_MainGui::setupUi(QMainWindow*)       in mainWindow.o
      Ui_MainGui::setupUi(QMainWindow*)       in mainWindow.o
      HdrViewer::HdrViewer(QWidget*, unsigned int, unsigned int, bool)in hdrviewer.o
      HdrViewer::HdrViewer(QWidget*, unsigned int, unsigned int, bool)in hdrviewer.o
      Ui_TonemappingWindow::setupUi(QMainWindow*)       in tonemappingDialog.o
      Ui_TonemappingWindow::setupUi(QMainWindow*)       in tonemappingDialog.o
      Ui_TonemappingWindow::setupUi(QMainWindow*)       in tonemappingDialog.o
  "QAbstractSlider::maximum() const", referenced from:
      Gang::v2p(float) constin gang.o
      Gang::p2v(int) constin gang.o
  "QString::codecForCStrings", referenced from:
      __ZN7QString16codecForCStringsE$non_lazy_ptr in options.o
      __ZN7QString16codecForCStringsE$non_lazy_ptr in commandline.o
      __ZN7QString16codecForCStringsE$non_lazy_ptr in mainWindow.o
      __ZN7QString16codecForCStringsE$non_lazy_ptr in tonemapping_widget.o
      __ZN7QString16codecForCStringsE$non_lazy_ptr in loadHdrThread.o
      __ZN7QString16codecForCStringsE$non_lazy_ptr in preferencesDialog.o
      __ZN7QString16codecForCStringsE$non_lazy_ptr in newHdrWizard.o
  "QTableWidget::columnCount() const", referenced from:
      Ui_HdrWizardForm::setupUi(QDialog*)      in newHdrWizard.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc4UFUeB.out (No such file or directory)
make: *** [qtpfsgui.app/Contents/MacOS/qtpfsgui] Error 1

Error: Status 1 encountered during processing.
adamlogan:~ adamlogan$ 

Change History (8)

comment:1 Changed 15 years ago by adamlogan@…

Cc: adamlogan@… added

Cc Me!

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: clubjuggler@… adamlogan@… removed
Owner: changed from macports-tickets@… to clubjuggler@…

comment:3 Changed 15 years ago by scoopr@…

I had the same issue. Apparently qmake generates a Makefile that tries to build universal binary, but qt itself is not built as universal in macports by default. I ended up just modifying the generated Makefile after the error (removed all instances of -arch i386), but I guess building all the dependencies as universal would work too.

comment:4 Changed 14 years ago by imprezzed@…

correct. see. http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg32084.html

manually changed the Makefile like scoopr stated. And it installed ;)

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Cc: michaelld@… added

Is this still a problem given recent changes, particularly r72606?

comment:6 in reply to:  5 Changed 14 years ago by adamlogan@…

Replying to jmr@…:

Is this still a problem given recent changes, particularly r72606?

I have no idea if this is resolved now or not. Hopefully someone else can report.

comment:7 Changed 14 years ago by adamlogan@…

Cc: adamlogan@… added

Cc Me!

comment:8 Changed 10 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Assuming fixed given no report to the contrary. Reopen if not.

Note: See TracTickets for help on using tickets.