Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183604 - dev-lang/lazarus-0.9.22-r1 won't compile due problems with svn2revisioninc.pas
Summary: dev-lang/lazarus-0.9.22-r1 won't compile due problems with svn2revisioninc.pas
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on: 183725
Blocks:
  Show dependency tree
 
Reported: 2007-06-29 07:28 UTC by Marcel Klein
Modified: 2009-03-14 17:34 UTC (History)
2 users (show)

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


Attachments
Lazarus output when I try to compile a project (lazarus_compiling_errors.txt,74.55 KB, text/plain)
2007-07-01 00:02 UTC, Marcel Klein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Klein 2007-06-29 07:28:24 UTC
Hi,

I tried to compile dev-lang/lazarus-0.9.22-r1 but I get the following error:

make -C ../tools svn2revisioninc OS_TARGET=linux OPT=''
make[2]: Entering directory `/var/tmp/portage/dev-lang/lazarus-0.9.22-r1/work/lazarus/tools'
Makefile:2762: warning: overriding commands for target `.'
Makefile:2760: warning: ignoring old commands for target `.'
/usr/bin/ppc386 -gl  -Fu. -Fu../lcl/units/i386-linux -Fu../lcl/units/i386-linux/gtk2 -Fu/usr/lib/fpc/2.0.4/units/i386-l
inux/rtl -Fu/usr/lib/fpc/2.0.4/units/i386-linux/hash -Fu/usr/lib/fpc/2.0.4/units/i386-linux/paszlib -Fu/usr/lib/fpc/2.0
.4/units/i386-linux/netdb -Fu/usr/lib/fpc/2.0.4/units/i386-linux/libasync -Fu/usr/lib/fpc/2.0.4/units/i386-linux/pthrea
ds -Fu/usr/lib/fpc/2.0.4/units/i386-linux/fcl -Fu/usr/lib/fpc/2.0.4/units/i386-linux/pasjpeg -Fu/usr/lib/fpc/2.0.4/unit
s/i386-linux/ibase -Fu/usr/lib/fpc/2.0.4/units/i386-linux/postgres -Fu/usr/lib/fpc/2.0.4/units/i386-linux/mysql -Fu/usr
/lib/fpc/2.0.4/units/i386-linux/odbc -Fu/usr/lib/fpc/2.0.4/units/i386-linux/oracle -Fu/usr/lib/fpc/2.0.4/units/i386-lin
ux/sqlite -FE. -FU. -Fl/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 -Fl/usr/local/lib -Fl//usr//lib/opengl/xorg-x11/lib -Fl/usr
/i686-pc-linux-gnu/lib -Fl/usr/lib/gcc/i686-pc-linux-gnu/4.1.1 -Fl/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 -Fl/usr/lib/nspr
 -Fl/usr/lib/nss -Fl/usr/lib/openmotif-2.2 -Fl/usr/games/lib -Fl/usr/lib/fltk-1.1 -Fl/usr/lib/libstdc++-v3/ -di386 svn2
revisioninc.pas    
Free Pascal Compiler version 2.0.4 [2007/06/29] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Linux for i386
Compiling svn2revisioninc.pas
Linking ./svn2revisioninc
./svn2revisioninc.o: In function `GETREVISIONFROMENTRIESXML':
svn2revisioninc.pas:159: undefined reference to `THREADVARLIST_SYSCALL'
svn2revisioninc.pas(363,1) Error: Error while linking
make[2]: *** [svn2revisioninc] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-lang/lazarus-0.9.22-r1/work/lazarus/tools'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-lang/lazarus-0.9.22-r1/work/lazarus/ide'
make: *** [ide] Error 2


I'm using dev-lang/fpc-2.0.4 (lazarus-0.9.22-r1 depends on it).

Reproducible: Always

Steps to Reproduce:




Portage 2.1.3_rc5 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21-suspend2-r6 i686)
=================================================================
System uname: 2.6.21-suspend2-r6 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Thu, 28 Jun 2007 20:30:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X acl acpi alsa berkdb bitmap-fonts cdr chroot cli cracklib crypt cscope cups dbus dri dvd dvdr encode f77 fbcon ffmpeg fftw flac gdbm ggi gmp gnutls gpm hal iconv imlib ipv6 isdnlog jpeg libg++ matroska midi mikmod mmx mp3 mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcre pdf pdflib perl png pppd python readline reflection samba sdl session slang softmmu spell spl sse ssl tcpd theora truetype truetype-fonts type1-fonts unicode userlocales vorbis x86 xorg xosd xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2007-06-29 19:35:16 UTC
Have you made any modifications to /etc/fpc.cfg ? And if you have, could you please show your configuration?
Comment 2 Marcel Klein 2007-06-29 22:43:01 UTC
No. It is the standard gentoo configuration, so no modifications. 
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2007-06-30 09:26:14 UTC
This is caused by a change in portage behaviour. The version you are using is more aggressive in stripping packages' object files. I've asked the portage people about it, and I've added RESTRICT=strip to the fpc ebuild until I have an answer. If you would please re-sync, and then re-emerge fpc, you should have no more problems with building lazarus. Thanks for the report.

I'll keep this report open until the proper action is decided.
Comment 4 Marcel Klein 2007-06-30 15:11:59 UTC
I see.  But you are right for now it compiles fine, thank you.
Comment 5 Marcel Klein 2007-07-01 00:02:20 UTC
Created attachment 123491 [details]
Lazarus output when I try to compile a project

Hm, sorry to bother you again but I guess there are still some problems left (but I'm not sure if it has the same background...)

When I try to compile a project in lazarus I always get these errors [see attachment]
Even if I just start a new project and try to compile it, so I'm not able to compile any graphical projects.
Comment 6 Harald van Dijk (RETIRED) gentoo-dev 2007-07-01 00:14:49 UTC
Thank you again, that is the same problem. I had disabled the stripping for fpc's units, but lazarus installs its own units, so it needs to be disabled temporarily in the ebuild for lazarus too, which I've now done.
Comment 7 Marcel Klein 2007-07-01 19:03:07 UTC
Ok, works.  Thank you.
Comment 8 Renato Caldas 2008-10-17 12:53:47 UTC
Hello,

How about closing the bug then? :)
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2009-03-07 22:29:09 UTC
Reported as fixed.
Comment 10 Harald van Dijk (RETIRED) gentoo-dev 2009-03-08 19:30:06 UTC
This was never fixed, this was worked around.
Comment 11 Harald van Dijk (RETIRED) gentoo-dev 2009-03-14 17:34:26 UTC
It's fixed now.