Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507974 - dev-libs/libical-1.0-r1 - g-ir-scanner: ld: cannot find -lical
Summary: dev-libs/libical-1.0-r1 - g-ir-scanner: ld: cannot find -lical
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 2 votes (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: 2014-04-18 09:56 UTC by Pryka
Modified: 2017-06-04 18:41 UTC (History)
9 users (show)

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


Attachments
ebuild environment (environment,99.93 KB, text/plain)
2014-04-18 09:58 UTC, Pryka
Details
build.log (build.log,163.20 KB, text/plain)
2014-04-18 10:16 UTC, Pryka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pryka 2014-04-18 09:56:34 UTC
Like in the summary, I just cant compile the libical-1.0-r1



Reproducible: Always

Steps to Reproduce:
Steps to Reproduce:

emerge dev-libs/libical-1.0-r1 -1 or via system update

Actual Results:  
, '-L.', '-Wl,-rpath=.', '-Wl,--no-as-needed', '-lical', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0']' returned non-zero exit status 1
src/libical/CMakeFiles/gir-typelibs.dir/build.make:59: recipe for target 'src/libical/libical-0.48.gir' failed
make[2]: *** [src/libical/libical-0.48.gir] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
CMakeFiles/Makefile2:204: recipe for target 'src/libical/CMakeFiles/gir-typelibs.dir/all' failed
make[1]: *** [src/libical/CMakeFiles/gir-typelibs.dir/all] Error 2
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/CMakeFiles 70
[ 77%] Building C object src/libicalss/CMakeFiles/icalss.dir/icalspanlist.o
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss && /usr/bin/x86_64-pc-linux-gnu-gcc  -DHAVE_CONFIG_H -Dicalss_EXPORTS  -DNDEBUG -march=native  -fPIC -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libicalss -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libical -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libical    -o CMakeFiles/icalss.dir/icalspanlist.o -c /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libicalss/icalspanlist.c
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/CMakeFiles 71
[ 78%] Building C object src/libicalss/CMakeFiles/icalss.dir/icalmessage.o
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss && /usr/bin/x86_64-pc-linux-gnu-gcc  -DHAVE_CONFIG_H -Dicalss_EXPORTS  -DNDEBUG -march=native  -fPIC -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libicalss -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libical -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libical    -o CMakeFiles/icalss.dir/icalmessage.o -c /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libicalss/icalmessage.c
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/CMakeFiles 72
[ 79%] Building C object src/libicalss/CMakeFiles/icalss.dir/icalsslexer.o
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss && /usr/bin/x86_64-pc-linux-gnu-gcc  -DHAVE_CONFIG_H -Dicalss_EXPORTS  -DNDEBUG -march=native  -fPIC -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libicalss -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libical -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libical    -o CMakeFiles/icalss.dir/icalsslexer.o -c /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libicalss/icalsslexer.c
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/CMakeFiles 73
[ 80%] Building C object src/libicalss/CMakeFiles/icalss.dir/icalssyacc.o
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss && /usr/bin/x86_64-pc-linux-gnu-gcc  -DHAVE_CONFIG_H -Dicalss_EXPORTS  -DNDEBUG -march=native  -fPIC -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libicalss -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libical -I/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libical    -o CMakeFiles/icalss.dir/icalssyacc.o -c /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0/src/libicalss/icalssyacc.c
Linking C shared library ../../lib/libicalss.so
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss && /usr/bin/cmake -E cmake_link_script CMakeFiles/icalss.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc  -fPIC -march=native   -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libicalss.so.1 -o ../../lib/libicalss.so.1.0.0 CMakeFiles/icalss.dir/icalcalendar.o CMakeFiles/icalss.dir/icalclassify.o CMakeFiles/icalss.dir/icalcluster.o CMakeFiles/icalss.dir/icalgauge.o CMakeFiles/icalss.dir/icaldirset.o CMakeFiles/icalss.dir/icalfileset.o CMakeFiles/icalss.dir/icalset.o CMakeFiles/icalss.dir/icalspanlist.o CMakeFiles/icalss.dir/icalmessage.o CMakeFiles/icalss.dir/icalsslexer.o CMakeFiles/icalss.dir/icalssyacc.o ../../lib/libical.so.1.0.0 -lpthread -Wl,-rpath,/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/lib: 
cd /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/src/libicalss && /usr/bin/cmake -E cmake_symlink_library ../../lib/libicalss.so.1.0.0 ../../lib/libicalss.so.1 ../../lib/libicalss.so
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build/CMakeFiles  65 66 67 68 69 70 71 72 73
[ 80%] Built target icalss
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libical-1.0-r1/work/libical-1.0_build'
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2


EMERGE INFO:

Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.19, 3.12.8 x86_64)
=================================================================
System uname: Linux-3.12.8-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-gentoo-2.2
KiB Mem:     4047632 total,    505672 free
KiB Swap:    2016120 total,   2003636 free
Timestamp of tree: Fri, 18 Apr 2014 09:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo sunrise roslin foo-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 googleearth google-chrome Oracle-BCLA-JavaSE skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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/splash /etc/terminfo"
CXXFLAGS="-march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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/sunrise /var/lib/layman/roslin /var/lib/layman/foo-overlay"
SYNC="rsync://ftp.vectranet.pl/gentoo-portage"
USE="64bit X aac accessibility acl acpi additions alsa amd64 bash-completion bazaar berkdb binary-drivers branding bzip2 cairo cdda cdr cjk cli color consolekit cracklib crashreporter crypt css cxx dbus device-mapper dri dvd dvdnav embedded encode exceptions fat fbcon fbcondecor ffmpeg fontconfig fortran gadu gcj gdbm gif git gpm gudev handbook hddtemp hwdb iconv idn imlib introspection ipv6 java jpeg kde lame libnotify mad mercurial mmx mmxext modules mp3 multilib ncurses nls nptl nss ntfs ntfsprogs opengl openmp osdmenu pam pcre plasma png policykit pulseaudio python qt3support qt4 readline session slang spell sqlite sse sse2 ssl ssse3 subversion symlink syslog tcpd threads truetype udev unicode usb vdpau webm xcb xv xvfb xvid zlib" 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" 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" CURL_SSL="openssl" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia" 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 1 Pryka 2014-04-18 09:58:42 UTC
Created attachment 375186 [details]
ebuild environment
Comment 2 Pryka 2014-04-18 10:16:57 UTC
Created attachment 375190 [details]
build.log
Comment 3 David 2014-04-21 19:58:11 UTC
Confirmed
Comment 4 Steve Arnold archtester gentoo-dev 2014-04-26 20:54:02 UTC
This is reproducible, but only for a "fresh" install with no previous version of libical.  The introspection stuff fails trying to build/link a nonexistent tmp binary named libical-0.48.o so something is fubar'd in cmake-land.  The workaround is to install the previous 0.48-r2 version and then upgrade, which builds fine (but I don't see how the GO stuff could be correct).
Comment 5 Pryka 2014-04-29 16:04:13 UTC
(In reply to Steve Arnold from comment #4)
> This is reproducible, but only for a "fresh" install with no previous
> version of libical.  The introspection stuff fails trying to build/link a
> nonexistent tmp binary named libical-0.48.o so something is fubar'd in
> cmake-land.  The workaround is to install the previous 0.48-r2 version and
> then upgrade, which builds fine (but I don't see how the GO stuff could be
> correct).

Thank You, The workaround "fix" the issue for me.
Comment 6 Kobboi 2014-06-18 20:58:10 UTC
Same here :(
Comment 7 Isaac ‘Will It Work’ Dansicker 2014-06-28 12:48:33 UTC
It looked to me like this was a problem with overloading arguments to the linker, and dismissed it as a gold problem.

Based on what's being said here though, it looks like it is an upstream build issue?
Comment 8 Lara Maia 2014-07-07 04:24:08 UTC
(In reply to Steve Arnold from comment #4)
> This is reproducible, but only for a "fresh" install with no previous
> version of libical.  The introspection stuff fails trying to build/link a
> nonexistent tmp binary named libical-0.48.o so something is fubar'd in
> cmake-land.  The workaround is to install the previous 0.48-r2 version and
> then upgrade, which builds fine (but I don't see how the GO stuff could be
> correct).

This "bypass" the issue for me too
Comment 9 Adrian Frith 2014-10-18 22:51:53 UTC
An alternative workaround is to build it with USE="-introspection" (which succeeds) and then rebuild it with USE="introspection".
Comment 10 Joakim Tjernlund 2016-02-20 16:01:24 UTC
(In reply to Adrian Frith from comment #9)
> An alternative workaround is to build it with USE="-introspection" (which
> succeeds) and then rebuild it with USE="introspection".

Perhaps this upstream fix will help:
https://github.com/libical/libical/commit/2402a36ddff2f6b2a20915bde2b4d0dfb7dcf03f

This fix is for ical 2.0.0 though which was released in December
Would be nice with a 2.0 libical ebuild too as evolution has started to
use 2.0
Comment 11 Pacho Ramos gentoo-dev 2017-06-04 18:41:44 UTC
we have 2.0.x in the tree already