[MacPorts] #42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------------------------+------------------------------ Reporter: twilsonco@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: ImageMagick, Mavericks, 10.9.2 | Version: 2.2.1 | Port: ImageMagick --------------------------------------------+------------------------------ Have followed migration instructions [http://trac.macports.org/wiki/Migration], and most packages now build. Log attached. Errors in configure, then fails to build. -- Ticket URL: <https://trac.macports.org/ticket/42990> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Changes (by ryandesign@…): * keywords: ImageMagick, Mavericks, 10.9.2 => mavericks * owner: macports-tickets@… => ryandesign@… Old description:
Have followed migration instructions [http://trac.macports.org/wiki/Migration], and most packages now build.
Log attached. Errors in configure, then fails to build.
New description: Have followed migration instructions wiki:Migration, and most packages now build. Log attached. Errors in configure, then fails to build. -- Comment: The log says: {{{ :info:build magick/fourier.c:895:29: warning: implicitly declaring library function 'cabs' with type 'double (_Complex double)' :info:build magnitude_pixels[i]=cabs(forward_pixels[i]); :info:build ^ :info:build magick/fourier.c:895:29: note: please include the header <complex.h> or explicitly provide a declaration for 'cabs' :info:build magick/fourier.c:895:34: error: passing 'fftw_complex' (aka 'double [2]') to parameter of incompatible type '_Complex double' :info:build magnitude_pixels[i]=cabs(forward_pixels[i]); :info:build ^~~~~~~~~~~~~~~~~ }}} fftw-3 was just updated to version 3.3.4. Maybe this version of ImageMagick is not compatible with that version of fftw-3. -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Comment (by ryandesign@…): Actually, it continues to build fine for me. I just updated ImageMagick to 6.8.8-9 in r118121. Does that work for you? If not, please verify whether or not you have installed the command line tools by running `xcode-select --install`. -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Comment (by twilsonco@…): xcode-select --install hasn't worked since upgrading to 10.9.2 for me. I've installed command line tools from the apple developer site though. I assume it has the same effect. I tried installing r118121 with a port file downloaded manually and with one obtained with subversion. In both cases, I get an error that "Unable to execute port: Could not open file:". I also set full permissions to the directory with the port file and /opt and all subdirectories have 755 permissions. I think I'm doing something stupid... -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Comment (by ryandesign@…): Since it's been more than 30 minutes since I committed it, you should only need to "sudo port selfupdate" and then be able to "sudo port install ImageMagick". -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Comment (by twilsonco@…): The errors occur regarding data types and fftw. This problem seems unnecessary. I recently uninstalled all packages, reinstalled macports and reinstalled everything. It was then that these packages gave errors. I used to do all this stuff (gcc, openmpi) manually. I may have broken something in my ignorance that is only now becoming evident... -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Comment (by ryandesign@…): You mentioned in #42991 that you replaced the links to compilers in /usr/bin with GNU versions. That's problematic in the best of cases on OS X, and as of Mavericks, that's positively poisonous, since GNU gcc uses a different C++ runtime than clang and you cannot mix them. More info at wiki:FAQ#libcpp. I see numerous differences between your log and mine regarding basic detection of standard system headers and capabilities. Please undo the changes you made in /usr/bin, clean ImageMagick, and try again. -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Comment (by twilsonco@…): Since I'm really smart, I actually replaced the g++ and gcc links in /usr/bin rather than renaming them and adding my own (which I now realize is only slightly less stupid). Aside from adding links to the installations of openmpi and gcc I used to have, I didn't make any changes. I've deleted the links to openmpi and replaced the gcc and g++ links with links pointing to the gcc and g++ in .../Xcode.app/Contents/Developer/usr/bin/, but the problem persists. Is this not where they were originally referenced? Looking over the log file, configure for ImageMagick is specifying /usr/bin/clang and /usr/bin/clang++ explicitly, so it shouldn't have made a difference that I changed /usr/bin/gcc right? Otherwise, do you know a way to have Xcode reinstall everything that needs to be in /usr/...? Will a full reinstall of Xcode and command line tools do the trick? Does it mean anything that I am one of the people who suffer from this [http://stackoverflow.com/questions/19691701/failed-to-install- command-line-tools-on-osx-mavericks] ? -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:7 twilsonco@…]:
Since I'm really smart, I actually replaced the g++ and gcc links in /usr/bin rather than renaming them and adding my own (which I now realize is only slightly less stupid). Aside from adding links to the installations of openmpi and gcc I used to have, I didn't make any changes. I've deleted the links to openmpi and replaced the gcc and g++ links with links pointing to the gcc and g++ in .../Xcode.app/Contents/Developer/usr/bin/, but the problem persists. Is this not where they were originally referenced?
They were originally shims, whose exact functioning is not known to me.
Looking over the log file, configure for ImageMagick is specifying /usr/bin/clang and /usr/bin/clang++ explicitly, so it shouldn't have made a difference that I changed /usr/bin/gcc right?
It should mean that, however some ports may not always be UsingTheRightCompiler, and may instead use "gcc", which would be a problem.
Otherwise, do you know a way to have Xcode reinstall everything that needs to be in /usr/...? Will a full reinstall of Xcode and command line tools do the trick?
Reinstalling the command line tools, using the installer Apple provides on the developer web site, should be enough.
Does it mean anything that I am one of the people who suffer from this [http://stackoverflow.com/questions/19691701/failed-to-install-command- line-tools-on-osx-mavericks] ?
To the best of my knowledge, the error message that the software is not available on the server actually means that the software has already been installed on your computer. -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Comment (by twilsonco@…): Reinstall of Xcode, command line tools, and macports seems to have done the trick. Can install now. Thanks so much for the help. Please mark ticket as solved. -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#42990: ImageMagick @6.8.8-3_1 won't build for OS X 10.9.2 --------------------------+-------------------------- Reporter: twilsonco@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: mavericks Port: ImageMagick | --------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Ok, glad you got it working. -- Ticket URL: <https://trac.macports.org/ticket/42990#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts