mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] error for target libtool
@ 2012-11-15 22:02 Thomas Weber
  2012-11-18 21:33 ` Thomas Weber
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Weber @ 2012-11-15 22:02 UTC (permalink / raw)
  To: ptxdist

Hello,

I tried to build cpufrequtils and got the following error messages when 
building libtool.
I use ptxdist-2012.10.0

Regards,
Thomas

------------------------
target: cpufrequtils.get
------------------------

finished target cpufrequtils.get

----------------------------
target: cpufrequtils.extract
----------------------------

extract: pkg_src=my_ptxdist/src/cpufrequtils-007.tar.bz2
extract: 
pkg_extract_dir=my_ptxdist/platform-devkit8000/build-target/cpufrequtils-007

pkg_patch_dir:     'ptxdist-2012.10.0/patches/cpufrequtils-007'
pkg_patch_series: 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'

patchin: patch: apply 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'
applying '0001-Fix-various-issues-while-cross-compiling.patch'
patching file Makefile
patchin: patch: done

finished target cpufrequtils.extract

-----------------------------
target: libtool-1.5.26.tar.gz
-----------------------------


error: empty parameter to 'ptxd_make_get'


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] error for target libtool
  2012-11-15 22:02 [ptxdist] error for target libtool Thomas Weber
@ 2012-11-18 21:33 ` Thomas Weber
  2012-11-19 13:49   ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Weber @ 2012-11-18 21:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Thomas Weber

Hello,

On 11/15/2012 11:02 PM, Thomas Weber wrote:
> Hello,
>
> I tried to build cpufrequtils and got the following error messages 
> when building libtool.
> I use ptxdist-2012.10.0
>
> Regards,
> Thomas
>
> ------------------------
> target: cpufrequtils.get
> ------------------------
>
> finished target cpufrequtils.get
>
> ----------------------------
> target: cpufrequtils.extract
> ----------------------------
>
> extract: pkg_src=my_ptxdist/src/cpufrequtils-007.tar.bz2
> extract: 
> pkg_extract_dir=my_ptxdist/platform-devkit8000/build-target/cpufrequtils-007
>
> pkg_patch_dir:     'ptxdist-2012.10.0/patches/cpufrequtils-007'
> pkg_patch_series: 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'
>
> patchin: patch: apply 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'
> applying '0001-Fix-various-issues-while-cross-compiling.patch'
> patching file Makefile
> patchin: patch: done
>
> finished target cpufrequtils.extract
>
> -----------------------------
> target: libtool-1.5.26.tar.gz
> -----------------------------
>
>
> error: empty parameter to 'ptxd_make_get'
>
>
After adding debug switch, the output shows, that libtool was not available.
After downloading it manually it works.

Thomas

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] error for target libtool
  2012-11-18 21:33 ` Thomas Weber
@ 2012-11-19 13:49   ` Michael Olbrich
  2012-11-19 14:11     ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2012-11-19 13:49 UTC (permalink / raw)
  To: ptxdist

On Sun, Nov 18, 2012 at 10:33:01PM +0100, Thomas Weber wrote:
> On 11/15/2012 11:02 PM, Thomas Weber wrote:
> >I tried to build cpufrequtils and got the following error messages
> >when building libtool.
> >I use ptxdist-2012.10.0
> >
> >Regards,
> >Thomas
> >
> >------------------------
> >target: cpufrequtils.get
> >------------------------
> >
> >finished target cpufrequtils.get
> >
> >----------------------------
> >target: cpufrequtils.extract
> >----------------------------
> >
> >extract: pkg_src=my_ptxdist/src/cpufrequtils-007.tar.bz2
> >extract: pkg_extract_dir=my_ptxdist/platform-devkit8000/build-target/cpufrequtils-007
> >
> >pkg_patch_dir:     'ptxdist-2012.10.0/patches/cpufrequtils-007'
> >pkg_patch_series: 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'
> >
> >patchin: patch: apply 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'
> >applying '0001-Fix-various-issues-while-cross-compiling.patch'
> >patching file Makefile
> >patchin: patch: done
> >
> >finished target cpufrequtils.extract
> >
> >-----------------------------
> >target: libtool-1.5.26.tar.gz
> >-----------------------------
> >
> >
> >error: empty parameter to 'ptxd_make_get'
> >
> >
> After adding debug switch, the output shows, that libtool was not available.
> After downloading it manually it works.

Yes, this is a broken. cpufrequtils needs libtool. But the cross-libtool
package is broken: The URL is not set correctly. There is also the
host-autotools-libtool package.
If changed cpufrequtils to use host-autotools-libtool instead and removed
cross-libtool. You can also fix the URL:

CROSS_LIBTOOL_URL = $(LIBLTDL_URL)

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] error for target libtool
  2012-11-19 13:49   ` Michael Olbrich
@ 2012-11-19 14:11     ` Michael Olbrich
  2012-11-19 18:24       ` [ptxdist] [PATCH] cross-libtool: Set missing URL Thomas Weber
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2012-11-19 14:11 UTC (permalink / raw)
  To: ptxdist

On Mon, Nov 19, 2012 at 02:49:47PM +0100, Michael Olbrich wrote:
> On Sun, Nov 18, 2012 at 10:33:01PM +0100, Thomas Weber wrote:
> > On 11/15/2012 11:02 PM, Thomas Weber wrote:
> > >I tried to build cpufrequtils and got the following error messages
> > >when building libtool.
> > >I use ptxdist-2012.10.0
> > >
> > >Regards,
> > >Thomas
> > >
> > >------------------------
> > >target: cpufrequtils.get
> > >------------------------
> > >
> > >finished target cpufrequtils.get
> > >
> > >----------------------------
> > >target: cpufrequtils.extract
> > >----------------------------
> > >
> > >extract: pkg_src=my_ptxdist/src/cpufrequtils-007.tar.bz2
> > >extract: pkg_extract_dir=my_ptxdist/platform-devkit8000/build-target/cpufrequtils-007
> > >
> > >pkg_patch_dir:     'ptxdist-2012.10.0/patches/cpufrequtils-007'
> > >pkg_patch_series: 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'
> > >
> > >patchin: patch: apply 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'
> > >applying '0001-Fix-various-issues-while-cross-compiling.patch'
> > >patching file Makefile
> > >patchin: patch: done
> > >
> > >finished target cpufrequtils.extract
> > >
> > >-----------------------------
> > >target: libtool-1.5.26.tar.gz
> > >-----------------------------
> > >
> > >
> > >error: empty parameter to 'ptxd_make_get'
> > >
> > >
> > After adding debug switch, the output shows, that libtool was not available.
> > After downloading it manually it works.
> 
> Yes, this is a broken. cpufrequtils needs libtool. But the cross-libtool
> package is broken: The URL is not set correctly. There is also the
> host-autotools-libtool package.
> If changed cpufrequtils to use host-autotools-libtool instead and removed
> cross-libtool.

Forget this. libtool must be a cross tool here.

> You can also fix the URL:
> 
> CROSS_LIBTOOL_URL = $(LIBLTDL_URL)

This is the correct fix.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH] cross-libtool: Set missing URL
  2012-11-19 14:11     ` Michael Olbrich
@ 2012-11-19 18:24       ` Thomas Weber
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Weber @ 2012-11-19 18:24 UTC (permalink / raw)
  To: ptxdist; +Cc: m.olbrich, Thomas Weber

This patch sets the missing URL for cross-libtool.

Signed-off-by: Thomas Weber <thomas@tomweber.eu>
---
 rules/cross-libtool.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/cross-libtool.make b/rules/cross-libtool.make
index 97bdb16..a14503e 100644
--- a/rules/cross-libtool.make
+++ b/rules/cross-libtool.make
@@ -19,6 +19,7 @@ LAZY_PACKAGES-$(PTXCONF_CROSS_LIBTOOL) += cross-libtool
 CROSS_LIBTOOL		= $(LIBLTDL)
 CROSS_LIBTOOL_MD5	= $(LIBLTDL_MD5)
 CROSS_LIBTOOL_DIR	= $(CROSS_BUILDDIR)/$(LIBLTDL)
+CROSS_LIBTOOL_URL	= $(LIBLTDL_URL)
 CROSS_LIBTOOL_SOURCE	= $(LIBLTDL_SOURCE)
 CROSS_LIBTOOL_DEVPKG	= NO
 
-- 
1.8.0


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2012-11-19 18:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-15 22:02 [ptxdist] error for target libtool Thomas Weber
2012-11-18 21:33 ` Thomas Weber
2012-11-19 13:49   ` Michael Olbrich
2012-11-19 14:11     ` Michael Olbrich
2012-11-19 18:24       ` [ptxdist] [PATCH] cross-libtool: Set missing URL Thomas Weber

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