Opened 11 years ago
Closed 8 years ago
#39443 closed defect (fixed)
qtpfsgui fails to build: OpenMP problem
Reported by: | thimo@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | |
Port: | qtpfsgui |
Description
I tried to install qtpfsgui and got this:
---> Fetching distfiles for qtpfsgui ---> Attempting to fetch qtpfsgui-1.9.3.tar.gz from http://freefr.dl.sourceforge.net/qtpfsgui ---> Verifying checksum(s) for qtpfsgui ---> Extracting qtpfsgui ---> Applying patches to qtpfsgui ---> Configuring qtpfsgui ---> Building qtpfsgui Error: org.macports.build for port qtpfsgui returned: command execution failed Please see the log file for port qtpfsgui for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtpfsgui/qtpfsgui/main.log
In the log I've found the reason:
:info:build /usr/bin/clang++ -headerpad_max_install_names -fopenmp -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 -o qtpfsgui.app/Contents/MacOS/qtpfsgui generat ed_obj/pfs.o generated_obj/colorspace.o generated_obj/global.o generated_obj/main.o generated_obj/options.o generated_obj/smart_scroll_area.o generated_obj/panIconWidg et.o generated_obj/gamma_and_levels.o generated_obj/gang.o generated_obj/commandline.o generated_obj/mainWindow.o generated_obj/DnDOption.o generated_obj/hdrviewer.o g enerated_obj/luminancerange_widget.o generated_obj/histogram.o generated_obj/tonemappingDialog.o generated_obj/tonemapping_widget.o generated_obj/ldrviewer.o generated _obj/tonemapperThread.o generated_obj/loadHdrThread.o generated_obj/hdrInputLoader.o generated_obj/preferencesDialog.o generated_obj/transplant.o generated_obj/resizeD ialog.o generated_obj/projectiveDialog.o generated_obj/HdrCreationManager.o generated_obj/mtb_alignment.o generated_obj/createhdr.o generated_obj/robertson02.o generat ed_obj/responses.o generated_obj/debevec.o generated_obj/newHdrWizard.o generated_obj/editingTools.o generated_obj/previewWidget.o generated_obj/pfsrotate.o generated_ obj/pfssize.o generated_obj/pfsgamma.o generated_obj/pfspanoramic.o generated_obj/pfsinrgbe.o generated_obj/pfsoutrgbe.o generated_obj/pfsoutldrimage.o generated_obj/r gbeio.o generated_obj/pfstiff.o generated_obj/pfsinexr.o generated_obj/pfsoutexr.o generated_obj/pfstmo_ashikhmin02.o generated_obj/tmo_ashikhmin02.o generated_obj/pfs tmo_drago03.o generated_obj/tmo_drago03.o generated_obj/pfstmo_durand02.o generated_obj/tmo_durand02.o generated_obj/bilateral.o generated_obj/fastbilateral.o generate d_obj/pfstmo_fattal02.o generated_obj/tmo_fattal02.o generated_obj/pde.o generated_obj/pfstmo_reinhard05.o generated_obj/tmo_pattanaik00.o generated_obj/pfstmo_pattana ik00.o generated_obj/pfstmo_reinhard02.o generated_obj/tmo_reinhard02.o generated_obj/approx.o generated_obj/contrast_domain.o generated_obj/pfstmo_mantiuk06.o generat ed_obj/batch_dialog.o generated_obj/exif_operations.o generated_obj/moc_smart_scroll_area.o generated_obj/moc_panIconWidget.o generated_obj/moc_gamma_and_levels.o gene rated_obj/moc_gang.o generated_obj/moc_commandline.o generated_obj/moc_mainWindow.o generated_obj/moc_DnDOption.o generated_obj/moc_hdrviewer.o gener ated_obj/moc_luminancerange_widget.o generated_obj/moc_tonemappingDialog.o generated_obj/moc_tonemapping_widget.o generated_obj/moc_ldrviewer.o generated_obj/moc_tonemapperThread.o generated_obj/moc_loadHdrThread.o generated_obj/moc_hdrInputLoader.o generated_obj/moc_preferencesDialog.o generated_obj/moc_transplant.o generated_obj/moc_resizeDialog.o generated_obj/moc_projectiveDialog.o generated_obj/moc_HdrCreationManager.o generated_obj/moc_editingTools.o generated_obj/moc_previewWidget.o generated_obj/moc_newHdrWizard.o generated_obj/moc_batch_dialog.o generated_obj/qrc_icons.o -F/opt/local/Library/Frameworks -F/opt/local/lib -lexiv2 -lIlmImf -lImath -lHalf -lIex -lfftw3f -lm -ltiff -lIlmThread -L/opt/local/lib -ljpeg -lexpat -liconv -F/opt/local/Library/Frameworks -F/opt/local/lib -framework QtGui -framework QtCore :info:build ld: library not found for -lgomp :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make: *** [qtpfsgui.app/Contents/MacOS/qtpfsgui] Error 1
Maybe the dependency on gomp is missing?
Change History (4)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to clubjuggler@… |
---|
comment:2 Changed 9 years ago by mf2k (Frank Schima)
Owner: | changed from clubjuggler@… to macports-tickets@… |
---|
This port no longer has a maintainer. See #47483.
comment:3 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | mcalhoun@… added |
---|
Cc Me!
comment:4 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | new → closed |
r149176 should fix this problem.
Note: See
TracTickets for help on using
tickets.
It seems that gomp is a library provided with gcc and llvm-gcc. So there's no separate port to install. It should already be there, if you're using gcc or llvm-gcc. You're not; you're using clang, which is the default compiler that MacPorts uses as of Xcode 4.2. I'm not sure what the expected behavior is in that case—whether llvm-gcc's libgomp is used, or whether libgomp is unnecessary for clang. I assume the latter. Perhaps qtpfsgui erroneously assumes that gcc is the only compiler that exists, and assumes that libgomp is always used, and is unaware of the existence of the clang compiler.
I get the same error on my system. Unfortunately qtpfsgui is not UsingTheRightCompiler—it seems to always use clang no matter what—so it is not possible for me to test whether using llvm-gcc would fix the issue.