Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491570 - x11-plugins/wmcalendar-0.5.2-r1 stable request
Summary: x11-plugins/wmcalendar-0.5.2-r1 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2013-11-18 11:04 UTC by Honza
Modified: 2013-12-24 13:03 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 Honza 2013-11-18 11:04:35 UTC
After applying all patches, Makefile (which is not generated) ends up with several undefined variables, one of which causes it to not compile.

Specifically, the "make: --libs: Command not found" line looks like coming from "LIBS   = -lpthread -lm $(shell $(PKG_CONFIG) --libs gtk+-2.0 x11 xpm xext libical)" ... PKG_CONFIG is not defined.

Note that wmcalendar-0.5.2-r1 already in tree solves that, so maybe make it stable?

Reproducible: Always

Steps to Reproduce:
1.emerge -v x11-plugins/wmcalendar

Actual Results:  
>>> Emerging (1 of 1) x11-plugins/wmcalendar-0.5.2
 * wmcalendar-0.5.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                  [ ok ]
 * QA Notice: The 'hasq' function is deprecated (replaced by 'has')
>>> Unpacking source...
>>> Unpacking wmcalendar-0.5.2.tar.gz to /var/tmp/portage/x11-plugins/wmcalendar-0.5.2/work
 * Applying wmcalendar-0.5.2-exit-sin-and-cos.patch ...                                                          [ ok ]
 * Applying wmcalendar-0.5.2-rename_kill_func.patch ...                                                          [ ok ]
>>> Source unpacked in /var/tmp/portage/x11-plugins/wmcalendar-0.5.2/work
>>> Compiling source in /var/tmp/portage/x11-plugins/wmcalendar-0.5.2/work/wmcalendar-0.5.2/Src ...
make -j2 
i686-pc-linux-gnu-gcc -O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe `pkg-config --cflags gtk+-2.0` -I.  -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c wmCalendar.c -o wmCalendar.o 
i686-pc-linux-gnu-gcc -O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe `pkg-config --cflags gtk+-2.0` -I.  -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c settings.c -o settings.o 
In file included from calendar.h:1:0,
                 from wmCalendar.h:69,
                 from wmCalendar.c:10:
/usr/include/ical.h:23:2: warning: #warning "#include <ical.h> is deprecated.  Please #include <libical/ical.h> instead."
settings.c: In function 'writeSettings':
settings.c:168:11: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
settings.c: In function 'getSettings':
settings.c:58:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
In file included from calendarfunc.h:25:0,
                 from wmCalendar.h:71,
                 from wmCalendar.c:10:
/usr/include/ical.h:23:2: warning: #warning "#include <ical.h> is deprecated.  Please #include <libical/ical.h> instead."
wmCalendar.c: In function 'buttonPress':
wmCalendar.c:189:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result
i686-pc-linux-gnu-gcc -O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe `pkg-config --cflags gtk+-2.0` -I.  -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c dockapp.c -o dockapp.o 
i686-pc-linux-gnu-gcc -O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe `pkg-config --cflags gtk+-2.0` -I.  -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c calendarfunc.c -o calendarfunc.o 
In file included from calendarfunc.h:25:0,
                 from calendarfunc.c:23:
/usr/include/ical.h:23:2: warning: #warning "#include <ical.h> is deprecated.  Please #include <libical/ical.h> instead."
i686-pc-linux-gnu-gcc -O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe `pkg-config --cflags gtk+-2.0` -I.  -DICON_TYPE= -D`uname -s` -DHAVE_SYS_TIME_H -c calendar.c -o calendar.o 
In file included from calendar.h:1:0,
                 from calendar.c:1:
/usr/include/ical.h:23:2: warning: #warning "#include <ical.h> is deprecated.  Please #include <libical/ical.h> instead."
calendar.c: In function 'checkicalversion':
calendar.c:14:2: warning: format not a string literal and no format arguments
calendar.c: In function 'deleteCalObjs':
calendar.c:322:10: warning: assignment from incompatible pointer type
make: --libs: Command not found
i686-pc-linux-gnu-gcc -O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe `pkg-config --cflags gtk+-2.0` -I.  -DICON_TYPE= -Wl,-O1 -Wl,--as-needed wmCalendar.o settings.o dockapp.o calendarfunc.o calendar.o -lpthread -lm  -o wmCalendar
wmCalendar.o: In function `initValues':
wmCalendar.c:(.text+0x159): undefined reference to `XFreePixmap'
wmCalendar.o: In function `buttonPress':
wmCalendar.c:(.text+0x5a9): undefined reference to `icaltime_is_null_time'
wmCalendar.c:(.text+0x6ad): undefined reference to `icaltime_null_time'
wmCalendar.o: In function `main':
wmCalendar.c:(.text+0x1798): undefined reference to `gtk_init'
settings.o: In function `changeFilename':
settings.c:(.text+0x7a): undefined reference to `gtk_file_selection_new'
settings.c:(.text+0x86): undefined reference to `gtk_file_selection_get_type'
settings.c:(.text+0x94): undefined reference to `g_type_check_instance_cast'
settings.c:(.text+0xa4): undefined reference to `gtk_file_selection_set_filename'
settings.c:(.text+0xa9): undefined reference to `gtk_object_get_type'
settings.c:(.text+0xbd): undefined reference to `g_type_check_instance_cast'
settings.c:(.text+0xcf): undefined reference to `g_type_check_instance_cast'
settings.c:(.text+0x10b): undefined reference to `gtk_signal_connect_full'
settings.c:(.text+0x11c): undefined reference to `g_type_check_instance_cast'
settings.c:(.text+0x15c): undefined reference to `gtk_signal_connect_full'
settings.c:(.text+0x16d): undefined reference to `g_type_check_instance_cast'
settings.c:(.text+0x180): undefined reference to `g_type_check_instance_cast'

.... and lot of other undefined references ...

calendar.o: In function `close_app':
calendar.c:(.text+0x94): undefined reference to `gtk_main_quit'
collect2: ld returned 1 exit status
make: *** [wmCalendar] Error 1
emake failed
 * ERROR: x11-plugins/wmcalendar-0.5.2::gentoo failed (compile phase):
 *   emake failed.


Expected Results:  
It should at least compile :-). Ideally without warnings.

Portage 2.2.1 (hardened/linux/x86/desktop, gcc-4.5.3-hardenednopie, glibc-2.11.2-r3, 3.0.6-gentoo-32 i686)
=================================================================
System uname: Linux-3.0.6-gentoo-32-i686-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.11.1
KiB Mem:     3324964 total,   2042060 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 18 Jan 2009 19:45:01 +0000
ld GNU ld (GNU Binutils) 2.20.1.20100303
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     1.3.7::<unknown repository>, 2.1.10
dev-lang/python:          2.5.4-r4, 2.6.6-r1, 2.7.3-r2
dev-util/cmake:           2.8.9
sys-apps/baselayout:      1.12.11.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2, 1.10.2::<unknown repository>, 1.11.1, 1.12.6
sys-devel/binutils:       2.15.92.0.2-r10::<unknown repository>, 2.16.1-r3::<unknown repository>, 2.18-r3, 2.20.1-r1
sys-devel/gcc:            2.95.3-r8::<unknown repository>, 3.4.6-r2::<unknown repository>, 4.4.4-r2, 4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        1.4.3-r3::<unknown repository>, 2.2.10
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.11.2-r3
Repositories: gentoo x-portage voip
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/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="-O2 -mtune=k8 -march=k6 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB cs"
MAKEOPTS="-j2"
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="/usr/local/portage /usr/portage/local/layman/voip"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X Xaw3d a52 aac aalib acl acpi alsa apache2 apm avi bash-completion berkdb bluetooth branding browserplugin bzip2 cairo caps cdr cli consolekit cracklib crypt cups curl cxx dbus dga directfb doc dri dts dvd dvdr emboss encode erandom esd exif fam fbcon firefox flac force-cgi-redirect gd gdbm gdu ggi gif gpm gtk hardened iconv imagemagick imlib innodb ipv6 java jpeg lcms ldap lesstif libcaca libnotify libwww lirc lua lzma mad mailwrapper mbox mcal memlimit mikmod mmx mmx2 mmxext mng modules motif mozilla mp3 mp4 mpeg mudflap multislot mysql ncurses nls nptl nptlonly ogg oggvorbis old-linux opengl openmp oss pam pango pcre pdf pdflib perl pic png policykit postscript ppds pppd python qt qt3support qt4 quicktime readline samba sdl session slang snmp spell sqlite sse sse2 ssl startup-notification svg svga sysfs tcpd tetex theora tiff truetype udev unicode urandom usb userlocales v4l v4l2 vhosts videos vorbis wmf x264 x86 xattr xcb xgetdefault xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="access auth auth_dbm auth_anon auth_basic auth_digest authz_host authz_default authz_user alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav_fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so mem_cache mime_magic vhost_alias filter authn_file" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB cs" LIRC_DEVICES="avermedia98 devinput" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_6" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nv vesa r128 fbdev nouveau radeon r300 r600" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-18 19:56:46 UTC
Arch teams, please test and mark stable:
=x11-plugins/wmcalendar-0.5.2-r1
Targeted stable KEYWORDS : ppc sparc x86
Comment 2 Agostino Sarubbo gentoo-dev 2013-12-23 11:26:13 UTC
ppc stable
Comment 3 Agostino Sarubbo gentoo-dev 2013-12-23 16:24:58 UTC
sparc stable
Comment 4 Agostino Sarubbo gentoo-dev 2013-12-24 13:03:15 UTC
x86 stable. Closing.