Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153374 - openmcl-0.14.2_p1 doesn't compile: incompatible implicit declaration of function print_lisp_object
Summary: openmcl-0.14.2_p1 doesn't compile: incompatible implicit declaration of funct...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-10-29 15:05 UTC by Katerina Barone-Adesi
Modified: 2006-10-30 06:57 UTC (History)
0 users

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


Attachments
Adds an include with the relevant prototype: compiles. (prototype_print_lisp_object.diff,389 bytes, patch)
2006-10-29 15:29 UTC, Katerina Barone-Adesi
Details | Diff
Ebuild tweak (openmcl_ebuild_apply_plo_patch.diff,273 bytes, patch)
2006-10-29 15:31 UTC, Katerina Barone-Adesi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Katerina Barone-Adesi 2006-10-29 15:05:58 UTC
cc -c ../thread_manager.c -DLINUX -D_REENTRANT  -DOPENMCL_MAJOR_VERSION=0 -DOPENMCL_MINOR_VERSION=14 -g -O2 -m32 -o thread_manager.o
cc -c ../lisp-debug.c -DLINUX -D_REENTRANT  -DOPENMCL_MAJOR_VERSION=0 -DOPENMCL_MINOR_VERSION=14 -g -O2 -m32 -o lisp-debug.o
../lisp-debug.c: In function 
Comment 1 Katerina Barone-Adesi 2006-10-29 15:05:58 UTC
cc -c ../thread_manager.c -DLINUX -D_REENTRANT  -DOPENMCL_MAJOR_VERSION=0 -DOPENMCL_MINOR_VERSION=14 -g -O2 -m32 -o thread_manager.o
cc -c ../lisp-debug.c -DLINUX -D_REENTRANT  -DOPENMCL_MAJOR_VERSION=0 -DOPENMCL_MINOR_VERSION=14 -g -O2 -m32 -o lisp-debug.o
../lisp-debug.c: In function describe_illegal:
../lisp-debug.c:131: error: incompatible implicit declaration of function print_lisp_object
../lisp-debug.c:90: error: previous implicit declaration of print_lisp_object was here
../lisp-debug.c: In function describe_trap:
../lisp-debug.c:217: error: incompatible implicit declaration of function print_lisp_object
../lisp-debug.c:90: error: previous implicit declaration of print_lisp_object was here
../lisp-debug.c: In function debug_identify_function:
../lisp-debug.c:618: error: incompatible implicit declaration of function print_lisp_object
../lisp-debug.c:90: error: previous implicit declaration of print_lisp_object was here
make[1]: *** [lisp-debug.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/openmcl-0.14.2_p1/work/openmcl-0.14.2.p1/lisp-kernel/linux'
make: *** [all] Error 2

!!! ERROR: dev-lisp/openmcl-0.14.2_p1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openmcl-0.14.2_p1.ebuild, line 41:   Called die

--
emerge --info output:
Portage 2.1.1-r1 (default-linux/ppc/2005.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 ppc)
=================================================================
System uname: 2.6.17-gentoo-r4 ppc 7447A, altivec supported
Gentoo Base System version 1.12.4
Last Sync: Sun, 29 Oct 2006 21:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5, 2.4.3-r1
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.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="en_US.UTF-8"
LINGUAS="en it eo de fr ja ru nl se ca eu fi ko ar cs ga es"
MAKEOPTS="-j2"
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/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec arts berkdb bidi bitmap-fonts bzip2 cairo cdparanoia cjk cli cracklib crypt cups dlloader doc dri dts dvb dvd dvdread elibc_glibc emboss examples fbcon ffmpeg flac fortran gd gif gnome gpm graphviz gtk gtk2 hal iconv ieee1394 imagemagick immqt-bc inetd input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kde kernel_linux libwww linguas_ar linguas_ca linguas_cs linguas_de linguas_en linguas_eo linguas_es linguas_eu linguas_fi linguas_fr linguas_ga linguas_it linguas_ja linguas_ko linguas_nl linguas_ru linguas_se logitech-mouse mad motif mp3 mpeg ncurses nls nowebdav nptl nptlonly nsplugin objc ogg oggvorbis opengl pam pbbuttonsd pcre pda pdf perl plotutils png povray pppd python qt3 qt4 readline reflection rtc ruby scanner sdl session softmmu speex spell spl ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_radeon vorbis xanim xine xml2 xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Note: I added the following lines to /etc/portage/package.keywords, as I use ppc rather than ~ppc:
dev-lisp/openmcl ~ppc
dev-lisp/openmcl-build-tools ~ppc
Comment 2 Katerina Barone-Adesi 2006-10-29 15:29:37 UTC
Created attachment 100743 [details, diff]
Adds an include with the relevant prototype: compiles.

The prototype is in lispdcmd.h; once it is included, openmcl compiles and runs.
Comment 3 Katerina Barone-Adesi 2006-10-29 15:31:19 UTC
Created attachment 100745 [details, diff]
Ebuild tweak
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2006-10-29 16:07:29 UTC
Thanks for the bug report.  Please try the openmcl ebuild fixed in portage.  I had to move the patch line to src_unpack.
Comment 5 Katerina Barone-Adesi 2006-10-29 23:02:01 UTC
Works for me.

Any reason you didn't bump the revision number?  In this case, it's probably trivial enough that it doesn't matter much, but I've had non-bumped revision numbers bite me in the past (even in this case, it took me longer to try out as the first time I sync'd, it wasn't there yet, and then the revision number didn't increase so I didn't realize immediately when it finally did change)
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2006-10-30 06:57:08 UTC
I usually apply the policy from the handbook: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?full=1#book_part3_chap1

"Versioning and Revision Bumps

... Likewise, if you fix a compilation problem in the ebuild that was affecting some users, there is no need to bump the revision number, since those for whom it worked perfectly would see no benefit in installing a new revision, and those who experienced the problem do not have the package installed (since compilation failed) and thus have no need for the new revision number to force an upgrade."