Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152060 - dev-scheme/guile-pg-0.15 fails to compile
Summary: dev-scheme/guile-pg-0.15 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
: 247174 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-20 01:48 UTC by Evil Compile Person
Modified: 2009-06-04 16:06 UTC (History)
3 users (show)

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


Attachments
Patch which fixing problem (lvalue-cast-fix.patch,700 bytes, patch)
2006-11-08 06:18 UTC, Roman Lobus
Details | Diff
Ebuild which included using of proposed patch (guile-pg-0.15.ebuild,729 bytes, application/octet-stream)
2006-11-08 06:20 UTC, Roman Lobus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2006-10-20 01:48:06 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -O2 -march=i686 -pipe -Wall -Wmissing-prototypes -c libpostgres.c -MT libpostgres.lo -MD -MP -MF .deps/libpostgres.TPlo  -fPIC -DPIC -o .libs/libpostgres.lo
libpostgres.c: In function 'guile_pg_sec_p':
libpostgres.c:95: warning: comparison between pointer and integer
libpostgres.c: In function 'ser_p':
libpostgres.c:176: warning: comparison between pointer and integer
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -O2 -march=i686 -pipe -Wall -Wmissing-prototypes -c libpostgres.c -MT libpostgres.lo -MD -MP -MF .deps/libpostgres.TPlo -o libpostgres.o >/dev/null 2>&1
mv -f .libs/libpostgres.lo libpostgres.lo
source='libpostgres_lo.c' object='libpostgres_lo.lo' libtool=yes \
	depfile='.deps/libpostgres_lo.Plo' tmpdepfile='.deps/libpostgres_lo.TPlo' \
	depmode=gcc3 /bin/sh ./depcomp \
	/bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I.      -O2 -march=i686 -pipe -Wall -Wmissing-prototypes -c -o libpostgres_lo.lo `test -f 'libpostgres_lo.c' || echo './'`libpostgres_lo.c
rm -f .libs/libpostgres_lo.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -O2 -march=i686 -pipe -Wall -Wmissing-prototypes -c libpostgres_lo.c -MT libpostgres_lo.lo -MD -MP -MF .deps/libpostgres_lo.TPlo  -fPIC -DPIC -o .libs/libpostgres_lo.lo
libpostgres_lo.c: In function 'lob_mklobport':
libpostgres_lo.c:227: error: invalid lvalue in assignment
libpostgres_lo.c: In function 'lob_flush':
libpostgres_lo.c:337: warning: pointer targets in initialization differ in signedness
libpostgres_lo.c: In function 'lob_fill_input':
libpostgres_lo.c:458: warning: pointer targets in passing argument 3 of 'lo_read' differ in signedness
make[2]: *** [libpostgres_lo.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/guile-pg-0.15/work/guile-pg-0.15'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/guile-pg-0.15/work/guile-pg-0.15'
make: *** [all] Error 2

!!! ERROR: dev-scheme/guile-pg-0.15 failed.

Gentoo Base System version 1.12.5
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.16 i686)
=================================================================
System uname: 2.6.16.16 i686 AMD Athlon(tm) 64 Processor 3200+
Last Sync: Wed, 18 Oct 2006 17:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LINGUAS=""
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="x86 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-20 02:04:17 UTC
@nakano - you commited this. Re-assign to treecleaners if you are no longer interested, nothing depends on it.
Comment 2 Roman Lobus 2006-11-08 06:18:54 UTC
Created attachment 101465 [details, diff]
Patch  which fixing problem

Patch is fixing lvalue casts.
Comment 3 Roman Lobus 2006-11-08 06:20:08 UTC
Created attachment 101466 [details]
Ebuild which included  using of proposed patch
Comment 4 Roman Lobus 2006-11-08 06:21:36 UTC
There are ebuild and patch which fixing problem in attachments.
Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2006-11-14 07:51:30 UTC
The official site is http://guile-pg.sourceforge.net/ which lists version 0.07 as the most recent and according to http://sourceforge.net/projects/guile-pg/ it is from 2000. The homepage in the ebuild http://www.glug.org/ doesn't contain any useful info either. And now that I'm looking, guile-www has the same problems, although it is much more recntly added. Anyone want to clarify?
Comment 6 Roman Lobus 2006-11-14 12:47:29 UTC
According to http://lists.gnu.org/archive/html/guile-devel/2006-08/msg00016.html domain 'glug.org' expired
As I understand, owner of domain and developer of guile-www - Thien-Thi Nguyen have not prolonged his ownership.
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2007-01-13 11:11:14 UTC
Doesn't your patch change the meaning too?

-    pt->read_pos = pt->read_end = pt->read_buf;
+    pt->read_pos = pt->read_end = &pt->shortbuf;
+    pt->read_buf = ((unsigned char *) pt->read_pos);
     pt->read_buf_size = LOB_BUFLEN;
   } else {
-    pt->read_buf = ((unsigned char *) pt->read_pos) = pt->read_end = &pt->shortbuf;
+    pt->read_end = &pt->shortbuf;
+    pt->read_buf = ((unsigned char *) pt->read_pos);
Comment 8 Marijn Schouten (RETIRED) gentoo-dev 2008-11-17 23:15:24 UTC
*** Bug 247174 has been marked as a duplicate of this bug. ***
Comment 9 Marijn Schouten (RETIRED) gentoo-dev 2009-06-04 16:06:40 UTC
I removed this package from the tree.