[gobolinux-users] KDE upgrade to 3.5.7 failed because hal 0.5.9 ftbfs

rubisher rubisher at scarlet.be
Sat Sep 1 16:37:16 UTC 2007


Jonas Karlsson wrote:
> On Fri, 31 Aug 2007 16:31:20 +0200, rubisher <rubisher at scarlet.be> wrote:
> 
>> ---------- Initial header -----------
>>
>>> From      : gobolinux-users-bounces at lists.gobolinux.org
>> To          : gobolinux-users at lists.gobolinux.org
>> CC          :
>> Date      : Fri, 31 Aug 2007 12:39:51 +0200
>> Subject : Re: [gobolinux-users] KDE upgrade to 3.5.7 failed because hal
>> 0.5.9 ftbfs
>>
>>> 2007/8/30, rubisher <rubisher at scarlet.be>:
>>>> Hello all,
>>>>
>>>> Comtinuing my KDE update (Freshen -U  KDE-Base KDE-Graphics KDE-Libs
>> KDE-Multimedia KDE-Network KDE-PIM), I encountered
>>>> following issue while the compile step of hal 0.5.9:
>>>> [snip]
>>>> make[5]: Entering directory
>> `/Files/Compile/Sources/hal-0.5.9/hald/linux/probing'
>> gcc -DHAVE_CONFIG_H -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/Programs/HAL/Settings"\"
>>> -DPACKAGE_DATA_DIR=\""/Programs/HAL/0.5.9/share"\" -DPACKAGE_BIN_DIR=\""/Programs/HAL/0.5.9/bin"\"
>>>
>>> -DPACKAGE_LOCALE_DIR=\""/Programs/HAL/0.5.9/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/System/Variable"\" -I../../..
>>>
>>> -I/Programs/GLib/2.12.11/include/glib-2.0 -I/Programs/GLib/2.12.11/lib/glib-2.0/include
>>>
>>> -I/Programs/DBus-GLib/0.73/include/dbus-1.0 -I/Programs/DBus/1.0.2/include/dbus-1.0
>>>
>>> -I/Programs/DBus/1.0.2/lib/dbus-1.0/include   -I/Programs/DBus/1.0.2/include/dbus-1.0
>>>
>>> -I/Programs/DBus/1.0.2/lib/dbus-1.0/include   -I/Programs/Udev/095/include      -O2 -march=i686 -fomit-frame-pointer -pipe
>>>
>>> I looked at the recipe and it states Udev >= 105 as BuildDependency.
>> Acutaly it was already there:
>> ]ls -l /Programs/Udev
>> total 12
>> drwxr-xr-x 9 Brother Brother 4096 2006-10-25 01:40 095
>> drwxr-xr-x 9 Brother Brother 4096 2007-06-01 22:14 110
>> lrwxrwxrwx 1 Brother Brother    3 2007-06-03 14:50 Current -> 095
>> drwxr-xr-x 4 Brother Brother 4096 2006-10-25 01:34 Settings
>>
>> So I just "SymlinkProgram Udev 110":
>> ls -l /Programs/Udev
>> total 12
>> drwxr-xr-x 9 Brother Brother 4096 2006-10-25 01:40 095
>> drwxr-xr-x 9 Brother Brother 4096 2007-06-01 22:14 110
>> lrwxrwxrwx 1 Brother Brother    3 2007-08-31 14:09 Current -> 110
>> drwxr-xr-x 4 Brother Brother 4096 2006-10-25 01:34 Settings
>>
>>> Wasn't you asked to upgrade Udev before compilation of HAL started?
>>> Does upgrading Udev solve this issue?
>>>
>> Anyway it doesn't help (always same errors), sorry.
>>
> Did you see if used includes from Udev 095 (again) or Udev 110?

Yes:
gcc -DHAVE_CONFIG_H -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/Programs/HAL/Settings"\" 
-DPACKAGE_DATA_DIR=\""/Programs/HAL/0.5.9/share"\" -DPACKAGE_BIN_DIR=\""/Programs/HAL/0.5.9/bin"\" 
-DPACKAGE_LOCALE_DIR=\""/Programs/HAL/0.5.9/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/System/Variable"\" -I../../.. 
-I/Programs/GLib/2.12.11/include/glib-2.0 -I/Programs/GLib/2.12.11/lib/glib-2.0/include 
-I/Programs/DBus-GLib/0.73/include/dbus-1.0 -I/Programs/DBus/1.0.2/include/dbus-1.0 
-I/Programs/DBus/1.0.2/lib/dbus-1.0/include   -I/Programs/DBus/1.0.2/include/dbus-1.0 
-I/Programs/DBus/1.0.2/lib/dbus-1.0/include   -I/Programs/Udev/110/include      -O2 -march=i686 -fomit-frame-pointer -pipe 
-Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT 
linux_dvd_rw_utils.o -MD -MP -MF .deps/linux_dvd_rw_utils.Tpo -c -o linux_dvd_rw_utils.o linux_dvd_rw_utils.c

> Sometimes,
> due to how pkg-config works, only symlinking doesn't work. I have
> successfully built the current recipe both normally and with ChrootCompile.
> 
> What version of Glibc and Linux-Headers do you have?
> 
# ls -l /Programs/Glibc/
total 12
drwxr-xr-x 10 Brother Brother 4096 2006-10-29 13:32 2.4
drwxr-xr-x 10 Brother Brother 4096 2007-02-23 18:06 2.5
lrwxrwxrwx  1 Brother Brother    3 2007-06-11 10:43 Current -> 2.5
drwxr-xr-x  2 Brother Brother 4096 2007-08-31 16:41 Settings

seems to be the latest available.

# ls -l /Programs/Linux-Headers/
total 8
drwxr-xr-x 6 Brother Brother 4096 2006-10-14 20:49 2.6.16.20
drwxr-xr-x 5 Brother Brother 4096 2007-02-23 18:07 2.6.20
lrwxrwxrwx 1 Brother Brother    6 2007-06-24 11:32 Current -> 2.6.20

Also the latest (and the only one still) available

That say, even in 2.6.16.20 in include/scsi/sg.h (where SG_FLAG_LUN_INHIBIT is supposed to be defined) but seems to be 
renamed in 2.6 as SG_FLAG_UNUSED_LUN_INHIBIT for a while (I didn't reach to find when with accuracy).

I will check later about other errors.

Tx again,
	r.


More information about the gobolinux-users mailing list