First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 196422
Alias:
Product:
Component:
Status: VERIFIED
Resolution: TEST-REQUEST
Assigned To: Julien Allanos (RETIRED) <dju@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Priit Laes (IRC: plaes) <plaes@plaes.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log build.log text/plain Priit Laes (IRC: plaes) 2007-10-21 13:10 0000 64.93 KB Details
clearsilver-as-flags-fix.patch clearsilver-as-flags-fix.patch patch Priit Laes (IRC: plaes) 2007-10-28 19:26 0000 276 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 196422 depends on: Show dependency tree
Bug 196422 blocks: 129413
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.





View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-19 14:54 0000
When LDFLAGS has been set to "-Wl,--as-needed", dev-libs/clearsilver is not
linked against zlib, even when zlib is in USE flags.

------- Comment #1 From Jakub Moc (RETIRED) 2007-10-19 16:50:17 0000 -------
Attach the complete compile log here, as well as emerge --info output. Thanks.

------- Comment #2 From Priit Laes (IRC: plaes) 2007-10-21 13:06:35 0000 -------
dev ~ # emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.6.1-r0,
2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.53GHz
Timestamp of tree: Fri, 19 Oct 2007 13:30:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,--as-needed"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 berkdb bitmap-fonts bzip2 cli cracklib crypt cups dri exif gdbm
gmp iconv ipv6 isdnlog mailwrapper midi mudflap ncurses nls nptl nptlonly
openmp pam pcre pppd python readline reflection session snmp spl ssl tcpd
truetype truetype-fonts type1-fonts unicode vhosts x86 xml xorg 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 mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix
dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon
rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l
vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #3 From Priit Laes (IRC: plaes) 2007-10-21 13:07:04 0000 -------
When compiled with USE="zlib"

dev ~ # ldd /usr/lib/python2.4/site-packages/neo_cgi.so
        linux-gate.so.1 =>  (0xffffe000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7f4b000)
        libc.so.6 => /lib/libc.so.6 (0xb7e24000)
        /lib/ld-linux.so.2 (0x80000000)

------- Comment #4 From Priit Laes (IRC: plaes) 2007-10-21 13:10:25 0000 -------
Created an attachment (id=134023) [details]
build.log

------- Comment #5 From Julien Allanos (RETIRED) 2007-10-23 06:37:37 0000 -------
So what's wrong then? Is there something that doesn't work when libz isn't
linked in?

------- Comment #6 From Priit Laes (IRC: plaes) 2007-10-23 09:44:38 0000 -------
(In reply to comment #5)
> So what's wrong then? Is there something that doesn't work when libz isn't
> linked in?

Yup, for example trac doesn't work spewing out an error about undefined symbol
"deflate".

There is some discussion going on in the Clearsilver message board, including a
patch:
http://tech.groups.yahoo.com/group/ClearSilver/message/1074

------- Comment #7 From Priit Laes (IRC: plaes) 2007-10-28 19:07:20 0000 -------
This is the error what it causes:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in
dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 206, in
dispatch
    req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
  File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 135, in
__init__
    raise TracError, "ClearSilver not installed (%s)" % e
TracError: ClearSilver not installed
(/usr/lib/python2.4/site-packages/neo_cgi.so: undefined symbol: deflate)

------- Comment #8 From Priit Laes (IRC: plaes) 2007-10-28 19:26:17 0000 -------
Created an attachment (id=134556) [details]
clearsilver-as-flags-fix.patch

Fixes the problem for me...


Any ideas whether 0.10.5 will be bumped and/or stabilized...

------- Comment #9 From Julien Allanos (RETIRED) 2007-11-02 15:53:03 0000 -------
Well, trac works for me if clearsilver is compiled with -zlib, I don't get the
"no deflate symbol" error. Anyway, I added your patch to the clearsilver-0.10.5
ebuild I just commited. Please test and report, thanks.

------- Comment #10 From Priit Laes (IRC: plaes) 2007-11-02 17:43:00 0000 -------
(In reply to comment #9)
> Well, trac works for me if clearsilver is compiled with -zlib, I don't get the
> "no deflate symbol" error. Anyway, I added your patch to the clearsilver-0.10.5
> ebuild I just commited. Please test and report, thanks.
> 

Works fine on x86 (after keywording).

First Last Prev Next    No search results available      Search page      Enter new bug