Openwrt-tickets Archive

List Statistics

  • Total Threads: 6565
  • Total Posts: 8885

Phrases Used to Find This Thread

  #1  
07-07-2012 11:02 AM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #2  
07-07-2012 11:04 AM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #3  
08-07-2012 03:27 PM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #5  
09-07-2012 03:43 AM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets


  #6  
10-07-2012 02:35 AM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #7  
10-07-2012 08:01 AM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #8  
11-07-2012 07:06 AM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets


  #9  
11-07-2012 11:05 AM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: new => closed
* resolution: => fixed


Comment:

Dependency corrected in r32665 - thank you!

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #10  
12-07-2012 01:52 PM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: new => closed
* resolution: => fixed


Comment:

Dependency corrected in r32665 - thank you!

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: fixed =>


Comment:

I updated sources to r32665, patched glib2/Makefile as you said. Compiled
from scratch.
It breaks as before. I ran diff on config.log1, config.log2, output.txt
which I attached earlied against their new versions. Diffs show that
absolutely nothing changed.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #11  
12-07-2012 03:33 PM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: new => closed
* resolution: => fixed


Comment:

Dependency corrected in r32665 - thank you!

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: fixed =>


Comment:

I updated sources to r32665, patched glib2/Makefile as you said. Compiled
from scratch.
It breaks as before. I ran diff on config.log1, config.log2, output.txt
which I attached earlied against their new versions. Diffs show that
absolutely nothing changed.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by jow):

a) there where no changes to the glib2 Makefile
b) the change was not supposed to affect .config - it is a build
dependency only
c) for me gettext correctly shows up as compilation prerequisite in
tmp/.packagedeps:

{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/gettext/compile
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #12  
12-07-2012 04:32 PM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: new => closed
* resolution: => fixed


Comment:

Dependency corrected in r32665 - thank you!

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: fixed =>


Comment:

I updated sources to r32665, patched glib2/Makefile as you said. Compiled
from scratch.
It breaks as before. I ran diff on config.log1, config.log2, output.txt
which I attached earlied against their new versions. Diffs show that
absolutely nothing changed.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by jow):

a) there where no changes to the glib2 Makefile
b) the change was not supposed to affect .config - it is a build
dependency only
c) for me gettext correctly shows up as compilation prerequisite in
tmp/.packagedeps:

{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/gettext/compile
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

You may need to do:

{{{
scripts/feeds uninstall glib2
scripts/feeds install glib2
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets


  #13  
13-07-2012 12:50 AM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: new => closed
* resolution: => fixed


Comment:

Dependency corrected in r32665 - thank you!

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: fixed =>


Comment:

I updated sources to r32665, patched glib2/Makefile as you said. Compiled
from scratch.
It breaks as before. I ran diff on config.log1, config.log2, output.txt
which I attached earlied against their new versions. Diffs show that
absolutely nothing changed.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by jow):

a) there where no changes to the glib2 Makefile
b) the change was not supposed to affect .config - it is a build
dependency only
c) for me gettext correctly shows up as compilation prerequisite in
tmp/.packagedeps:

{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/gettext/compile
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

You may need to do:

{{{
scripts/feeds uninstall glib2
scripts/feeds install glib2
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by anonymous):

I recompiled r32665 from zero (i.e. toolchain and everything) without
modifications.
{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}
So, in comparison with your output this one lacks
{{{
$(curdir)/feeds/packages/gettext/compile
}}}
and
{{{
$(if $(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #14  
13-07-2012 05:06 PM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: new => closed
* resolution: => fixed


Comment:

Dependency corrected in r32665 - thank you!

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: fixed =>


Comment:

I updated sources to r32665, patched glib2/Makefile as you said. Compiled
from scratch.
It breaks as before. I ran diff on config.log1, config.log2, output.txt
which I attached earlied against their new versions. Diffs show that
absolutely nothing changed.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by jow):

a) there where no changes to the glib2 Makefile
b) the change was not supposed to affect .config - it is a build
dependency only
c) for me gettext correctly shows up as compilation prerequisite in
tmp/.packagedeps:

{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/gettext/compile
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

You may need to do:

{{{
scripts/feeds uninstall glib2
scripts/feeds install glib2
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by anonymous):

I recompiled r32665 from zero (i.e. toolchain and everything) without
modifications.
{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}
So, in comparison with your output this one lacks
{{{
$(curdir)/feeds/packages/gettext/compile
}}}
and
{{{
$(if $(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

Rebuilding will not install the gettext package if it's not installed.

Besides uninstalling and reinstalling glib2, you could also do
"scripts/feeds install gettext".

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets


  #15  
13-07-2012 05:11 PM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: new => closed
* resolution: => fixed


Comment:

Dependency corrected in r32665 - thank you!

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: fixed =>


Comment:

I updated sources to r32665, patched glib2/Makefile as you said. Compiled
from scratch.
It breaks as before. I ran diff on config.log1, config.log2, output.txt
which I attached earlied against their new versions. Diffs show that
absolutely nothing changed.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by jow):

a) there where no changes to the glib2 Makefile
b) the change was not supposed to affect .config - it is a build
dependency only
c) for me gettext correctly shows up as compilation prerequisite in
tmp/.packagedeps:

{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/gettext/compile
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

You may need to do:

{{{
scripts/feeds uninstall glib2
scripts/feeds install glib2
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by anonymous):

I recompiled r32665 from zero (i.e. toolchain and everything) without
modifications.
{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}
So, in comparison with your output this one lacks
{{{
$(curdir)/feeds/packages/gettext/compile
}}}
and
{{{
$(if $(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

Rebuilding will not install the gettext package if it's not installed.

Besides uninstalling and reinstalling glib2, you could also do
"scripts/feeds install gettext".

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: worksforme | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: reopened => closed
* resolution: => worksforme


Comment:

Exactly. Only a re-checkout and reinstalling of the packages feed will fix
it. Merely clean the broken tree and rebuild it will not install them
issign dependency from feeds.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #16  
15-07-2012 02:29 PM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: new => closed
* resolution: => fixed


Comment:

Dependency corrected in r32665 - thank you!

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: fixed =>


Comment:

I updated sources to r32665, patched glib2/Makefile as you said. Compiled
from scratch.
It breaks as before. I ran diff on config.log1, config.log2, output.txt
which I attached earlied against their new versions. Diffs show that
absolutely nothing changed.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by jow):

a) there where no changes to the glib2 Makefile
b) the change was not supposed to affect .config - it is a build
dependency only
c) for me gettext correctly shows up as compilation prerequisite in
tmp/.packagedeps:

{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/gettext/compile
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

You may need to do:

{{{
scripts/feeds uninstall glib2
scripts/feeds install glib2
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by anonymous):

I recompiled r32665 from zero (i.e. toolchain and everything) without
modifications.
{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}
So, in comparison with your output this one lacks
{{{
$(curdir)/feeds/packages/gettext/compile
}}}
and
{{{
$(if $(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

Rebuilding will not install the gettext package if it's not installed.

Besides uninstalling and reinstalling glib2, you could also do
"scripts/feeds install gettext".

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: worksforme | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: reopened => closed
* resolution: => worksforme


Comment:

Exactly. Only a re-checkout and reinstalling of the packages feed will fix
it. Merely clean the broken tree and rebuild it will not install them
issign dependency from feeds.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: worksforme =>


Comment:

Neither uninstalling/reinstalling glib2, nor installing gettext helps.
Breaks with the same error.
Please try to build with my settings:
{{{
./scripts/feeds update packages
./scripts/feeds install mpd-full
}}}
{{{
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic_TLWR1043=y
CONFIG_PACKAGE_block-mount=y
CONFIG_PACKAGE_kmod-fs-ext4=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_mpd-full=m
}}}
But before you configure you also have to apply this patch, otherwise mpd
won't be enabled:
{{{
diff -ur feeds/packages/sound/mpd/Makefile
feeds/packages/sound/mpd/Makefile
--- feeds/packages/sound/mpd/Makefile 2012-06-12 00:13:01.557676158
+0800
+++ feeds/packages/sound/mpd/Makefile 2012-06-12 00:58:00.845674530
+0800
@@ -48,7 +48,7 @@
TITLE+= (full)
DEPENDS+= \
+AUDIO_SUPPORT:alsa-lib \
- +libaudiofile +BUILD_PATENTED:libfaad2 +libffmpeg +libid3tag \
+ +libaudiofile +BUILD_PATENTED:libfaad2 +libffmpeg-full +libid3tag \
+libmms +libogg +libshout +libsndfile +libvorbis
PROVIDES:=mpd
VARIANT:=full
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)

  #17  
15-07-2012 05:46 PM
Openwrt-tickets member admin is online now
User
 

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Starting from approximately r32408 in trunk build process breaks on glib2.
Some time earlier everything compiled ok. I didn't change my settings.

It says that gettext is missing, like this:
{{{
*** You must have either have gettext support in your C library, or use
the
*** GNU gettext library.
(http://www.gnu.org/software/gettext/gettext.html)
}}}
backfire doesn't have such problems.

If I specify CONFIG_BUILD_NLS=y then everything compiles ok.
But I don't need full-blown language support.
Please tell what was changed that could break things.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------
Changes (by jow):

* priority: normal => response-needed


Comment:

Attach the config.log

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I'm not sure which config.log you need. So I attached both.
Attached is also the relevant part of output from make V=99

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I got the same error and was able to fix it by making the change below.
The source package is named "gettext", but the binary package is called
"libintl", so this change makes some amount of sense, but I'm not sure why
the dependency on gettext worked before or what is different now.

{{{
--- a/include/nls.mk
+++ b/include/nls.mk
@@ -23,7 +23,7 @@
endif

PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS
-PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext
+PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:libintl

ICONV_DEPENDS:=+BUILD_NLS:libiconv-full
ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include

}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

I found out that problem also goes away if I don't use CONFIG_BUILD_NLS=y
and use CONFIG_PACKAGE_libintl-full=m

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by anonymous):

Sorry, it was a wistake (occasionally other setting disabled glib2).
So, setting CONFIG_PACKAGE_libintl-full=m alone without CONFIG_BUILD_NLS=y
doesn't make the problem go away.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Keywords: glib2 gettext nls |
-------------------------------+--------------------------------------------

Comment(by Andy Leiserson ):

I tracked the breakage to r32216.

r32216 changed PKG_FIXUP for libiconv-full from "libtool no-autoreconf" to
"patch-libtool".

The libtool fixup adds libtool, libintl, and libiconv to
PKG_BUILD_DEPENDS.

Prior to r32216, "scripts/feeds install glib2" would install gettext due
to the indirect dependency path glib2 -> libiconv-full -> libintl.

Starting with r32216, there is no longer a dependency path from glib2 to
libintl.

There is still a dependency path from glib2 to gettext, but it seems
scripts/feeds does not install source packages named as dependencies.

I'm not sure whether dependencies on source packages are legal. If they're
legal, then scripts/feeds should be changed to handle them correctly. If
they're not legal, then include/nls.mk and the glib2 package Makefile
should be changed to name "libintl" rather than "gettext" as a dependency.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: fixed | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: new => closed
* resolution: => fixed


Comment:

Dependency corrected in r32665 - thank you!

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: fixed =>


Comment:

I updated sources to r32665, patched glib2/Makefile as you said. Compiled
from scratch.
It breaks as before. I ran diff on config.log1, config.log2, output.txt
which I attached earlied against their new versions. Diffs show that
absolutely nothing changed.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by jow):

a) there where no changes to the glib2 Makefile
b) the change was not supposed to affect .config - it is a build
dependency only
c) for me gettext correctly shows up as compilation prerequisite in
tmp/.packagedeps:

{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/gettext/compile
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

You may need to do:

{{{
scripts/feeds uninstall glib2
scripts/feeds install glib2
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by anonymous):

I recompiled r32665 from zero (i.e. toolchain and everything) without
modifications.
{{{
$ grep 'packages/glib2/compile += ' tmp/.packagedeps
$(curdir)/feeds/packages/glib2/compile +=
$(curdir)/feeds/packages/glib2/host/compile $(curdir)/toolchain/compile
$(curdir)/zlib/compile $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/gettext-full/compile) $(if $(CONFIG_BUILD_NLS),$(curdir)/feeds/packages
/libiconv-full/compile) $(if
$(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/libiconv/compile)
}}}
So, in comparison with your output this one lacks
{{{
$(curdir)/feeds/packages/gettext/compile
}}}
and
{{{
$(if $(CONFIG_BUILD_NLS),,$(curdir)/feeds/packages/gettext/compile)
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------

Comment(by Andy ):

Rebuilding will not install the gettext package if it's not installed.

Besides uninstalling and reinstalling glib2, you could also do
"scripts/feeds install gettext".

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets

#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: worksforme | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: reopened => closed
* resolution: => worksforme


Comment:

Exactly. Only a re-checkout and reinstalling of the packages feed will fix
it. Merely clean the broken tree and rebuild it will not install them
issign dependency from feeds.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by anonymous):

* status: closed => reopened
* resolution: worksforme =>


Comment:

Neither uninstalling/reinstalling glib2, nor installing gettext helps.
Breaks with the same error.
Please try to build with my settings:
{{{
./scripts/feeds update packages
./scripts/feeds install mpd-full
}}}
{{{
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic_TLWR1043=y
CONFIG_PACKAGE_block-mount=y
CONFIG_PACKAGE_kmod-fs-ext4=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_mpd-full=m
}}}
But before you configure you also have to apply this patch, otherwise mpd
won't be enabled:
{{{
diff -ur feeds/packages/sound/mpd/Makefile
feeds/packages/sound/mpd/Makefile
--- feeds/packages/sound/mpd/Makefile 2012-06-12 00:13:01.557676158
+0800
+++ feeds/packages/sound/mpd/Makefile 2012-06-12 00:58:00.845674530
+0800
@@ -48,7 +48,7 @@
TITLE+= (full)
DEPENDS+= \
+AUDIO_SUPPORT:alsa-lib \
- +libaudiofile +BUILD_PATENTED:libfaad2 +libffmpeg +libid3tag \
+ +libaudiofile +BUILD_PATENTED:libfaad2 +libffmpeg-full +libid3tag \
+libmms +libogg +libshout +libsndfile +libvorbis
PROVIDES:=mpd
VARIANT:=full
}}}

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)
#11829: glib2 in trunk not compiling
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: response-needed | Milestone: Attitude Adjustment (trunk)
Component: packages | Version: Trunk
Resolution: worksforme | Keywords: glib2 gettext nls
------------------------------+---------------------------------------------
Changes (by jow):

* status: reopened => closed
* resolution: => worksforme


Comment:

Your dependency change is invalid. "libffmpeg" is a virtual package
provided by libffmpeg-mini, libffmpeg-custom or libffmpeg-full, you have
to select on of these.

As for the glib2 error, I still cannot reproduce it.

--
Ticket URL:
OpenWrt
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
openwrt-
https://lists.openwrt.org/mailman/listinfo/openwrt-tickets
)





NewsArc Lists  |  Culture Pages   |  Computing Archive  |  Media-Pages
Link to this page on your blog or website by copying the HTML code below and pasting it into your site: