Good guess on the kde-sunset it was in the overlay. I appreciate you confirming that I shouldn't have any issues.Gusar wrote:You can run HAL just fine and it won't cause any issues. Stuff doesn't care if it's there or not. Except the stuff that actually needs it, of course, like Amazon Video.
It's indeed not in portage anymore. I have no idea if it's in any overlay, there's a search engine for overlays, but I can't access it at this moment: http://gpo.zugaina.org/. The kde-sunset overlay might have it.
Then there's another thing, not relevant to Gentoo yet, but it will be soon: A feature HAL needs from udev has been removed in udev>=183. However, an Arch user has created a patch to make HAL work with those udev versions again: https://aur.archlinux.org/packages.php?ID=51454
Code: Select all
gtk-doc.make:55: error: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL
doc/api/libhal-storage/Makefile.am:64: 'gtk-doc.make' included from here
gtk-doc.make:60: error: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL
doc/api/libhal-storage/Makefile.am:64: 'gtk-doc.make' included from here
gtk-doc.make:55: error: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL
doc/api/libhal/Makefile.am:64: 'gtk-doc.make' included from here
gtk-doc.make:60: error: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL
doc/api/libhal/Makefile.am:64: 'gtk-doc.make' included from hereNot at all.VoidMage wrote:Easy - condition race.
Unless you strip down hal (which could be quite tricky), both hal and udisks try to do stuff i.e. with media detection.
You need to patch HAL to work with it. The patches are at the link I already gave above: https://aur.archlinux.org/packages.php?ID=51454 <- grab the tarball from there, you need two patches from it - hal-libudev-events.patch and udev-update.patchfert wrote:189
Is that wrong? Does it need to be downgraded?
Thanks! I'm not sure how I missed your earlier post. I'm glad you pointed it out rather than blowing me off for being an idiot.Gusar wrote: You need to patch HAL to work with it. The patches are at the link I already gave above: https://aur.archlinux.org/packages.php?ID=51454 <- grab the tarball from there, you need two patches from it - hal-libudev-events.patch and udev-update.patch

Were you able to fix this automake error? I can't get it to compile now, after it was previously working but after upgrading udev it won't recompile. I've applied the patches from the arch linux set up but still a no go. I've also tried with different versions of automake by doing the following:Shelnutt2 wrote:Good guess on the kde-sunset it was in the overlay. I appreciate you confirming that I shouldn't have any issues.Gusar wrote:You can run HAL just fine and it won't cause any issues. Stuff doesn't care if it's there or not. Except the stuff that actually needs it, of course, like Amazon Video.
It's indeed not in portage anymore. I have no idea if it's in any overlay, there's a search engine for overlays, but I can't access it at this moment: http://gpo.zugaina.org/. The kde-sunset overlay might have it.
Then there's another thing, not relevant to Gentoo yet, but it will be soon: A feature HAL needs from udev has been removed in udev>=183. However, an Arch user has created a patch to make HAL work with those udev versions again: https://aur.archlinux.org/packages.php?ID=51454
I'm getting a build error with hal in automake. The relevant error log is:
Code: Select all
gtk-doc.make:55: error: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL doc/api/libhal-storage/Makefile.am:64: 'gtk-doc.make' included from here gtk-doc.make:60: error: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL doc/api/libhal-storage/Makefile.am:64: 'gtk-doc.make' included from here gtk-doc.make:55: error: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL doc/api/libhal/Makefile.am:64: 'gtk-doc.make' included from here gtk-doc.make:60: error: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL doc/api/libhal/Makefile.am:64: 'gtk-doc.make' included from here
It seems the issue is generally caused by too old version of gtk-doc-am, but I'm running the latest version. I'm going to see if perhaps I need an older version of gtk-doc-am. Seems like maybe these functions were removed at some point. I already have the docs use flag disabled.
Code: Select all
WANT_AUTOMAKE=1.x emerge -av halCode: Select all
src_prepare() {
EPATCH_MULTI_MSG="Applying Gentoo Patchset ..." \
EPATCH_SUFFIX="patch" \
EPATCH_SOURCE="${WORKDIR}/${PATCHNAME}/patches/" \
EPATCH_FORCE="yes" \
epatch
epatch_user
eautoreconf
}
Code: Select all
emerge --info sys-apps/hal
Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.4.9-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Thu, 29 Nov 2012 17:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p37
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.11.5
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo cj-overlay yarik-overlay science kde-sunset x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/cj-overlay /var/lib/layman/yarik-overlay /var/lib/layman/science /var/lib/layman/kde-sunset /usr/local/portage"
SYNC="rsync://rsync27.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi additions aim alsa amd64 audiofile bash-completion bluetooth bluray bzip2 caps cdb cdparanoia cdr cli consolekit cracklib crypt css cups cxx dbus dga dio directfb dri dts dv dvb dvd dvdr dvdread emacs emul-linux-x86 encode exif fat fbcon ffmpeg fftw fglrx firefox flac flash fortran ftp g3dvl gdbm gif gmp gnutls gphoto2 gpm gstreamer gtk gtk2 hbci hfs hfsplus iconv icq icu ieee1394 imagemagick inifile ipod jabber java javascript jikes jingle jpeg kde kdehiddenvisibility kerberos kqemu kvm lash libcaca libnotify libwww lm_sensors mad matroska mime mjpeg mmx mmxext modules mp3 mp4 mplayer msql mssql mudflap multilib mysql mysqli nas ncurses nls nptl nsplugin ntfs ofx ogg ogm openal opencl opengl openmp openrc oss pam pcre pdf perl php png policykit portaudio postgres pppd python qemu qt3support qt4 quicktime readline recode rtsp scanner sdl session smp sox sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 svg sysfs tcl tcltk tcpd theora threads tiff tk truetype udev unicode usb vaapi vcd video vorbis webkit winbind wms wxwindows x264 xine xinerama xml xmms xrandr xulrunner xv xvba xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux module" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
=================================================================
Package Settings
=================================================================
sys-apps/hal-0.5.14-r4 was built with the following:
USE="X acpi crypt (multilib) -apm -debug -dell -disk-partition -doc -laptop (-selinux)"
CFLAGS="-march=native -O2 -pipe -rdynamic"
CXXFLAGS="-march=native -O2 -pipe -rdynamic"
Code: Select all
0.5.14-hald.conf
0.5.14-hald.rc.1
glib.patch
hal-0.5.14-gentoo-patches-4.tar.bz2
hal-0.5.14-gentoo-patches-5.tar.bz2
hal-unmount.devCode: Select all
# /usr/sbin/hald --verbose=yes --use-syslog --daemon=yesThanks to information from BitJam and previous posters in this thread, I've had successrogerx wrote:I haven't made much headway on this issue since you emailed the tarball to me.