Opened 14 years ago

Closed 14 years ago

#25078 closed defect (fixed)

libQGLViewer +universal install fails

Reported by: macports@… Owned by: raphael-st (Raphael Straub)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: libQGLViewer

Description (last modified by jmroot (Joshua Root))

--->  Configuring libQGLViewer
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: Executing org.macports.configure (libQGLViewer)
DEBUG: Environment: CFLAGS='-O2 -arch x86_64 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64 -arch i386' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib -arch x86_64 -arch i386' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64 -arch i386' FFLAGS='-O2' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libQGLViewer/work/libQGLViewer-2.3.5" && qmake-mac PREFIX=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libQGLViewer/work/destroot/opt/local DOC_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libQGLViewer/work/destroot/opt/local/share/doc/libQGLViewer -after QMAKE_POST_LINK= --disable-dependency-tracking'
***Unknown option --disable-dependency-tracking
Usage: qmake-mac [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C
                 Note: The created .pro file probably will 
                 need to be edited. For example add the QT variable to 
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings

Options:
   * You can place any variable assignment in options and it will be     *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files].                                                     *
  -o file        Write output to file
  -unix          Run in unix mode
  -win32         Run in win32 mode
  -macx          Run in Mac OS X mode
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -after         All variable assignments after this will be
                 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libQGLViewer/work/libQGLViewer-2.3.5" && qmake-mac PREFIX=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libQGLViewer/work/destroot/opt/local DOC_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libQGLViewer/work/destroot/opt/local/share/doc/libQGLViewer -after QMAKE_POST_LINK= --disable-dependency-tracking " returned error 1
DEBUG: Backtrace: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libQGLViewer/work/libQGLViewer-2.3.5" && qmake-mac PREFIX=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libQGLViewer/work/destroot/opt/local DOC_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libQGLViewer/work/destroot/opt/local/share/doc/libQGLViewer -after QMAKE_POST_LINK= --disable-dependency-tracking " returned error 1
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for libQGLViewer): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (4)

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

Description: modified (diff)
Keywords: qmake libQGLViewer removed
Owner: changed from macports-tickets@… to raphael@…

Please remember to preview and use WikiFormatting, and to cc the maintainer.

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

Summary: libQGLViewer install failslibQGLViewer +universal install fails

Looks like you're building universal. That's an important detail.

comment:3 Changed 14 years ago by macports@…

Yeah, +universal indeed. Sorry, I mainly develop on Gentoo. I'm so used to the variants (aka 'use flags') being part of the verbose output that I forgot to add this.

Regarding WikiFormatting: before it was formatted as a blockquote it was easier to read. I.e. the line with the offending qmake options isn't wrapped so you can't read it w/o scrolling. ;) I guess what one really wanted was monospaced text with line wrapping. Ah well. :)

comment:4 Changed 14 years ago by raphael-st (Raphael Straub)

Resolution: fixed
Status: newclosed

This should be fixed in r68310.

Note: See TracTickets for help on using tickets.