Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164550 - net-im/twinkle-1.0-r1 doesn't compile
Summary: net-im/twinkle-1.0-r1 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-30 14:33 UTC by Jose Luis Bolos
Modified: 2007-02-01 09:34 UTC (History)
2 users (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 Jose Luis Bolos 2007-01-30 14:33:51 UTC
twinkle-1.0-r1 has the USE flag kdehiddenvisibility (which isn't in 1.0), but it doesn't compile because kdelibs wasn't compiled with it, but it was:

# emerge kdelibs -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdelibs-3.5.5-r7  USE="alsa arts cups doc fam kdeenablefinal kdehiddenvisibility openexr spell ssl -acl -avahi -debug -jpeg2k -kerberos -legacyssl -lua -tiff -utempter -xinerama -zeroconf" LINGUAS="-he" 0 kB

twinkle-1.0 compiles fine.

Reproducible: Always

Steps to Reproduce:
1. emerge =twinkle-1.0-r1
2.
3.

Actual Results:  
# emerge =twinkle-1.0-r1 -v
Calculating dependencies... done!

>>> Emerging (1 of 1) net-im/twinkle-1.0-r1 to /
 * twinkle-1.0.tar.gz MD5 ;-) ...                                                                                                                      [ ok ]
 * twinkle-1.0.tar.gz RMD160 ;-) ...                                                                                                                   [ ok ]
 * twinkle-1.0.tar.gz SHA1 ;-) ...                                                                                                                     [ ok ]
 * twinkle-1.0.tar.gz SHA256 ;-) ...                                                                                                                   [ ok ]
 * twinkle-1.0.tar.gz size ;-) ...                                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking twinkle-1.0.tar.gz ;-) ...                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking twinkle-1.0.tar.gz to /var/tmp/portage/twinkle-1.0-r1/work
 * Applying twinkle-0.4.1-badcflags.patch ...                                                                                                          [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/twinkle-1.0-r1/work/twinkle-1.0 ...
fgrep: /include/kdemacros.h: No existe el fichero o el directorio
 * You asked to enable hidden visibility, but your kdelibs was
 * built without its support. Please rebuild kdelibs with the
 * kdehiddenvisibility useflag enabled.

!!! ERROR: net-im/twinkle-1.0-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  twinkle-1.0-r1.ebuild, line 42:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 278:   Called die

!!! kdelibs without hidden visibility
!!! If you need support, post the topmost build error, and the call stack if relevant.


Expected Results:  
Compile finish successfully

# emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.40GHz
Gentoo Base System version 1.12.8
Last Sync: Tue, 30 Jan 2007 12:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es_ES es"
MAKEOPTS="-s -j4"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/musicbrainz /usr/local/layman/berkano /usr/local/portage /usr/local/proaudio"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 acpi alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cameras_canon cli cracklib crypt cscope cups dbus dlloader dri dssi dts dvd dvdr dvdread elibc_glibc encode exif faad fam ffmpeg flac foomaticdb gd gdb gdbm glitz gphoto2 graphviz gs gtk2 hal iconv imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jack jack-tmpfs jackmidi jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux kipi ladspa lash lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ linguas_es linguas_es_ES logitech-mouse mad matroska midi mjpeg mmx mp3 mpeg mplayer musicbrainz mysql mythtv ncurses network nls no-seamonkey nptl nptlonly nsplugin ogg oggvorbis openexr opengl pam pcre pic png ppds pppd python qt3 quicktime radiotap readline reflection samba session slang slp sndfile speex spell spl sse sse2 ssl subversion tcpd tetex theora transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_ati video_cards_fglrx video_cards_radeon video_cards_vesa vorbis win32codecs x264 xcomposite xine xorg xprint xv xvid yv12 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Erik Logtenberg 2007-01-30 16:09:20 UTC
Same issue here: twinkle-1.0-r1 doesn't compile, with the warning about hidden visibility:

fgrep: /include/kdemacros.h: No such file or directory
 * You asked to enable hidden visibility, but your kdelibs was
 * built without its support. Please rebuild kdelibs with the
 * kdehiddenvisibility useflag enabled.

Just like the above bugreport my kdelibs was in fact compiled with this flag:

# equery uses kdelibs
[ Found these USE variables for kde-base/kdelibs-3.5.5-r7 ]
 + + kdehiddenvisibility : Makes KDE symbols hidden by default, requires GCC 4.1 (experimental)

Kind regards,

Erik Logtenberg.
Comment 2 Laurent MONIN 2007-01-30 17:06:56 UTC
It fails here too.

Calculating dependencies... done!

>>> Emerging (1 of 1) net-im/twinkle-1.0-r1 to /
 * twinkle-1.0.tar.gz MD5 ;-) ...                                                                             [ ok ]
 * twinkle-1.0.tar.gz RMD160 ;-) ...                                                                          [ ok ]
 * twinkle-1.0.tar.gz SHA1 ;-) ...                                                                            [ ok ]
 * twinkle-1.0.tar.gz SHA256 ;-) ...                                                                          [ ok ]
 * twinkle-1.0.tar.gz size ;-) ...                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                        [ ok ]
 * checking twinkle-1.0.tar.gz ;-) ...                                                                        [ ok ]

!!! ERROR: net-im/twinkle-1.0-r1 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  ebuild.sh, line 1255:   Called kde_pkg_setup
  kde.eclass, line 58:   Called built_with_use 'kde-base/kdelibs' 'arts'
  eutils.eclass, line 1647:   Called die

!!! Unable to resolve kde-base/kdelibs to an installed package
!!! If you need support, post the topmost build error, and the call stack if relevant.


##emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Tue, 30 Jan 2007 16:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr fr_FR en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cairo caps cdr cli cracklib crypt ctype cups dba dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild firefox foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimpprint glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms ldap libg++ libwww linguas_en linguas_fr linguas_fr_FR logrotate mad memlimit midi mikmod mmx mng motif mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf pdflib perl png posix ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets speex spell spl sse ssl svg sysfs tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_mga video_cards_vesa vorbis win32codecs wmf x86 xml xml2 xorg xsl xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Daniel Black (RETIRED) gentoo-dev 2007-01-30 19:52:13 UTC
Sorry people.

Hopefully fixed kdehiddenvisibility though I didn't have time to recompile kdelibs to check so can either Jose or Erik confirm it works. The '/include/kdemacros.h: No existe el fichero o el directorio'/'fgrep: /include/kdemacros.h: No such file or directory'should no longer appear.

Laurent, your error was slightly different. Hopefully i've fixed it too. PLease confirm.
It does seem a little odd that you have USE=arts without kdelibs installed though.
Comment 4 Jose Luis Bolos 2007-01-31 01:24:27 UTC
(In reply to comment #3)
> Sorry people.
> 
> Hopefully fixed kdehiddenvisibility though I didn't have time to recompile
> kdelibs to check so can either Jose or Erik confirm it works. The
> '/include/kdemacros.h: No existe el fichero o el directorio'/'fgrep:
> /include/kdemacros.h: No such file or directory'should no longer appear.
> 

Hey, now it compiles and works ok here! Thank you for your fast reply :)
Comment 5 Laurent MONIN 2007-01-31 10:30:49 UTC
(In reply to comment #3)

> Laurent, your error was slightly different. Hopefully i've fixed it too. PLease
> confirm.
> It does seem a little odd that you have USE=arts without kdelibs installed
> though.
> 

It works with "-arts" instead of "arts" in USE.
But it still fails if arts is set (with same error).
Comment 6 Daniel Black (RETIRED) gentoo-dev 2007-02-01 09:34:22 UTC
(In reply to comment #5)
> It works with "-arts" instead of "arts" in USE.
> But it still fails if arts is set (with same error).

Ok - I've set ARTS_REQUIRED="never" at the top of the ebuild to keep pkg_setup in kde.eclass from checking kdelibs. Hopefully thats it.

Sorry for the delay.