Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76461 - silo-1.4.8 failed when using linux26-headers
Summary: silo-1.4.8 failed when using linux26-headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-02 16:42 UTC by Charlie Gehlin
Modified: 2006-01-15 11:32 UTC (History)
0 users

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 Charlie Gehlin 2005-01-02 16:42:00 UTC
I don't really know if this is considered as a bug, but I let you know anyway :)

If I do like this (yes, I've got a thing for oneliners :) )

emerge --buildpkgonly linux-headers && emerge -C linux26-headers && emerge --usepkg linux-headers && emerge silo && emerge -C linux-headers && emerge --usepkg linux26-headers

it works like a charm.

Thanks!
	
/
Comment 1 Charlie Gehlin 2005-01-02 16:42:00 UTC
I don't really know if this is considered as a bug, but I let you know anyway :)

If I do like this (yes, I've got a thing for oneliners :) )

emerge --buildpkgonly linux-headers && emerge -C linux26-headers && emerge --usepkg linux-headers && emerge silo && emerge -C linux-headers && emerge --usepkg linux26-headers

it works like a charm.

Thanks!
	
/©harlie

Reproducible: Always
Steps to Reproduce:
1. emerge -v silo
2.
3.

Actual Results:  
gcc -m32 -Os -Wall -I. -I../include -fomit-frame-pointer -fno-strict-aliasing
-DSMALL_RELOC=0x280000 -DLARGE_RELOC=0x380000 -DTFTP -DVERSION='"1.4.8"' -c -o
decompnet.o decomp.c
In file included from /usr/include/asm/system.h:11,
                 from /usr/include/linux/list.h:6,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from /usr/include/linux/ufs_fs.h:37,
                 from fs/ufs.c:36:
/usr/include/asm-sparc/system.h:24: error: conflicting types for `sun4'
../include/promlib.h:12: error: previous declaration of `sun4'
/usr/include/asm-sparc/system.h:25: error: conflicting types for `sun4c'
../include/promlib.h:12: error: previous declaration of `sun4c'
/usr/include/asm-sparc/system.h:26: error: conflicting types for `sun4m'
../include/promlib.h:12: error: previous declaration of `sun4m'
/usr/include/asm-sparc/system.h:27: error: conflicting types for `sun4d'
../include/promlib.h:12: error: previous declaration of `sun4d'
/usr/include/asm-sparc/system.h:28: error: conflicting types for `sun4e'
../include/promlib.h:12: error: previous declaration of `sun4e'
/usr/include/asm-sparc/system.h:29: error: conflicting types for `sun4u'
../include/promlib.h:12: error: previous declaration of `sun4u'
gcc -m32 -Os -Wall -I. -I../include -fomit-frame-pointer -fno-strict-aliasing
-DSMALL_RELOC=0x280000 -DLARGE_RELOC=0x380000 -DTFTP -c -o mainnet.o main.c
make[1]: *** [fs/ufs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/silo-1.4.8/work/silo-1.4.8/second'
make: *** [all] Error 1

!!! ERROR: sys-boot/silo-1.4.8 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
silo to emerge smooothly :)

# emerge info
Portage 2.0.51-r8 (default-linux/sparc/sparc64, gcc-3.3.5,
glibc-2.3.3.20040420-r2, 2.4.26-sparc-r2 sparc64)
=================================================================
System uname: 2.4.26-sparc-r2 sparc64 
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  2 2005, 21:16:26)]
distcc 2.18.3 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=v9 -mtune=v9 -O3 -pipe -fomit-frame-pointer"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=v9 -mtune=v9 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distcc distlocks keeptemp
keepwork noauto noclean notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.gehlin.com/gentoo http://mirror.pudas.net/gentoo
ftp://mirror.pudas.net/gentoo ftp://ftp.sunet.se/pub/Linux/distributions/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.gehlin.com/gentoo-portage"
USE="sparc X berkdb bitmap-fonts gnome gtk ipv6 java ncurses nls opengl oss pam
perl png python readline ssl tcltk tcpd zlib"
Comment 2 Charlie Gehlin 2005-01-02 23:10:56 UTC
Changing the 1337-oneliner, it's wrong. It should be:

emerge --buildpkgonly --nodeps linux-headers && emerge -C linux26-headers && emerge --usepkg linux-headers && emerge silo && emerge -C linux-headers && emerge --usepkg linux26-headers

The difference is the '--nodeps' in the first emerge-statement that makes emerge ignoring that linux26-headers is a blocker to linux-headers. This is how I solved it :)

/
Comment 3 Charlie Gehlin 2005-01-02 23:10:56 UTC
Changing the 1337-oneliner, it's wrong. It should be:

emerge --buildpkgonly --nodeps linux-headers && emerge -C linux26-headers && emerge --usepkg linux-headers && emerge silo && emerge -C linux-headers && emerge --usepkg linux26-headers

The difference is the '--nodeps' in the first emerge-statement that makes emerge ignoring that linux26-headers is a blocker to linux-headers. This is how I solved it :)

/©harlie
Comment 4 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-04-11 07:49:51 UTC
silo-1.4.9 builds w/2.6 headers

livecd silo # emerge -p linux-headers silo
!!! SELinux not loaded: SELinux is not enabled.

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-kernel/linux-headers-2.6.8.1-r4
[ebuild   R   ] sys-boot/silo-1.4.9
Comment 5 Charlie Gehlin 2005-04-11 07:58:30 UTC
@Alec:

this bug concerns silo 1.48, not 1.4.9
and 1.4.8 is still in portage...

/
Comment 6 Charlie Gehlin 2005-04-11 07:58:30 UTC
@Alec:

this bug concerns silo 1.48, not 1.4.9
and 1.4.8 is still in portage...

/©harlie
Comment 7 Steve Arnold archtester gentoo-dev 2005-07-22 18:54:39 UTC
Um, 1.4.9 borks with gcc 3.3.4:

make[2]: Leaving directory `/var/tmp/portage/silo-1.4.9/work/silo-1.4.9/first'
silo.c: In function `write_block_device':
silo.c:490: error: `FD_DIGIT_OFFSET_TMP' undeclared (first use in this function)
silo.c:490: error: (Each undeclared identifier is reported only once
silo.c:490: error: for each function it appears in.)
silo.c:501: error: `FD_LETTER_OFFSET_TMP' undeclared (first use in this function)
make[1]: *** [silo.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/silo-1.4.9/work/silo-1.4.9/silo'
make: *** [all] Error 1

!!! ERROR: sys-boot/silo-1.4.9 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

optimus ~ # emerge linux-headers -vp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-kernel/linux-headers-2.6.8.1-r4  0 kB 

But it builds fine with gcc 3.4.4, so go figure...  Charlie, can you try 1.4.8 
with a newer gcc?
Comment 8 Jason Wever (RETIRED) gentoo-dev 2006-01-15 11:32:11 UTC
This appears to be fixed now.  If you're still having problems, try the 2006.0 profile and re-open if its still an issue.