Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hwsetup-1.1 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
1veedo
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 152

PostPosted: Sun Jul 02, 2006 11:53 pm    Post subject: hwsetup-1.1 failed Reply with quote

Google has nothing at all...
Code:
Calculating dependencies... done!
>>> Emerging (1 of 4) sys-apps/hwsetup-1.1 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking hwsetup_1.1-1.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking hwsetup_1.1-1.tar.gz to /var/tmp/portage/hwsetup-1.1/work
 * Applying hwsetup-1.1-dyn_blacklist.patch ...                           [ ok ] * Applying hwsetup-1.1-fastprobe.patch ...                               [ ok ] * Applying hwsetup-1.1-gentoo.patch ...                                  [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/hwsetup-1.1/work/hwsetup-1.1 ...
gcc -I/usr/include/kudzu -DBLACKLIST -Wall -fPIC -O2 -s -o hwsetup hwsetup.c -lkudzu -lpci
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libkudzu.a(ddc.o): In function `ddcProbe':
: undefined reference to `get_edid_supported'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libkudzu.a(ddc.o): In function `ddcProbe':
: undefined reference to `get_edid_info'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libkudzu.a(ddc.o): In function `ddcProbe':
: undefined reference to `vbe_get_vbe_info'
collect2: ld returned 1 exit status
make: *** [hwsetup] Error 1

!!! ERROR: sys-apps/hwsetup-1.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  hwsetup-1.1.ebuild, line 32:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
There aren't any other versions of hwdetect.
Back to top
View user's profile Send private message
je_fro
Retired Dev
Retired Dev


Joined: 14 Dec 2002
Posts: 236
Location: Republic of Texas

PostPosted: Thu Jul 20, 2006 7:17 pm    Post subject: Reply with quote

Hey did you ever figure this out? I've got the same problem...
_________________
Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect.
--Linus Torvalds

My site with some gentoo config files:
http://je-fro.net/page.html
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Wed Aug 30, 2006 5:50 am    Post subject: Reply with quote

same with gcc 4.1.1, I've noticed this while recompiling libkudzu :

Quote:
ddcprobe/common.h:123: warning: 'packed' attribute ignored for field of type 'struct <anonymous>'
ddcprobe/common.h:180: warning: 'packed' attribute ignored for field of type 'struct <anonymous>'
ddcprobe/common.h:191: warning: 'packed' attribute ignored for field of type 'struct <anonymous>'
ddcprobe/common.h:210: warning: 'packed' attribute ignored for field of type 'struct <anonymous>'
ddcprobe/common.h:214: warning: 'packed' attribute ignored for field of type 'struct <anonymous>'
ddcprobe/common.h:229: warning: 'packed' attribute ignored for field of type 'union <anonymous>'


retrying with fpack-struct

edit : doesn't change anything as expected... T_T

edit 2 :

edid structs are concerned as expected, but I really don't understand why the packed attribute is ignored???
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Wed Aug 30, 2006 7:14 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=131715 i'll give a try.

totally fails to build! :?

edit : ok we need to patch pciutils before -_-

works with patched pciutils !!! ebuild : let's call it 2.2.3-r2

Quote:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

inherit eutils flag-o-matic toolchain-funcs

STAMP=20060608
DESCRIPTION="Various utilities dealing with the PCI bus"
HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html"
SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz
mirror://gentoo/pci.ids-${STAMP}.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""

DEPEND=""

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}"/${P}-build.patch
epatch "${FILESDIR}"/pcimodules-${PN}-2.2.0.patch
epatch "${FILESDIR}"/pciutils-2.2.3-r2-kudzu.patch

sed -i 's:wget -O:wget --connect-timeout=60 -O:' update-pciids.sh
ebegin "Updating pci.ids from the web"
if ! ./update-pciids.sh &> /dev/null ; then
# if we cant update, use a cached version
mv "${WORKDIR}"/pci.ids-${STAMP} "${S}"/pci.ids
fi
eend 0
}


src_compile() {
tc-export AR CC RANLIB
emake OPT="${CFLAGS}" || die "emake failed"
}

src_install() {
dodir /usr/share/man
make install PREFIX="${D}"/usr || die

dolib lib/libpci.* || die "libpci failed"
insinto /usr/include/pci
doins lib/{config,header,pci,types}.h || die "headers failed"
}



create it in $PORTDIR_OVERLAY/sys-apps/pci-utils/ then cp -a /usr{,local}/portage/sys-apps/pciutils/files, add the patch from there : https://bugs.gentoo.org/attachment.cgi?id=85797 and name it pciutils-2.2.3-r2-kudzu.patch;
do the digest, emerge pciutils then use this overlay ebuild (from bugs.gentoo.org) for kudzu

cat ../../sys-libs/libkudzu/libkudzu-1.2.41.ebuild
Quote:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

S=${WORKDIR}/kudzu-${PV}
DESCRIPTION="Red Hat Hardware detection tools"
SRC_URI="kudzu-${PV}.tar.gz"
HOMEPAGE="http://fedora.redhat.com/projects/additional-projects/kudzu/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 -mips ppc ppc64 sparc x86"
IUSE=""

RDEPEND="dev-libs/popt
|| ( sys-apps/hwdata-gentoo
sys-apps/hwdata )"
DEPEND="dev-libs/popt
sys-apps/pciutils"

src_compile() {
# Fix the modules directory to match Gentoo layout.
perl -pi -e 's|/etc/modutils/kudzu|/etc/modules.d/kudzu|g' *.*

emake libkudzu.a libkudzu_loader.a RPM_OPT_FLAGS="${CFLAGS}" || die
}

src_install() {
dodir /etc/sysconfig
insinto /usr/include/kudzu
doins *.h
dolib.a libkudzu.a libkudzu_loader.a
}


then cd /usr/portagedisfiles && wget https://bugs.gentoo.org/attachment.cgi?id=93599; do the digest, emerge libkudzu then ré-emerge hwsetup.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum