Modify

Opened 4 years ago

Last modified 4 years ago

#12317 new defect

Problem with build variants and package/install

Reported by: bas@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: Cc:

Description

There is a problem with build variants and i guess it is related to changeset 33631 (https://dev.openwrt.org/changeset/33631). For example, when libncursesw is chosen to be installed, $(STAGING_DIR)/pkginfo/ncurses.install only contains terminfo and libncurses (i.e. one of the variants) and so, libncursesw is not installed.
When i append manually libncursesw to $(STAGING_DIR)/pkginfo/ncurses.install and do make package/install, libncursesw gets installed.

During package install, one of the variants gets into the install list, and packagename.install.clean is created. But, when the second variant kicks in, this information gets removed (see include/package-ipkg.mk, line 90).

The attached patch tries to fix this issue by really collecting all package install lists, and then just making the list unique.

Attachments (1)

package-ipkg.patch (881 bytes) - added by bas@… 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by bas@…

comment:1 Changed 4 years ago by grmpl

I can confirm the bug for the build of target profile: WBMR - Buffalo WBMR-HP-G300H (see ticket #12340).

After applying the patch my firmware build was complete.
Thank you very much for the patch!

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.