Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191346 - sys-apps/smartmontools-5.37 fails to compile on uclibc++
Summary: sys-apps/smartmontools-5.37 fails to compile on uclibc++
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-05 09:05 UTC by Natanael Copa
Modified: 2010-10-19 22:33 UTC (History)
1 user (show)

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


Attachments
smartmontools-5.37-const-char.patch (smartmontools-5.37-const-char.patch,1.23 KB, patch)
2007-09-05 09:21 UTC, Natanael Copa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2007-09-05 09:05:22 UTC
if g++-uc -DHAVE_CONFIG_H -I. -I. -I.  -DSMARTMONTOOLS_SYSCONFDIR=\"/etc\"   -Os -pipe -Wall -W -MT atacmds.o -MD -MP -MF ".deps/atacmds.Tpo" -c -o atacmds.o atacmds.cpp; \
        then mv -f ".deps/atacmds.Tpo" ".deps/atacmds.Po"; else rm -f ".deps/atacmds.Tpo"; exit 1; fi
if g++-uc -DHAVE_CONFIG_H -I. -I. -I.  -DSMARTMONTOOLS_SYSCONFDIR=\"/etc\"   -Os -pipe -Wall -W -MT ataprint.o -MD -MP -MF ".deps/ataprint.Tpo" -c -o ataprint.o ataprint.cpp; \
        then mv -f ".deps/ataprint.Tpo" ".deps/ataprint.Po"; else rm -f ".deps/ataprint.Tpo"; exit 1; fi
smartd.cpp: In function `void PrintCVS()':
smartd.cpp:313: error: invalid conversion from `const char*' to `char*'
make[2]: *** [smartd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-apps/smartmontools-5.37/work/smartmontools-5.37'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/smartmontools-5.37/work/smartmontools-5.37'
make: *** [all] Error 2
Comment 1 Natanael Copa 2007-09-05 09:05:57 UTC
Portage 2.1.2.12 (uclibc/x86/hardened, gcc-3.4.6, uclibc-0.9.28.3-r0, 2.6.21-vsgrsec-grsec2.1.10-200706182032-vs2.2.0.3 i686)
=================================================================
System uname: 2.6.21-vsgrsec-grsec2.1.10-200706182032-vs2.2.0.3 i686 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Gentoo Base System release baselayout-2.0.0_rc4-r1
Timestamp of tree: Tue, 04 Sep 2007 16:30:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-march=i386 -Os -pipe -fomit-frame-pointer"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/var/cache/packages/default"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/alpine-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 bitmap-fonts bri bzip2 cli cracklib dri encode expat extensions hardened iproute2 ipv6 jpeg lua mad midi mmap mudflap ncurses netboot nonfsv4 ntfs ogg openmp oss pci pcmcia pic png pppd pri readline reflection rrdtool sensord session snmp speex spl ssl tdb truetype truetype-fonts type1-fonts uclibc uclibc++ udev usb userlocales wifi wordexp x86 xorg zaptel zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" MISDN_CARDS="avmfritz hfcmulti hfcpci hfcsmini hfcsusb netjetpci sedlfax w6692pci xhfc" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l apm ark chips cirrus cyrix epson glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng vesa vga via voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Natanael Copa 2007-09-05 09:21:53 UTC
Created attachment 130058 [details, diff]
smartmontools-5.37-const-char.patch

patch fixes problem. I suspect this is a problem for all gcc-3.x.
Comment 3 SpanKY gentoo-dev 2010-10-19 22:33:56 UTC
ucibc++ isnt supported anymore