Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462634 - sys-apps/qingy-1.0.0 build error
Summary: sys-apps/qingy-1.0.0 build error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-21 23:15 UTC by Ole Langbehn
Modified: 2014-01-26 09:13 UTC (History)
6 users (show)

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


Attachments
full build log (sys-apps:qingy.log.gz.gz,10.74 KB, application/gzip)
2013-03-22 08:21 UTC, Ole Langbehn
Details
qingy 1.0 on build on stable gentoo (build.log,33.18 KB, application/octet-stream)
2013-06-05 11:53 UTC, needle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Langbehn 2013-03-21 23:15:44 UTC
When rebuilding qingy-1.0.0 after a gcc and libtool update (probably related), the build fails during linking:

ibtool: link: x86_64-pc-linux-gnu-gcc -D_REENTRANT -I/usr/include/directfb -fpic -pipe -W -Wall -march=core2 -O2 -pipe -ggdb -Wl,-O1 -o pixel.qss pixel.o  -Wl,--as-needed -lpthread -ldl -lcrypt
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'


Reproducible: Always

Steps to Reproduce:
emerge qingy




Portage 2.2.0_alpha168 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.16.0, 3.8.3-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.8.3-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     8122868 total,   5620188 free
KiB Swap:   15730180 total,  15730180 free
Timestamp of tree: Wed, 20 Mar 2013 20:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo asux
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/polkit-1/actions /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -j --load-average 8.0 --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/asux"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bluetooth branding bsf bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl cvs cxx dbus dga directfb djvu dri dts dv dvd dvdr encode exif fbcon ffmpeg firefox flac fontconfig fortran ftp gd gdbm geoip gif gimp glut gnome gnuplot gphoto2 gpm gstreamer gtk gtkhtml gzip handbook iconv icq icu idn ieee1394 imagemagick imap imlib innodb ipod ipv6 jabber java java6 javascript jingle jpeg jpeg2k kde latex lcms ldap libcaca libnotify lm_sensors lzma lzo mad matroska mhash mime mmx mmxext mng modules mono motif mozilla mp3 mp4 mpeg mplayer mudflap multilib musicbrainz mysql mysqli ncurses nls nptl ocaml ocamlopt odbc ofx ogg openexr opengl openmp pam pcmcia pcre pdf pic plasma png policykit posix postgres ppds qt3support qt4 rdesktop readline recode rss ruby samba sasl sdl session sharedmem shorten smp sockets sound spell sqlite sqlite3 sse sse2 ssl startup-notification subversion svg syslog tcl tcpd theora threads tidy tiff tk truetype udev unicode usb vaapi vhosts vim-syntax vnc vorbis wifi wmf wxwidgets x264 xcb xcomposite xft xine xinerama xml xmpp xosd xpm xscreensaver xsl xv xvid zlib zsh-completion" ABI_X86="64" 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 auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias lbmethod_bybusyness" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i965 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Rafał Mużyło 2013-03-22 01:00:45 UTC
Check/reset gcc-config and attach full build log.
Comment 2 Ole Langbehn 2013-03-22 08:17:53 UTC
leo ~ # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.2 *
Comment 3 Ole Langbehn 2013-03-22 08:21:17 UTC
Created attachment 342886 [details]
full build log
Comment 4 Rafał Mużyło 2013-03-22 11:11:48 UTC
This seems to be a problem, that was fixed here: http://qingy.svn.sourceforge.net/viewvc/qingy?view=revision&revision=432 (well, by the useful parts of that commit, anyway).
Comment 5 Ellison Marks 2013-04-03 19:16:21 UTC
This just recently bit me as well. Sorta depressing that the last released package on sourceforge doesn't contain the fix from SVN.
Comment 6 Ellison Marks 2013-05-30 05:43:56 UTC
Well, just as a note, I worked around this by emerging qingy with

EXTRA_ECONF="--disable-screen-savers" emerge sys-apps/qingy

to stop it from attempting to compile the offending bits.
Comment 7 needle 2013-06-05 11:51:10 UTC
(In reply to Ellison Marks from comment #6)
> Well, just as a note, I worked around this by emerging qingy with
> 
> EXTRA_ECONF="--disable-screen-savers" emerge sys-apps/qingy
> 
> to stop it from attempting to compile the offending bits.

I have not been able to build qingy on a stable gentoo installation (build.log) attached. I tried before USE="-X" hoping it will disable any screensavers or X related stuff. It did not work.

however with 

> EXTRA_ECONF="--disable-screen-savers" emerge sys-apps/qingy

the build works, and finishes successfully installing.

----

emerge --info
Portage 2.1.11.62 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.2
KiB Mem:     8172396 total,   6892016 free
KiB Swap:    3999996 total,   3999996 free
Timestamp of tree: Mon, 03 Jun 2013 13:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo proaudio mpd sunrise zugaina needless
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 RTCW-ETEULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/gentoo-portage/distfiles/"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/mpd /var/lib/layman/sunrise /var/lib/layman/zugaina /usr/local/portage"
SYNC="rsync://lx/gentoo-portage"
USE="7zip X aac acl acpi alsa amd64 apm bash-completion berkdb bindist bonobo bzip2 cairo cal3d ccache cddb cli cpudetection cracklib crypt cue cups curl custom-flags cxx dga directfb diskio dri encode expat faad fbcon flac fontforge fortran fuse gdbm gif gpm gtk gtk3 hal iconv imagemagick jpeg jpeg2k lame lash libcaca libclamav libgda libmms libsamplerate libsndfile logitech-mouse logrotate lua lv2 lzo mad mbox mmx modpack modules mp3 mpeg mplayer mudflap multilib musepack museplug ncurses noamazon nptl nsplugin nspluginwrapper nvidia ogg oggvorbis opencl opengl openmp pam pcre pdf perl png python python3 qt4 readline schroedinger screen sdl sensord session smp sox spell sql sqlite sqlite3 sse sse2 ssl ssse3 svg t tcpd tga threads truetype unicode vdpau vim-syntax vorbis wavpack xf xine xml zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev nv" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 8 needle 2013-06-05 11:53:07 UTC
Created attachment 350202 [details]
qingy 1.0 on build on stable gentoo
Comment 9 Stephan Litterst 2013-12-13 06:38:28 UTC
Still the same problem here (with still the same solution):
qingy can only be emerged like this:
EXTRA_ECONF="--disable-screen-savers" emerge sys-apps/qingy
Could this be fixed in near future?
Comment 10 Mark Wright gentoo-dev 2014-01-26 09:13:15 UTC
Fixed in qingy-1.0.0 by applying the patch qingy-1.0.0-screensavers.patch obtained from upstream subversion.

qingy-1.0.0: fix bug #359637 Updating sys-apps/qingy-1.0.0 autotools files: thanks to Justin for reporting, hal and axs for testing, Justin and s4t4n for fixing. Fix bug #462634 - sys-apps/qingy-1.0.0 build error: Thanks to Ole Langbehn for reporting, Rafal Muzylo, Ellison Marks, needle and Stephan Litterst for help. qingy-1.0.0-r1: Fix bug #372675 - sys-apps/qingy fails to keep ConsoleKit PAM session open with default setting (using DirectFB: Thanks to guboj for reporting, Richard Kenney for testing, Tomoh K. and s4t4n for fixing. Patches are from qingy upstream subversion.