Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61969 - libmcal broken after update
Summary: libmcal broken after update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-27 13:34 UTC by Pantelis Panayiotou
Modified: 2004-09-15 02:17 UTC (History)
0 users

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


Attachments
emerge libmcal stdout (libmcal.stdout.txt,6.20 KB, text/plain)
2004-08-30 03:38 UTC, Pantelis Panayiotou
Details
emerge libmcal stderr (libmcal.stderr.txt,1.12 KB, text/plain)
2004-08-30 03:39 UTC, Pantelis Panayiotou
Details
Modified libmcal ebuild (libmcal-0.7-r2.ebuild,1.75 KB, text/plain)
2004-09-01 07:54 UTC, Pantelis Panayiotou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pantelis Panayiotou 2004-08-27 13:34:39 UTC
Hi,

After updating my system, libmcal broke. This resulted in apache not starting on my system, which was a major disapointment :-(

Reproducible: Always
Steps to Reproduce:
1. # emerge --deep --update world
2. # /etc/init.d/apache2 start

Actual Results:  
root@caronia plp $ /etc/init.d/apache2 start 
 * Apache2 has detected a syntax error in your configuration files: 
Syntax error on line 5 of /usr/lib/apache2/conf/modules.d/70_mod_php.conf: 
Cannot load /usr/lib/apache2/extramodules/libphp4.so into 
server: /usr/lib/libmcal.so: undefined symbol: pam_end 
 
root@caronia plp $ ld /usr/lib/libmcal.so 
ld: warning: cannot find entry symbol _start; not setting start address 
/usr/lib/libmcal.so: undefined reference to `pam_end' 
/usr/lib/libmcal.so: undefined reference to `pam_authenticate' 
/usr/lib/libmcal.so: undefined reference to `pam_setcred' 
/usr/lib/libmcal.so: undefined reference to `cc_login' 
/usr/lib/libmcal.so: undefined reference to `pam_set_item' 
/usr/lib/libmcal.so: undefined reference to `cc_searched' 
/usr/lib/libmcal.so: undefined reference to `cc_vlog' 
/usr/lib/libmcal.so: undefined reference to `cc_vdlog' 
/usr/lib/libmcal.so: undefined reference to `pam_start' 
 
To quick-and-dirty fix this, I had to do: 
 
# USE="-pam" emerge libmcal 

Expected Results:  
Apache should start. 
 
No undefined references in libmcal.so. 

Here is my info: 
 
Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 
2.4.26-gentoo-r6) 
================================================================= 
System uname: 2.4.26-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz 
Gentoo Base System version 1.4.16 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -pipe -march=pentium4" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -pipe -march=pentium4" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp.du.se/pub/os/gentoo http://ftp.lug.ro/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X Xaw3d aalib acpi acpi4linux aim alsa apache2 apm arts async avi berkdb 
bzlib calendar cddb cdr cdrom cgi chroot clanJavaScript clanVoice cpdflib 
crypt cscope ctype cups curl curlwrappers dbx dga dio directfb divx4linux dnd 
doc dv dvb dvd dvdr dvdread encode erandom escreen esd exif fastcgi fbcon 
fbdev fdftk ffmpeg fftw flash flatfile fluidsynth foomaticdb freetds freetype 
ftp gdbm gif gimp gimpprint glgd glut gphoto2 gpm gs gtk2 gtkhtml iconv icq 
ieee1394 image imagemagick imlib innodb iodbc jabber java javacomm javadoc 
javamail javascript jboss jce jdepend jikes jp2 jpeg kde ldap libcaca libg++ 
libgda libwww log4j lzw lzw-tiff mad matroska mcal md5sum mhash migemo mikmod 
ming mixer mng mono motif mozilla mozp3p mozsvg mozxmlterm mpeg mpeg4 mplayer 
msdav msn mssql music mysql mysqli ncurses net netcdf nls nptl odbc offensive 
ofx oggvorbis ooo-kde openal opengl openssh operanom2 oscar oss pam pcntl pcre 
pdflib pear-db perl pfpro php plotutils png portaudio posix print pthreads 
python qdbm qt quicktime quotes readline recode regexp rhino samba sasl sdl 
servlet-2.3 servlet-2.4 session shaper shared sharedmem simplexml skey slang 
slp smartcard sndfile soap sockets socks5 sox speedo spell spl ssl stroke svg 
sysvipc szip tcltk tcpd theora tidy tiff timidity tokenizer transcode 
transparent-proxy truetype type1 ucs4 unicode usb uudeview v4l v4l2 
video_cards_radeon vim-with-x wmf wxwindows x86 xalan xerces xforms xine xml 
xml2 xmlrpc xmms xprint xsl xv xvid yahoo yaz yv12 zlib zvbi" 
 
 
I'm kind of new to gentoo so, if you need further info to fix this, don't 
hesidate to contact me :-)
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-27 22:54:04 UTC
please specify WHAT you upgraded that broken libmcal, and if re-merging libmcal (with your normal USE flags) works.
Comment 2 Nicolas Laplante 2004-08-29 10:36:13 UTC
Same thing here. I upgraded libmcal to the latest release in portage as of August 28th 2004, and mod_php broke. I had "pam" in my USE flags for libmcal and mod_php. Even re-emerging mod_php after mcal update, the compilation dies when building the  mcal extension (with some undefined references to pam_***).
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-29 14:14:03 UTC
please sync and then attach the full output of 'emerge mcal'.
Comment 4 Pantelis Panayiotou 2004-08-30 03:38:54 UTC
Created attachment 38489 [details]
emerge libmcal stdout
Comment 5 Pantelis Panayiotou 2004-08-30 03:39:16 UTC
Created attachment 38490 [details]
emerge libmcal stderr
Comment 6 Pantelis Panayiotou 2004-08-30 05:09:30 UTC
Sorry for taking so long guys. I was away from computers all weekend.

Attached above are the outputs of "emerge libmcal". The problem happens when you try to emerge libmcal without the -pam flag.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-30 10:11:14 UTC
pantelis: 
could I please get the output of /usr/lib/libmcal.so
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-30 12:46:26 UTC
typod that.
ldd /usr/lib/libmcal.so

is the output I want
Comment 9 Romang 2004-08-31 01:49:29 UTC
[root@bandwidth root]$ld /usr/lib/libmcal.so
ld: warning: cannot find entry symbol _start; not setting start address
/usr/lib/libmcal.so: undefined reference to `pam_end'
/usr/lib/libmcal.so: undefined reference to `pam_authenticate'
/usr/lib/libmcal.so: undefined reference to `pam_setcred'
/usr/lib/libmcal.so: undefined reference to `cc_login'
/usr/lib/libmcal.so: undefined reference to `pam_set_item'
/usr/lib/libmcal.so: undefined reference to `cc_searched'
/usr/lib/libmcal.so: undefined reference to `cc_vlog'
/usr/lib/libmcal.so: undefined reference to `cc_vdlog'
/usr/lib/libmcal.so: undefined reference to `pam_start'
[root@bandwidth root]$ldd /usr/lib/libmcal.so
        libc.so.6 => /lib/libc.so.6 (0x40018000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[root@bandwidth root]$
Comment 10 Pantelis Panayiotou 2004-08-31 03:05:30 UTC
Same output here, if emerged with pam. With -pam, there are still undefined references, but Apache works OK:

root@caronia plp $ emerge libmcal
.
.
.
root@caronia plp $ ld /usr/lib/libmcal.so
ld: warning: cannot find entry symbol _start; not setting start address
/usr/lib/libmcal.so: undefined reference to `cc_login'
/usr/lib/libmcal.so: undefined reference to `crypt'
/usr/lib/libmcal.so: undefined reference to `cc_searched'
/usr/lib/libmcal.so: undefined reference to `cc_vlog'
/usr/lib/libmcal.so: undefined reference to `cc_vdlog'


root@caronia plp $ USE="-pam" emerge libmcal
.
.
.
root@caronia plp $ ld /usr/lib/libmcal.so
<same output as Romang's>
Comment 11 Pantelis Panayiotou 2004-08-31 03:15:28 UTC
Sorry, I forgot about ldd. Output is the same as Romang's in all cases.
Comment 12 Pantelis Panayiotou 2004-09-01 07:54:59 UTC
Created attachment 38684 [details]
Modified libmcal ebuild

Please find attached a modified ebuild for libmcal that fixes this problem for
me.

Robin: what I did was to add a -lpam to the CFLAGS of the library make.
Comment 13 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-09-01 08:43:03 UTC
does your fix allow you to successfully compile php as well afterwards?
Comment 14 Pantelis Panayiotou 2004-09-01 09:01:56 UTC
Both php and mod_php compile and work properly.
Comment 15 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-09-14 23:56:44 UTC
fixed in cvs.
Comment 16 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-09-15 02:17:46 UTC
closing