On Tue, 20 Mar 2007 12:16:22 -0500, Kris Kennaway <[EMAIL PROTECTED]> wrote:

Dear Maintainer,

As you may know, in the near future FreeBSD 7.x will be switching from
the gcc 3.4 compiler to gcc 4.x.  Unfortunately your port fails to
build with the new compiler; see the log below.

To ease the disruption to users and to avoid further work later on,
can you please work (with the upstream developers if necessary) on
fixing this error?

In many cases it requires only simple code changes, and these may
already have been submitted to the developers by other projects
(thesedays many Linux distributions use gcc 4.1, so chances are they
have fixed the error already), or the patches may be found in their
package repositories.

You should be able to reproduce it yourself simply by installing the
lang/gcc41 port and then setting the variables

  CC=/usr/local/bin/gcc41
  CXX=/usr/local/bin/g++41

in your environment (Note: some ports do not respect these variables
currently, but this is another bug that should be fixed).

I can't reproduce it. Any idea why I can't? Thanks.

# pkg_info | grep gcc
gcc-4.1.3_20070312  GNU Compiler Collection 4.1
# make -DGCC4
===>  Extracting for linuxdcpp-0.0.1.20070206
=> MD5 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2.
=> SHA256 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2.
[...]
===>  Building for linuxdcpp-0.0.1.20070206
scons: Reading SConscript files ...
Checking for /usr/local/bin/g++41 >= 3.4...(cached) yes
[...]
scons: Building targets ...
/usr/local/bin/g++41 -o build/client/AdcCommand.o -c -O2 -fno-strict-aliasing -pipe -g -I. -I/usr/local/include -I. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DICONV_CONST=const -D_DATADIR='"/usr/local/share"' client/AdcCommand.cpp /usr/local/bin/g++41 -o build/client/AdcHub.o -c -O2 -fno-strict-aliasing -pipe -g -I. -I/usr/local/include -I. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DICONV_CONST=const -D_DATADIR='"/usr/local/share"' client/AdcHub.cpp /usr/local/bin/g++41 -o build/client/ADLSearch.o -c -O2 -fno-strict-aliasing -pipe -g -I. -I/usr/local/include -I. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DICONV_CONST=const -D_DATADIR='"/usr/local/share"' client/ADLSearch.cpp
[...goes on without failure...]

Cheers,
Mezz

Thanks,
Kris

----- Forwarded message from User Ports-amd64 <[EMAIL PROTECTED]> -----

X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Date: Tue, 20 Mar 2007 14:48:40 GMT
From: User Ports-amd64 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: linuxdcpp-0.0.1.20070206 failed on amd64 7
X-UIDL: Mlf"!%Fc!!:#]"!L):"!
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.5

building linuxdcpp-0.0.1.20070206 on hammer2.isc.gumbysoft.com
in directory /usr2/pkgbuild/7/chroot/79
building for: 7.0-CURRENT amd64
maintained by: [EMAIL PROTECTED]
port directory: /usr/ports/net-p2p/linuxdcpp
build started at Tue Mar 20 14:47:37 UTC 2007
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=atk-1.12.4.tbz bitstream-vera-1.10_2.tbz cairo-1.2.6_1.tbz expat-2.0.0_1.tbz fontconfig-2.3.2_7,1.tbz freetype2-2.2.1_1.tbz gettext-0.16.1.tbz glib-2.12.11.tbz gtk-2.10.11.tbz hicolor-icon-theme-0.9_2.tbz intltool-0.35.5_2.tbz jpeg-6b_4.tbz libXft-2.1.7_1.tbz libdrm-2.0.2.tbz libglade2-2.6.0_2.tbz libiconv-1.9.2_2.tbz libxml2-2.6.27.tbz p5-XML-Parser-2.34_2.tbz pango-1.14.10.tbz perl-5.8.8.tbz pkg-config-0.21.tbz png-1.2.14.tbz python24-2.4.4.tbz scons-0.96.94.tbz shared-mime-info-0.20.tbz tiff-3.8.2_1.tbz xmlcatmgr-2.2.tbz xorg-fonts-encodings-6.9.0_1.tbz xorg-fonts-truetype-6.9.0.tbz xorg-libraries-6.9.0_1.tbz RUN_DEPENDS=atk-1.12.4.tbz bitstream-vera-1.10_2.tbz cairo-1.2.6_1.tbz expat-2.0.0_1.tbz fontconfig-2.3.2_7,1.tbz freetype2-2.2.1_1.tbz gettext-0.16.1.tbz glib-2.12.11.tbz gtk-2.10.11.tbz hicolor-icon-theme-0.9_2.tbz jpeg-6b_4.tbz libXft-2.1.7_1.tbz libdrm-2.0.2.tbz libglade2-2.6.0_2.tbz libiconv-1.9.2_2.tbz libxml2-2.6.27.tbz pango-1.14.10.tbz perl-5.8.8.tbz pkg-config-0.21.tbz png-1.2.14.tbz python24-2.4.4.tbz shared-mime-info-0.20.tbz tiff-3.8.2_1.tbz xmlcatmgr-2.2.tbz xorg-fonts-encodings-6.9.0_1.tbz xorg-fonts-truetype-6.9.0.tbz xorg-libraries-6.9.0_1.tbz
prefixes: LOCALBASE=usr/local X11BASE=usr/X11R6
add_pkg
================================================================
====================<phase 1: make checksum>====================
=> linuxdcpp-0.0.1.20070206.tar.bz2 doesn't seem to exist in /tmp/distfiles/. => Attempting to fetch from ftp://freebsd.isc.org/pub/FreeBSD/ports/distfiles/.
linuxdcpp-0.0.1.20070206.tar.bz2                       341 kB 2176 kBps
=> MD5 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2.
=> SHA256 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2.
================================================================
====================<phase 2: make extract>====================
add_pkg
===>  Extracting for linuxdcpp-0.0.1.20070206
=> MD5 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2.
=> SHA256 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2.
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for linuxdcpp-0.0.1.20070206
===>  Applying FreeBSD patches for linuxdcpp-0.0.1.20070206
================================================================
====================<phase 4: make build>====================
add_pkg atk-1.12.4.tbz bitstream-vera-1.10_2.tbz cairo-1.2.6_1.tbz expat-2.0.0_1.tbz fontconfig-2.3.2_7,1.tbz freetype2-2.2.1_1.tbz gettext-0.16.1.tbz glib-2.12.11.tbz gtk-2.10.11.tbz hicolor-icon-theme-0.9_2.tbz intltool-0.35.5_2.tbz jpeg-6b_4.tbz libXft-2.1.7_1.tbz libdrm-2.0.2.tbz libglade2-2.6.0_2.tbz libiconv-1.9.2_2.tbz libxml2-2.6.27.tbz p5-XML-Parser-2.34_2.tbz pango-1.14.10.tbz perl-5.8.8.tbz pkg-config-0.21.tbz png-1.2.14.tbz python24-2.4.4.tbz scons-0.96.94.tbz shared-mime-info-0.20.tbz tiff-3.8.2_1.tbz xmlcatmgr-2.2.tbz xorg-fonts-encodings-6.9.0_1.tbz xorg-fonts-truetype-6.9.0.tbz xorg-libraries-6.9.0_1.tbz
adding dependencies
pkg_add atk-1.12.4.tbz
Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /usr/local/bin/perl5.8.8 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.8.8 to /usr/bin/perl5
Done.
Cleaning up /etc/make.conf... Done.
Spamming /etc/make.conf... Done.
Cleaning up /etc/manpath.config... Done.
Spamming /etc/manpath.config... Done.
pkg_add bitstream-vera-1.10_2.tbz
Running fc-cache to build fontconfig cache...
fc-cache: "/usr/X11R6/lib/X11/fonts": caching, 0 fonts, 1 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/local": caching, 0 fonts, 0 dirs
fc-cache: "/root/.fonts": skipping, no such directory
fc-cache: succeeded
/usr/X11R6/bin/fc-cache: "lib/X11/fonts/bitstream-vera": caching, 10 fonts, 0 dirs
/usr/X11R6/bin/fc-cache: succeeded

IMPORTANT - READ CAREFULLY: Please read the COPYRIGHT included with these fonts before using. The copyright can be found at /usr/X11R6/lib/X11/fonts/bitstream-vera/COPYRIGHT.TXT. To
use these fonts, follow the instructions below.

Make sure that the freetype module is loaded. If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

        Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

        FontPath "/usr/X11R6/lib/X11/fonts/bitstream-vera/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.

pkg_add cairo-1.2.6_1.tbz
pkg_add expat-2.0.0_1.tbz
skipping expat-2.0.0_1, already added
pkg_add fontconfig-2.3.2_7,1.tbz
skipping fontconfig-2.3.2_7,1, already added
pkg_add freetype2-2.2.1_1.tbz
skipping freetype2-2.2.1_1, already added
pkg_add gettext-0.16.1.tbz
skipping gettext-0.16.1, already added
pkg_add glib-2.12.11.tbz
skipping glib-2.12.11, already added
pkg_add gtk-2.10.11.tbz
fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 12 fonts, 0 dirs
fc-cache: succeeded
Running fc-cache to build fontconfig cache...
fc-cache: "/usr/X11R6/lib/X11/fonts": caching, 0 fonts, 4 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/local": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/bitstream-vera": caching, 10 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings": caching, 0 fonts, 1 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings/large": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 12 fonts, 0 dirs
fc-cache: "/root/.fonts": skipping, no such directory
fc-cache: succeeded
pkg_add hicolor-icon-theme-0.9_2.tbz
skipping hicolor-icon-theme-0.9_2, already added
pkg_add intltool-0.35.5_2.tbz
pkg_add jpeg-6b_4.tbz
skipping jpeg-6b_4, already added
pkg_add libXft-2.1.7_1.tbz
skipping libXft-2.1.7_1, already added
pkg_add libdrm-2.0.2.tbz
skipping libdrm-2.0.2, already added
pkg_add libglade2-2.6.0_2.tbz
 + Creating /usr/local/share/sgml/catalog
 + Registering CATALOG catalog.ports (SGML)
 + Creating /usr/local/share/sgml/catalog.ports
 + Creating /usr/local/share/xml/catalog
 + Registering nextCatalog catalog.ports (XML)
 + Creating /usr/local/share/xml/catalog.ports

The following catalogs are installed:

 1) ${PREFIX}/share/sgml/catalog

   The top level catalog for SGML stuff.  It is not changed
   by any ports/packages except textproc/xmlcatmgr.

 2) ${PREFIX}/share/sgml/catalog.ports

   This catalog is for handling SGML stuff installed under
   ${PREFIX}/share/sgml.  It is changed by ports/packages.

 3) ${PREFIX}/share/xml/catalog

   The top level catalog for XML stuff.  It is not changed
   by any ports/packages except textproc/xmlcatmgr.

 4) ${PREFIX}/share/xml/catalog.ports

   This catalog is for handling XML stuff installed under
   ${PREFIX}/share/xml.  It is changed by ports/packages.


====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
tkinter         x11-toolkits/py-tkinter

Install them as needed.
====

pkg_add libiconv-1.9.2_2.tbz
skipping libiconv-1.9.2_2, already added
pkg_add libxml2-2.6.27.tbz
skipping libxml2-2.6.27, already added
pkg_add p5-XML-Parser-2.34_2.tbz
skipping p5-XML-Parser-2.34_2, already added
pkg_add pango-1.14.10.tbz
skipping pango-1.14.10, already added
pkg_add perl-5.8.8.tbz
skipping perl-5.8.8, already added
pkg_add pkg-config-0.21.tbz
skipping pkg-config-0.21, already added
pkg_add png-1.2.14.tbz
skipping png-1.2.14, already added
pkg_add python24-2.4.4.tbz
skipping python24-2.4.4, already added
pkg_add scons-0.96.94.tbz
pkg_add shared-mime-info-0.20.tbz
skipping shared-mime-info-0.20, already added
pkg_add tiff-3.8.2_1.tbz
skipping tiff-3.8.2_1, already added
pkg_add xmlcatmgr-2.2.tbz
skipping xmlcatmgr-2.2, already added
pkg_add xorg-fonts-encodings-6.9.0_1.tbz
skipping xorg-fonts-encodings-6.9.0_1, already added
pkg_add xorg-fonts-truetype-6.9.0.tbz
skipping xorg-fonts-truetype-6.9.0, already added
pkg_add xorg-libraries-6.9.0_1.tbz
skipping xorg-libraries-6.9.0_1, already added
===> linuxdcpp-0.0.1.20070206 depends on file: /usr/local/bin/scons - found ===> linuxdcpp-0.0.1.20070206 depends on file: /usr/local/bin/intltool-extract - found ===> linuxdcpp-0.0.1.20070206 depends on executable in : pkg-config - found ===> linuxdcpp-0.0.1.20070206 depends on shared library: iconv.3 - found ===> linuxdcpp-0.0.1.20070206 depends on shared library: atk-1.0.0 - found ===> linuxdcpp-0.0.1.20070206 depends on shared library: glib-2.0.0 - found ===> linuxdcpp-0.0.1.20070206 depends on shared library: gtk-x11-2.0.0 - found ===> linuxdcpp-0.0.1.20070206 depends on shared library: glade-2.0.0 - found
===>   linuxdcpp-0.0.1.20070206 depends on shared library: xml2.5 - found
===> linuxdcpp-0.0.1.20070206 depends on shared library: pango-1.0.0 - found
===>   linuxdcpp-0.0.1.20070206 depends on shared library: X11.6 - found
===>  Configuring for linuxdcpp-0.0.1.20070206
===>  Building for linuxdcpp-0.0.1.20070206
scons: Reading SConscript files ...
Checking for c++ >= 3.4...(cached) yes
Checking for pkg-config... yes
Checking for gtk+-2.0 >= 2.6... yes
Checking for gthread-2.0 >= 2.4... yes
Checking for libglade-2.0 >= 2.4... yes
Checking for C header file time.h... yes
Checking for C header file signal.h... yes
Checking for C header file unistd.h... yes
Checking for C library z... yes
Checking for C library bz2... yes
Checking for C library ssl... yes
Checking iconv... yes
scons: done reading SConscript files.
scons: Building targets ...
c++ -o build/client/AdcCommand.o -c -O2 -fno-strict-aliasing -pipe -I. -I/usr/local/include -I. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DICONV_CONST=const -D_DATADIR='"/usr/local/share"' client/AdcCommand.cpp
In file included from client/AdcCommand.cpp:19:
client/stdinc.h:86:4: error: #error Unknown STL, hashes need to be configured
client/stdinc.h:128:20: error: hash_map: No such file or directory
client/stdinc.h:129:20: error: hash_set: No such file or directory
client/stdinc.h:132: error: 'stdext' is not a namespace-name
client/stdinc.h:132: error: expected namespace-name before ';' token
client/DCPlusPlus.h:89: error: expected initializer before '<' token
client/DCPlusPlus.h:90: error: 'StringMap' has not been declared
client/DCPlusPlus.h:90: error: expected initializer before 'StringMapIter'
client/DCPlusPlus.h:92: error: expected initializer before '<' token
client/DCPlusPlus.h:93: error: 'StringSet' has not been declared
client/DCPlusPlus.h:93: error: expected initializer before 'StringSetIter'
client/DCPlusPlus.h:103: error: expected initializer before '<' token
client/DCPlusPlus.h:104: error: 'WStringMap' has not been declared
client/DCPlusPlus.h:104: error: expected initializer before 'WStringMapIter'
client/DCPlusPlus.h:127: error: 'StringMap' does not name a type
client/DCPlusPlus.h:128: error: 'StringMapIter' does not name a type
client/Util.h:263: error: 'StringMap' has not been declared
client/User.h:134: error: 'StringMap' has not been declared
client/Client.h:121: error: ISO C++ forbids declaration of 'StringMap' with no type
client/Client.h:121: error: expected ';' before '&' token
client/Client.h:128: error: expected `;' before 'void'
client/ClientManager.h:86: error: 'StringMap' has not been declared
client/ClientManager.h:101: error: ISO C++ forbids declaration of 'hash_map' with no type
client/ClientManager.h:101: error: expected ';' before '<' token
client/ClientManager.h:102: error: 'LegacyMap' has not been declared
client/ClientManager.h:102: error: ISO C++ forbids declaration of 'iterator' with no type client/ClientManager.h:102: error: typedef name may not be a nested-name-specifier
client/ClientManager.h:102: error: expected ';' before 'LegacyIter'
client/ClientManager.h:104: error: ISO C++ forbids declaration of 'HASH_MAP_X' with no type
client/ClientManager.h:104: error: expected ';' before 'UserMap'
client/ClientManager.h:105: error: 'UserMap' has not been declared
client/ClientManager.h:105: error: ISO C++ forbids declaration of 'iterator' with no type client/ClientManager.h:105: error: typedef name may not be a nested-name-specifier
client/ClientManager.h:105: error: expected ';' before 'UserIter'
client/ClientManager.h:107: error: ISO C++ forbids declaration of 'HASH_MULTIMAP_X' with no type
client/ClientManager.h:107: error: expected ';' before 'OnlineMap'
client/ClientManager.h:108: error: 'OnlineMap' has not been declared
client/ClientManager.h:108: error: ISO C++ forbids declaration of 'iterator' with no type client/ClientManager.h:108: error: typedef name may not be a nested-name-specifier
client/ClientManager.h:108: error: expected ';' before 'OnlineIter'
client/ClientManager.h:109: error: 'OnlineMap' has not been declared
client/ClientManager.h:109: error: ISO C++ forbids declaration of 'const_iterator' with no type client/ClientManager.h:109: error: typedef name may not be a nested-name-specifier
client/ClientManager.h:109: error: expected ';' before 'OnlineIterC'
client/ClientManager.h:110: error: 'OnlineIter' was not declared in this scope client/ClientManager.h:110: error: 'OnlineIter' was not declared in this scope
client/ClientManager.h:110: error: template argument 1 is invalid
client/ClientManager.h:110: error: template argument 2 is invalid
client/ClientManager.h:111: error: 'OnlineIterC' was not declared in this scope client/ClientManager.h:111: error: 'OnlineIterC' was not declared in this scope
client/ClientManager.h:111: error: template argument 1 is invalid
client/ClientManager.h:111: error: template argument 2 is invalid
client/ClientManager.h:116: error: 'UserMap' does not name a type
client/ClientManager.h:117: error: 'OnlineMap' does not name a type
client/ClientManager.h: In member function 'bool ClientManager::isOnline(const Pointer<User>&) const': client/ClientManager.h:69: error: 'onlineUsers' was not declared in this scope
scons: *** [build/client/AdcCommand.o] Error 1
scons: building terminated because of errors.
*** Error code 2

Stop in /a/ports/net-p2p/linuxdcpp.
================================================================
build of /usr/ports/net-p2p/linuxdcpp ended at Tue Mar 20 14:48:38 UTC 2007


----- End forwarded message -----


--
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  [EMAIL PROTECTED]
http://wiki.freebsd.org/multimedia  -  [EMAIL PROTECTED]
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to