Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 92741

Summary: emerge SGMLSpm-1.03-r5 fails (yes r5)
Product: Gentoo Linux Reporter: John Newman <jwn7>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED CANTFIX    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Newman 2005-05-15 16:30:37 UTC
trying to emerge gnome, and this dependency is messing up.

Reproducible: Always
Steps to Reproduce:
1. type emerge SGMLSpm
2. press enter
3. open a beer

Actual Results:  
ubuntu / # emerge SGMLSpm
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/SGMLSpm-1.03-r5 to /
>>> md5 files   ;-) SGMLSpm-1.03-r5.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/SGMLSpm-1.03-Makefile
>>> md5 files   ;-) files/digest-SGMLSpm-1.03-r5
>>> md5 src_uri ;-) SGMLSpm-1.03ii.tar.gz
>>> Unpacking source...
>>> Unpacking SGMLSpm-1.03ii.tar.gz to /var/tmp/portage/SGMLSpm-1.03-r5/work
Bareword found where operator expected at /dev/null line 1, near "/usr/lib"
        (Missing operator before lib?)
Number found where operator expected at /dev/null line 1, near "line 1650"
        (Do you need to predeclare line?)
syntax error at /dev/null line 1, near "/usr/lib"
Execution of /dev/null aborted due to compilation errors.
Bareword found where operator expected at /dev/null line 1, near "/usr/lib"
        (Missing operator before lib?)
Number found where operator expected at /dev/null line 1, near "line 1650"
        (Do you need to predeclare line?)
syntax error at /dev/null line 1, near "/usr/lib"
Execution of /dev/null aborted due to compilation errors.
>>> Source unpacked.
make: Nothing to be done for `all'.
>>> Test phase [not enabled]: dev-perl/SGMLSpm-1.03-r5

>>> Install SGMLSpm-1.03-r5 into /var/tmp/portage/SGMLSpm-1.03-r5/image/
category dev-perl
if [ ! -d
/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl//SGMLS ]; then\
  mkdir /var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl//SGMLS; \
  chmod a+x
/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl//SGMLS; \
fi
mkdir: cannot create directory
`/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl//SGMLS': No
such file or directory
chmod: cannot access
`/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl//SGMLS': No
such file or directory
make: ***
[/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl//SGMLS] Error 1

!!! ERROR: dev-perl/SGMLSpm-1.03-r5 failed.
!!! Function src_install, Line 40, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
yep

i've searched and it seems like there's all sorts of problems with this package,
but none are exactly like what's happening here.  no i don't have some
rediculous set of cflags or use flags.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-05-16 07:46:14 UTC
Can you post emerge info and perl -V output? "Builds" (so to speak, it actually isn't that complicated a module) fine over here

>>> Merging dev-perl/SGMLSpm-1.03-r5 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/sgmlspl
--- /usr/lib/
--- /usr/lib/perl5/
--- /usr/lib/perl5/vendor_perl/
--- /usr/lib/perl5/vendor_perl/5.8.6/
--- /usr/lib/perl5/vendor_perl/5.8.6/SGMLS/
>>> /usr/lib/perl5/vendor_perl/5.8.6/SGMLS/Output.pm
>>> /usr/lib/perl5/vendor_perl/5.8.6/SGMLS/Refs.pm
>>> /usr/lib/perl5/vendor_perl/5.8.6/SGMLS.pm
--- /usr/share/
--- /usr/share/SGMLS/
>>> /usr/share/SGMLS/skel.pl
--- /usr/share/doc/
--- /usr/share/doc/SGMLSpm-1.03-r5/
>>> /usr/share/doc/SGMLSpm-1.03-r5/BUGS.gz
>>> /usr/share/doc/SGMLSpm-1.03-r5/TODO.gz
>>> /usr/share/doc/SGMLSpm-1.03-r5/ChangeLog.gz
>>> /usr/share/doc/SGMLSpm-1.03-r5/README.gz
>>> Safely unmerging already-installed instance...
Comment 2 John Newman 2005-05-16 09:40:40 UTC
no sorry i can't do that actually.  i tried to emerge some other stuff and just got more errors.  so i said the hell with this and wiped out gentoo.

but i do know i had reasonable cflags and use flags.  i think i just had -02 -pipe -fomit-frame-pointer and gtk gnome -qt -kde -cups ..

i've installed gentoo 4 times now (twice on my machine and on two friends) and i never had any problems whatsoever.  i did the exact same thing i always have except this time i used 2005.0 instead of 2004.3
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-05-16 10:15:48 UTC
Does that mean we should just close this bug? (no way to debug the problem if you've already wiped the box)

Though I am curious why /dev/null is responding like a script and not a device node...
Comment 4 John Newman 2005-05-16 12:21:01 UTC
yeah go ahead and close it.  it doesn't look like anyone else is having the same problem.

about the /dev/null

one thing that was really really strange:  i did emerge system during install did all the other stuff necessary and rebooted.  when it came up it said something like devfsd not found (i forget the exact message) and then it couldn't find the super block on my root partition.  i had to boot the cd and chroot and emerge devfsd myself and everything worked.

sigh

thanks for all your hard work, gentoo is a great distro that does a lot of things wayyy better than anyone else (love the /etc directory) ... but these bizzare errors are a huge turnoff.  i'll be back next year
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-05-17 02:07:47 UTC
John wiped the box, nothing left to fix :( 
Comment 6 John Gerritse 2005-11-08 05:16:11 UTC
Happened to me too today! :-(

I have several Gentoo installs and this is the first time this ebuild fails on me.
Output:

# emerge gdm
Calculating dependencies ...done!
>>> emerge (1 of 26) dev-perl/SGMLSpm-1.03-r5 to /
>>> Downloading
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/SGMLSpm-1.03ii.tar.gz
--14:13:41-- 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/SGMLSpm-1.03ii.tar.gz
           => `/usr/portage/distfiles/SGMLSpm-1.03ii.tar.gz'
Resolving rutherford... 172.19.0.227
Connecting to rutherford|172.19.0.227|:80... connected.
Proxy request sent, awaiting response... 200 OK
Length: 93,250 (91K) [application/x-tar]

100%[===================================================================================================================>]
93,250       421.59K/s             

14:13:42 (421.55 KB/s) - `/usr/portage/distfiles/SGMLSpm-1.03ii.tar.gz' saved
[93250/93250]

>>> md5 files   ;-) SGMLSpm-1.03-r5.ebuild
>>> md5 files   ;-) files/SGMLSpm-1.03-Makefile
>>> md5 files   ;-) files/digest-SGMLSpm-1.03-r5
>>> md5 src_uri ;-) SGMLSpm-1.03ii.tar.gz
>>> Unpacking source...
>>> Unpacking SGMLSpm-1.03ii.tar.gz to /var/tmp/portage/SGMLSpm-1.03-r5/work
>>> Source unpacked.
make: Nothing to be done for `all'.
>>> Test phase [not enabled]: dev-perl/SGMLSpm-1.03-r5

>>> Install SGMLSpm-1.03-r5 into /var/tmp/portage/SGMLSpm-1.03-r5/image/
category dev-perl
if [ ! -d
/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl/5.8.6/SGMLS ];
then\
  mkdir
/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl/5.8.6/SGMLS; \
  chmod a+x
/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl/5.8.6/SGMLS; \
fi
mkdir: cannot create directory
`/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl/5.8.6/SGMLS':
No such file or directory
chmod: cannot access
`/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl/5.8.6/SGMLS':
No such file or directory
make: ***
[/var/tmp/portage/SGMLSpm-1.03-r5/image//usr/lib/perl5/vendor_perl/5.8.6/SGMLS]
Error 1

!!! ERROR: dev-perl/SGMLSpm-1.03-r5 failed.
!!! Function src_install, Line 40, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


# emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds
emboss encode expat fam fbcon foomaticdb fortran ftp gdbm gif gnome gpm
gstreamer gtk gtk2 imlib java javascript jpeg kde kerberos krb4 libg++ libwww
mad maildir mikmod mng mp3 mpeg ncurses nls nptl nptlonly offensive ogg
oggvorbis opengl pam pdflib perl pic png posix ppds python qt quicktime readline
sdl snmp sockets socks5 spell spl sse ssl svg symlink sysvipc tcpd tidy tiff
truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf
wxwindows xml2 xmms xpm xsl xv zlib linguas_nl userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS