Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128109 - stabilize dev-util/cccc-3.0_pre84
Summary: stabilize dev-util/cccc-3.0_pre84
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Developers for the x86 Architecture
URL:
Whiteboard:
Keywords:
Depends on: 124916
Blocks:
  Show dependency tree
 
Reported: 2006-03-30 07:08 UTC by Erik
Modified: 2006-04-15 04:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2006-03-30 07:08:26 UTC
emerge cccc fails:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from cccc_rec.h:9,
                 from cccc_db.h:9,
                 from cccc_met.h:6,
                 from ccccmain.cc:24:
cccc_tbl.h:23: error: expected `;' before "iter_"

emerge -pv cccc:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-util/cccc-3.0_pre63  0 kB

Total size of downloads: 0 kB


The system is newsynced.
emerge --info:
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r1, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LINGUAS="sv de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/portage_tmpdir"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acl ada alsa apache2 apm arts artworkextra athena audiofile authdaemond avi bash-completion berkdb bitmap-fonts bonobo bzip2 canna cdda cddb cdio cdparanoia cdr crypt cups curl dga dhcp directfb divx4linux dnd dri dts dvb dvd dvdread eds emacs emboss encode esd ethereal exif expat fam fbcon ffmpeg firebird flac foomaticdb fortran freetype freewnn gcj gd gdbm ggi gif gimpprint glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl httpd i8x0 idn imagemagick imlib ipv6 isdnlog jack java javascript jpeg junit kde kdeenablefinal kerberos krb4 lcms ldap leim lesstif libcaca libg++ libwww live lua lzo mad matroska mhash mikmod mmx mng mozilla mp3 mpeg mule mysql nas ncurses neXt network nls nsplugin odbc ogg oggvorbis openal opengl pam pcmcia pcre pdflib perl php physfs plotutils png portaudio postgres povray pppd python qt quicktime quotas readline ruby samba sasl sdl slang slp speex spell sql sqlite sse sse2 ssl stream subversion svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vda vlm vorbis wifi wmf wxwindows xanim xface xinerama xml xml2 xmms xosd xv xvid xvmc zlib video_cards_radeon linguas_sv linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-30 07:12:09 UTC
Fixed in _pre84

*** This bug has been marked as a duplicate of 64740 ***
Comment 2 Erik 2006-03-30 10:42:23 UTC
Clarification: This report covers every problem that has to be solved in order to make the command "emerge cccc" succeed on a system with default settings.

I have been told that the bug report 64740 was limited in its scope. Therefore it was enough to provide a working ebuild to fix that bug.

Since this report has a broader scope than report 64740, this report is not a duplicate of report 64740.

What is needed to fix this bug, is to make 3.0_pre84 the default version of cccc by removing the keyword "~x86". 3.0_pre84 works (i tried it), while 3.0_pre84 is guaranteed to fail with the default version of GCC, so it seems like an obvious choice.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-03-30 11:07:23 UTC
dragonheart:  You were the last to touch this (awhile ago), are you still maintaining it or should we give it the boot?  There are newer releases upstream that would probably be much better candidates.
Comment 4 Matthias Langer 2006-03-30 18:25:57 UTC
I've tested dev-util/cccc-3.0_pre84 on x86 against a stable profile. The first thing to notice is: it compiles without errors :-) 

I tested cccc on a c++ and on a java project and found:

Confronting cccc with c++ source seems to work more or less (no, i don't have verified the various statistics cccc generates). However, cccc seems to disagree with g++ when it comes to namespaces and emits messages like

libsylow/permutation.hh(8): trying to match namespace_block at 'namespace'
libsylow/permutation.hh(43): syntax error at token }
libsylow/permutation.hh(43): trying to match start at '}'

for valid c++ code.

Confonting cccc with java sources doesn't seem to be a good idea, at least when java-1.5 stuff is used. I got something like

util/VtkPrefixedDataCollection.java(9): trying to match classBlock at '<'
util/VtkPrefixedDataCollection.java(9): syntax error at token <
util/VtkPrefixedDataCollection.java(1): trying to match compilationUnit at 'package'
Processing util/VtkPropOnScreen.java as Java
Generating HTML reports
Segmentation fault

If anybody is interested i can provide a backtrace ...

However, it compiles and seems to work at least partially (still prefering doxygen or javadoc)

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig colission-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aalib alsa apm audiofile avi berkdb bitmap-fonts bonobo bzip2 bzlib cairo cdr cli crypt css ctype cups curl dba dbus divx4linux dri dts dv dvd dvdr dvdread emboss encode evo exif expat fam fame fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 isdnlog java jpeg junit lcms libg++ libwww mad memlimit mhash mikmod mmx mmxext mng motif mp3 mpeg nautilus ncurses nls nptl nsplugin nvidia ogg oggvorbis openal opengl pam pcre pdflib perl plotutils png posix pppd python quicktime readline real ruby sdl session simplexml slang soap sockets speex spell spl sqlite sse ssl subtitles svga tcltk tcpd tetex theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd video_cards_nvidia vorbis win32codecs wma xine xml xml2 xmms xsl xv xvid zlib linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2006-04-14 21:51:30 UTC
Added to package.mask pending removal (unless someone steps up to maintain it)