Skip to contentSkip to conversation

New: Alsa-utils build fails

Buildroot bugzilla at busybox.net 1 participant 2 messages Aug 14, 2009 – Aug 19, 2009

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=569

Host: i686
Target: i686
Build: x86_64
Summary: Alsa-utils build fails
Product: buildroot
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: fpasch at googlemail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Building alsa-utils for i686 on a x86_64 machine fails while linking alsamixer because the linker uses the wrong ncurses-lib.

I've seen those alsa-utils-1.0.18-acs_map.patch.<ARCH> patches, but for x86 this approach fails...

The problem is, that alsa-configure uses the script ncurses5-config from host to obtain the paths to ncurses-lib.

Perhaps a better workaround than those acs_maps-patches could be to define the correct ncurses5-config:

package/multimedia/alsa-utils/alsa-utils.mk +1 -0
@@ -25,6 +25,7 @@
        (cd $(ALSA_UTILS_DIR); rm -f config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
                $(TARGET_CONFIGURE_ARGS) \
+               ac_cv_prog_ncurses5_config=$(STAGING_DIR)/bin/ncurses5-config \
                CFLAGS="$(TARGET_CFLAGS)" \
                LDFLAGS="$(TARGET_LDFLAGS)" \
                ./configure \

Simon Pasch

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 569] Alsa-utils build fails

https://bugs.busybox.net/show_bug.cgi?id=569

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Thomas Petazzoni <[email protected]> 2009-08-19 22:13:32 UTC --- Thanks. This fix has been added to my 2009.08 branch that will hopefully be
merged into the official Buildroot tree when Peter, Buildroot's maintainer,
will be back from holidays.

See
http://git.buildroot.net/~tpetazzoni/git/buildroot/commit/?h=for-2009.08&id=350b6c6e4b039ae0256e52cd06c6f6d769a1c2b1

Thanks for your contribution!

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.