Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227537 - dev-libs/cgicc-3.2.5 fails to build
Summary: dev-libs/cgicc-3.2.5 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 2 votes (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-16 17:43 UTC by Evil Compile Person
Modified: 2010-05-28 16:55 UTC (History)
6 users (show)

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


Attachments
Patch for cgicc-3.2.5.ebuild that calls eautoreconf (ebuild.patch,990 bytes, patch)
2008-09-08 05:35 UTC, Wormo (RETIRED)
Details | Diff
Oops use this patch for cgicc-3.2.5, previous was wrong one (ebuild.patch,1.24 KB, patch)
2008-09-08 05:52 UTC, Wormo (RETIRED)
Details | Diff
does autoreconf and fixes example links (manually) (ebuild.patch,1.68 KB, patch)
2008-12-28 20:29 UTC, Ikujam
Details | Diff
patch for HTMLElement.cpp (HTMLElement-cstring.patch,375 bytes, patch)
2008-12-28 20:31 UTC, Ikujam
Details | Diff
fixes disable debug by remove USE debug (ebuild.patch,2.11 KB, patch)
2009-12-16 19:47 UTC, Henrik
Details | Diff
cgicc-3.2.5-r1 ebuild (cgicc-3.2.5-r1.ebuild,1.97 KB, text/plain)
2010-03-15 13:25 UTC, Mishael Sibiryakov
Details
Manifest for cgicc-3.2.5-r1 ebuild and files (Manifest,598 bytes, text/plain)
2010-03-15 13:25 UTC, Mishael Sibiryakov
Details
New ebuild with debug warning fixed (cgicc-3.2.5-r1.ebuild,1.93 KB, text/plain)
2010-03-15 14:46 UTC, Mishael Sibiryakov
Details
New manifest (Manifest,598 bytes, text/plain)
2010-03-15 14:46 UTC, Mishael Sibiryakov
Details
New ebuild with debug warning fixed (debug remove from IUSE) (cgicc-3.2.5-r1.ebuild,1.92 KB, text/plain)
2010-03-15 14:47 UTC, Mishael Sibiryakov
Details
Manifest for cgicc-3.2.5-r1 ebuild and files (Manifest,598 bytes, text/plain)
2010-03-15 14:48 UTC, Mishael Sibiryakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2008-06-16 17:43:03 UTC
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
configure: error: cannot run /bin/sh support/config.sub

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/cgicc-3.2.5/work/cgicc-3.2.5/config.log
 *
 * ERROR: dev-libs/cgicc-3.2.5 failed.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.1 x86_64)
=================================================================
System uname: 2.6.25.1 x86_64 unknown
Timestamp of tree: Fri, 13 Jun 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://216.165.129.134/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/"
LANG="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://208.71.112.51/gentoo-portage"
USE="X acl amd64 berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Wormo (RETIRED) gentoo-dev 2008-09-08 05:35:28 UTC
Created attachment 164869 [details, diff]
Patch for cgicc-3.2.5.ebuild that calls eautoreconf

Running eautoreconf should fix up the links that were pointing to libtool-1.5 locations for helper files
Comment 2 Wormo (RETIRED) gentoo-dev 2008-09-08 05:52:29 UTC
Created attachment 164871 [details, diff]
Oops use this patch for cgicc-3.2.5, previous was wrong one
Comment 3 Kirikaza 2008-09-27 19:37:29 UTC
Your path helps to correct symlinks "work/cgicc-3.2.5/support/*" from "/usr/share/libtool/*" to "/usr/share/libtool/config/*".
But it doesn't correct the same symlinks in "work/cgicc-3.2.5/example".
Fix it, please.
Comment 4 Ikujam 2008-12-28 20:29:10 UTC
Created attachment 176659 [details, diff]
does autoreconf and fixes example links (manually)

The same patch as Wormo's one, additionnally : 

 * fixes symbolic links for example directory
   (rm & ln -s in ebuild) 
 * applies patch on HTMLElement.cpp adding an #include <cstring>
   (I went into trouble compiling with gcc-4.3.2, patch posted later on)
 * fixes a warning during configure stage 
   (debug-logging no longer understood by configure)
Comment 5 Ikujam 2008-12-28 20:31:14 UTC
Created attachment 176662 [details, diff]
patch for HTMLElement.cpp

cf last post
Comment 6 Serhij S. Stasyuk 2009-08-07 08:18:47 UTC
Please add HTMLElement-cstring.patch from Ikujam to both 3.2.3 and 3.2.5 ebuilds. cgicc is not compilable now w/o this patch.
Comment 7 Henrik 2009-12-16 19:47:56 UTC
Created attachment 213230 [details, diff]
fixes disable debug by remove USE debug
Comment 8 Henrik 2009-12-16 19:52:10 UTC
ebuild.patch by Henrik

I got a error.
/var/tmp/portage/dev-libs/cgicc-3.2.5/temp/environment: line 2739: --disable-debug: command not found
everything works 100% behind

The HTMLElement-cstring.patch is need for cgicc 3.2.5 and 3.2.3.
HTMLElement-cstring.patch works 100%
Comment 9 Henrik 2009-12-16 19:55:24 UTC
(In reply to comment #8)
> ebuild.patch by Henrik
> 
> I got a error.
> /var/tmp/portage/dev-libs/cgicc-3.2.5/temp/environment: line 2739:
> --disable-debug: command not found
> everything works 100% behind
> 
> The HTMLElement-cstring.patch is need for cgicc 3.2.5 and 3.2.3.
> HTMLElement-cstring.patch works 100%
> 

everything works 100% by remove USE debug from ebuild.patch by Ikujam
And have upload the ebuild.patch with no debug
Comment 10 Maksym Sditanov 2010-02-07 21:59:08 UTC
This patches not in stable portage. What patches to use, in what order? sorry, i don't understand
Comment 11 Mishael Sibiryakov 2010-03-15 13:25:02 UTC
Created attachment 223703 [details]
cgicc-3.2.5-r1 ebuild

cgicc-3.2.5-r1 ebuild (you can use it without any patches)
Comment 12 Mishael Sibiryakov 2010-03-15 13:25:44 UTC
Created attachment 223705 [details]
Manifest for cgicc-3.2.5-r1 ebuild and files
Comment 13 Mishael Sibiryakov 2010-03-15 13:27:22 UTC
Please add cgicc-3.2.5-r1.ebuild and HTMLElement-cstring.patch to main tree. Tested successfully on ~amd64.
Comment 14 Henrik 2010-03-15 14:15:11 UTC
(In reply to comment #11)
> Created an attachment (id=223703) [details]
> cgicc-3.2.5-r1 ebuild
> 
> cgicc-3.2.5-r1 ebuild (you can use it without any patches)
> 

Can you compile it with -debug?
Comment 15 Mishael Sibiryakov 2010-03-15 14:46:10 UTC
(In reply to comment #14)
> (In reply to comment #11)
> > Created an attachment (id=223703) [details] [details]
> > cgicc-3.2.5-r1 ebuild
> > 
> > cgicc-3.2.5-r1 ebuild (you can use it without any patches)
> > 
> 
> Can you compile it with -debug?
> 

Yep, with and without.

 * 	configure: WARNING: unrecognized options: --enable-debug-logging

This just a warning.
Comment 16 Mishael Sibiryakov 2010-03-15 14:46:39 UTC
Created attachment 223739 [details]
New ebuild with debug warning fixed
Comment 17 Mishael Sibiryakov 2010-03-15 14:46:58 UTC
Created attachment 223741 [details]
New manifest
Comment 18 Mishael Sibiryakov 2010-03-15 14:47:58 UTC
Created attachment 223743 [details]
New ebuild with debug warning fixed (debug remove from IUSE)
Comment 19 Mishael Sibiryakov 2010-03-15 14:48:14 UTC
Created attachment 223745 [details]
Manifest for cgicc-3.2.5-r1 ebuild and files
Comment 20 Mishael Sibiryakov 2010-03-15 14:48:55 UTC
Sorry for attachment flood.
Comment 21 Henrik 2010-03-15 17:00:17 UTC
Can this ebuild be testing, so it can get to portage.
Comment 22 Henrik 2010-03-15 17:12:24 UTC
(In reply to comment #21)
> Can this ebuild be testing, so it can get to portage.
> 

There is only one thing I'm not sure.
The HTMLElement-cstring.patch is this in the portage or how?

I test the patch as I have thrown up, with HTMLElement-cstring.patch.
I can see there is no great difference whether you use the patch and HTMLElement-cstring.patch or ebuild and manifest from Mishael Sibiryakov.

I have test patch on x86 and amd64.
Comment 23 Samuli Suominen (RETIRED) gentoo-dev 2010-05-28 16:55:44 UTC
Fixed by 3.2.9 in Portage.