Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288332 - [QA] x11-libs/fltk-1.1.7-r3: unrecognized options: --enable-static
Summary: [QA] x11-libs/fltk-1.1.7-r3: unrecognized options: --enable-static
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 246778
  Show dependency tree
 
Reported: 2009-10-09 16:09 UTC by Martin Mokrejš
Modified: 2010-05-28 19:39 UTC (History)
0 users

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


Attachments
build.log (build.log,14.04 KB, text/plain)
2009-10-09 16:11 UTC, Martin Mokrejš
Details
config.log (config.log,43.38 KB, text/plain)
2009-10-09 16:12 UTC, Martin Mokrejš
Details
configure (configure,357.46 KB, text/plain)
2009-10-09 16:12 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2009-10-09 16:09:32 UTC
* fltk-1.1.7-source.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking fltk-1.1.7-source.tar.bz2 to /var/tmp/portage/x11-libs/fltk-1.1.7-r3/work
 * Applying libs-1.7.diff ...                                                                                                                                                                    [ ok ]
 * Applying fltk-1.1.7-amd64.patch ...                                                                                                                                                           [ ok ]
 * Applying fltk-1.1.7-as-needed.patch ...                                                                                                                                                       [ ok ]
 * Applying fltk-1.1.7-dieonerrors.patch ...                                                                                                                                                     [ ok ]
 * Applying fltk-1.1.7-maxmin-typo.patch ...                                                                                                                                                     [ ok ]
 * Applying fltk-1.1.7-xft-and-misc.patch ...                                                                                                                                                    [ ok ]
>>> Source unpacked in /var/tmp/portage/x11-libs/fltk-1.1.7-r3/work
>>> Compiling source in /var/tmp/portage/x11-libs/fltk-1.1.7-r3/work/fltk-1.1.7 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --includedir=/usr/include/fltk-1.1 --libdir=/usr/lib/fltk-1.1 --enable-shared --enable-xdbe --enable-static --enable-threads --enable-xft
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc

[cut]
checking for IceConnectionNumber in -lICE... yes
configure: WARNING: Ignoring libraries " -lSM -lICE" requested by configure.
checking for library containing dlopen... none required
[cut]
config.status: creating config.h
make 
running /bin/sh ./configure  --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --includedir=/usr/include/fltk-1.1 --libdir=/usr/lib/fltk-1.1 --enable-shared --enable-xdbe --enable-static --enable-threads --enable-xft CC=i686-pc-linux-gnu-gcc CFLAGS=-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb CXXFLAGS=-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb CXX=i686-pc-linux-gnu-g++ LDFLAGS=-Wl,-O1 build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu  --no-create --no-recursion
configure: WARNING: unrecognized options: --enable-static
[cut]
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
./configure: line 7709: test: =: unary operator expected
[cut]
checking for IceConnectionNumber in -lICE... yes
configure: WARNING: Ignoring libraries " -lSM -lICE" requested by configure.
[cut]
checking if GCC supports -fno-exceptions... yes
configure: creating ./config.status
configure: WARNING: unrecognized options: --enable-static
config.status: creating makeinclude
config.status: WARNING:  'makeinclude.in' seems to ignore the --datarootdir setting
config.status: creating fltk.list
config.status: WARNING:  'fltk.list.in' seems to ignore the --datarootdir setting
config.status: creating fltk-config
config.status: creating FL/Makefile
config.status: creating config.h
=== making src ===

# emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30.6 i686)
=================================================================
System uname: Linux-2.6.30.6-i686-Mobile_Intel-R-_Pentium-R-_4_-_M_CPU_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 09 Oct 2009 09:45:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.5.4-r3, 2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r4
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz"
LDFLAGS="-Wl,-O1"
LINGUAS="en cs cz"
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/science /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip R X Xaw3d a52 aac aalib ace acl acpi alsa amr amrnb amrwb apache audacious audiofile bash-completion bcmath berkdb blas bluetooth boost branding bzip2 cairo caps cblas cddb cdparanoia cdr clamav cli colordiff compress consolekit cpio cracklib crypt cscope css ctype cups curl curlwrappers cxx dbi dbus dga dia directfb djbfft dri dts dv dvb dvd dvdr dvdread eds emacs emboss emf enblend encode enscript exif expat faad fam fame fat fbcon ffmpeg fftw firefox flac flash foomaticdb fortran fpx ftp gcj gd gdbm ggi gif gimp gimpprint glibc-compat20 glibc-omitfp glut gmp gnuplot gnutls gpgme gphoto2 gpm graphviz gs gsl gsm gstreamer gtk gtkhtml hal hdf hdf5 hp2xx i8x0 icc iconv icu id3 ieee1394 ifc imagemagick imlib inifile innodb isdnlog ithreads jack java javascript jbig jce jikes jpeg jpeg2k kdtree kerberos lame lapack laptop lcms leim libcaca libedit libnotify libwww live lzo lzw mad maildir matroska mhash mikmod mime ming mjpeg mmap mmx mng mod_python modperl modplug modules motif mozilla moznoirc mp2 mp3 mp4 mpeg mpi mpi_njtree mpich2 mplayer mudflap mule musepack mxdatetime mysql mysqli ncurses netcdf netpbm network nls nntp nptl nptlonly nsplugin ntfs numeric ogg opengl openmp openssl pam pango pcmcia pcntl pcre pdf perl plotutils plugin png pnm postproc postscript ppds pppd procmail pymol python qt3 qt3support qt4 quicktime rar raw readline recode reflection reiserfs rpm samba sasl scanner scp seamonkey server session sftp sift slp smime sndfile soap sockets spell spl sqlite srt sse sse2 ssl startup-notification subtitles subversion svg svgz sysfs sysvipc t1lib tcl tcpd tetex theora threads thunar tidy tiff tk transcode truetype unicode urandom usb userlocales utils uuencode v4l v4l2 vcd vhook vim-syntax vim-with-x vorbis wifi win32codecs wmf wxwindows x264 x86 xanim xcf xfs xft xinerama xinetd xml xorg xpm xsl xslt xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="intel-8x0m" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config mem_cache mime mime_magic rewrite setenvif speling status unique_id userdir usertrack vhost_alias negotiation" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Mokrejš 2009-10-09 16:11:14 UTC
Created attachment 206551 [details]
build.log
Comment 2 Martin Mokrejš 2009-10-09 16:12:02 UTC
Created attachment 206553 [details]
config.log
Comment 3 Martin Mokrejš 2009-10-09 16:12:27 UTC
Created attachment 206554 [details]
configure
Comment 4 Martin Mokrejš 2009-10-09 16:16:58 UTC
Anyway, it died:

Compiling filename_list.cxx...
filename_list.cxx: In function ‘int fl_filename_list(const char*, dirent***, int (*)(dirent**, dirent**))’:
filename_list.cxx:70: error: invalid conversion from ‘int (*)(const void*, const void*)’ to ‘int (*)(const dirent**, const dirent**)’
filename_list.cxx:70: error:   initializing argument 4 of ‘int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))’
make[1]: *** [filename_list.o] Error 1
make: *** [all] Error 1
 * 
 * ERROR: x11-libs/fltk-1.1.7-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2291:  Called die
 * The specific snippet of code:
 *       emake || die "Parallel Make Failed"
 *  The die message:
 *   Parallel Make Failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/fltk-1.1.7-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/fltk-1.1.7-r3/temp/environment'.
 * 
Comment 5 Martin Mokrejš 2009-10-09 16:31:09 UTC
It looks using gcc-3.3.6 gives not a single warning message from g++ during src_compile() step, unlike when using gcc-4.3.4 or 4.4.1 complaine da lot about many .cxx files, and died at filename_list.cxx. I conclude that the sources are setup for gcc-3, but even with gcc-3 suddenly died on the very same file:

Compiling filename_list.cxx...
filename_list.cxx: In function `int fl_filename_list(const char*, dirent***, 
   int (*)(dirent**, dirent**))':
filename_list.cxx:70: error: invalid conversion from `int (*)(const void*, 
   const void*)' to `int (*)(const dirent**, const dirent**)'
make[1]: *** [filename_list.o] Error 1
make: *** [all] Error 1

Maybe this gives you some hints.
Comment 6 Martin Mokrejš 2009-10-09 16:44:09 UTC
I can compile/install 1.1.9-r1, although these apply as well:

>>> Preparing source in /var/tmp/portage/x11-libs/fltk-1.1.9-r1/work/fltk-1.1.9 ...
 * Applying fltk-1.1.9-desktop.patch ...                                                                                                                                                         [ ok ]
 * Applying fltk-1.1.9-as-needed.patch ...                                                                                                                                                       [ ok ]
 * Applying fltk-1.1.9-conf-tests.patch ...                                                                                                                                                      [ ok ]
 * Applying fltk-1.1.9-glibc2.10-scandir.patch ...                                                                                                                                               [ ok ]
 * Applying fltk-1.1.9-consts.patch ...                                                                                                                                                          [ ok ]
 * Running autoconf ...                                                                                                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/fltk-1.1.9-r1/work/fltk-1.1.9 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --includedir=/usr/include/fltk-1.1 --libdir=/usr/lib/fltk-1.1 --docdir=/usr/share/doc/fltk-1.1.9-r1/html --enable-largefile --enable-shared --enable-xdbe --enable-gl --enable-threads --enable-xft --enable-xinerama
[cut]
checking for IceConnectionNumber in -lICE... yes
configure: WARNING: Ignoring libraries " -lSM -lICE" requested by configure.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2010-05-28 19:39:59 UTC
I removed any version prior to 1.9*

Closing as WONTFIX