* [Buildroot] WiringPi - problem adding package to my buildroot
@ 2015-11-24 18:17 astrolite .
2015-11-24 19:40 ` Peter Seiderer
2015-11-24 19:45 ` Peter Seiderer
0 siblings, 2 replies; 7+ messages in thread
From: astrolite . @ 2015-11-24 18:17 UTC (permalink / raw)
To: buildroot
Hi all,
After sucessfully added pigpio package to buildroot, i'm tried to add
wiringPi package.
But i've a problem that not understand..
These are my files :
Config.in
config BR2_PACKAGE_WIRINGPI
bool "wiringPi"
help
wiringPi libraries
wiringPi.mk
WIRINGPI_VERSION = 488e3729e44721b79ba655429f453f7396157c22
WIRINGPI_INSTALL_TARGET = YES
WIRINGPI_INSTALL_STAGING = YES
WIRINGPI_AUTORECONF = YES
WIRINGPI_SITE = $(call github,ciclonite,pigpio,$(LIBPIGPIO_VERSION))
when i launch make :
make
/usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++"
silentoldconfig
make[1]: Entering directory
`/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05'
BR2_DEFCONFIG=''
KCONFIG_AUTOCONFIG=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/auto.conf
KCONFIG_AUTOHEADER=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/autoconf.h
KCONFIG_TRISTATE=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/tristate.config
BR2_CONFIG=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/.config
BR2_EXTERNAL=support/dummy-external SKIP_LEGACY=
/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/conf
--silentoldconfig Config.in
make[1]: Leaving directory
`/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05'
>>> host-gawk 4.1.2 Patching
Applying 0001-no-versioned.patch using patch:
patching file Makefile.in
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Makefile.in.rej
Patch failed! Please fix 0001-no-versioned.patch!
make: ***
[/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/host-gawk-4.1.2/.stamp_patched]
Error 1
Someone can help me to find out the problem?
Thanks,
Giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151124/b4b92be0/attachment.html>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] WiringPi - problem adding package to my buildroot
2015-11-24 18:17 [Buildroot] WiringPi - problem adding package to my buildroot astrolite .
@ 2015-11-24 19:40 ` Peter Seiderer
2015-11-25 15:30 ` astrolite .
2015-11-24 19:45 ` Peter Seiderer
1 sibling, 1 reply; 7+ messages in thread
From: Peter Seiderer @ 2015-11-24 19:40 UTC (permalink / raw)
To: buildroot
Hello Giovanni,
On Tue, 24 Nov 2015 19:17:43 +0100, "astrolite ." <ciclonite@gmail.com> wrote:
> Hi all,
> After sucessfully added pigpio package to buildroot, i'm tried to add
> wiringPi package.
> But i've a problem that not understand..
>
> These are my files :
> Config.in
>
> config BR2_PAGiovanniCKAGE_WIRINGPI
> bool "wiringPi"
> help
> wiringPi libraries
>
> wiringPi.mk
>
> WIRINGPI_VERSION = 488e3729e44721b79ba655429f453f7396157c22
> WIRINGPI_INSTALL_TARGET = YES
> WIRINGPI_INSTALL_STAGING = YES
> WIRINGPI_AUTORECONF = YES
> WIRINGPI_SITE = $(call github,ciclonite,pigpio,$(LIBPIGPIO_VERSION))
Fixup for this line:
WIRINGPI_SITE = $(call github,ciclonite,wiringPi,$(WIRINGPI_VERSION))
and the following is missing:
$(eval $(autotools-package))
but build failed with
config.status: error: cannot find input file: `Makefile.in'
in the base directory, maybe a autoreconf/configure/make in the
subdirectory wiringPi works?
>
>
> when i launch make :
>
> make
> /usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++"
> silentoldconfig
> make[1]: Entering directory
> `/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05'
> BR2_DEFCONFIG=''
> KCONFIG_AUTOCONFIG=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/auto.conf
> KCONFIG_AUTOHEADER=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/autoconf.h
> KCONFIG_TRISTATE=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/tristate.config
> BR2_CONFIG=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/.config
> BR2_EXTERNAL=support/dummy-external SKIP_LEGACY=
> /root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/conf
> --silentoldconfig Config.in
> make[1]: Leaving directory
> `/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05'
> >>> host-gawk 4.1.2 Patching
>
> Applying 0001-no-versioned.patch using patch:
> patching file Makefile.in
> Reversed (or previously applied) patch detected! Skipping patch.
> 2 out of 2 hunks ignored -- saving rejects to file Makefile.in.rej
> Patch failed! Please fix 0001-no-versioned.patch!
> make: ***
> [/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/host-gawk-4.1.2/.stamp_patched]
> Error 1
>
> Someone can help me to find out the problem?
I think a previous build was aborted while the package host-gawk was build, the patch was already
applied, but before the file 'output/build/host-gawk-4.1.2/.stamp_patched' was written...
Best way is to call clean for this package, eg.:
$ make host-gawk-dirclean
or by hand:
$ rm -rf output/build/host-gawk-4.1.2
Regards,
Peter
> Thanks,
> Giovanni
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] WiringPi - problem adding package to my buildroot
2015-11-24 18:17 [Buildroot] WiringPi - problem adding package to my buildroot astrolite .
2015-11-24 19:40 ` Peter Seiderer
@ 2015-11-24 19:45 ` Peter Seiderer
2015-11-25 9:47 ` astrolite .
1 sibling, 1 reply; 7+ messages in thread
From: Peter Seiderer @ 2015-11-24 19:45 UTC (permalink / raw)
To: buildroot
Hello Giovanni,
On Tue, 24 Nov 2015 19:17:43 +0100, "astrolite ." <ciclonite@gmail.com> wrote:
> Hi all,
> After sucessfully added pigpio package to buildroot, i'm tried to add
> wiringPi package.
> But i've a problem that not understand..
>
> These are my files :
> Config.in
>
> config BR2_PACKAGE_WIRINGPI
> bool "wiringPi"
> help
> wiringPi libraries
>
> wiringPi.mk
>
> WIRINGPI_VERSION = 488e3729e44721b79ba655429f453f7396157c22
> WIRINGPI_INSTALL_TARGET = YES
> WIRINGPI_INSTALL_STAGING = YES
> WIRINGPI_AUTORECONF = YES
> WIRINGPI_SITE = $(call github,ciclonite,pigpio,$(LIBPIGPIO_VERSION))
Forgot to ask: Why a fork from the original sources? Whats wrong
with the original WiringPi buildsystem?
Regards,
Peter
>
>
> when i launch make :
>
> make
> /usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++"
> silentoldconfig
> make[1]: Entering directory
> `/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05'
> BR2_DEFCONFIG=''
> KCONFIG_AUTOCONFIG=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/auto.conf
> KCONFIG_AUTOHEADER=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/autoconf.h
> KCONFIG_TRISTATE=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/tristate.config
> BR2_CONFIG=/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/.config
> BR2_EXTERNAL=support/dummy-external SKIP_LEGACY=
> /root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/buildroot-config/conf
> --silentoldconfig Config.in
> make[1]: Leaving directory
> `/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05'
> >>> host-gawk 4.1.2 Patching
>
> Applying 0001-no-versioned.patch using patch:
> patching file Makefile.in
> Reversed (or previously applied) patch detected! Skipping patch.
> 2 out of 2 hunks ignored -- saving rejects to file Makefile.in.rej
> Patch failed! Please fix 0001-no-versioned.patch!
> make: ***
> [/root/qt-pi2-pigpio-wiringpi/buildroot-qt-dev/buildroot-2015.05/output/build/host-gawk-4.1.2/.stamp_patched]
> Error 1
>
> Someone can help me to find out the problem?
> Thanks,
> Giovanni
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] WiringPi - problem adding package to my buildroot
2015-11-24 19:45 ` Peter Seiderer
@ 2015-11-25 9:47 ` astrolite .
2015-11-25 16:59 ` Peter Seiderer
0 siblings, 1 reply; 7+ messages in thread
From: astrolite . @ 2015-11-25 9:47 UTC (permalink / raw)
To: buildroot
Hi Peter,
Forgot to ask: Why a fork from the original sources? Whats wrong
> with the original WiringPi buildsystem?
>
> Regards,
> Peter
>
>
>
I'm use wiringPi with buildroot-2015.05 .
I cannot find wiringPi in this buildroot version.
I miss something?
Thanks,
Giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151125/deaa9217/attachment.html>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] WiringPi - problem adding package to my buildroot
2015-11-24 19:40 ` Peter Seiderer
@ 2015-11-25 15:30 ` astrolite .
2015-11-25 16:54 ` Peter Seiderer
0 siblings, 1 reply; 7+ messages in thread
From: astrolite . @ 2015-11-25 15:30 UTC (permalink / raw)
To: buildroot
Hi Peter,
but build failed with
> config.status: error: cannot find input file: `Makefile.in'
>
> in the base directory, maybe a autoreconf/configure/make in the
> subdirectory wiringPi works?
Sorry but i cannot find where is the problem.
There a version of wiringPi that i integrate directly on buildroot-2015-5?
Thanks and sorry for disturb.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151125/7b4aa88b/attachment.html>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] WiringPi - problem adding package to my buildroot
2015-11-25 15:30 ` astrolite .
@ 2015-11-25 16:54 ` Peter Seiderer
0 siblings, 0 replies; 7+ messages in thread
From: Peter Seiderer @ 2015-11-25 16:54 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 25 Nov 2015 16:30:09 +0100, "astrolite ." <ciclonite@gmail.com> wrote:
> Hi Peter,
>
>
> but build failed with
> > config.status: error: cannot find input file: `Makefile.in'
> >
> > in the base directory, maybe a autoreconf/configure/make in the
> > subdirectory wiringPi works?
>
>
> Sorry but i cannot find where is the problem.
> There a version of wiringPi that i integrate directly on buildroot-2015-5?
>
> Thanks and sorry for disturb.
Try this patch [1] against buildroot, adding wiringPi support to buildroot
using the original wiringPi source from git://git.drogon.net/wiringPi
(did not test it against buildroot-2015-5, but worked for me with current git
master: gpio command runs on rpi hardaware)...
Regards,
Peter
[1] https://patchwork.ozlabs.org/patch/548287/
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] WiringPi - problem adding package to my buildroot
2015-11-25 9:47 ` astrolite .
@ 2015-11-25 16:59 ` Peter Seiderer
0 siblings, 0 replies; 7+ messages in thread
From: Peter Seiderer @ 2015-11-25 16:59 UTC (permalink / raw)
To: buildroot
Hello Giovanni,
On Wed, 25 Nov 2015 10:47:05 +0100, "astrolite ." <ciclonite@gmail.com> wrote:
> Hi Peter,
>
> Forgot to ask: Why a fork from the original sources? Whats wrong
> > with the original WiringPi buildsystem?
> >
> > Regards,
> > Peter
> >
> >
> >
> I'm use wiringPi with buildroot-2015.05 .
> I cannot find wiringPi in this buildroot version.
> I miss something?
The wiringPi fork https://github.com/ciclonite/wiringPi on github is yours?
Why fork from the original wiringPi sources? See my patch [1] which compiles
wiringPi using the original wiringPi sources using the origial build system...
Regards,
Peter
[1] https://patchwork.ozlabs.org/patch/548287/
> Thanks,
> Giovanni
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-11-25 16:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24 18:17 [Buildroot] WiringPi - problem adding package to my buildroot astrolite .
2015-11-24 19:40 ` Peter Seiderer
2015-11-25 15:30 ` astrolite .
2015-11-25 16:54 ` Peter Seiderer
2015-11-24 19:45 ` Peter Seiderer
2015-11-25 9:47 ` astrolite .
2015-11-25 16:59 ` Peter Seiderer
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.