All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects
@ 2015-04-22 11:18 bugzilla at busybox.net
  2015-04-22 20:07 ` [Buildroot] [Bug 8036] " bugzilla at busybox.net
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-04-22 11:18 UTC (permalink / raw)
  To: buildroot

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

           Summary: alsa-lib headers problem that prevents to compile alsa
                    dependent projects
           Product: buildroot
           Version: 2015.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: jrmcorreo-linux at yahoo.es
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 6006
  --> https://bugs.busybox.net/attachment.cgi?id=6006
alsa-utils compilation errors

Hello,

I've built with success a kernel 3.15.4 and busybox for ARM 920t (S3C24XX),
that worked fine for my Micro2440 SDK board, and now I'm trying to build
openjdk-jdk9-b36 into the 2015.02 buildroot version using the patches provided
by Xerxes Ranby at his Rpi buildroot's version:
https://github.com/xranby/rpi-buildroot

I've found that there are several unknown types, related to alsa-lib
dependencies, that appear in different source files from openjdk. But they are
present on header files that aren't copied to the sysroot in the output of
buildroot.

In order to determine if the problem is related only to openjdk compilation,
I've tried to compile alsa-utils getting as a result the same kind of errors.
Then I searched for alsa-lib previous bugs, without finding any related to this
kind of error, before opening this one.

I attach the errors obtained during compilation of alsa-utils. Some words are
in spanish, but I think is so clear for anybody to understand the error
reasons.

I expect that fixing this problem with alsa headers it will be possible to
compile alsa-lib dependent code without errors due to this library dependency.


Thank You and Best Regards

Juan

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
@ 2015-04-22 20:07 ` bugzilla at busybox.net
  2015-05-06 10:51 ` bugzilla at busybox.net
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-04-22 20:07 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Arnout Vandecappelle <arnout@mind.be> 2015-04-22 20:07:24 UTC ---
Can you post the defconfig you use, so we can try to reproduce it?

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
  2015-04-22 20:07 ` [Buildroot] [Bug 8036] " bugzilla at busybox.net
@ 2015-05-06 10:51 ` bugzilla at busybox.net
  2015-05-06 10:57 ` bugzilla at busybox.net
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-05-06 10:51 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Juan <jrmcorreo-linux@yahoo.es> 2015-05-06 10:51:53 UTC ---
I'm sorry for the delay as other matters nedded my attention. I'll attach
defconfig file from kernel and alsa-lib.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
  2015-04-22 20:07 ` [Buildroot] [Bug 8036] " bugzilla at busybox.net
  2015-05-06 10:51 ` bugzilla at busybox.net
@ 2015-05-06 10:57 ` bugzilla at busybox.net
  2015-05-06 10:59 ` bugzilla at busybox.net
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-05-06 10:57 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Juan <jrmcorreo-linux@yahoo.es> 2015-05-06 10:57:24 UTC ---
Created attachment 6026
  --> https://bugs.busybox.net/attachment.cgi?id=6026
alsa-lib config log

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2015-05-06 10:57 ` bugzilla at busybox.net
@ 2015-05-06 10:59 ` bugzilla at busybox.net
  2015-05-06 14:54 ` bugzilla at busybox.net
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-05-06 10:59 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from Juan <jrmcorreo-linux@yahoo.es> 2015-05-06 10:59:22 UTC ---
Created attachment 6031
  --> https://bugs.busybox.net/attachment.cgi?id=6031
kernel config

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2015-05-06 10:59 ` bugzilla at busybox.net
@ 2015-05-06 14:54 ` bugzilla at busybox.net
  2015-05-06 14:58 ` bugzilla at busybox.net
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-05-06 14:54 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from Juan <jrmcorreo-linux@yahoo.es> 2015-05-06 14:54:33 UTC ---
I attach buildroot config too.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2015-05-06 14:54 ` bugzilla at busybox.net
@ 2015-05-06 14:58 ` bugzilla at busybox.net
  2015-06-03 15:18 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-05-06 14:58 UTC (permalink / raw)
  To: buildroot

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

--- Comment #6 from Juan <jrmcorreo-linux@yahoo.es> 2015-05-06 14:58:26 UTC ---
Created attachment 6036
  --> https://bugs.busybox.net/attachment.cgi?id=6036
buildroot config

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2015-05-06 14:58 ` bugzilla at busybox.net
@ 2015-06-03 15:18 ` bugzilla at busybox.net
  2015-06-03 16:43 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-06-03 15:18 UTC (permalink / raw)
  To: buildroot

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

--- Comment #7 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-06-03 15:18:08 UTC ---
The Buildroot .config you provided does not have alsa-utils enabled, so it is
not possible that you got this error.

Also, can you confirm that you get the error after a full "make clean all"
cycle?

I've just tried building the following defconfig, which includes the amidi
alsa-utils, and it builds fine:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2015.02.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_ALSA_UTILS=y
# BR2_PACKAGE_ALSA_UTILS_ALSACTL is not set
# BR2_PACKAGE_ALSA_UTILS_ALSAMIXER is not set
BR2_PACKAGE_ALSA_UTILS_AMIDI=y
# BR2_TARGET_ROOTFS_TAR is not set

Can you give more details?

Also, please reproduce with the official Buildroot, without any patches. We
cannot debug modified versions of Buildroot for which we don't have the source
code.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2015-06-03 15:18 ` bugzilla at busybox.net
@ 2015-06-03 16:43 ` bugzilla at busybox.net
  2015-06-05  7:52 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-06-03 16:43 UTC (permalink / raw)
  To: buildroot

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

--- Comment #8 from Juan <jrmcorreo-linux@yahoo.es> 2015-06-03 16:43:35 UTC ---
Hi Thomas, First of all thank you for your help.

About the alsa-utils option, forgive me if it wasn't unchecked but I've copied
the config several days after my post and I'm not able to remember now when it
was modified for last time, I'll check and try to recompile again after a "make
clean all".

About openjdk and patches, I've included the openjdk package following the
usual way (and the manual) to the official buildroot distribution, and the
patches are applied only if openjdk is compiled.

As I said, I'll try again and will post here the result as soon as possible.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2015-06-03 16:43 ` bugzilla at busybox.net
@ 2015-06-05  7:52 ` bugzilla at busybox.net
  2015-06-05  7:59 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-06-05  7:52 UTC (permalink / raw)
  To: buildroot

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

--- Comment #9 from Juan <jrmcorreo-linux@yahoo.es> 2015-06-05 07:52:54 UTC ---
Hi Thomas,

Yesterday I've made a rebuild with success after a "make clean". First I built
alsa-lib and alsa-utils, then openjdk with success too (but with an
installation error after compiling that I'll try to solve shortly in time).

I attach the right buildrooot and kernel configs here. When the installation
problem of openjdk could be solved, and the binaries tested, if possible in two
different ARM SoC (ARM920t and Cortex A7), I'll send/post the patches and
makefile to the contrib address/URL.

Thank you for your help

Juan

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (8 preceding siblings ...)
  2015-06-05  7:52 ` bugzilla at busybox.net
@ 2015-06-05  7:59 ` bugzilla at busybox.net
  2015-06-05  8:00 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-06-05  7:59 UTC (permalink / raw)
  To: buildroot

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

Juan <jrmcorreo-linux@yahoo.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6036|0                           |1
        is obsolete|                            |

--- Comment #10 from Juan <jrmcorreo-linux@yahoo.es> 2015-06-05 07:59:01 UTC ---
Created attachment 6051
  --> https://bugs.busybox.net/attachment.cgi?id=6051
config for S3C2440 (ARM920t) with ALSA

Correct configuration.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (9 preceding siblings ...)
  2015-06-05  7:59 ` bugzilla at busybox.net
@ 2015-06-05  8:00 ` bugzilla at busybox.net
  2015-06-05 14:21 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-06-05  8:00 UTC (permalink / raw)
  To: buildroot

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

Juan <jrmcorreo-linux@yahoo.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6031|0                           |1
        is obsolete|                            |

--- Comment #11 from Juan <jrmcorreo-linux@yahoo.es> 2015-06-05 08:00:19 UTC ---
Created attachment 6056
  --> https://bugs.busybox.net/attachment.cgi?id=6056
kernel config for S3C2440 (ARM920t) with ALSA

Correct configuration.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (10 preceding siblings ...)
  2015-06-05  8:00 ` bugzilla at busybox.net
@ 2015-06-05 14:21 ` bugzilla at busybox.net
  2015-06-05 16:16 ` bugzilla at busybox.net
  2015-07-30 10:11 ` bugzilla at busybox.net
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-06-05 14:21 UTC (permalink / raw)
  To: buildroot

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

--- Comment #12 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-06-05 14:21:28 UTC ---
The Buildroot configuration you provided builds just fine (I've only disabled
the kernel, but it's irrelevant to the alsa-utils problem). And you also say
that you managed to build alsa-utils successfully.

So: what is the bug ?

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (11 preceding siblings ...)
  2015-06-05 14:21 ` bugzilla at busybox.net
@ 2015-06-05 16:16 ` bugzilla at busybox.net
  2015-07-30 10:11 ` bugzilla at busybox.net
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-06-05 16:16 UTC (permalink / raw)
  To: buildroot

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

--- Comment #13 from Juan <jrmcorreo-linux@yahoo.es> 2015-06-05 16:16:56 UTC ---
As you said, at last it worked fine. I can only say that now it works and
before not. I think the problem was related about make clean command, that
didn't cleaned properly the compile environment.

The first time I compiled alsa was in order to compile openjdk, and I've
applied both at once. This time I've compiled first buildroot with alsa, then I
added openjdk after.

Sincerely, I thought that it was a bug because after applying a make clean
command and try to compile only alsa didn't worked fine, but finally it
worked... and worked without removing competely the buildroot environment I'm
using since the begining.

If you can't reproduce it and don't consider it as a bug, then is not a bug and
probably was caused after introducing a new package not in the
official/mainstream release.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [Bug 8036] alsa-lib headers problem that prevents to compile alsa dependent projects
  2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
                   ` (12 preceding siblings ...)
  2015-06-05 16:16 ` bugzilla at busybox.net
@ 2015-07-30 10:11 ` bugzilla at busybox.net
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla at busybox.net @ 2015-07-30 10:11 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #14 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-07-30 10:11:05 UTC ---
Problem no longer reproducible. Might have been caused by a lack of a full
rebuild (i.e "make clean all").

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-07-30 10:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 11:18 [Buildroot] [Bug 8036] New: alsa-lib headers problem that prevents to compile alsa dependent projects bugzilla at busybox.net
2015-04-22 20:07 ` [Buildroot] [Bug 8036] " bugzilla at busybox.net
2015-05-06 10:51 ` bugzilla at busybox.net
2015-05-06 10:57 ` bugzilla at busybox.net
2015-05-06 10:59 ` bugzilla at busybox.net
2015-05-06 14:54 ` bugzilla at busybox.net
2015-05-06 14:58 ` bugzilla at busybox.net
2015-06-03 15:18 ` bugzilla at busybox.net
2015-06-03 16:43 ` bugzilla at busybox.net
2015-06-05  7:52 ` bugzilla at busybox.net
2015-06-05  7:59 ` bugzilla at busybox.net
2015-06-05  8:00 ` bugzilla at busybox.net
2015-06-05 14:21 ` bugzilla at busybox.net
2015-06-05 16:16 ` bugzilla at busybox.net
2015-07-30 10:11 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.