Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Samba build problem
@ 2009-02-10 13:42 steve at c2root.be
  2009-02-10 13:51 ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: steve at c2root.be @ 2009-02-10 13:42 UTC (permalink / raw)
  To: buildroot

Hi all,

when I try to compile samba within buildroot, it give me an error 1  
and claims it can not find iconv.h. I have seen this file within the  
source of samba.

Any ideas why and how to patch this?

regards
Steve

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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

* [Buildroot] Samba build problem
  2009-02-10 13:42 steve at c2root.be
@ 2009-02-10 13:51 ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2009-02-10 13:51 UTC (permalink / raw)
  To: buildroot

>>>>> "steve" == steve  <steve@c2root.be> writes:

 steve> Hi all,
 steve> when I try to compile samba within buildroot, it give me an error 1
 steve> and claims it can not find iconv.h. I have seen this file within the
 steve> source of samba.

Sounds like a libiconv issue. Please post your .config.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Samba build problem
@ 2011-03-11 19:34 Martin Hicks
  2011-03-11 22:11 ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Hicks @ 2011-03-11 19:34 UTC (permalink / raw)
  To: buildroot

Hi,

When I recently merged the 2011-02 changes into my tree samba started
to fail to compile.  Has anyone else seen this?  I did look into the
git logs and it seems like the LIBTOOL patch and a recent CVE are the
only things that have touched package/samba lately.


checking for __open64... yes
checking for creat64... yes
checking for prctl... yes
configure: error: in
`/home/mort/src/buildroot/output/build/samba-3.3.14/source':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
make: *** [/home/mort/src/buildroot/output/build/samba-3.3.14/.stamp_configured]
Error 1
mort at chinook:~/src/buildroot$


-- 
Martin Hicks P.Eng. ?? ? | ? ? ? ? mort at bork.org
Bork Consulting Inc. ? ? | ? +1 (613) 266-2296

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

* [Buildroot] Samba build problem
  2011-03-11 19:34 [Buildroot] Samba build problem Martin Hicks
@ 2011-03-11 22:11 ` Peter Korsgaard
  2011-03-14 14:14   ` Martin Hicks
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2011-03-11 22:11 UTC (permalink / raw)
  To: buildroot

>>>>> "Martin" == Martin Hicks <mort@bork.org> writes:

 Martin> Hi,

 Martin> When I recently merged the 2011-02 changes into my tree samba
 Martin> started to fail to compile.  Has anyone else seen this?  I did
 Martin> look into the git logs and it seems like the LIBTOOL patch and
 Martin> a recent CVE are the only things that have touched
 Martin> package/samba lately.

I guess you mean post-2011.02 changes, as the CVE 2011 fix was only
added on the 4th - But yes, that's the reason why the build is breaking.

The problem is the patch logic in AUTOTARGET doesn't apply the other
patches when it sees a samba-$VERSION-*.patch file, so the fix is simply
to remove the version number from the patch file name like I have done
in git.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Samba build problem
  2011-03-11 22:11 ` Peter Korsgaard
@ 2011-03-14 14:14   ` Martin Hicks
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Hicks @ 2011-03-14 14:14 UTC (permalink / raw)
  To: buildroot

On Fri, Mar 11, 2011 at 5:11 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Martin" == Martin Hicks <mort@bork.org> writes:
>
> ?Martin> Hi,
>
> ?Martin> When I recently merged the 2011-02 changes into my tree samba
> ?Martin> started to fail to compile. ?Has anyone else seen this? ?I did
> ?Martin> look into the git logs and it seems like the LIBTOOL patch and
> ?Martin> a recent CVE are the only things that have touched
> ?Martin> package/samba lately.
>
> I guess you mean post-2011.02 changes, as the CVE 2011 fix was only
> added on the 4th - But yes, that's the reason why the build is breaking.
>
> The problem is the patch logic in AUTOTARGET doesn't apply the other
> patches when it sees a samba-$VERSION-*.patch file, so the fix is simply
> to remove the version number from the patch file name like I have done
> in git.

Great.  Latest git is fixed.

Thanks,
mh

-- 
Martin Hicks P.Eng. ?? ? | ? ? ? ? mort at bork.org
Bork Consulting Inc. ? ? | ? +1 (613) 266-2296

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

end of thread, other threads:[~2011-03-14 14:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-11 19:34 [Buildroot] Samba build problem Martin Hicks
2011-03-11 22:11 ` Peter Korsgaard
2011-03-14 14:14   ` Martin Hicks
  -- strict thread matches above, loose matches on Subject: below --
2009-02-10 13:42 steve at c2root.be
2009-02-10 13:51 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox