Skip to contentSkip to conversation

linux-next: build failure after merge of the backlight tree

DISCUSSION Stephen Rothwell 2 participants 8 messages Feb 26, 2024 – Mar 7, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
8 | #include <linux/leds-expresswire.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

I have used the backlight tree from next-20240223 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 8 lines · On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]>…

After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
8 | #include <linux/leds-expresswire.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

Quoted 5 lines

Caused by commit

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

I have used the backlight tree from next-20240223 for today.

I am still getting this failure.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 11 lines · Stephen Rothwell

Hi all,

Quoted 8 lines · On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]>…

After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
8 | #include <linux/leds-expresswire.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

Quoted 7 lines
Quoted 5 lines

Caused by commit

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

I have used the backlight tree from next-20240223 for today.

I am still getting this failure.

I just pushed a bunch of patches.

Please let me know if this is still an issue tomorrow.

Signature · 1 line
Lee Jones [李琼斯]
#3 lore raw

Hi Lee,

Quoted 12 lines · On Tue, 5 Mar 2024 09:17:37 +0000 Lee Jones <[email protected]> wrote:
Quoted 11 lines · Stephen Rothwell
Quoted 10 lines · On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]>…

After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
8 | #include <linux/leds-expresswire.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

I have used the backlight tree from next-20240223 for today.

I am still getting this failure.

I just pushed a bunch of patches.

I saw only 3 new ones (forgot to push?) none of which addressed this problem.

Quoted 1 line

Please let me know if this is still an issue tomorrow.

The problem is that after Feb 23, you rebased your tree and dropped commit

25ae5f5f4168 ("leds: Introduce ExpressWire library")

which (added the leds-expresswire.h header), but kept commit

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

which uses it.

Signature · 2 lines
Cheers,
Stephen Rothwell
#4 lore raw

Hi Lee,

Quoted 29 lines · On Wed, 6 Mar 2024 09:55:39 +1100 Stephen Rothwell <[email protected]> wrote:
Quoted 12 lines · On Tue, 5 Mar 2024 09:17:37 +0000 Lee Jones <[email protected]> wrote:
Quoted 11 lines · Stephen Rothwell
Quoted 10 lines · On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]>…

After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
8 | #include <linux/leds-expresswire.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

I have used the backlight tree from next-20240223 for today.

I am still getting this failure.

I just pushed a bunch of patches.

I saw only 3 new ones (forgot to push?) none of which addressed this problem.

Quoted 1 line

Please let me know if this is still an issue tomorrow.

The problem is that after Feb 23, you rebased your tree and dropped commit

Quoted 7 lines

25ae5f5f4168 ("leds: Introduce ExpressWire library")

which (added the leds-expresswire.h header), but kept commit

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

which uses it.

Now I see what happened. I have 2 trees from you, the backlight tree
(git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git#for-backlight-next)
and the leds-lj tree
(git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git#for-leds-next)
and the former implicitly depends on the latter (and I merge the backlight tree first). You should make that dependency explicit by merging (part of) the latter into the former (or something).

Signature · 2 lines
Cheers,
Stephen Rothwell
#5 lore raw
Quoted 40 lines · Stephen Rothwell

Hi Lee,

Quoted 29 lines · On Wed, 6 Mar 2024 09:55:39 +1100 Stephen Rothwell <[email protected]> wrote:
Quoted 12 lines · On Tue, 5 Mar 2024 09:17:37 +0000 Lee Jones <[email protected]> wrote:
Quoted 11 lines · Stephen Rothwell
Quoted 10 lines · On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]>…

After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
8 | #include <linux/leds-expresswire.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

I have used the backlight tree from next-20240223 for today.

I am still getting this failure.

I just pushed a bunch of patches.

I saw only 3 new ones (forgot to push?) none of which addressed this problem.

Quoted 1 line

Please let me know if this is still an issue tomorrow.

The problem is that after Feb 23, you rebased your tree and dropped commit

Quoted 7 lines

25ae5f5f4168 ("leds: Introduce ExpressWire library")

which (added the leds-expresswire.h header), but kept commit

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

which uses it.

Quoted 7 lines

Now I see what happened. I have 2 trees from you, the backlight tree
(git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git#for-backlight-next)
and the leds-lj tree
(git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git#for-leds-next)
and the former implicitly depends on the latter (and I merge the backlight tree first). You should make that dependency explicit by merging (part of) the latter into the former (or something).

Right. So you build each tree as its merged?

My assumption was that all things come together in -next?

Signature · 1 line
Lee Jones [李琼斯]
#6 lore raw
Quoted 50 lines · Lee Jones
Quoted 40 lines · Stephen Rothwell

Hi Lee,

Quoted 29 lines · On Wed, 6 Mar 2024 09:55:39 +1100 Stephen Rothwell <[email protected]> wrote:
Quoted 12 lines · On Tue, 5 Mar 2024 09:17:37 +0000 Lee Jones <[email protected]> wrote:
Quoted 11 lines · Stephen Rothwell
Quoted 10 lines · On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]>…

After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
8 | #include <linux/leds-expresswire.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

I have used the backlight tree from next-20240223 for today.

I am still getting this failure.

I just pushed a bunch of patches.

I saw only 3 new ones (forgot to push?) none of which addressed this problem.

Quoted 1 line

Please let me know if this is still an issue tomorrow.

The problem is that after Feb 23, you rebased your tree and dropped commit

Quoted 7 lines

25ae5f5f4168 ("leds: Introduce ExpressWire library")

which (added the leds-expresswire.h header), but kept commit

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

which uses it.

Quoted 7 lines

Now I see what happened. I have 2 trees from you, the backlight tree
(git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git#for-backlight-next)
and the leds-lj tree
(git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git#for-leds-next)
and the former implicitly depends on the latter (and I merge the backlight tree first). You should make that dependency explicit by merging (part of) the latter into the former (or something).

Quoted 3 lines

Right. So you build each tree as its merged?

My assumption was that all things come together in -next?

Okay, all patches are now shared between both branches.

Let me know if there is still an issue.

Signature · 1 line
Lee Jones [李琼斯]
#7 lore raw

Hi Lee,

Quoted 4 lines · On Thu, 7 Mar 2024 09:04:46 +0000 Lee Jones <[email protected]> wrote:
Quoted 1 line · Lee Jones

Right. So you build each tree as its merged?

More or less. I do some batches of merges (since otherwise it just takes way to long).

Quoted 1 line
Quoted 1 line

My assumption was that all things come together in -next?

This is from my daily summary report:

"Between each merge, the tree was built with a ppc64_defconfig for powerpc, an allmodconfig for x86_64, a multi_v7_defconfig for arm and a native build of tools/perf."

Quoted 1 line

Okay, all patches are now shared between both branches.

Thanks.

Quoted 1 line

Let me know if there is still an issue.

Will do.

Signature · 2 lines
Cheers,
Stephen Rothwell