Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge =hal-0.5.9-r1 fails

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
mrsaccess
n00b
n00b
User avatar
Posts: 30
Joined: Sat Sep 03, 2005 12:58 pm
Location: Greece
Contact:
Contact mrsaccess
Website

emerge =hal-0.5.9-r1 fails

  • Quote

Post by mrsaccess » Wed Jul 18, 2007 10:38 am

Hello, hal 0.5.9-r1 constantly fails to emerge on one of my machines with this error:

Code: Select all

create_cache.c: In function ¡start¢:
create_cache.c:328: warning: implicit declaration of function ¡XML_StopParser¢
create_cache.c:328: warning: nested extern declaration of ¡XML_StopParser¢
create_cache.c: In function ¡rules_add_fdi_file¢:
create_cache.c:464: error: ¡XML_ERROR_ABORTED¢ undeclared (first use in this function)
create_cache.c:464: error: (Each undeclared identifier is reported only once
create_cache.c:464: error: for each function it appears in.)
make[4]: *** [create_cache.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/util.Tpo .deps/util.Po
make[4]: Leaving directory `/Mariospure/emergeTemp/portage/sys-apps/hal-0.5.9-r1/work/hal-0.5.9/hald'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/Mariospure/emergeTemp/portage/sys-apps/hal-0.5.9-r1/work/hal-0.5.9/hald'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/Mariospure/emergeTemp/portage/sys-apps/hal-0.5.9-r1/work/hal-0.5.9/hald'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Mariospure/emergeTemp/portage/sys-apps/hal-0.5.9-r1/work/hal-0.5.9'
make: *** [all] Error 2

!!! ERROR: sys-apps/hal-0.5.9-r1 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  hal-0.5.9-r1.ebuild, line 185:   Called die

!!! make failed
I've tried many things (using no USE flags, emerge the testing version of pciutils, searching the forums and the gentoo bugzilla :p and others) but I still can't find the problem which seems to be specific to my machine.
If someone has any idea at all...


emerge --info in case it helps:

Code: Select all

Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r6-ElectraWS i686)
=================================================================
System uname: 2.6.20-gentoo-r6-ElectraWS i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 17 Jul 2007 10:30:10 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe -funit-at-a-time"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distclean distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB el en el_GR"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/Mariospure/emergeTemp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/personal /usr/portage/local/layman/liquidx /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/pro-audio /usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/zugaina /usr/portage/local/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aiglx alsa aom apache2 asf avi bash-completion berkdb bitmap-fonts bluetooth boost browserplugin bzip2 cairo calendar cddb cdparanoia cdr cli cracklib crypt cups dbus dio divx4linux doc dri dts dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif fam fbcon festival ffmpeg firefox flac flash fortran ftp gcj gd gdbm gif gimp gimpprint gnutls gpm gps gtk2 hal icc iconv id3 ieee1394 imagemagick imlib ipv6 isdnlog jack java javascript jdbc jikes jpeg jpeg2k junit kde kdehiddenvisibility kdepim kdexdeltas kexi kipi ladspa lame lcms ldap libg++ libsamplerate lirc lm_sensors logrotate mad mbox memlimit mhash midi mikmod mime ming mmx modplug mozilla mp3 mpeg mpeg2 mplayer msn mudflap musepack musicbrainz mysql mysqli nas ncurses network nfs nls nocd nptl nptlonly nsplugin nvidia obex odbc offensive ogg openexr opengl openmp pam pch pcre pdf pdflib perl php plotutils png portaudio posix ppds pppd prelude pulseaudio python qt qt3 qt4 quicktime readline real recode reflection samba scanner sdl session slp smp smtp sndfile snmp sockets socks5 sox spell spl sql sqlite sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vhosts vorbis win32codecs x264 x86 xattr xcomposite xine xinerama xlib xml xml2 xorg xprint xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB el en el_GR" LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanx in advance.
Hardware: The parts of your pc you can kick.
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Wed Jul 18, 2007 10:48 am

Perhaps this will help:

Code: Select all

$ find /usr/include/ -type f | xargs grep XML_ERROR_ABORTED
/usr/include/expat.h:  XML_ERROR_ABORTED,
/usr/include/expat.h:   return XML_STATUS_ERROR with error code XML_ERROR_ABORTED.

$ equery belongs /usr/include/expat.h
dev-libs/expat-2.0.0
Top
mrsaccess
n00b
n00b
User avatar
Posts: 30
Joined: Sat Sep 03, 2005 12:58 pm
Location: Greece
Contact:
Contact mrsaccess
Website

  • Quote

Post by mrsaccess » Wed Jul 18, 2007 9:33 pm

Thanx for the trick!
Unfortunately it didn't work. :(

I tried re-emerging expat (I use the stable version 1.95.8 ). Since this didn't solve the problem I tried the testing version too (2.0.0) but still no lack.

Any other suggestions? I've run out of ideas. :?
Hardware: The parts of your pc you can kick.
Top
dkostic
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Wed May 24, 2006 2:25 am
Location: Madison, NJ
Contact:
Contact dkostic
Website

  • Quote

Post by dkostic » Mon Jul 23, 2007 7:23 am

When I try to emerge hal-0.5.9-r1, it complains that pciutils was installed with the zlib USE flag. Since you've got zlib in your make.conf, you might try running
USE="-zlib" emerge hal
Unfortunately...that command doesn't work for me. I have a 'sys-apps/pciutils -zlib' line in /etc/portage/package.use, I've run the above command, and yet 'equery uses pciutils' indicates that pciutils was compiled with zlib support (although it's unset). Can someone explain why this is happening? (And sorry to distract from the original topic.)
Toshiba Satellite A105 laptop, 1.7 mHz Celeron M, 100 Gb hard disk, 512 Mb RAM, 2006.0, 2.6.16-r7 kernel
Homemade desktop, 3.2+ mHz AMD Athlon 64 processor, 120 Gb hard disk, 1 Gb RAM, 2005.0, 2.6.14-r2 kernel
Top
mrsaccess
n00b
n00b
User avatar
Posts: 30
Joined: Sat Sep 03, 2005 12:58 pm
Location: Greece
Contact:
Contact mrsaccess
Website

  • Quote

Post by mrsaccess » Mon Jul 23, 2007 9:10 am

Stable version of pciutils doesn't have any use flags and hal shouldn't complain about zlib.
If you use a testing version of pciutils then try re-emerging it ( emerge -va pciutils ) just to be sure that it is built without zlib support.
Hardware: The parts of your pc you can kick.
Top
dkostic
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Wed May 24, 2006 2:25 am
Location: Madison, NJ
Contact:
Contact dkostic
Website

  • Quote

Post by dkostic » Mon Jul 23, 2007 5:08 pm

I must have done emerge pciutils about a million times. It keeps building it with zlib, for some odd reason. (My emerge --info is posted here < http://forums.gentoo.org/viewtopic-t-57 ... ight-.html >, by the way.) Any other ideas what could be causing this to happen?
Toshiba Satellite A105 laptop, 1.7 mHz Celeron M, 100 Gb hard disk, 512 Mb RAM, 2006.0, 2.6.16-r7 kernel
Homemade desktop, 3.2+ mHz AMD Athlon 64 processor, 120 Gb hard disk, 1 Gb RAM, 2005.0, 2.6.14-r2 kernel
Top
mrsaccess
n00b
n00b
User avatar
Posts: 30
Joined: Sat Sep 03, 2005 12:58 pm
Location: Greece
Contact:
Contact mrsaccess
Website

  • Quote

Post by mrsaccess » Mon Jul 23, 2007 10:33 pm

Which version of pciutils do you use? The stable one or one of the testing versions? Try a different one!
Hardware: The parts of your pc you can kick.
Top
dkostic
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Wed May 24, 2006 2:25 am
Location: Madison, NJ
Contact:
Contact dkostic
Website

  • Quote

Post by dkostic » Tue Jul 24, 2007 1:36 am

I used the most recent stable version. I found a work around though: see http://forums.gentoo.org/viewtopic-t-56 ... ight-.html
Toshiba Satellite A105 laptop, 1.7 mHz Celeron M, 100 Gb hard disk, 512 Mb RAM, 2006.0, 2.6.16-r7 kernel
Homemade desktop, 3.2+ mHz AMD Athlon 64 processor, 120 Gb hard disk, 1 Gb RAM, 2005.0, 2.6.14-r2 kernel
Top
venzon
n00b
n00b
Posts: 7
Joined: Thu Oct 28, 2004 4:35 am

  • Quote

Post by venzon » Fri Aug 03, 2007 12:36 am

I have a similar problem:

Code: Select all

i686-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -rdynamic -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wl,--as-needed -o hald-generate-fdi-cache create_cache.o logger.o  /usr/lib/libdbus-glib-1.so -lnsl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libdbus-1.so -lm /usr/lib/libexpat.so ../hald/linux/.libs/libhald_linux.a  
create_cache.o: In function `end':
create_cache.c:(.text+0xd80): undefined reference to `XML_StopParser'
create_cache.o: In function `start':
create_cache.c:(.text+0x6b7): undefined reference to `XML_StopParser'
collect2: ld returned 1 exit status
make[4]: *** [hald-generate-fdi-cache] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/hald_dbus.Tpo .deps/hald_dbus.Po
make[4]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.9-r1/work/hal-0.5.9/hald'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.9-r1/work/hal-0.5.9/hald'
Any solutions?
Top
nly00471
n00b
n00b
Posts: 29
Joined: Tue Aug 10, 2004 6:23 pm
Location: Breda / Netherlands

  • Quote

Post by nly00471 » Fri Aug 03, 2007 7:26 pm

I've another problem when emerging hal-0.5.9.1-r1

Code: Select all

>>> Emerging (1 of 2) sys-apps/hal-0.5.9.1-r1 to /
 * hal-0.5.9.1.tar.gz RMD160 ;-) ...                                                                                                                                         [ ok ]
 * hal-0.5.9.1.tar.gz SHA1 ;-) ...                                                                                                                                           [ ok ]
 * hal-0.5.9.1.tar.gz SHA256 ;-) ...                                                                                                                                         [ ok ]
 * hal-0.5.9.1.tar.gz size ;-) ...                                                                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking hal-0.5.9.1.tar.gz ;-) ...                                                                                                                                       [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.20-gentoo-r3/build
 * Found sources for kernel version:
 *     2.6.20-gentoo-r3
>>> Unpacking source...
>>> Unpacking hal-0.5.9.1.tar.gz to /var/tmp/portage/sys-apps/hal-0.5.9.1-r1/work
 * Applying 07_malloc_h_for_stdlib_h.patch ...                                                                                                                               [ ok ]
 * Applying 23_runner_64bit_values.patch ...                                                                                                                                 [ ok ]
 * Applying 24_libparted_1_8_7.patch ...

 * Failed Patch: 24_libparted_1_8_7.patch !
 *  ( /usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-apps/hal-0.5.9.1-r1/temp/24_libparted_1_8_7.patch-24645.out

 *
 * ERROR: sys-apps/hal-0.5.9.1-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_unpack
 *   ebuild.sh, line 768:   Called qa_call 'src_unpack'
 *   ebuild.sh, line 44:   Called src_unpack
 *   hal-0.5.9.1-r1.ebuild, line 119:   Called epatch '/usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch'
 *   eutils.eclass, line 304:   Called die
 *
 * Failed Patch: 24_libparted_1_8_7.patch!
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-apps:hal-0.5.9.1-r1:20070803-194912.log'.
 *
with in /var/tmp/portage/sys-apps/hal-0.5.9.1-r1/temp/24_libparted_1_8_7.patch-24645.out

Code: Select all

***** 24_libparted_1_8_7.patch *****

====================================

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch

====================================
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From: Danny Kukawka <danny.kukawka@web.de>
|Date: Wed, 23 May 2007 18:05:17 +0000 (+0200)
|Subject: updated allowed libparted versions
|X-Git-Url: http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=366ab0006278f6c23fc3c33dea7eb61a42fe941e
|
|updated allowed libparted versions
|
|Updated again the list of allowed liparted version by add v1.8.7
|---
|
|--- a/configure.in
|+++ b/configure.in
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
====================================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch

====================================
patching file configure.in
Hunk #1 succeeded at 197 with fuzz 2 (offset -47 lines).
Hunk #2 FAILED at 215.
1 out of 2 hunks FAILED -- saving rejects to file configure.in.rej
====================================

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch

====================================
missing header for unified diff at line 13 of patch
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From: Danny Kukawka <danny.kukawka@web.de>
|Date: Wed, 23 May 2007 18:05:17 +0000 (+0200)
|Subject: updated allowed libparted versions
|X-Git-Url: http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=366ab0006278f6c23fc3c33dea7eb61a42fe941e
|
|updated allowed libparted versions
|
|Updated again the list of allowed liparted version by add v1.8.7
|---
|
|--- a/configure.in
|+++ b/configure.in
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
====================================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch

====================================
missing header for unified diff at line 13 of patch
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From: Danny Kukawka <danny.kukawka@web.de>
|Date: Wed, 23 May 2007 18:05:17 +0000 (+0200)
|Subject: updated allowed libparted versions
|X-Git-Url: http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=366ab0006278f6c23fc3c33dea7eb61a42fe941e
|
|updated allowed libparted versions
|
|Updated again the list of allowed liparted version by add v1.8.7
|---
|
|--- a/configure.in
|+++ b/configure.in
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
====================================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch

====================================
missing header for unified diff at line 13 of patch
can't find file to patch at input line 13
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From: Danny Kukawka <danny.kukawka@web.de>
|Date: Wed, 23 May 2007 18:05:17 +0000 (+0200)
|Subject: updated allowed libparted versions
|X-Git-Url: http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=366ab0006278f6c23fc3c33dea7eb61a42fe941e
|
|updated allowed libparted versions
|
|Updated again the list of allowed liparted version by add v1.8.7
|---
|
|--- a/configure.in
|+++ b/configure.in
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
and in /var/log/portage/sys-apps:hal-0.5.9.1-r1:20070803-194521.log

Code: Select all

 ^[[32;01m*^[[0m Determining the location of the kernel source code
 ^[[32;01m*^[[0m Found kernel source directory:
 ^[[32;01m*^[[0m     /usr/src/linux
 ^[[32;01m*^[[0m Found kernel object directory:
 ^[[32;01m*^[[0m     /lib/modules/2.6.20-gentoo-r3/build
 ^[[32;01m*^[[0m Found sources for kernel version:
 ^[[32;01m*^[[0m     2.6.20-gentoo-r3
>>> Unpacking source...
>>> Unpacking hal-0.5.9.1.tar.gz to /var/tmp/portage/sys-apps/hal-0.5.9.1-r1/work
 ^[[32;01m*^[[0m Applying 07_malloc_h_for_stdlib_h.patch ...
^[[A^[[171C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying 23_runner_64bit_values.patch ...
^[[A^[[171C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying 24_libparted_1_8_7.patch ...

 ^[[31;01m*^[[0m Failed Patch: 24_libparted_1_8_7.patch !
 ^[[31;01m*^[[0m  ( /usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch )
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Include in your bugreport the contents of:
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m   /var/tmp/portage/sys-apps/hal-0.5.9.1-r1/temp/24_libparted_1_8_7.patch-19503.out

 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m ERROR: sys-apps/hal-0.5.9.1-r1 failed.
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m   ebuild.sh, line 1648:   Called dyn_unpack
 ^[[31;01m*^[[0m   ebuild.sh, line 768:   Called qa_call 'src_unpack'
 ^[[31;01m*^[[0m   ebuild.sh, line 44:   Called src_unpack
 ^[[31;01m*^[[0m   hal-0.5.9.1-r1.ebuild, line 119:   Called epatch '/usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch'
 ^[[31;01m*^[[0m   eutils.eclass, line 304:   Called die
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Failed Patch: 24_libparted_1_8_7.patch!
 ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
 ^[[31;01m*^[[0m A complete build log is located at '/var/log/portage/sys-apps:hal-0.5.9.1-r1:20070803-194521.log'.
 ^[[31;01m*^[[0m
Can somebody help me!
Tyan S2885ANRF, 2x opetron242, 2x 2x512MB (2GB total), Gainward 6800, 2x WD Raptor 36GB
Top
grenwald
n00b
n00b
Posts: 21
Joined: Sat Aug 05, 2006 10:54 pm
Location: Clermont-Ferrand / France

  • Quote

Post by grenwald » Mon Aug 06, 2007 3:17 pm

i had the same problem when i tried to update hal last friday

Code: Select all

* Failed Patch: 24_libparted_1_8_7.patch !
 *  ( /usr/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-apps/hal-0.5.9.1-r1/temp/24_libparted_1_8_7.patch-24645.out
i just re sync portage tree today and update is ok for me now
perhaps it will be the same for you
there's only 10 types of people
Those who understand binary and the others
Top
SkyLine
n00b
n00b
Posts: 36
Joined: Wed Oct 11, 2006 7:24 am

  • Quote

Post by SkyLine » Wed Aug 15, 2007 6:34 am

Use

Code: Select all

emerge -1 XML-Parser
and then go on
Top
mrsaccess
n00b
n00b
User avatar
Posts: 30
Joined: Sat Sep 03, 2005 12:58 pm
Location: Greece
Contact:
Contact mrsaccess
Website

  • Quote

Post by mrsaccess » Sun Aug 19, 2007 11:14 pm

Unfortunately it didn't help. :(
Hardware: The parts of your pc you can kick.
Top
mrsaccess
n00b
n00b
User avatar
Posts: 30
Joined: Sat Sep 03, 2005 12:58 pm
Location: Greece
Contact:
Contact mrsaccess
Website

  • Quote

Post by mrsaccess » Sun Apr 13, 2008 11:23 am

A small bump!

The problem still exists! I'm stuck to version 0.5.7.1-r5 of hal for more than a year now!
In this time almost every -if not all- component of my gentoo installation has been upgraded yet the problem remains. I have even emerge -e world΄d my system!

I've tried all versions of hal, both stable and unstable ones, but I always get the same error!

Code: Select all

create_cache.c: In function ‘start’:
create_cache.c:330: warning: implicit declaration of function ‘XML_StopParser’
create_cache.c:330: warning: nested extern declaration of ‘XML_StopParser’
create_cache.c: In function ‘rules_add_fdi_file’:
create_cache.c:467: error: ‘XML_ERROR_ABORTED’ undeclared (first use in this function)
create_cache.c:467: error: (Each undeclared identifier is reported only once
create_cache.c:467: error: for each function it appears in.)
make[4]: *** [create_cache.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/util.Tpo .deps/util.Po
make[4]: Leaving directory `/Mariospure/emergeTemp/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/hald'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/Mariospure/emergeTemp/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/hald'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/Mariospure/emergeTemp/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/hald'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Mariospure/emergeTemp/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1'
make: *** [all] Error 2
 *
 * ERROR: sys-apps/hal-0.5.9.1-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3647:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make failed
Any ideas, please??? :?
Hardware: The parts of your pc you can kick.
Top
thekevinday
n00b
n00b
Posts: 1
Joined: Sat Jun 28, 2008 12:51 am

The cause is APR!

  • Quote

Post by thekevinday » Sat Jun 28, 2008 1:09 am

I came across the same problem with my system.

I had not noticed the issue until I tried to compile HAL myself.

After looking into the problem, I discovered that I had installed expat-2.0.1, but the include/expat.h file was of version 1.95.2.

Well, this was pretty interesting because I installed everything on my system from scratch myself.
Which means on of the packages separate from expat is installing its own version over the system version!

So, onto time stamps!
Looking around at time stamps, the only packages that had identical time-stamps to the offensive expat.h's time-stamp were apr, apr-util, and neon.

I first looked for expat.h in each of their archives and did not find anything.
However, if one of these was installing expat.h, then the contents of the expat.h file should also be _somewhere_ in the source.
A quick grep for EXPAT_MAJOR_VERSION revealed that apr had its own version of expat nicely hidden under guise of: include/arch/netware/apr_arch_pre_nw.h

I haven't bothered to test the other files given that I found the offensive expat.h in the Apache Portable Runtime!
This brings into question what else APR might be installing over.

I don't use gentoo, but I ran into this unresolved thread so I decided to offer my insight and solution.

Your solution will have to be to forcefully re-install expat or download the sources and copy the expat.h to the /usr/include/ directory.
Top
mrsaccess
n00b
n00b
User avatar
Posts: 30
Joined: Sat Sep 03, 2005 12:58 pm
Location: Greece
Contact:
Contact mrsaccess
Website

  • Quote

Post by mrsaccess » Tue Jul 01, 2008 7:29 am

Thanks for your help. Actually the problem is solved and I'm terribly sorry not to have updated the thread.

I filed a bug two months ago and with the guidance of some devs I was able to pinpoint the problem:
http://bugs.gentoo.org/show_bug.cgi?id=219289

It was similar to yours: an old version of expat.h was getting linked in.
A search for expat returned some copies of this file. Most of them were in the subdirectories of the application which needed them.
But the search also revealed that I had two versions of expat installed, the default under /usr and an additional one under /usr/local. Portage wasn't aware of the second one, maybe a leftover from an old mistake of mine? Nonetheless due to path settings it was getting linked in and it indeed was an older version hence the problem.

Thanks again to all the people who tried to helped! :D
Hardware: The parts of your pc you can kick.
Top
Post Reply

16 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic