freebsd-ports Digest, Vol 333, Issue 6

Anderson Brandão andersonbn.academico at gmail.com
Fri Oct 9 13:50:56 UTC 2009


Please extract the tarball into the existing directory, at syslogd daemon,
wich it is located by default.
On Fri, Oct 9, 2009 at 9:00 AM, <freebsd-ports-request at freebsd.org> wrote:

> Send freebsd-ports mailing list submissions to
>        freebsd-ports at freebsd.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> or, via email, send a message with subject or body 'help' to
>        freebsd-ports-request at freebsd.org
>
> You can reach the person managing the list at
>        freebsd-ports-owner at freebsd.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of freebsd-ports digest..."
>
>
> Today's Topics:
>
>   1. Re: ion windows manager on FreeBSD (Chad Perrin)
>   2. Re: sigwait - differences between Linux & FreeBSD
>      (Stephen Hocking)
>   3. Re: Problems with vpopmail-devel (Sahil Tandon)
>   4. graphics/qgis 1.3.0 does not compile on CURRENT (Rainer Hurling)
>   5. Re: graphics/qgis 1.3.0 does not compile on CURRENT
>      (Rainer Hurling)
>   6. Re: sigwait - differences between Linux & FreeBSD
>      (Matthias Andree)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 8 Oct 2009 17:05:33 -0600
> From: Chad Perrin <perrin at apotheon.com>
> Subject: Re: ion windows manager on FreeBSD
> To: ports at freebsd.org, freebsd-questions at freebsd.org
> Message-ID: <20091008230533.GA32736 at guilt.hydra>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Thu, Oct 08, 2009 at 11:19:00AM -0300, Carlos A. M. dos Santos wrote:
> > On Wed, Oct 7, 2009 at 3:43 PM, Chad Perrin <perrin at apotheon.com> wrote:
> > > On Wed, Oct 07, 2009 at 01:25:35PM -0300, Carlos A. M. dos Santos
> wrote:
> > >>
> > >> You can fork the code, rename it, whatever, but you can NOT change
> > >> the license without explicit permission from the original copyright
> > >> owner. That would be legally considered theft!
> > >
> > > Incorrect.  It would be legally considered copyright infringement.
> > > Copyright law is not property law, and both different laws *and*
> > > different terms apply.  "Theft" is not a term legally applied to
> > > copyright infringement -- at least, in any jurisdiction of which I'm
> even
> > > vaguely aware of the state of copyright law.
> > >
> > > "That would be legally considered copyright infringement!"
> >
> > I was referring to stealing intellectual property, which can be a
> > synonym of copyright violation, depending on the country law. In my
> > country, for instance, computer programs are considered intellectual
> > property but they are also subjected to author rights, just like books
> > and paintings [1,2] .
>
> The term "Intellectual Property" is essentially an invention of people
> who wished copyright, patent, and trademark bodies of law were treated
> more like actual property law.  Saying something is "intellectual
> property" sure makes it *sound* like violating the relevant law should be
> called "stealing", but it's still not theft under the law (unless you
> happen to live in some jurisdiction that treats this stuff in a very
> nonstandard manner -- I can't speak for all jurisdictions, since I know
> nothing about copyright law in Eritrea, for instance).
>
> Not only is copyright not *legally* considered theft, but it is not
> *practically* equivalent to theft, either.  In theft, a person has a
> thing in his or her possession, and the thief takes it away.  There is no
> thing in a copyright holder's possession that is taken away when
> copyright is infringed.  The common excuse for calling it theft is
> reference to the copyright holder's profits being "stolen", but because
> those profits do not even exist yet at the time of the copyright
> infringement, they are not literally being "taken away".
>
>
> >
> > References (in Portuguese)
> >
> > [1] http://www.planalto.gov.br/ccivil_03/Leis/L9609.htm
> > [2] http://www.planalto.gov.br/ccivil_03/Leis/L9610.htm
>
> Alas, I do not read Portuguese.  Maybe in Portugal the word for "theft"
> is defined differently than here, so that it applies not to property per
> se, but to any illegal act of acquisition; that is not a jurisdiction
> whose copyright laws are familiar to me.  I rather doubt it, though,
> because a legal definition of theft that is applicable to copyright would
> fail to account for actual theft of actual property of naturally limited
> abundance.
>
> Given an example with which I am more familiar (the United States),
> though, I cite Dowling v. US:
>
>    The infringer invades a statutorily defined province guaranteed to
>    the copyright holder alone. But he does not assume physical control
>    over the copyright; nor does he wholly deprive its owner of its use.
>
> Dowling v. US specfically set forth for those who wished to define
> bootleg recordings as "stolen property" the details for why this was not
> an appropriate definition, and rejected outright and in all its
> particulars the concept that copyright infringement is theft in any legal
> sense of the term.  The reasoning is summed up in the above two-sentence
> quote from the Dowling v. US decision.
>
> The economic principle that differentiates copyright infringement from
> property theft is that of rivalry.  A rival good is one whose use by one
> consumer prevents the use by another, whereas a nonrival good is one
> whose use by one consumer does not interfere with the use by another.
> Copyright infringement is illegal acquisition, by a consumer, of a
> nonrival good; property theft is illegal acquisition, by a consumer, of a
> rival good.  Copyright violation does not deprive anyone else of the
> opportunity to acquire or use the good in question, whereas property
> theft *does*, accounting for the differences of legal status for
> acquisition between rival and nonrival goods.
>
> Thomas Jefferson, in discussions of the idea of copyright and patent law
> before such were even included in the US Constitution, made this
> distinction as well:
>
>    He who receives an idea from me, receives instruction himself without
>    lessening mine; as he who lights his taper at mine, receives light
>    without darkening me.
>
> --
> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 196 bytes
> Desc: not available
> Url :
> http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091008/5a331980/attachment-0001.pgp
>
> ------------------------------
>
> Message: 2
> Date: Fri, 9 Oct 2009 12:38:39 +1100
> From: Stephen Hocking <stephen.hocking at gmail.com>
> Subject: Re: sigwait - differences between Linux & FreeBSD
> To: Matthias Andree <matthias.andree at gmx.de>
> Cc: ports at freebsd.org
> Message-ID:
>        <6300771b0910081838y6925627cubdbc4d4dbbc376b8 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Thu, Oct 8, 2009 at 10:38 PM, Matthias Andree <matthias.andree at gmx.de>
> wrote:
> > Stephen Hocking schrieb:
> >> Hi all,
> >>
> >> In my efforts to make the xrdp port more robust under FreeBSD, I have
> >> discovered that sigwait (kind of an analogue to select(2), but for
> >> signals rather than I/O) re-enables ignored signals in its list under
> >> Linux, but not FreeBSD.
> >
> > If the application relies on sigwait() to wait for and extract an ignored
> signal
> > (SIG_IGN), it is non-portable, as it expects non-POSIX semantics, and
> should be
> > fixed by the upstream maintainer (I haven't checked that).
> >
> > Note: Linux has the same semantics, quoting its manual page (on Ubuntu
> 9.10 beta):
> >
> >       sigwait  suspends the calling thread until one of the signals in
> set is
> >       delivered to the calling thread. It then stores the number of the
>  sig‐
> >>      nal received in the location pointed to by sig and returns. The
> signals
> >>      in set must be blocked and not ignored on entrance to sigwait.  If
>  the
> >       delivered  signal has a signal handler function attached, that
> function
> >       is not called.
> >
> >> The sesman daemon uses SIGCHLD to clean up after a session has exited.
> Under
> >> Linux this works OK, under FreeSBD it doesn't.
> >
> > Not sure I understand. How can it clean up if it's not made aware of
> child's
> > termination? Or do some Linux kernels behave in another way?
>
> It appears as if the documentation does not match up with the reality
> in Linux's case. That's what the empirical evidence suggests anyway.
> The code does does a waitpid after receiving the SIGCHLD to determine
> what child process has exited and then searches its list of sessions
> looking for that particular pid, so as to tidy up.
>
> I can to some degree understand that implementation of sigwait, as if
> you state your intention to wait for a particular signal, that means
> that you don't wish to ignore it.
>
> >
> > Setting SIGCHLD to SIG_IGN (default) means that the kernel will let go of
> the
> > child processes as they exit, rather than turn them into zombies. You
> cannot
> > wait() for them though.
> >
> >> I have worked around it in a very hackish manner (define a
> >> dummy signal handler and enable it using signal, which means that the
> >> sigwait call can then be unblocked by it), but am wondering if anyone
> >> else has run across the same problem, and if so, if they fixed it in
> >> an elegant manner. Also, does anyone know the correct semantics of
> >> sigwait under this situation?
> >
> > That is not a hackish workaround, but one of the few safe ways to
> sigwait() for
> > SIGCHLD. A version fixed thus should still work on Linux, so that fix
> should be
> > made by xrdp upstream.
> >
> >
> > The canonical reference would be the POSIX standard (IEEE Std 1003.1).
> >
> > 2008: http://www.opengroup.org/onlinepubs/9699919799/
> >
> > 2001, 2004 edition: http://www.opengroup.org/onlinepubs/000095399/
> >
> > The latter is also known as the Single Unix Specification v3 (SUSv3).
>
> Thanks for the references.
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 9 Oct 2009 00:57:41 -0400
> From: Sahil Tandon <sahil at tandon.net>
> Subject: Re: Problems with vpopmail-devel
> To: freebsd-ports at freebsd.org
> Message-ID: <20091009045741.GB11968 at magic.hamla.org>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, 08 Oct 2009, Julian Wissmann wrote:
>
> > I'm trying to install vpopmail-devel as dependency for courier-authlib
> > which I need.  When going with portinstall: $portinstall
> > courier-authlib it tries to fetch vpopmail-5.4.27 which is not
> > available on any of the Mirror Servers. Trying to look it up manually
> > there's only a vpopmail-2.4.28 available.
>
> mail/vpopmail should soon be updated to 5.4.28, which is the latest
> available *stable* release.  In the meantime, you should be able to grab
> the older tarball from ftp.FreeBSD.org.
>
>  => Attempting to fetch from
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
>  vpopmail-5.4.27.tar.gz                        100% of  513 kB 2914 kBps
>  => MD5 Checksum OK for vpopmail-5.4.27.tar.gz.
>  => SHA256 Checksum OK for vpopmail-5.4.27.tar.gz.
>
> --
> Sahil Tandon <sahil at tandon.net>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 09 Oct 2009 08:14:21 +0200
> From: Rainer Hurling <rhurlin at gwdg.de>
> Subject: graphics/qgis 1.3.0 does not compile on CURRENT
> To: wenheping at gmail.com
> Cc: freebsd-ports at freebsd.org
> Message-ID: <4ACED4BD.1040800 at gwdg.de>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
>
> Dear maintainer,
>
> I tried to install the newest version of qgis port on 9.0-CURRENT and
> got the following break. QT3 and QT4 are installed. Any ideas?
>
> Rainer
>
>
> ------------------------------------------------------
> [..snip..]
> [ 61%] Generating core/core.so
> g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG
> -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -I.
> -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core
> -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer
> -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/raster
> -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer
> -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/spatialindex
> -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology
> -I/usr/ports/graphics/qgis/work/qgis-1.3.0 -I/usr/local/include
> -I/usr/local/include/python2.6 -I/usr/local/share/qt4/mkspecs/default
> -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui
> -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg
> -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o
> sipcorecmodule.o sipcorecmodule.cpp
> In file included from /usr/local/share/py-sip/QtCore/qfileinfo.sip:42:
> /usr/local/include/qfileinfo.h:120:2: error: #error "QFileInfo::size()
> should return QIODevice::Offset instead of uint"
> In file included from /usr/local/share/py-sip/QtXml/qdom.sip:74:
> /usr/local/include/qdom.h:97: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:122: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:232: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:258: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:286: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:345: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:380: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:399: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:434: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:463: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:518: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:541: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:560: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:579: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:602: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:625: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:644: error: function definition does not
> declare parameters
> /usr/local/include/qdom.h:671: error: expected initializer before '&' token
> In file included from
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgscsexception.h:21,
>                  from
>
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgscoordinatetransform.h:27,
>                  from
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsrendercontext.h:21,
>                  from
>
> /usr/ports/graphics/qgis/work/qgis-1.3.0/python/core/qgsrendercontext.sip:6:
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:116:
> error: field 'mProjectDom' has incomplete type
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:87:
> error: invalid use of incomplete type 'struct QDomDocument'
> /usr/local/include/qdom.h:86: error: forward declaration of 'struct
> QDomDocument'
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h: In
> constructor
> 'QgsProjectBadLayerException::QgsProjectBadLayerException(const
> std::list<QDomNode, std::allocator<QDomNode> >&, const QDomDocument&)':
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:90:
> error: class 'QgsProjectBadLayerException' does not have any field named
> 'mProjectDom'
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h: In
> member function 'const QDomDocument&
> QgsProjectBadLayerException::document() const':
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:103:
> error: 'mProjectDom' was not declared in this scope
> In file included from /usr/local/share/py-sip/QtCore/qlocale.sip:721:
> /usr/local/include/qlocale.h: At global scope:
> /usr/local/include/qlocale.h:43: error: function definition does not
> declare parameters
> In file included from /usr/local/include/qfileinfo.h:42,
>                  from /usr/local/share/py-sip/QtCore/qfileinfo.sip:42:
> /usr/local/include/qfile.h:50: error: function definition does not
> declare parameters
> /usr/local/include/qfile.h:121: error: 'QFile' has not been declared
> /usr/local/include/qfile.h:121: error: non-member function 'QString
> name()' cannot have cv-qualifier
> /usr/local/include/qfile.h: In function 'QString name()':
> /usr/local/include/qfile.h:122: error: 'fn' was not declared in this scope
> /usr/local/include/qfile.h: At global scope:
> /usr/local/include/qfile.h:124: error: 'Offset' in class 'QIODevice'
> does not name a type
> In file included from /usr/local/include/qfileinfo.h:43,
>                  from /usr/local/share/py-sip/QtCore/qfileinfo.sip:42:
> /usr/local/include/qdatetime.h:51: error: function definition does not
> declare parameters
> /usr/local/include/qdatetime.h:123: error: function definition does not
> declare parameters
> /usr/local/include/qdatetime.h:184: error: function definition does not
> declare parameters
> /usr/local/include/qdatetime.h:241: error: expected initializer before
> '&' token
> /usr/local/include/qdatetime.h:242: error: expected initializer before
> '&' token
> /usr/local/include/qdatetime.h:243: error: expected initializer before
> '&' token
> /usr/local/include/qdatetime.h:244: error: expected initializer before
> '&' token
> /usr/local/include/qdatetime.h:245: error: expected initializer before
> '&' token
> /usr/local/include/qdatetime.h:246: error: expected initializer before
> '&' token
> In file included from /usr/local/share/py-sip/QtCore/qfileinfo.sip:42:
> /usr/local/include/qfileinfo.h:52: error: function definition does not
> declare parameters
> /usr/local/include/qfileinfo.h:148: error: 'QFileInfo' has not been
> declared
> /usr/local/include/qfileinfo.h:148: error: non-member function 'bool
> caching()' cannot have cv-qualifier
> /usr/local/include/qfileinfo.h: In function 'bool caching()':
> /usr/local/include/qfileinfo.h:150: error: 'cache' was not declared in
> this scope
> In file included from /usr/local/share/py-sip/QtCore/qurl.sip:46:
> /usr/local/include/qurl.h: At global scope:
> /usr/local/include/qurl.h:49: error: function definition does not
> declare parameters
> In file included from /usr/local/include/qpainter.h:44,
>                  from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> /usr/local/include/qfontmetrics.h:53: error: function definition does
> not declare parameters
> In file included from /usr/local/include/qpainter.h:45,
>                  from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> /usr/local/include/qfontinfo.h:46: error: function definition does not
> declare parameters
> /usr/local/include/qfontinfo.h:84: error: invalid use of incomplete type
> 'struct QFontInfo'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:72: error: forward
> declaration of 'struct QFontInfo'
> In file included from /usr/local/include/qgarray.h:42,
>                  from /usr/local/include/qmemarray.h:42,
>                  from /usr/local/include/qpointarray.h:42,
>                  from /usr/local/include/qpainter.h:49,
>                  from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> /usr/local/include/qshared.h:46: error: function definition does not
> declare parameters
> In file included from /usr/local/include/qmemarray.h:42,
>                  from /usr/local/include/qpointarray.h:42,
>                  from /usr/local/include/qpainter.h:49,
>                  from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> /usr/local/include/qgarray.h:46: error: function definition does not
> declare parameters
> /usr/local/include/qgarray.h:119: error: 'QGArray' has not been declared
> /usr/local/include/qgarray.h:119: error: non-member function 'char*
> at(uint)' cannot have cv-qualifier
> /usr/local/include/qgarray.h: In function 'char* at(uint)':
> /usr/local/include/qgarray.h:127: error: 'shd' was not declared in this
> scope
> In file included from /usr/local/include/qpointarray.h:42,
>                  from /usr/local/include/qpainter.h:49,
>                  from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> /usr/local/include/qmemarray.h: At global scope:
> /usr/local/include/qmemarray.h:48: error: expected class-name before '{'
> token
> /usr/local/include/qmemarray.h:71: error: 'Optimization' has not been
> declared
> /usr/local/include/qmemarray.h: In constructor
> 'QMemArray<type>::QMemArray(int, int)':
> /usr/local/include/qmemarray.h:55: error: class 'QMemArray<type>' does
> not have any field named 'QGArray'
> /usr/local/include/qmemarray.h: In constructor
> 'QMemArray<type>::QMemArray(int)':
> /usr/local/include/qmemarray.h:59: error: class 'QMemArray<type>' does
> not have any field named 'QGArray'
> /usr/local/include/qmemarray.h: In copy constructor
> 'QMemArray<type>::QMemArray(const QMemArray<type>&)':
> /usr/local/include/qmemarray.h:60: error: class 'QMemArray<type>' does
> not have any field named 'QGArray'
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::operator=(const QMemArray<type>&)':
> /usr/local/include/qmemarray.h:63: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:63: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:63: error: '::assign' has not been declared
> /usr/local/include/qmemarray.h: In member function 'type*
> QMemArray<type>::data() const':
> /usr/local/include/qmemarray.h:64: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:64: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:64: error: '::data' has not been declared
> /usr/local/include/qmemarray.h: In member function 'uint
> QMemArray<type>::nrefs() const':
> /usr/local/include/qmemarray.h:65: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'uint
> QMemArray<type>::size() const':
> /usr/local/include/qmemarray.h:66: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::isEmpty() const':
> /usr/local/include/qmemarray.h:68: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::isNull() const':
> /usr/local/include/qmemarray.h:69: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::resize(uint)':
> /usr/local/include/qmemarray.h:70: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::resize(uint, int)':
> /usr/local/include/qmemarray.h:71: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::truncate(uint)':
> /usr/local/include/qmemarray.h:72: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'bool
> QMemArray<type>::fill(const type&, int)':
> /usr/local/include/qmemarray.h:74: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'void
> QMemArray<type>::detach()':
> /usr/local/include/qmemarray.h:75: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::assign(const QMemArray<type>&)':
> /usr/local/include/qmemarray.h:79: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:79: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:79: error: '::assign' has not been declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::assign(const type*, uint)':
> /usr/local/include/qmemarray.h:81: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:81: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:81: error: '::assign' has not been declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::duplicate(const QMemArray<type>&)':
> /usr/local/include/qmemarray.h:83: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:83: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:83: error: '::duplicate' has not been
> declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::duplicate(const type*, uint)':
> /usr/local/include/qmemarray.h:85: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:85: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:85: error: '::duplicate' has not been
> declared
> /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> QMemArray<type>::setRawData(const type*, uint)':
> /usr/local/include/qmemarray.h:87: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:87: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:87: error: '::setRawData' has not been
> declared
> /usr/local/include/qmemarray.h: In member function 'void
> QMemArray<type>::resetRawData(const type*, uint)':
> /usr/local/include/qmemarray.h:90: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'int
> QMemArray<type>::find(const type&, uint) const':
> /usr/local/include/qmemarray.h:92: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'int
> QMemArray<type>::contains(const type&) const':
> /usr/local/include/qmemarray.h:94: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'void
> QMemArray<type>::sort()':
> /usr/local/include/qmemarray.h:95: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'int
> QMemArray<type>::bsearch(const type&) const':
> /usr/local/include/qmemarray.h:97: error: 'QGArray' has not been declared
> /usr/local/include/qmemarray.h: In member function 'type&
> QMemArray<type>::operator[](int) const':
> /usr/local/include/qmemarray.h:100: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:100: error: expected primary-expression
> before '&' token
> /usr/local/include/qmemarray.h:100: error: expected primary-expression
> before ')' token
> /usr/local/include/qmemarray.h: In member function 'type&
> QMemArray<type>::at(uint) const':
> /usr/local/include/qmemarray.h:102: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:102: error: expected primary-expression
> before '&' token
> /usr/local/include/qmemarray.h:102: error: expected primary-expression
> before ')' token
> /usr/local/include/qmemarray.h: In member function
> 'QMemArray<type>::operator const type*() const':
> /usr/local/include/qmemarray.h:103: error: 'QGArray' was not declared in
> this scope
> /usr/local/include/qmemarray.h:103: error: expected ';' before '::' token
> /usr/local/include/qmemarray.h:103: error: '::data' has not been declared
> In file included from /usr/local/include/qpainter.h:49,
>                  from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> /usr/local/include/qpointarray.h: At global scope:
> /usr/local/include/qpointarray.h:51: error: function definition does not
> declare parameters
> /usr/local/include/qpointarray.h:101: error: expected initializer before
> '&' token
> /usr/local/include/qpointarray.h:102: error: expected initializer before
> '&' token
> /usr/local/include/qpointarray.h:109: error: 'QPointArray' has not been
> declared
> /usr/local/include/qpointarray.h: In function 'void setPoint(uint, const
> QPoint&)':
> /usr/local/include/qpointarray.h:111: error: invalid initialization of
> reference of type 'const QPoint&' from expression of type 'int'
> /usr/local/include/qpointarray.h:109: error: in passing argument 2 of
> 'void setPoint(uint, const QPoint&)'
> In file included from /usr/local/include/qpainter.h:50,
>                  from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> /usr/local/include/qwmatrix.h: At global scope:
> /usr/local/include/qwmatrix.h:51: error: function definition does not
> declare parameters
> /usr/local/include/qwmatrix.h:113: error: expected initializer before
> 'operator'
> /usr/local/include/qwmatrix.h:120: error: expected initializer before
> '&' token
> /usr/local/include/qwmatrix.h:121: error: expected initializer before
> '&' token
> In file included from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> /usr/local/include/qpainter.h:67: error: function definition does not
> declare parameters
> /usr/local/include/qpainter.h:445: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:450: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:455: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:460: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:465: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:477: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:482: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:487: error: 'RasterOp' in namespace 'Qt'
> does not name a type
> /usr/local/include/qpainter.h:492: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:497: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:506: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:515: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:524: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:534: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:539: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:544: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:555: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:561: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:567: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:572: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:578: error: 'CoordinateMode' has not been
> declared
> /usr/local/include/qpainter.h:578: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:583: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:588: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:593: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:598: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:603: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:608: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:613: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:618: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:623: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:628: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:633: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:638: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:644: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:650: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:657: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:662: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:667: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:672: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:677: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:682: error: 'TextDirection' has not been
> declared
> /usr/local/include/qpainter.h:682: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:687: error: 'TextDirection' has not been
> declared
> /usr/local/include/qpainter.h:687: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:693: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:699: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/local/include/qpainter.h:705: error: invalid use of incomplete type
> 'struct QPainter'
> /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> declaration of 'struct QPainter'
> /usr/include/c++/4.2/bits/stl_list.h: In instantiation of
> 'std::_List_node<QDomNode>':
> /usr/include/c++/4.2/bits/list.tcc:73:   instantiated from 'void
> std::_List_base<_Tp, _Alloc>::_M_clear() [with _Tp = QDomNode, _Alloc =
> std::allocator<QDomNode>]'
> /usr/include/c++/4.2/bits/stl_list.h:348:   instantiated from
> 'std::_List_base<_Tp, _Alloc>::~_List_base() [with _Tp = QDomNode,
> _Alloc = std::allocator<QDomNode>]'
> /usr/include/c++/4.2/bits/stl_list.h:408:   instantiated from here
> /usr/include/c++/4.2/bits/stl_list.h:101: error:
> 'std::_List_node<_Tp>::_M_data' has incomplete type
> /usr/local/include/qdom.h:92: error: forward declaration of 'struct
> QDomNode'
> /usr/include/c++/4.2/bits/list.tcc: In member function 'void
> std::_List_base<_Tp, _Alloc>::_M_clear() [with _Tp = QDomNode, _Alloc =
> std::allocator<QDomNode>]':
> /usr/include/c++/4.2/bits/stl_list.h:348:   instantiated from
> 'std::_List_base<_Tp, _Alloc>::~_List_base() [with _Tp = QDomNode,
> _Alloc = std::allocator<QDomNode>]'
> /usr/include/c++/4.2/bits/stl_list.h:408:   instantiated from here
> /usr/include/c++/4.2/bits/list.tcc:78: error: 'struct
> std::_List_node<QDomNode>' has no member named '_M_data'
> /usr/include/c++/4.2/bits/stl_list.h: In member function 'const _Tp&
> std::_List_const_iterator<_Tp>::operator*() const [with _Tp = QDomNode]':
> /usr/include/c++/4.2/bits/stl_list.h:1116:   instantiated from 'void
> std::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator,
> _InputIterator, std::__false_type) [with _InputIterator =
> std::_List_const_iterator<QDomNode>, _Tp = QDomNode, _Alloc =
> std::allocator<QDomNode>]'
> /usr/include/c++/4.2/bits/stl_list.h:497:   instantiated from
> 'std::list<_Tp, _Alloc>::list(const std::list<_Tp, _Alloc>&) [with _Tp =
> QDomNode, _Alloc = std::allocator<QDomNode>]'
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:90:
> instantiated from here
> /usr/include/c++/4.2/bits/stl_list.h:215: error: 'const struct
> std::_List_node<QDomNode>' has no member named '_M_data'
> /usr/include/c++/4.2/bits/stl_list.h: In member function
> 'std::_List_node<_Tp>* std::list<_Tp, _Alloc>::_M_create_node(const
> _Tp&) [with _Tp = QDomNode, _Alloc = std::allocator<QDomNode>]':
> /usr/include/c++/4.2/bits/stl_list.h:1161:   instantiated from 'void
> std::list<_Tp, _Alloc>::_M_insert(std::_List_iterator<_Tp>, const _Tp&)
> [with _Tp = QDomNode, _Alloc = std::allocator<QDomNode>]'
> /usr/include/c++/4.2/bits/stl_list.h:764:   instantiated from 'void
> std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = QDomNode,
> _Alloc = std::allocator<QDomNode>]'
> /usr/include/c++/4.2/bits/stl_list.h:1116:   instantiated from 'void
> std::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator,
> _InputIterator, std::__false_type) [with _InputIterator =
> std::_List_const_iterator<QDomNode>, _Tp = QDomNode, _Alloc =
> std::allocator<QDomNode>]'
> /usr/include/c++/4.2/bits/stl_list.h:497:   instantiated from
> 'std::list<_Tp, _Alloc>::list(const std::list<_Tp, _Alloc>&) [with _Tp =
> QDomNode, _Alloc = std::allocator<QDomNode>]'
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:90:
> instantiated from here
> /usr/include/c++/4.2/bits/stl_list.h:455: error: 'struct
> std::_List_node<QDomNode>' has no member named '_M_data'
> gmake: *** [sipcorecmodule.o] Fehler 1
> *** Error code 2
>
> Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0.
> *** Error code 1
>
> Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0.
> *** Error code 1
>
> Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0.
> *** Error code 1
>
> Stop in /usr/ports/graphics/qgis.
> *** Error code 1
>
> Stop in /usr/ports/graphics/qgis.
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 09 Oct 2009 08:41:02 +0200
> From: Rainer Hurling <rhurlin at gwdg.de>
> Subject: Re: graphics/qgis 1.3.0 does not compile on CURRENT
> To: wen heping <wenheping at gmail.com>
> Cc: freebsd-ports at freebsd.org
> Message-ID: <4ACEDAFE.60808 at gwdg.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Wen, thanks for the tip. It works! Without qt3 installed all build and
> installed fine.
>
> When I want to 'make package' I get the following error. Do you know it?
>
> Rainer
>
> ------------------
> #make package
> ===>  Building package for qgis-1.3.0
> Creating package /usr/ports/packages/All/qgis-1.3.0.tbz
> Registering depends: gdal-grass-1.4.3_2 grass-6.2.3_6,2 bash-4.0.33
> qt4-linguist-4.5.2 qt4-assistant-4.5.2 qt4-webkit-4.5.2
> qt4-phonon-gst-4.5.2 qt4-phonon-4.5.2 qt4-dbus-4.5.2 dbus-1.2.4.6_1
> fftw-2.1.5_6 gstreamer-plugins-0.10.24,3 gstreamer-0.10.24
> gio-fam-backend-2.20.5 gamin-0.1.10_3 gcc-4.4.2.20090929 qt4-help-4.5.2
> qt4-clucene-4.5.2 qt4-opengl-4.5.2 qt4-qt3support-4.5.2 qt4-svg-4.5.2
> qt4-gui-4.5.2_1 qt4-network-4.5.2 qt4-sqlite-plugin-4.5.2 qt4-sql-4.5.2
> qt4-xml-4.5.2 qt4-corelib-4.5.2 glib-2.20.5 popt-1.14
> postgresql-client-8.4.0_1 gettext-0.17_1 libxml2-2.7.5 libiconv-1.13.1
> sqlite3-3.6.14.2 icu-3.8.1_2 libcheck-0.9.6 liboil-0.3.16 gdal-1.6.0_1
> jasper-1.900.1_8 libglut-7.4.4 libGLU-7.4.4 libGL-7.4.4
> xorg-libraries-7.4 libXScrnSaver-1.1.3 libXTrap-1.0.0 libXaw-1.0.5_1,1
> libXcomposite-0.4.0,1 libXcursor-1.1.9_1 libXdamage-1.1.1 libXevie-1.0.2
> libXfontcache-1.0.4 libXi-1.2.1,1 libXinerama-1.0.3,1 libXmu-1.0.4,1
> libXp-1.0.0,1 libXpm-3.5.7 libXrandr-1.3.0 libXres-1.0.3_3
> libXtst-1.0.3_1 libXvMC-1.0.4_1 libXv-1.0.4,1 libXxf86dga-1.0.2
> libXxf86misc-1.0.1 libXxf86vm-1.0.2 libdmx-1.0.2_1 libXext-1.0.5,1
> libXfixes-4.0.3_1 tk-8.5.7 libXft-2.1.13 libXrender-0.9.4_1
> libxkbui-1.0.2_1 trapproto-3.4.3 libXt-1.0.5_1 liboldX-1.0.1
> libungif-4.1.4_5 libxkbfile-1.0.5 libX11-1.2.1_1,1 libdrm-2.4.12
> libxcb-1.4 libpthread-stubs-0.1 pcre-7.9 fontconfig-2.6.0,1
> libXfont-1.3.4,1 freetype2-2.3.9_1 libFS-1.0.1 libSM-1.1.0_1,1
> libICE-1.0.4_1,1 libXau-1.0.4 libXdmcp-1.0.2_1 libfontenc-1.0.4
> pixman-0.16.0 xproto-7.0.15 xtrans-1.2.3 pkg-config-0.23_1
> py26-setuptools-0.6c9 xdg-utils-1.0.2_4 geos-3.1.1 libgeotiff-1.2.5_1
> tiff-3.9.1 jpeg-7 png-1.2.40 proj-4.6.1 perl-threaded-5.10.1
> xcb-proto-1.5 python26-2.6.2_3 tcl-8.5.7_1 tcl-modules-8.5.7 gsl-1.12
> mpfr-2.4.1_1 libgmp-4.3.1 qt4-doc-4.5.2 freetype-1.3.1_4 gnome_subr-1.0
> expat-2.0.1 fontcacheproto-0.1.2 fontsproto-2.0.2 compositeproto-0.4
> damageproto-1.1.0_2 dmxproto-2.2.2 dri2proto-2.0 fixesproto-4.0
> inputproto-1.5.0 kbproto-1.0.3 printproto-1.0.4 randrproto-1.3.0
> recordproto-1.13.2 renderproto-0.9.3 scrnsaverproto-1.1.0
> videoproto-2.2.2 xextproto-7.0.5 xf86dgaproto-2.0.3 xf86miscproto-0.9.2
> xf86vidmodeproto-2.2.2 xineramaproto-1.1.2.
> Creating bzip'd tar ball in '/usr/ports/packages/All/qgis-1.3.0.tbz'
> tar: lib/qgis/libpggeoprocessingplugin.so: Cannot stat: No such file or
> directory
> tar: Error exit delayed from previous errors.
> pkg_create: make_dist: tar command failed with code 256
> *** Error code 1
>
> Stop in /usr/ports/graphics/qgis.
> *** Error code 1
>
> Stop in /usr/ports/graphics/qgis.
> ------------------
>
>
>
> Am 09.10.2009 08:17 (UTC+2) schrieb wen heping:
> > Yes, this is a bug in QGIS.
> > You should delete qt3 and then have a try.
> >
> > wen
> >
> > On Fri, Oct 9, 2009 at 2:14 PM, Rainer Hurling <rhurlin at gwdg.de
> > <mailto:rhurlin at gwdg.de>> wrote:
> >
> >     Dear maintainer,
> >
> >     I tried to install the newest version of qgis port on 9.0-CURRENT
> >     and got the following break. QT3 and QT4 are installed. Any ideas?
> >
> >     Rainer
> >
> >
> >     ------------------------------------------------------
> >     [..snip..]
> >     [ 61%] Generating core/core.so
> >     g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG
> >     -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
> >     -DQT_XML_LIB -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core
> >     -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer
> >     -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/raster
> >     -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer
> >     -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/spatialindex
> >     -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology
> >     -I/usr/ports/graphics/qgis/work/qgis-1.3.0 -I/usr/local/include
> >     -I/usr/local/include/python2.6
> >     -I/usr/local/share/qt4/mkspecs/default
> >     -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui
> >     -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg
> >     -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o
> >     sipcorecmodule.o sipcorecmodule.cpp
> >     In file included from
> /usr/local/share/py-sip/QtCore/qfileinfo.sip:42:
> >     /usr/local/include/qfileinfo.h:120:2: error: #error
> >     "QFileInfo::size() should return QIODevice::Offset instead of uint"
> >     In file included from /usr/local/share/py-sip/QtXml/qdom.sip:74:
> >     /usr/local/include/qdom.h:97: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:122: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:232: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:258: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:286: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:345: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:380: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:399: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:434: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:463: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:518: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:541: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:560: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:579: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:602: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:625: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:644: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qdom.h:671: error: expected initializer before
> >     '&' token
> >     In file included from
> >
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgscsexception.h:21,
> >                     from
> >
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgscoordinatetransform.h:27,
> >                     from
> >
> /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsrendercontext.h:21,
> >                     from
> >
> /usr/ports/graphics/qgis/work/qgis-1.3.0/python/core/qgsrendercontext.sip:6:
> >     /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:116:
> >     error: field 'mProjectDom' has incomplete type
> >     /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:87:
> >     error: invalid use of incomplete type 'struct QDomDocument'
> >     /usr/local/include/qdom.h:86: error: forward declaration of 'struct
> >     QDomDocument'
> >     /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h: In
> >     constructor
> >     'QgsProjectBadLayerException::QgsProjectBadLayerException(const
> >     std::list<QDomNode, std::allocator<QDomNode> >&, const
> QDomDocument&)':
> >     /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:90:
> >     error: class 'QgsProjectBadLayerException' does not have any field
> >     named 'mProjectDom'
> >     /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h: In
> >     member function 'const QDomDocument&
> >     QgsProjectBadLayerException::document() const':
> >     /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:103:
> >     error: 'mProjectDom' was not declared in this scope
> >     In file included from /usr/local/share/py-sip/QtCore/qlocale.sip:721:
> >     /usr/local/include/qlocale.h: At global scope:
> >     /usr/local/include/qlocale.h:43: error: function definition does not
> >     declare parameters
> >     In file included from /usr/local/include/qfileinfo.h:42,
> >                     from /usr/local/share/py-sip/QtCore/qfileinfo.sip:42:
> >     /usr/local/include/qfile.h:50: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qfile.h:121: error: 'QFile' has not been declared
> >     /usr/local/include/qfile.h:121: error: non-member function 'QString
> >     name()' cannot have cv-qualifier
> >     /usr/local/include/qfile.h: In function 'QString name()':
> >     /usr/local/include/qfile.h:122: error: 'fn' was not declared in this
> >     scope
> >     /usr/local/include/qfile.h: At global scope:
> >     /usr/local/include/qfile.h:124: error: 'Offset' in class 'QIODevice'
> >     does not name a type
> >     In file included from /usr/local/include/qfileinfo.h:43,
> >                     from /usr/local/share/py-sip/QtCore/qfileinfo.sip:42:
> >     /usr/local/include/qdatetime.h:51: error: function definition does
> >     not declare parameters
> >     /usr/local/include/qdatetime.h:123: error: function definition does
> >     not declare parameters
> >     /usr/local/include/qdatetime.h:184: error: function definition does
> >     not declare parameters
> >     /usr/local/include/qdatetime.h:241: error: expected initializer
> >     before '&' token
> >     /usr/local/include/qdatetime.h:242: error: expected initializer
> >     before '&' token
> >     /usr/local/include/qdatetime.h:243: error: expected initializer
> >     before '&' token
> >     /usr/local/include/qdatetime.h:244: error: expected initializer
> >     before '&' token
> >     /usr/local/include/qdatetime.h:245: error: expected initializer
> >     before '&' token
> >     /usr/local/include/qdatetime.h:246: error: expected initializer
> >     before '&' token
> >     In file included from
> /usr/local/share/py-sip/QtCore/qfileinfo.sip:42:
> >     /usr/local/include/qfileinfo.h:52: error: function definition does
> >     not declare parameters
> >     /usr/local/include/qfileinfo.h:148: error: 'QFileInfo' has not been
> >     declared
> >     /usr/local/include/qfileinfo.h:148: error: non-member function 'bool
> >     caching()' cannot have cv-qualifier
> >     /usr/local/include/qfileinfo.h: In function 'bool caching()':
> >     /usr/local/include/qfileinfo.h:150: error: 'cache' was not declared
> >     in this scope
> >     In file included from /usr/local/share/py-sip/QtCore/qurl.sip:46:
> >     /usr/local/include/qurl.h: At global scope:
> >     /usr/local/include/qurl.h:49: error: function definition does not
> >     declare parameters
> >     In file included from /usr/local/include/qpainter.h:44,
> >                     from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> >     /usr/local/include/qfontmetrics.h:53: error: function definition
> >     does not declare parameters
> >     In file included from /usr/local/include/qpainter.h:45,
> >                     from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> >     /usr/local/include/qfontinfo.h:46: error: function definition does
> >     not declare parameters
> >     /usr/local/include/qfontinfo.h:84: error: invalid use of incomplete
> >     type 'struct QFontInfo'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:72: error: forward
> >     declaration of 'struct QFontInfo'
> >     In file included from /usr/local/include/qgarray.h:42,
> >                     from /usr/local/include/qmemarray.h:42,
> >                     from /usr/local/include/qpointarray.h:42,
> >                     from /usr/local/include/qpainter.h:49,
> >                     from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> >     /usr/local/include/qshared.h:46: error: function definition does not
> >     declare parameters
> >     In file included from /usr/local/include/qmemarray.h:42,
> >                     from /usr/local/include/qpointarray.h:42,
> >                     from /usr/local/include/qpainter.h:49,
> >                     from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> >     /usr/local/include/qgarray.h:46: error: function definition does not
> >     declare parameters
> >     /usr/local/include/qgarray.h:119: error: 'QGArray' has not been
> declared
> >     /usr/local/include/qgarray.h:119: error: non-member function 'char*
> >     at(uint)' cannot have cv-qualifier
> >     /usr/local/include/qgarray.h: In function 'char* at(uint)':
> >     /usr/local/include/qgarray.h:127: error: 'shd' was not declared in
> >     this scope
> >     In file included from /usr/local/include/qpointarray.h:42,
> >                     from /usr/local/include/qpainter.h:49,
> >                     from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> >     /usr/local/include/qmemarray.h: At global scope:
> >     /usr/local/include/qmemarray.h:48: error: expected class-name before
> >     '{' token
> >     /usr/local/include/qmemarray.h:71: error: 'Optimization' has not
> >     been declared
> >     /usr/local/include/qmemarray.h: In constructor
> >     'QMemArray<type>::QMemArray(int, int)':
> >     /usr/local/include/qmemarray.h:55: error: class 'QMemArray<type>'
> >     does not have any field named 'QGArray'
> >     /usr/local/include/qmemarray.h: In constructor
> >     'QMemArray<type>::QMemArray(int)':
> >     /usr/local/include/qmemarray.h:59: error: class 'QMemArray<type>'
> >     does not have any field named 'QGArray'
> >     /usr/local/include/qmemarray.h: In copy constructor
> >     'QMemArray<type>::QMemArray(const QMemArray<type>&)':
> >     /usr/local/include/qmemarray.h:60: error: class 'QMemArray<type>'
> >     does not have any field named 'QGArray'
> >     /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> >     QMemArray<type>::operator=(const QMemArray<type>&)':
> >     /usr/local/include/qmemarray.h:63: error: 'QGArray' was not declared
> >     in this scope
> >     /usr/local/include/qmemarray.h:63: error: expected ';' before '::'
> token
> >     /usr/local/include/qmemarray.h:63: error: '::assign' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'type*
> >     QMemArray<type>::data() const':
> >     /usr/local/include/qmemarray.h:64: error: 'QGArray' was not declared
> >     in this scope
> >     /usr/local/include/qmemarray.h:64: error: expected ';' before '::'
> token
> >     /usr/local/include/qmemarray.h:64: error: '::data' has not been
> declared
> >     /usr/local/include/qmemarray.h: In member function 'uint
> >     QMemArray<type>::nrefs() const':
> >     /usr/local/include/qmemarray.h:65: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'uint
> >     QMemArray<type>::size() const':
> >     /usr/local/include/qmemarray.h:66: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'bool
> >     QMemArray<type>::isEmpty() const':
> >     /usr/local/include/qmemarray.h:68: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'bool
> >     QMemArray<type>::isNull() const':
> >     /usr/local/include/qmemarray.h:69: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'bool
> >     QMemArray<type>::resize(uint)':
> >     /usr/local/include/qmemarray.h:70: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'bool
> >     QMemArray<type>::resize(uint, int)':
> >     /usr/local/include/qmemarray.h:71: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'bool
> >     QMemArray<type>::truncate(uint)':
> >     /usr/local/include/qmemarray.h:72: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'bool
> >     QMemArray<type>::fill(const type&, int)':
> >     /usr/local/include/qmemarray.h:74: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'void
> >     QMemArray<type>::detach()':
> >     /usr/local/include/qmemarray.h:75: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> >     QMemArray<type>::assign(const QMemArray<type>&)':
> >     /usr/local/include/qmemarray.h:79: error: 'QGArray' was not declared
> >     in this scope
> >     /usr/local/include/qmemarray.h:79: error: expected ';' before '::'
> token
> >     /usr/local/include/qmemarray.h:79: error: '::assign' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> >     QMemArray<type>::assign(const type*, uint)':
> >     /usr/local/include/qmemarray.h:81: error: 'QGArray' was not declared
> >     in this scope
> >     /usr/local/include/qmemarray.h:81: error: expected ';' before '::'
> token
> >     /usr/local/include/qmemarray.h:81: error: '::assign' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> >     QMemArray<type>::duplicate(const QMemArray<type>&)':
> >     /usr/local/include/qmemarray.h:83: error: 'QGArray' was not declared
> >     in this scope
> >     /usr/local/include/qmemarray.h:83: error: expected ';' before '::'
> token
> >     /usr/local/include/qmemarray.h:83: error: '::duplicate' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> >     QMemArray<type>::duplicate(const type*, uint)':
> >     /usr/local/include/qmemarray.h:85: error: 'QGArray' was not declared
> >     in this scope
> >     /usr/local/include/qmemarray.h:85: error: expected ';' before '::'
> token
> >     /usr/local/include/qmemarray.h:85: error: '::duplicate' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'QMemArray<type>&
> >     QMemArray<type>::setRawData(const type*, uint)':
> >     /usr/local/include/qmemarray.h:87: error: 'QGArray' was not declared
> >     in this scope
> >     /usr/local/include/qmemarray.h:87: error: expected ';' before '::'
> token
> >     /usr/local/include/qmemarray.h:87: error: '::setRawData' has not
> >     been declared
> >     /usr/local/include/qmemarray.h: In member function 'void
> >     QMemArray<type>::resetRawData(const type*, uint)':
> >     /usr/local/include/qmemarray.h:90: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'int
> >     QMemArray<type>::find(const type&, uint) const':
> >     /usr/local/include/qmemarray.h:92: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'int
> >     QMemArray<type>::contains(const type&) const':
> >     /usr/local/include/qmemarray.h:94: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'void
> >     QMemArray<type>::sort()':
> >     /usr/local/include/qmemarray.h:95: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'int
> >     QMemArray<type>::bsearch(const type&) const':
> >     /usr/local/include/qmemarray.h:97: error: 'QGArray' has not been
> >     declared
> >     /usr/local/include/qmemarray.h: In member function 'type&
> >     QMemArray<type>::operator[](int) const':
> >     /usr/local/include/qmemarray.h:100: error: 'QGArray' was not
> >     declared in this scope
> >     /usr/local/include/qmemarray.h:100: error: expected
> >     primary-expression before '&' token
> >     /usr/local/include/qmemarray.h:100: error: expected
> >     primary-expression before ')' token
> >     /usr/local/include/qmemarray.h: In member function 'type&
> >     QMemArray<type>::at(uint) const':
> >     /usr/local/include/qmemarray.h:102: error: 'QGArray' was not
> >     declared in this scope
> >     /usr/local/include/qmemarray.h:102: error: expected
> >     primary-expression before '&' token
> >     /usr/local/include/qmemarray.h:102: error: expected
> >     primary-expression before ')' token
> >     /usr/local/include/qmemarray.h: In member function
> >     'QMemArray<type>::operator const type*() const':
> >     /usr/local/include/qmemarray.h:103: error: 'QGArray' was not
> >     declared in this scope
> >     /usr/local/include/qmemarray.h:103: error: expected ';' before '::'
> >     token
> >     /usr/local/include/qmemarray.h:103: error: '::data' has not been
> >     declared
> >     In file included from /usr/local/include/qpainter.h:49,
> >                     from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> >     /usr/local/include/qpointarray.h: At global scope:
> >     /usr/local/include/qpointarray.h:51: error: function definition does
> >     not declare parameters
> >     /usr/local/include/qpointarray.h:101: error: expected initializer
> >     before '&' token
> >     /usr/local/include/qpointarray.h:102: error: expected initializer
> >     before '&' token
> >     /usr/local/include/qpointarray.h:109: error: 'QPointArray' has not
> >     been declared
> >     /usr/local/include/qpointarray.h: In function 'void setPoint(uint,
> >     const QPoint&)':
> >     /usr/local/include/qpointarray.h:111: error: invalid initialization
> >     of reference of type 'const QPoint&' from expression of type 'int'
> >     /usr/local/include/qpointarray.h:109: error: in passing argument 2
> >     of 'void setPoint(uint, const QPoint&)'
> >     In file included from /usr/local/include/qpainter.h:50,
> >                     from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> >     /usr/local/include/qwmatrix.h: At global scope:
> >     /usr/local/include/qwmatrix.h:51: error: function definition does
> >     not declare parameters
> >     /usr/local/include/qwmatrix.h:113: error: expected initializer
> >     before 'operator'
> >     /usr/local/include/qwmatrix.h:120: error: expected initializer
> >     before '&' token
> >     /usr/local/include/qwmatrix.h:121: error: expected initializer
> >     before '&' token
> >     In file included from /usr/local/share/py-sip/QtGui/qpainter.sip:46:
> >     /usr/local/include/qpainter.h:67: error: function definition does
> >     not declare parameters
> >     /usr/local/include/qpainter.h:445: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:450: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:455: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:460: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:465: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:477: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:482: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:487: error: 'RasterOp' in namespace
> >     'Qt' does not name a type
> >     /usr/local/include/qpainter.h:492: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:497: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:506: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:515: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:524: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:534: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:539: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:544: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:555: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:561: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:567: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:572: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:578: error: 'CoordinateMode' has not
> >     been declared
> >     /usr/local/include/qpainter.h:578: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:583: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:588: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:593: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:598: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:603: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:608: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:613: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:618: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:623: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:628: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:633: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:638: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:644: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:650: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:657: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:662: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:667: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:672: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:677: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:682: error: 'TextDirection' has not
> >     been declared
> >     /usr/local/include/qpainter.h:682: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:687: error: 'TextDirection' has not
> >     been declared
> >     /usr/local/include/qpainter.h:687: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:693: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:699: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/local/include/qpainter.h:705: error: invalid use of incomplete
> >     type 'struct QPainter'
> >     /usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward
> >     declaration of 'struct QPainter'
> >     /usr/include/c++/4.2/bits/stl_list.h: In instantiation of
> >     'std::_List_node<QDomNode>':
> >     /usr/include/c++/4.2/bits/list.tcc:73:   instantiated from 'void
> >     std::_List_base<_Tp, _Alloc>::_M_clear() [with _Tp = QDomNode,
> >     _Alloc = std::allocator<QDomNode>]'
> >     /usr/include/c++/4.2/bits/stl_list.h:348:   instantiated from
> >     'std::_List_base<_Tp, _Alloc>::~_List_base() [with _Tp = QDomNode,
> >     _Alloc = std::allocator<QDomNode>]'
> >     /usr/include/c++/4.2/bits/stl_list.h:408:   instantiated from here
> >     /usr/include/c++/4.2/bits/stl_list.h:101: error:
> >     'std::_List_node<_Tp>::_M_data' has incomplete type
> >     /usr/local/include/qdom.h:92: error: forward declaration of 'struct
> >     QDomNode'
> >     /usr/include/c++/4.2/bits/list.tcc: In member function 'void
> >     std::_List_base<_Tp, _Alloc>::_M_clear() [with _Tp = QDomNode,
> >     _Alloc = std::allocator<QDomNode>]':
> >     /usr/include/c++/4.2/bits/stl_list.h:348:   instantiated from
> >     'std::_List_base<_Tp, _Alloc>::~_List_base() [with _Tp = QDomNode,
> >     _Alloc = std::allocator<QDomNode>]'
> >     /usr/include/c++/4.2/bits/stl_list.h:408:   instantiated from here
> >     /usr/include/c++/4.2/bits/list.tcc:78: error: 'struct
> >     std::_List_node<QDomNode>' has no member named '_M_data'
> >     /usr/include/c++/4.2/bits/stl_list.h: In member function 'const _Tp&
> >     std::_List_const_iterator<_Tp>::operator*() const [with _Tp =
> >     QDomNode]':
> >     /usr/include/c++/4.2/bits/stl_list.h:1116:   instantiated from 'void
> >     std::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator,
> >     _InputIterator, std::__false_type) [with _InputIterator =
> >     std::_List_const_iterator<QDomNode>, _Tp = QDomNode, _Alloc =
> >     std::allocator<QDomNode>]'
> >     /usr/include/c++/4.2/bits/stl_list.h:497:   instantiated from
> >     'std::list<_Tp, _Alloc>::list(const std::list<_Tp, _Alloc>&) [with
> >     _Tp = QDomNode, _Alloc = std::allocator<QDomNode>]'
> >     /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:90:
> >     instantiated from here
> >     /usr/include/c++/4.2/bits/stl_list.h:215: error: 'const struct
> >     std::_List_node<QDomNode>' has no member named '_M_data'
> >     /usr/include/c++/4.2/bits/stl_list.h: In member function
> >     'std::_List_node<_Tp>* std::list<_Tp, _Alloc>::_M_create_node(const
> >     _Tp&) [with _Tp = QDomNode, _Alloc = std::allocator<QDomNode>]':
> >     /usr/include/c++/4.2/bits/stl_list.h:1161:   instantiated from 'void
> >     std::list<_Tp, _Alloc>::_M_insert(std::_List_iterator<_Tp>, const
> >     _Tp&) [with _Tp = QDomNode, _Alloc = std::allocator<QDomNode>]'
> >     /usr/include/c++/4.2/bits/stl_list.h:764:   instantiated from 'void
> >     std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = QDomNode,
> >     _Alloc = std::allocator<QDomNode>]'
> >     /usr/include/c++/4.2/bits/stl_list.h:1116:   instantiated from 'void
> >     std::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator,
> >     _InputIterator, std::__false_type) [with _InputIterator =
> >     std::_List_const_iterator<QDomNode>, _Tp = QDomNode, _Alloc =
> >     std::allocator<QDomNode>]'
> >     /usr/include/c++/4.2/bits/stl_list.h:497:   instantiated from
> >     'std::list<_Tp, _Alloc>::list(const std::list<_Tp, _Alloc>&) [with
> >     _Tp = QDomNode, _Alloc = std::allocator<QDomNode>]'
> >     /usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/qgsexception.h:90:
> >     instantiated from here
> >     /usr/include/c++/4.2/bits/stl_list.h:455: error: 'struct
> >     std::_List_node<QDomNode>' has no member named '_M_data'
> >     gmake: *** [sipcorecmodule.o] Fehler 1
> >     *** Error code 2
> >
> >     Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/graphics/qgis.
> >     *** Error code 1
> >
> >     Stop in /usr/ports/graphics/qgis.
> >
> >
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 09 Oct 2009 10:43:16 +0200
> From: "Matthias Andree" <matthias.andree at gmx.de>
> Subject: Re: sigwait - differences between Linux & FreeBSD
> To: "Stephen Hocking" <stephen.hocking at gmail.com>
> Cc: ports at freebsd.org
> Message-ID: <op.u1iyiera1e62zd at balu.cs.uni-paderborn.de>
> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
>
> Am 09.10.2009, 03:38 Uhr, schrieb Stephen Hocking
> <stephen.hocking at gmail.com>:
>
> > It appears as if the documentation does not match up with the reality
> > in Linux's case. That's what the empirical evidence suggests anyway.
> > The code does does a waitpid after receiving the SIGCHLD to determine
> > what child process has exited and then searches its list of sessions
> > looking for that particular pid, so as to tidy up.
>
> My reception is: if the process wants SIGCHLD, it will have to install its
> own handler, because the default disposition for this signal is SIG_IGN (=
> discard signal and do not turn child process into a zombie).
>
> So use your patch for FreeBSD, feed it to the upstream maintainer with a
> copy of this thread and relevant quotes from the standard and manpage and
> move on. :)
>
> The alternative is to do away with SIGCHLD and use waitpid((pid_t)-1,
> WNOHANG) to poll for children that have exited.
>
> > I can to some degree understand that implementation of sigwait, as if
> > you state your intention to wait for a particular signal, that means
> > that you don't wish to ignore it.
>
> That's outside the standard. If it works on a particular Linux kernel
> version that doesn't mean it will work on every other. Why lose yourself
> in empirical programming if there are standards?
>
> --
> Matthias Andree
>
>
> ------------------------------
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
> End of freebsd-ports Digest, Vol 333, Issue 6
> *********************************************
>


More information about the freebsd-ports mailing list