Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350701 - app-editors/fte-20051115-r2 fails to compile
Summary: app-editors/fte-20051115-r2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-05 16:40 UTC by Paul Hartman
Modified: 2011-01-10 16:18 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 Paul Hartman 2011-01-05 16:40:35 UTC
app-editors/fte-20051115-r2 compilation fails on my ~amd64 system. I tried every combination of the three USE flags and all failed in exactly the same way. 

app-editors/fte-20051115-r1 does not have this problem, so this problem was just introduced in -r2.

Reproducible: Always

Steps to Reproduce:
1. emerge app-editors/fte


Actual Results:  
>>> Compiling source in /dev/shm/portage/app-editors/fte-20051115-r2/work/fte ...
make CXX=x86_64-pc-linux-gnu-g++ 'OPTIMIZE=-march=native -O2 -pipe' PREFIX=/usr CONFIGDIR=/usr/share/fte DEFAULT_FTE_CONFIG=../config/main.fte 'TARGETS={ sfte xfte} vfte' all
sed < fte.in >fte \
    -e "s|@@CONFIGDIR@@|/usr/share/fte|g" \
    -e "s|@@BINDIR@@|/usr/bin|g"
chmod a+x fte
make -C src unix
make[1]: Entering directory `/dev/shm/portage/app-editors/fte-20051115-r2/work/fte/src'
make -f fte-unix.mak
make[2]: Entering directory `/dev/shm/portage/app-editors/fte-20051115-r2/work/fte/src'
x86_64-pc-linux-gnu-g++ -fno-rtti -fno-exceptions -march=native -O2 -pipe    -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -DUNIX -DLINUX  -I/usr/X11R6/include   -I/usr/include/slang -c cfte.cpp
cfte.cpp: In function 'void PutObject(CurPos&, int, int, void*)':
cfte.cpp:90:15: warning: conversion to 'unsigned char' from 'short unsigned int' may alter its value
cfte.cpp:91:22: warning: conversion to 'unsigned char' from 'short unsigned int' may alter its value
cfte.cpp: In function 'void PutString(CurPos&, int, char*)':
cfte.cpp:111:39: warning: conversion to 'int' from 'long unsigned int' may alter its value
cfte.cpp: In function 'char* GetString(CurPos&)':
cfte.cpp:804:29: warning: conversion to 'char' from 'int' may alter its value
cfte.cpp: In function 'int GetNumber(CurPos&)':
cfte.cpp:828:49: warning: suggest parentheses around '&&' within '||'
cfte.cpp: In function 'int ParseConfigFile(CurPos&)':
cfte.cpp:950:64: warning: the address of 'Name' will always evaluate as 'true'
cfte.cpp: In function 'int LoadFile(const char*, const char*, int)':
cfte.cpp:1946:21: warning: conversion to 'int' from '__off_t' may alter its value
cfte.cpp: In function 'int main(int, char**)':
cfte.cpp:294:28: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
x86_64-pc-linux-gnu-g++ -fno-rtti -fno-exceptions -march=native -O2 -pipe    -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -DUNIX -DLINUX  -I/usr/X11R6/include   -I/usr/include/slang -c s_files.cpp
s_files.cpp: In function 'char* Slash(char*, int)':
s_files.cpp:91:26: warning: conversion to 'int' from 'size_t' may alter its value
s_files.cpp: In function 'char* SlashDir(char*)':
s_files.cpp:113:26: warning: conversion to 'int' from 'size_t' may alter its value
s_files.cpp: In function 'int IsDirectory(const char*)':
s_files.cpp:143:26: warning: conversion to 'int' from 'size_t' may alter its value
s_files.cpp: In function 'int JustLastDirectory(const char*, char*, int)':
s_files.cpp:387:32: warning: conversion to 'int' from 'size_t' may alter its value
s_files.cpp: In function 'int JustFileName(const char*, char*, int)':
s_files.cpp:407:26: warning: conversion to 'int' from 'size_t' may alter its value
s_files.cpp: In function 'const char* ShortFName(const char*, int)':
s_files.cpp:448:29: warning: comparison between signed and unsigned integer expressions
s_files.cpp:451:19: warning: conversion to 'int' from 'size_t' may alter its value
s_files.cpp: In function 'int RelativePathName(const char*, const char*, char*, int)':
s_files.cpp:501:19: warning: conversion to 'int' from 'size_t' may alter its value
s_files.cpp:501:36: warning: conversion to 'int' from 'size_t' may alter its value
x86_64-pc-linux-gnu-g++ -fno-rtti -fno-exceptions -march=native -O2 -pipe    -DUSE_LOCALE -DDEFAULT_INTERNAL_CONFIG -DUSE_XICON -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -DUNIX -DLINUX  -I/usr/X11R6/include   -I/usr/include/slang -c s_string.cpp
x86_64-pc-linux-gnu-g++ -fno-rtti -fno-exceptions -Wl,--as-needed -march=native -O2 -pipe  -L/usr/X11R6/lib -lstdc++   cfte.o s_files.o s_string.o -o cfte
make[2]: *** No rule to make target `{', needed by `all'.  Stop.
make[2]: Leaving directory `/dev/shm/portage/app-editors/fte-20051115-r2/work/fte/src'
make[1]: *** [unix] Error 2
make[1]: Leaving directory `/dev/shm/portage/app-editors/fte-20051115-r2/work/fte/src'
make: *** [all] Error 2
emake failed
 * ERROR: app-editors/fte-20051115-r2 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2390:  Called die
 * The specific snippet of code:
 *       emake CXX=$(tc-getCXX) OPTIMIZE="${CXXFLAGS}" ${DEFFLAGS} TARGETS="${TARGETS}" all || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =app-editors/fte-20051115-r2',
 * the complete build log and the output of 'emerge -pqv =app-editors/fte-20051115-r2'.
 * The complete build log is located at '/dev/shm/portage/app-editors/fte-20051115-r2/temp/build.log'.
 * The ebuild environment file is located at '/dev/shm/portage/app-editors/fte-20051115-r2/temp/environment'.
 * S: '/dev/shm/portage/app-editors/fte-20051115-r2/work/fte'


Expected Results:  
Success

$ emerge --info =app-editors/fte-20051115-r2
Portage 2.2.0_alpha13 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.1-r3, 2.6.36.2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36.2-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 05 Jan 2011 15:00:23 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.3 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo nx vmware gamerlay-stable overlay
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/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/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://mirror.the-best-hosting.net ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://www.cyberuse.com/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.hoobly.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net http://gentoo.osuosl.org/ ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.llarian.net/ ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.lug.udel.edu/pub/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirror.its.uidaho.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US"
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="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/nx /usr/local/portage/layman/vmware /usr/local/portage/layman/gamerlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi aim alsa amd64 audiofile avahi avi berkdb bluetooth branding bzip2 cairo captury cdparanoia cdr cleartype cli codecs cracklib crypt cups curl curlwrappers cxx dbus device-mapper directfb dri dts dvb dvd dvdr dvdread emboss encode ethereal evo exif fam fbcon flac flash fortran ftp gd gdbm gdu gif gnokii gphoto2 gpm gtk gtk2 h264 iconv ieee1394 imagemagick imap imlib innodb jabber jack java joystick jpeg jpeg2k kde kde4 kdehiddenvisibility kpathsea lcms ldap libcaca libnotify lm_sensors lzma mad mikmod mime mmx mng modules mono mp3 mp4 mpeg msn mudflap multilib mysql ncurses network nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openexr opengl openmp oscar pam pango pcre pdf perl png ppds pppd private-headers python qt qt3 qt3support qt4 raw readline samba scanner sdl semantic-desktop session slang sndfile spell sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd tidy tiff truetype type1 udev unicode usb v4l videos vorbis webkit wifi wmf x264 xcb xcomposite xml xorg xpm xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zip zlib" ALSA_CARDS="hda-intel alsa_cards_usb-audio alsa_cards_usb-us122l alsa_cards_usb-usx2y" 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="auth_digest" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" NETBEANS_MODULES="apisupport harness ide java nb cnd groovy gsf identity j2ee mobility php profiler soa visualweb webcommon websvccommon xml" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


 $ emerge -pqv =app-editors/fte-20051115-r2
[ebuild     U ] app-editors/fte-20051115-r2 [20051115-r1] USE="X gpm slang"
Comment 1 Rafał Mużyło 2011-01-05 17:26:20 UTC
An obvious typo in set_targets().
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-10 16:13:51 UTC
yay
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-10 16:18:40 UTC
Fixed without a revision bump.