[MacPorts] #23678: kdelibs4 4.4.0 - build fails
#23678: kdelibs4 4.4.0 - build fails -----------------------------------+---------------------------------------- Reporter: doug@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: -----------------------------------+---------------------------------------- I can't seem to get this thing to build. Seems like a lot of stuff is in flux. I'm running 10.5.8 (Intel) with Xcode 3.1.3. The error I'm getting now... {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.4.0/kimgio/jp2.cpp:38: error: expected initializer before '*' token }}} -- Ticket URL: <http://trac.macports.org/ticket/23678> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23678: kdelibs4 4.4.0 - build fails -----------------------------------+---------------------------------------- Reporter: doug@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: -----------------------------------+---------------------------------------- Changes (by rmsfisher@…): * keywords: => haspatch Comment: It is missing one dependency: attica. See attached patch. -- Ticket URL: <http://trac.macports.org/ticket/23678#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23678: kdelibs4 4.4.0 - build fails -----------------------------------+---------------------------------------- Reporter: doug@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: -----------------------------------+---------------------------------------- Comment(by doug@…): Actually, I have all the dependencies listed, including attica... attica @0.1.2_0 (active) I've even tried cleaning, uninstalling and reinstalling all of the dependencies. -- Ticket URL: <http://trac.macports.org/ticket/23678#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23678: kdelibs4 4.4.0 - build fails -----------------------------------+---------------------------------------- Reporter: doug@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: kdelibs4 -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => snc@… * cc: sharky@… (added) * port: => kdelibs4 -- Ticket URL: <http://trac.macports.org/ticket/23678#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23678: kdelibs4 4.4.0 - build fails -----------------------------------+---------------------------------------- Reporter: doug@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs4 -----------------------------------+---------------------------------------- Changes (by snc@…): * keywords: haspatch => -- Ticket URL: <http://trac.macports.org/ticket/23678#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23678: kdelibs4 4.4.0 - build fails -----------------------------------+---------------------------------------- Reporter: doug@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs4 -----------------------------------+---------------------------------------- Comment(by djackan@…): I might be wrong here but take a look at this if you: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.4.0/kimgio/ pico jp2.cpp and look at line 38 you see this: {{{ //unfortunately this is declared as static in JasPer libraries static jas_stream_t *jas_stream_create() { jas_stream_t *stream; if (!(stream = (jas_stream_t*)jas_malloc(sizeof(jas_stream_t)))) { }}} I don't understand code at all really but where you see the first two asterisks shouldn't it actually be: {{{ static jas_stream_t* jas_stream_create() { jas_stream_t* stream; }}} Now Like I said I don't understand any of this very well but given that it's in the working directory isn't that temporary and these corrections have to be made somewhere else? Anyway that might give you a lead on the cpp:38 error looks like the asterisk was just accidentally moved forward one space. Hope this is of some use to someone that actually knows what they are doing. -- Ticket URL: <http://trac.macports.org/ticket/23678#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23678: kdelibs4 4.4.0 - build fails -----------------------------------+---------------------------------------- Reporter: doug@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs4 -----------------------------------+---------------------------------------- Comment(by snc@…): Line 38 is okay. {{{27:27: error: jasper/jasper.h: No such file or directory}}} is what's causing the errors. -- Ticket URL: <http://trac.macports.org/ticket/23678#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23678: kdelibs4 4.4.0 - build fails -----------------------------------+---------------------------------------- Reporter: doug@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs4 -----------------------------------+---------------------------------------- Comment(by djackan@…): I have two instances of jasper.h on my system they are in the following directories: /Library/Frameworks/UnixImageIO.framework/Headers/jasper/jasper.h and /opt/local/include/jasper/jasper.h I just did the following: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.4.0/kimgio/ sudo pico jp2.cpp I went to line 27 {{{ and where it says #include <jasper/jasper.h> I replaced it with #include </Library/Framerworks/UnixImageIO.framework/Headers/jasper/jasper.h> }}} I don't know if this makes sense, but for some reason kdelibs4 is building without error now on my system. This was the only change I made since the last time I received the error. I hope this is of some help. -- Ticket URL: <http://trac.macports.org/ticket/23678#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23678: kdelibs4 4.4.0 - build fails ------------------------------------+--------------------------------------- Reporter: doug@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: duplicate | Keywords: Port: kdelibs4 | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #23427. -- Ticket URL: <http://trac.macports.org/ticket/23678#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts