Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152048 - dev-perl/YAML-Parser-Syck-0.01 fails to compile
Summary: dev-perl/YAML-Parser-Syck-0.01 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: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 01:30 UTC by Evil Compile Person
Modified: 2006-12-01 04:47 UTC (History)
2 users (show)

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


Attachments

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:30:16 UTC
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lsyck
Writing Makefile for YAML::Parser::Syck
cp Syck.pm blib/lib/YAML/Parser/Syck.pm
/usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap  Syck.xs > Syck.xsc && mv Syck.xsc Syck.c
i686-pc-linux-gnu-gcc -c  -I. -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i686 -pipe   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"   Syck.c
Syck.xs:5:18: error: syck.h: No such file or directory
Syck.xs:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perl_syck_handler'
Syck.xs: In function 'Parse':
Syck.xs:47: error: 'SYMID' undeclared (first use in this function)
Syck.xs:47: error: (Each undeclared identifier is reported only once
Syck.xs:47: error: for each function it appears in.)
Syck.xs:47: error: expected ';' before 'v'
Syck.xs:48: error: 'SyckParser' undeclared (first use in this function)
Syck.xs:48: error: 'parser' undeclared (first use in this function)
Syck.xs:50: error: 'perl_syck_handler' undeclared (first use in this function)
Syck.xs:54: error: 'v' undeclared (first use in this function)
make: *** [Syck.o] Error 1

!!! ERROR: dev-perl/YAML-Parser-Syck-0.01 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 Yuval Yaari (RETIRED) gentoo-dev 2006-10-20 03:30:22 UTC
What version of dev-libs/syck do you have?
Comment 2 Evil Compile Person 2006-11-01 07:55:07 UTC
i686-pc-linux-gnu-gcc -c  -I. -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i686 -pipe   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"   Syck.c
Syck.xs:5:18: error: syck.h: No such file or directory
Syck.xs:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perl_syck_handler'
Syck.xs: In function 'Parse':
Syck.xs:47: error: 'SYMID' undeclared (first use in this function)
Syck.xs:47: error: (Each undeclared identifier is reported only once
Syck.xs:47: error: for each function it appears in.)
Syck.xs:47: error: expected ';' before 'v'
Syck.xs:48: error: 'SyckParser' undeclared (first use in this function)
Syck.xs:48: error: 'parser' undeclared (first use in this function)
Syck.xs:50: error: 'perl_syck_handler' undeclared (first use in this function)
Syck.xs:54: error: 'v' undeclared (first use in this function)
make: *** [Syck.o] Error 1

!!! ERROR: dev-perl/YAML-Parser-Syck-0.01 failed.

# emerge -pv dev-libs/syck

These are the packages that would be merged, in order:

Calculating dependencies   
!!! All ebuilds that could satisfy "dev-libs/syck" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/syck-0.55-r2 (masked by: ~x86 keyword)
- dev-libs/syck-0.55-r3 (masked by: ~x86 keyword)
- dev-libs/syck-0.55 (masked by: ~x86 keyword)
- dev-libs/syck-0.55-r1 (masked by: ~x86 keyword)
- dev-libs/syck-0.53 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.

DEPEND="|| ( dev-libs/syck >=dev-lang/ruby-1.8 )
        dev-lang/perl"
RDEPEND="${DEPEND}"

Looks like a keywording error and a bad dep as ruby doesn't seem to be the same as syck
Comment 3 Yuval Yaari (RETIRED) gentoo-dev 2006-11-29 04:17:41 UTC
You're right, Ruby doesn't provide syck.
I fixed the dep in CVS.

As for keywording: I'm not sure why it was stabilized in the first place.
But since dev-libs/syck has been in the tree for long enough:

x86/amd64: could you please mark dev-libs/syck as stable?
Last revision has been in the tree for almost 2 months.
I use it on x86 all the time and it works great.

Thanks :-)
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-29 08:42:31 UTC
(In reply to comment #3)
> As for keywording: I'm not sure why it was stabilized in the first place.

 It is mcummings' fault.  As always. :->  Done on x86. dev-php{4,5}/syck-php-binding is needed too.
 
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2006-11-29 17:19:25 UTC
mea culpa - i had it keyworded in a screen session before kde blew up on me. will revalidate my syck install and amd64 it unless someone else on the arch hits it first
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2006-11-29 18:33:02 UTC
ok, should be all set on amd64. can someone give me a sanity check on this and close this out? Thanks,

~mcummings
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2006-12-01 04:47:12 UTC
yuval gave me the second sight i needed, closing out