Ticket #199 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

dev-python/python-elementary-20090313 fails to install with Python 2.6

Reported by: arussello Owned by:
Priority: major Milestone: milestone4
Component: target Keywords:
Cc:

Description

Compiling source in /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/dev-python/python-elementary-20090313/work/python-elementary-20090313 ...

/usr/lib64/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning?: BaseException?.message has been deprecated as of Python 2.6

self.message = message

Traceback (most recent call last):

File "setup.py", line 52, in <module>

**pkgconfig('"elementary"'))

File "setup.py", line 37, in pkgconfig

raise ValueError?("could not find pkg-config module: %s" % pkgs)

ValueError?: could not find pkg-config module: "elementary"

Attachments

build.log (3.9 kB) - added by arussello 3 years ago.
buid.log file from failed build
build.2.log (29.4 kB) - added by arussello 3 years ago.
build.log: failure in dbus headers

Change History

Changed 3 years ago by arussello

buid.log file from failed build

follow-up: ↓ 3   Changed 3 years ago by max_posedon

Could you check that:

  1. elementary installed : emerge-armv4tl-softfloat-linux-gnueabi -pv elementary
  2. pkgfile present : ls -la /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/pkgconfig/elementary.pc

  Changed 3 years ago by max_posedon

  1. try install x11-libs/elementary-20090313 to HOST

in reply to: ↑ 1   Changed 3 years ago by arussello

Replying to max_posedon:

Could you check that:

1. elementary installed : emerge-armv4tl-softfloat-linux-gnueabi -pv elementary

2. pkgfile present : ls -la /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/pkgconfig/elementary.pc

3. try install x11-libs/elementary-20090313 to HOST

1. elementary is installed

2. the pkgfile is present

I will test 3 shortly.

  Changed 3 years ago by arussello

At this point, the build gets further, but then fails with:

In file included from /usr/armv4tl-softfloat-linux-gnueabi/usr/include/Elementary.h:101,

from elementary/elementary.c_elementary.c:108:

/usr/armv4tl-softfloat-linux-gnueabi/usr/include/E_DBus.h:10:23: error: dbus/dbus.h: No such file or directory

In checking directory/usr/armv4tl-softfloat-linux-gnueabi/usr/include/, I found the directory dbus-1.0, so I created a symlink to dbus:

cd /usr/armv4tl-softfloat-linux-gnueabi/usr/include/

ln -s dbus-1.0/dbus dbus

Then re-ran the build, but it still failed trying to find the header file:

dbus/dbus-arch-deps.h

Thanks, Anthony

  Changed 3 years ago by max_posedon

  1. never did such symlinking
  2. if you have new error, attach new build.log

  Changed 3 years ago by sleipnir

  • milestone changed from unsorted to milestone4

Changed 3 years ago by arussello

build.log: failure in dbus headers

  Changed 3 years ago by max_posedon

  1. please show /usr/armv4tl-softfloat-linux-gnueabi/usr/lib/pkgconfig/dbus-1.pc
  2. and your dbus cross version

  Changed 3 years ago by arussello

/usr/armv4tl-softfloat-linux-gnueabi/usr/lib/pkgconfig/dbus-1.pc:

prefix=/usr/armv4tl-softfloat-linux-gnueabi/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
system_bus_default_address=unix:path=/var/run/dbus/system_bus_socket
sysconfdir=/etc
session_bus_services_dir=/usr/share/dbus-1/services
daemondir=/usr/bin

Name: dbus
Description: Free desktop message bus
Version: 1.2.12
Libs: -L${libdir} -ldbus-1  
Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include

dbus cross version:

emerge-armv4tl-softfloat-linux-gnueabi -pv dbus

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/dbus-1.2.12 to /usr/armv4tl-softfloat-linux-gnueabi/ USE="X -debug -doc (-selinux) -test" 0 kB [1]

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/openmoko/trunk/openmoko-target

  Changed 3 years ago by max_posedon

try please with python-elementary-20090422

  Changed 3 years ago by arussello

Verified in python-elementary-20090422

  Changed 3 years ago by sleipnir

The error resides from this line of the build.log:

In file included from /usr/armv4tl-softfloat-linux-gnueabi/usr/include/E_DBus.h:10,
24	                 from /usr/armv4tl-softfloat-linux-gnueabi/usr/include/Elementary.h:101,
25	                 from elementary/elementary.c_elementary.c:108:
26	/usr/armv4tl-softfloat-linux-gnueabi/usr/include/dbus/dbus.h:29:33: error: dbus/dbus-arch-deps.h: No such file or directory

Can you please verify that you also see this in the new python-elementary version? If so, can you try to find the file dbus-arch-deps.h and post the path here. A workaround for you then could be to add "-I<path to the file" to CFLAGS.

  Changed 3 years ago by arussello

Hi Sleipnir,

Actually, I'm just not seeing the error message any more with the new build of python-elementary.

I apologize, looking at the last entry I made, I can see how it might have been ambiguous. I meant verified as 'fixed'.

Thanks,

Anthony

  Changed 3 years ago by max_posedon

  • status changed from new to closed
  • resolution set to fixed

arussello, if tasks become fixed for you plz close them (if you are task creator).

Note: See TracTickets for help on using tickets.