Modify

Opened 8 years ago

Closed 6 years ago

Last modified 5 years ago

#4531 closed defect (fixed)

tools/sed (for host) FTBFS on FreeBSD 7.1: machine `amd64-undermydesk' not recognized

Reported by: anonymous Owned by: developers
Priority: high Milestone:
Component: toolchain Version:
Keywords: freebsd, sed, amd64 Cc:

Description

checking for btowc... yes
checking how to build HTML documentation... with makeinfo
checking build system type... Invalid configuration amd64-undermydesk-freebsd': machine amd64-undermydesk' not recognized
configure: error: /bin/sh config/config.sub amd64-undermydesk-freebsd failed
touch /usr/home/autobuilder/openwrt-svn/build_dir/host/sed-4.1.2/.configured
gmake -C /usr/home/autobuilder/openwrt-svn/build_dir/host/sed-4.1.2 SHELL="/usr/local/bin/bash"
gmake[4]: Entering directory `/usr/home/autobuilder/openwrt-svn/build_dir/host/sed-4.1.2'
gmake[4]: * No targets specified and no makefile found. Stop.
gmake[4]: Leaving directory `/usr/home/autobuilder/openwrt-svn/build_dir/host/sed-4.1.2'
gmake[3]:
* usr/home/autobuilder/openwrt-svn/build_dir/host/sed-4.1.2/.built Error 2
gmake[3]: Leaving directory `/usr/home/autobuilder/openwrt-svn/tools/sed'
gmake[2]: * [tools/sed/compile] Error 2
gmake[2]: Leaving directory `/usr/home/autobuilder/openwrt-svn'
gmake[1]:
* usr/home/autobuilder/openwrt-svn/staging_dir/target-mipsel_uClibc-0.9.29/stamp/.tools_install Error 2
gmake[1]: Leaving directory `/usr/home/autobuilder/openwrt-svn'
gmake: * [world] Error 2
* Error code 2

Attachments (0)

Change History (8)

comment:1 Changed 8 years ago by anonymous

Using standard port's config.{sub,guess} works.

To continue after compilation breaks on sed:
$ pushd build_dir/host/sed-4.1.2
$ cp /usr/ports/Templates/config.* .
$ ./configure
$ popd
$ make

Can you update autoconf scripts in sed to cover FreeBSD?

comment:2 Changed 8 years ago by anonymous

also removing --build=$(GNU_HOST_NAME) helps, so finally its ehough to patch:

Index: tools/sed/Makefile
===================================================================
--- tools/sed/Makefile (revision 14284)
+++ tools/sed/Makefile (working copy)
@@ -17,6 +17,11 @@

include $(INCLUDE_DIR)/host-build.mk

+define Build/Configure
+ cp /usr/ports/Templates/config.* $(PKG_BUILD_DIR)
+ $(call Build/Configure/Default)
+endef
+

define Build/Compile

$(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)"

endef

comment:3 Changed 8 years ago by anonymous

or even:

Index: tools/sed/Makefile
===================================================================
--- tools/sed/Makefile (revision 14284)
+++ tools/sed/Makefile (working copy)
@@ -17,6 +17,14 @@

include $(INCLUDE_DIR)/host-build.mk

+define Build/Configure
+ ( cd $(PKG_BUILD_DIR); \
+ ./configure \
+ --prefix=$(STAGING_DIR_HOST) \
+ --infodir=/usr/info \
+ )
+endef
+

define Build/Compile

$(MAKE) -C $(PKG_BUILD_DIR) SHELL="$(BASH)"

endef

comment:4 Changed 7 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Applied in [17022], thanks !

comment:5 Changed 7 years ago by florian

  • Resolution fixed deleted
  • Status changed from closed to reopened

This is not quite the way to do this.

comment:6 Changed 6 years ago by jow

  • Resolution set to fixed
  • Status changed from reopened to closed

Should be finally solved by r22499.

comment:7 Changed 5 years ago by Christopher Key <cjk32@…>

Is there any chance that this could be backported to backfire?

comment:8 Changed 5 years ago by jow

No.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.