Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296449 - x11-misc/nitrogen-1.4-r1 won't compile due to a "strlen" out of scope error.
Summary: x11-misc/nitrogen-1.4-r1 won't compile due to a "strlen" out of scope error.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-10 20:11 UTC by Fabian Büttner
Modified: 2009-12-14 10:38 UTC (History)
2 users (show)

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


Attachments
nitrogen-1.4-r1.ebuild (nitrogen-1.4-r1.ebuild,1.13 KB, text/plain)
2009-12-13 00:49 UTC, Helmuth Schmelzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Büttner 2009-12-10 20:11:25 UTC
Due to a missing header file in Thumbview.cc compiling/installing of this ebuild does not work.

Reproducible: Always

Steps to Reproduce:
1. emerge -av x11-misc/nitrogen
2.
3.

Actual Results:  
It did not compile properly.

Expected Results:  
it should have been compiled/installed properly.

adding #include <string.h> into the file Thumbview.cc fixes the issue.
Comment 1 Dave Foster 2009-12-10 20:48:03 UTC
Hi, upstream here.  This has been fixed already in 27bb2cd7694c364635ab5a4ad01061fa005855a8 and will be in nitrogen 1.5 release, due any day now.  Thanks.

Comment 2 Helmuth Schmelzer 2009-12-13 00:47:36 UTC
(In reply to comment #1)
> Hi, upstream here.  This has been fixed already in
> 27bb2cd7694c364635ab5a4ad01061fa005855a8 and will be in nitrogen 1.5 release,
> due any day now.  Thanks.
> 

if you modify the ebuild and discussed the 2 patches running smoothly, that is caused by 1 of the nitrogen ebuild patches for now this is the solution:)

Comment 3 Helmuth Schmelzer 2009-12-13 00:49:49 UTC
Created attachment 212836 [details]
nitrogen-1.4-r1.ebuild

Nitrogen modified ebuild which I discuss the 2 patches that caused the problem, now this is the solution
Comment 4 David Abbott (RETIRED) gentoo-dev 2009-12-13 01:13:39 UTC
(In reply to comment #0)
> Due to a missing header file in Thumbview.cc compiling/installing of this
> ebuild does not work.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. emerge -av x11-misc/nitrogen
> 2.
> 3.
> 
> Actual Results:  
> It did not compile properly.
> 
> Expected Results:  
> it should have been compiled/installed properly.
> 
> adding #include <string.h> into the file Thumbview.cc fixes the issue.
> 
Please include emerge --info and emerge -pv emerge -pv x11-misc/nitrogen
Installed fine here as is.
emerge --info x11-misc/nitrogen       
Portage 2.2_rc58 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.30-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 12 Dec 2009 14:30:24 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://mirror.fslutd.org/linux/distributions/gentoo/ "
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/perl-experimental /usr/local/portage/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cdrtools cleartype cli colordiff consolekit corefonts cracklib crypt cups cxx dbus doc dri dts dvd dvdr eds emboss encode evo extras fam ffmpeg firefox firefox3 flac fontconfig foomaticdb fortran gdbm gif gimp git gnome gnutls gpm graphviz gstreamer gtk guidexml hal iconv imagemagick ipv6 jadetex jpeg kdrive ldap libnotify mad mdnsresponder-compat mikmod mmx modules mp3 mp4 mpeg mplayer mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plugins png policykit ppds pppd python qt3support quicktime readline reflection sdl session sip slang spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg svgz sysfs tcpd themes theora thunar tiff tk totem truetype unicode usb v4l2 vim vim-syntax vim-with-x vorbis wav x264 xcomposite xft xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-misc/nitrogen-1.4-r1 was built with the following:
USE="(multilib) -xinerama" 



Comment 5 Fabian Büttner 2009-12-14 10:38:41 UTC
(In reply to comment #4)

here it is.

emerge --info x11-misc/nitrogen
Portage 2.2_rc59 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.9_p20081201-r2, 2.6.32-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 14 Dec 2009 08:45:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -floop-interchange -floop-strip-mine -floop-block -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -floop-interchange -floop-strip-mine -floop-block -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/devnull /usr/local/portage/layman/sunrise /usr/local/portage/layman/sping /usr/local/portage/layman/pcsx2 /usr/local/portage/layman/gnome /usr/local/portage/layman/kde /usr/local/portage/layman/jyujin /usr/local/portage/x29a"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="X acl acpi akonadi alsa amd64 avahi berkdb bzip2 cdr cleartype cli consolekit cracklib crypt cups cxx dbus dri dvd dvdr exif ffmpeg fortran gdbm gif gpm hal iconv ipv6 jpeg kde ldap libnotify lm_sensors mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl plasma png policykit pppd pulseaudio python qt3 qt3support qt4 readline reflection samba semantic-desktop session spl sse sse2 ssh ssl sysfs tcpd threads tiff unicode v4l2 webkit xcomposite xinerama xorg zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-misc/nitrogen-1.4-r1 was built with the following:
USE="(multilib) xinerama"