Skip to contentSkip to conversation

dbus-native --with-x

DISCUSSION Phil Blundell 5 participants 26 messages Jun 1, 2011 – Jun 2, 2011

lore
Share & tools
lore
#0 lore raw

Is there any compelling reason why dbus-native needs to be built --with-x? This seems to be causing quite a large stack of native X11 packages to get built with, as far as I can tell, no useful result.

dbus-native itself is pulled in by way of insane.bbclass -> desktop-file-utils-native -> glib-2.0-native, which I guess is reasonable. Though, as a future project, it might be nice to try to curtail the dependency on d-f-u-native if there aren't actually any .desktop files being shipped.

p.

#1 lore raw
Quoted 3 lines · Phil Blundell

Is there any compelling reason why dbus-native needs to be built --with-x? This seems to be causing quite a large stack of native X11 packages to get built with, as far as I can tell, no useful result.

Oh, on the subject of out-of-control dependency chains, my other pet bugbear at the moment is rpm-native:

"rpm-native" -> "bzip2-native"
"rpm-native" -> "db-native"
"rpm-native" -> "perl-native"
"rpm-native" -> "openssl-native"
"rpm-native" -> "expat-native"
"rpm-native" -> "autoconf-native"
"rpm-native" -> "automake-native"
"rpm-native" -> "libtool-native"
"rpm-native" -> "gnu-config-native"
"rpm-native" -> "gettext-native"
"rpm-native" -> "python-native"
"rpm-native" -> "acl-native"
"rpm-native" -> "elfutils-native"
"rpm-native" -> "libpcre-native"
"rpm-native" -> "zlib-native"
"rpm-native" -> "popt-native"
"rpm-native" -> "attr-native"

As far as I can tell, the native rpm is never being used in any way which requires it to have openssl, and I suspect the same is probably true for some of the other libs above. Does anybody happen to know what features rpm-native actually requires for correct operation?

p.

#2 lore raw

Op 1 jun 2011, om 18:03 heeft Phil Blundell het volgende geschreven:

Quoted 26 lines · Phil Blundell
Quoted 3 lines

Is there any compelling reason why dbus-native needs to be built --with-x? This seems to be causing quite a large stack of native X11 packages to get built with, as far as I can tell, no useful result.

Oh, on the subject of out-of-control dependency chains, my other pet bugbear at the moment is rpm-native:

"rpm-native" -> "bzip2-native"
"rpm-native" -> "db-native"
"rpm-native" -> "perl-native"
"rpm-native" -> "openssl-native"
"rpm-native" -> "expat-native"
"rpm-native" -> "autoconf-native"
"rpm-native" -> "automake-native"
"rpm-native" -> "libtool-native"
"rpm-native" -> "gnu-config-native"
"rpm-native" -> "gettext-native"
"rpm-native" -> "python-native"
"rpm-native" -> "acl-native"
"rpm-native" -> "elfutils-native"
"rpm-native" -> "libpcre-native"
"rpm-native" -> "zlib-native"
"rpm-native" -> "popt-native"
"rpm-native" -> "attr-native"

Quoted 4 lines

As far as I can tell, the native rpm is never being used in any way which requires it to have openssl, and I suspect the same is probably true for some of the other libs above. Does anybody happen to know what features rpm-native actually requires for correct operation?

Furthermore, rpm-native seems to get built even if you don't select rpm as package format!

regards,

Koen

#3 lore raw
Quoted 1 line · Koen Kooi

Furthermore, rpm-native seems to get built even if you don't select rpm as package format!

Yeah, it's called in by package.bbclass:

# rpm is used for the per-file dependency identification
PACKAGE_DEPENDS += "rpm-native"

As far as I can tell, the only part that actually gets used is rpmdeps and it does seem like there ought to be a more lightweight way of obtaining that one binary than building a full rpm and all its dependencies.

p.

#24 lore raw
In reply to Phil Blundell

Op 1 jun 2011, om 18:01 heeft Phil Blundell het volgende geschreven:

Quoted 3 lines

Is there any compelling reason why dbus-native needs to be built --with-x? This seems to be causing quite a large stack of native X11 packages to get built with, as far as I can tell, no useful result.

I agree, for -native --with-x is overkill

regards,

Koen

#25 lore raw
Quoted 7 lines · Koen Kooi

Op 1 jun 2011, om 18:01 heeft Phil Blundell het volgende geschreven:

Quoted 3 lines

Is there any compelling reason why dbus-native needs to be built --with-x? This seems to be causing quite a large stack of native X11 packages to get built with, as far as I can tell, no useful result.

I agree, for -native --with-x is overkill

Actually, it turns out that dbus.inc already has:

EXTRA_OECONF_X = "--with-x"
EXTRA_OECONF_X_virtclass-native = "--without-x"

... it's just that it doesn't have any similar code to squash the dependency on virtual/libx11 in the native case, so you end up building the x libs anyway. Doh.

Knocking that dependency out has reduced the task count for micro-base-image from 938 to 748, which seems like a worthwhile saving. I'll send a patch later once I've verified that the image build does actually succeed with that change.

p.

#4 lore raw
In reply to Phil Blundell
Quoted 5 lines · Phil Blundell
Quoted 1 line · Koen Kooi

Furthermore, rpm-native seems to get built even if you don't select rpm as package format!

Yeah, it's called in by package.bbclass:

Quoted 7 lines
# rpm is used for the per-file dependency identification
PACKAGE_DEPENDS += "rpm-native"

As far as I can tell, the only part that actually gets used is rpmdeps and it does seem like there ought to be a more lightweight way of obtaining that one binary than building a full rpm and all its dependencies.

As you mentioned rpm-native is being used for two reasons. 1 if rpm target package are selected, it's being used to build, manage and install (rootfs) the packages.

The other place, where it's always used, is the rpmdeps calculations.

Quoted 1 line

"rpm-native" -> "bzip2-native"

Above is used as RPM needs bzip2 to compress components that end up in packages.

Quoted 1 line

"rpm-native" -> "db-native"

Back-end DB is well, Berkley DB.

Quoted 1 line

"rpm-native" -> "perl-native"

Perl could be disabled if we don't need the perl interfaces to RPM.

Quoted 1 line

"rpm-native" -> "openssl-native"

OpenSSL is used for signing if I remember correctly.

Quoted 1 line

"rpm-native" -> "expat-native"

expat is needed for some XML parsing. (Currently only internally to RPM, but eventually it's thought this will be used for other purposes.)

Quoted 5 lines

"rpm-native" -> "autoconf-native"
"rpm-native" -> "automake-native"
"rpm-native" -> "libtool-native"
"rpm-native" -> "gnu-config-native"
"rpm-native" -> "gettext-native"

Above are needed because of configure...

Quoted 1 line

"rpm-native" -> "python-native"

If we disable python interfaces to RPM, then this can be disabled.

Quoted 1 line

"rpm-native" -> "acl-native"

ACL's are needed for some filesystem access on rootfs generation.

Quoted 1 line

"rpm-native" -> "elfutils-native"

elfutils is used for rpmdeps, among other things.

Quoted 1 line

"rpm-native" -> "libpcre-native"

this is needed for package installation and creation... it's the pattern recognition.

Quoted 1 line

"rpm-native" -> "zlib-native"

zlib is needed, similarly to bzip2, in order to compress/extract specific items that may end up in a package.

Quoted 1 line

"rpm-native" -> "popt-native"

popt is the command line argument processing used globally within RPM and it's sub commands.

Quoted 1 line

"rpm-native" -> "attr-native"

attr is needed similar to the acl stuff, when constructing rootfs components.

--

So in the above, perl and python are really the only items that could be disabled.

--Mark

Quoted 8 lines

p.

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#5 lore raw
Quoted 1 line · Mark Hatle

So in the above, perl and python are really the only items that could be disabled.

Just to be clear, in the list you mentioned, were you talking about the usage of rpm-native for rpmdeps, or the usage by package_rpm.bbclass itself?

If we can avoid building perl-native and python-native then that certainly sounds like a win on its own, though :-)

p.

#6 lore raw
Quoted 6 lines · Phil Blundell
Quoted 1 line · Mark Hatle

So in the above, perl and python are really the only items that could be disabled.

Just to be clear, in the list you mentioned, were you talking about the usage of rpm-native for rpmdeps, or the usage by package_rpm.bbclass itself?

I was talking about rpm-native recipe in general, and how it's used.

rpmdeps requires a good chunk of the rpm infrastructure (even if we don't end up using rpmbuild or rpm commands during the build..)

Quoted 2 lines

If we can avoid building perl-native and python-native then that certainly sounds like a win on its own, though :-)

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

--Mark

Quoted 8 lines

p.

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#7 lore raw
Quoted 4 lines · Mark Hatle
Quoted 3 lines · Phil Blundell
Quoted 1 line · Mark Hatle

So in the above, perl and python are really the only items that could be disabled.

Quoted 8 lines
Quoted 3 lines

Just to be clear, in the list you mentioned, were you talking about the usage of rpm-native for rpmdeps, or the usage by package_rpm.bbclass itself?

I was talking about rpm-native recipe in general, and how it's used.

rpmdeps requires a good chunk of the rpm infrastructure (even if we don't end up using rpmbuild or rpm commands during the build..)

Do you happen to have a list of what exactly rpmdeps does require? Based on the descriptions you gave before, I'm guessing that it probably doesn't need openssl (since, afaik, it doesn't do any signing) or pcre (since it isn't building any packages) or acl, attr, bzip and zlib (since it also isn't installing anything).

It presumably does still need pcre, and I have no idea whether it needs db or expat.

Quoted 2 lines

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

Righto. I'll give that a try later and see what happens.

p.

#8 lore raw

rpmdeps, was Re: dbus-native --with-x

Quoted 11 lines · Phil Blundell
Quoted 10 lines · Mark Hatle
Quoted 6 lines · Phil Blundell
Quoted 1 line · Mark Hatle

So in the above, perl and python are really the only items that could be disabled.

Just to be clear, in the list you mentioned, were you talking about the usage of rpm-native for rpmdeps, or the usage by package_rpm.bbclass itself?

I was talking about rpm-native recipe in general, and how it's used.

Quoted 8 lines
Quoted 2 lines

rpmdeps requires a good chunk of the rpm infrastructure (even if we don't end up using rpmbuild or rpm commands during the build..)

Do you happen to have a list of what exactly rpmdeps does require? Based on the descriptions you gave before, I'm guessing that it probably doesn't need openssl (since, afaik, it doesn't do any signing) or pcre (since it isn't building any packages) or acl, attr, bzip and zlib (since it also isn't installing anything).

rpmdeps uses, according to ldd:

        linux-vdso.so.1
        librpm-5.4.so
        librpmdb-5.4.so
        librpmio-5.4.so
        librpmmisc-5.4.so
        libm.so.6
        libdl.so.2
        libacl.so.1
        libattr.so.1
        libpcreposix.so.0
        libdb-5.1.so
        libmagic.so.1
        liblzma.so.5
        libbz2.so.0
        libz.so.1
        libpthread.so.0
        librt.so.1
        libelf.so.1
        libpopt.so.0
        libssl.so.0.9.8
        libcrypto.so.0.9.8
        libpcre.so.0
        libc.so.6
        libgcc_s.so.1
        /lib64/ld-linux-x86-64.so.2 (0x0000003c51800000)

The issue is that it uses the librpm, librpmdb, librpmio, and librpmmisc libraries. These libraries provide and use all of the rest of the components.

Quoted 2 lines

It presumably does still need pcre, and I have no idea whether it needs db or expat.

pcre is used to handle the file lists and any patterns to generate the lists, or dependent informtion. So that is needed. expat may be needed in the future, I don't see that it is today.

Quoted 8 lines
Quoted 2 lines

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

Righto. I'll give that a try later and see what happens.

p.

#9 lore raw

Re: rpmdeps, was Re: dbus-native --with-x

Op 1 jun 2011, om 20:55 heeft Mark Hatle het volgende geschreven:

Quoted 49 lines · Phil Blundell
Quoted 11 lines · Mark Hatle
Quoted 10 lines · Phil Blundell
Quoted 6 lines · Mark Hatle
Quoted 1 line

So in the above, perl and python are really the only items that could be disabled.

Just to be clear, in the list you mentioned, were you talking about the usage of rpm-native for rpmdeps, or the usage by package_rpm.bbclass itself?

I was talking about rpm-native recipe in general, and how it's used.

Quoted 8 lines
Quoted 2 lines

rpmdeps requires a good chunk of the rpm infrastructure (even if we don't end up using rpmbuild or rpm commands during the build..)

Do you happen to have a list of what exactly rpmdeps does require? Based on the descriptions you gave before, I'm guessing that it probably doesn't need openssl (since, afaik, it doesn't do any signing) or pcre (since it isn't building any packages) or acl, attr, bzip and zlib (since it also isn't installing anything).

rpmdeps uses, according to ldd:

       linux-vdso.so.1
       librpm-5.4.so
       librpmdb-5.4.so
       librpmio-5.4.so
       librpmmisc-5.4.so
       libm.so.6
       libdl.so.2
       libacl.so.1
       libattr.so.1
       libpcreposix.so.0
       libdb-5.1.so
       libmagic.so.1
       liblzma.so.5
       libbz2.so.0
       libz.so.1
       libpthread.so.0
       librt.so.1
       libelf.so.1
       libpopt.so.0
       libssl.so.0.9.8
       libcrypto.so.0.9.8
       libpcre.so.0
       libc.so.6
       libgcc_s.so.1
       /lib64/ld-linux-x86-64.so.2 (0x0000003c51800000)
Quoted 2 lines

The issue is that it uses the librpm, librpmdb, librpmio, and librpmmisc libraries. These libraries provide and use all of the rest of the components.

What is rpmdeps actually used for in package.bbclass when you're not using rpm as package format?

regards,

Koen

#11 lore raw

Re: rpmdeps, was Re: dbus-native --with-x

In reply to Mark Hatle
Quoted 2 lines · Mark Hatle

The issue is that it uses the librpm, librpmdb, librpmio, and librpmmisc libraries. These libraries provide and use all of the rest of the components.

Right, but would rpmdeps still be able to do what it needs to if rpm was built --without-openssl etc? The output from ldd isn't especially enlightening in itself because all that tells us is which libraries librpm was built against.

p.

#14 lore raw
In reply to Mark Hatle
Quoted 2 lines · Mark Hatle

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

Turns out that rpm-native already does this, but (like the dbus case) there is no matching logic to get the DEPENDS right.

Another instance of a similar thing appears to be sqlite3-native, which DEPENDS on tcl-native even though it's configured --without-tcl.

p.

#10 lore raw

Re: rpmdeps, was Re: dbus-native --with-x

In reply to Koen Kooi
Quoted 52 lines · Koen Kooi

Op 1 jun 2011, om 20:55 heeft Mark Hatle het volgende geschreven:

Quoted 49 lines · Phil Blundell
Quoted 11 lines · Mark Hatle
Quoted 10 lines · Phil Blundell
Quoted 6 lines · Mark Hatle
Quoted 1 line

So in the above, perl and python are really the only items that could be disabled.

Just to be clear, in the list you mentioned, were you talking about the usage of rpm-native for rpmdeps, or the usage by package_rpm.bbclass itself?

I was talking about rpm-native recipe in general, and how it's used.

Quoted 8 lines
Quoted 2 lines

rpmdeps requires a good chunk of the rpm infrastructure (even if we don't end up using rpmbuild or rpm commands during the build..)

Do you happen to have a list of what exactly rpmdeps does require? Based on the descriptions you gave before, I'm guessing that it probably doesn't need openssl (since, afaik, it doesn't do any signing) or pcre (since it isn't building any packages) or acl, attr, bzip and zlib (since it also isn't installing anything).

rpmdeps uses, according to ldd:

       linux-vdso.so.1
       librpm-5.4.so
       librpmdb-5.4.so
       librpmio-5.4.so
       librpmmisc-5.4.so
       libm.so.6
       libdl.so.2
       libacl.so.1
       libattr.so.1
       libpcreposix.so.0
       libdb-5.1.so
       libmagic.so.1
       liblzma.so.5
       libbz2.so.0
       libz.so.1
       libpthread.so.0
       librt.so.1
       libelf.so.1
       libpopt.so.0
       libssl.so.0.9.8
       libcrypto.so.0.9.8
       libpcre.so.0
       libc.so.6
       libgcc_s.so.1
       /lib64/ld-linux-x86-64.so.2 (0x0000003c51800000)
Quoted 5 lines
Quoted 2 lines

The issue is that it uses the librpm, librpmdb, librpmio, and librpmmisc libraries. These libraries provide and use all of the rest of the components.

What is rpmdeps actually used for in package.bbclass when you're not using rpm as package format?

In package.bbclass:

package_do_filedeps is where rpmdeps is used.

This captures file dependencies on a per-file basis. The dependencies captured include interpreter information as well as ELF sonames and related.

There are/were a number of small dependencies that were being missed in the past, this is a complete set of dependencies which are captured (again on a per-file basis).

The reason we capture on a per-file is so that additional tooling can be developed to allow people to view, understand and modify the rootfs images they are working on. One of the things people like to do is understand why perl or python is being included on a small filesystem... the per-file dependencies can be used to "see" this, and also allow people to skip specific files and thus affect the dependencies within their system. (Note, this tool does not yet exist! But I expect that it will at some point.)

(There are three places you can typically affect the dependencies of the end device. During recipe creation (i.e. manual RDEPENDS), during source configuration, and during binary package creation... this gives us the ability to hook in and modify the package creation -- or re-create the packages based on new criteria.)

(BTW besides the rpmdeps, rpm components are also used in the split_and_strip_files function... but this is really just debugedit)

--Mark

Quoted 7 lines

regards,

Koen
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#12 lore raw

Re: rpmdeps, was Re: dbus-native --with-x

In reply to Phil Blundell
Quoted 4 lines · Phil Blundell
Quoted 2 lines · Mark Hatle

The issue is that it uses the librpm, librpmdb, librpmio, and librpmmisc libraries. These libraries provide and use all of the rest of the components.

Quoted 8 lines

Right, but would rpmdeps still be able to do what it needs to if rpm was built --without-openssl etc? The output from ldd isn't especially enlightening in itself because all that tells us is which libraries librpm was built against.

p.

I'm not sure if the libraries that RPM uses would even be able to link w/o openssl. (I never tried it.) But that will affect people who are using RPM packages as signing and validation routines come from openssl.

--Mark

#15 lore raw
In reply to Phil Blundell
Quoted 9 lines · Phil Blundell
Quoted 2 lines · Mark Hatle

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

Turns out that rpm-native already does this, but (like the dbus case) there is no matching logic to get the DEPENDS right.

Another instance of a similar thing appears to be sqlite3-native, which DEPENDS on tcl-native even though it's configured --without-tcl.

Since this keeps coming up, maybe it needs a comment. sqlite3 needs tcl-native (tclsh) to generate a header file. No tclsh, no sqlite3.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#16 lore raw
Quoted 5 lines · Tom Rini
Quoted 4 lines · Phil Blundell
Quoted 2 lines · Mark Hatle

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

Quoted 8 lines
Quoted 5 lines

Turns out that rpm-native already does this, but (like the dbus case) there is no matching logic to get the DEPENDS right.

Another instance of a similar thing appears to be sqlite3-native, which DEPENDS on tcl-native even though it's configured --without-tcl.

Since this keeps coming up, maybe it needs a comment. sqlite3 needs tcl-native (tclsh) to generate a header file. No tclsh, no sqlite3.

I thought that is diffrent with 3.7.x version of sqlite3.

Bye Henning

#17 lore raw
Quoted 9 lines · Henning Heinold
Quoted 8 lines · Tom Rini
Quoted 7 lines · Phil Blundell
Quoted 2 lines · Mark Hatle

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

Turns out that rpm-native already does this, but (like the dbus case) there is no matching logic to get the DEPENDS right.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Another instance of a similar thing appears to be sqlite3-native, which DEPENDS on tcl-native even though it's configured --without-tcl.

Since this keeps coming up, maybe it needs a comment. sqlite3 needs tcl-native (tclsh) to generate a header file. No tclsh, no sqlite3.

I thought that is diffrent with 3.7.x version of sqlite3.

Nope. That's what I checked this against. In oe.dev a2c3af2d608b1b713018d688b00e03873a538993 is where we set all of this right.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#18 lore raw
Quoted 13 lines · Tom Rini
Quoted 12 lines · Henning Heinold
Quoted 11 lines · Tom Rini
Quoted 9 lines · Phil Blundell
Quoted 2 lines · Mark Hatle

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

Turns out that rpm-native already does this, but (like the dbus case) there is no matching logic to get the DEPENDS right.

Another instance of a similar thing appears to be sqlite3-native, which DEPENDS on tcl-native even though it's configured --without-tcl.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Since this keeps coming up, maybe it needs a comment. sqlite3 needs tcl-native (tclsh) to generate a header file. No tclsh, no sqlite3.

I thought that is diffrent with 3.7.x version of sqlite3.

Nope. That's what I checked this against. In oe.dev a2c3af2d608b1b713018d688b00e03873a538993 is where we set all of this right.

Someone needs to go in and document the recipe. It's clear there is confusion and a quick comment in the recipe can likely stop future discussion.

--Mark

#23 lore raw
In reply to Tom Rini
Quoted 2 lines · Tom Rini

Since this keeps coming up, maybe it needs a comment. sqlite3 needs tcl-native (tclsh) to generate a header file. No tclsh, no sqlite3.

Oh yeah, right.

Maybe we should just patch sqlite to generate the header using something else. There's no real heavy lifting going on in that script and it could easily be done in python for example.

If sqlite is a requirement for pseudo, and hence an unavoidable dep for every build, it seems worth going to a bit of effort to avoid building stuff like tcl if that's avoidable.

p.

#19 lore raw
In reply to Tom Rini
Quoted 13 lines · Tom Rini
Quoted 12 lines · Henning Heinold
Quoted 11 lines · Tom Rini
Quoted 9 lines · Phil Blundell
Quoted 2 lines · Mark Hatle

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

Turns out that rpm-native already does this, but (like the dbus case) there is no matching logic to get the DEPENDS right.

Another instance of a similar thing appears to be sqlite3-native, which DEPENDS on tcl-native even though it's configured --without-tcl.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Since this keeps coming up, maybe it needs a comment. sqlite3 needs tcl-native (tclsh) to generate a header file. No tclsh, no sqlite3.

I thought that is diffrent with 3.7.x version of sqlite3.

Nope. That's what I checked this against. In oe.dev a2c3af2d608b1b713018d688b00e03873a538993 is where we set all of this right.

Actually, it looks to me like Henning is right. In 3.7.6.2, which seems to be what we have in oe-core right now, I can't find any trace of the old tcl script that was being used for header generation. Which file(s) did you find the tcl requirement in?

p.

#13 lore raw

Re: rpmdeps, was Re: dbus-native --with-x

In reply to Mark Hatle
Quoted 3 lines · Mark Hatle

I'm not sure if the libraries that RPM uses would even be able to link w/o openssl. (I never tried it.) But that will affect people who are using RPM packages as signing and validation routines come from openssl.

Sure, but if rpmdeps doesn't need those bits then we could have two
recipes: a heavy one for those people who want rpm packages, and a lighter one for those who need rpmdeps to make package.bbclass work but don't otherwise have any requirement for rpm.

p.

#20 lore raw
In reply to Phil Blundell
Quoted 19 lines · Phil Blundell
Quoted 18 lines · Tom Rini
Quoted 16 lines · Henning Heinold
Quoted 5 lines · Tom Rini
Quoted 4 lines · Phil Blundell
Quoted 2 lines · Mark Hatle

It "should" be as simple and adding --without-perl and --without-python to the configuration line... but I haven't tried it.

Quoted 8 lines
Quoted 5 lines

Turns out that rpm-native already does this, but (like the dbus case) there is no matching logic to get the DEPENDS right.

Another instance of a similar thing appears to be sqlite3-native, which DEPENDS on tcl-native even though it's configured --without-tcl.

Since this keeps coming up, maybe it needs a comment. sqlite3 needs tcl-native (tclsh) to generate a header file. No tclsh, no sqlite3.

I thought that is diffrent with 3.7.x version of sqlite3.

Quoted 7 lines
Quoted 2 lines

Nope. That's what I checked this against. In oe.dev a2c3af2d608b1b713018d688b00e03873a538993 is where we set all of this right.

Actually, it looks to me like Henning is right. In 3.7.6.2, which seems to be what we have in oe-core right now, I can't find any trace of the old tcl script that was being used for header generation. Which file(s) did you find the tcl requirement in?

I guess I've just gone crazy (or crazier if you prefer) and I can't find it anymore in 3.7.x.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#21 lore raw
Quoted 2 lines · Tom Rini

I guess I've just gone crazy (or crazier if you prefer) and I can't find it anymore in 3.7.x.

Okay. So do we think the tcl dependency can be dropped?

p.

#22 lore raw
Quoted 5 lines · Phil Blundell
Quoted 2 lines · Tom Rini

I guess I've just gone crazy (or crazier if you prefer) and I can't find it anymore in 3.7.x.

Okay. So do we think the tcl dependency can be dropped?

Yes.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation