Re: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 21:55, Jeff Tipton wrote:

On 07/30/2012 20:32, Christopher Hilton wrote:

On Jul 30, 2012, at 1:21 PM, Jeff Tipton wrote:


On 07/30/2012 19:46, Bas Smeelen wrote:

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:

[snip]

Yes, but try now to rebuild X, or emacs (as Christopher). For me, it 
dies at devel/gobject-introspection with the following:


GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all 
to see them)

  GISCAN GObject-2.0.gir
g-ir-scanner: GObject: warning: 27 warnings suppressed (use 
--warn-all to see them)

  GISCAN GModule-2.0.gir
g-ir-scanner: GModule: warning: 1 warnings suppressed (use 
--warn-all to see them)
gmake[2]: *** No rule to make target 
`/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h', 
needed by `Gio-2.0.gir'.  Stop.
gmake[2]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake: *** [all] Error 2
*** Error code 1

I don't know what to do with this, I'm already considering ports 
downgrade.


I traced through the Makefiles in devel/gobject-introspection. They 
are relying on pkg-config, devel/pkgconf in the newer code, to 
provide the location. That's how you end up with:


  
"/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h"


Which clearly shouldn't be there as a path. I added the line:

  date=2012.07.21.00.00.00

to my ports supconfig and then did

  csup /etc/ports-supfile

That pulled my ports collection back to 2012/07/21 which restored 
pkg-config and removed pkgconf. It probably reverted some other stuff 
too but I can wait a week for this thing to play out.


-- Chris


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"

Thanks, Chris, for sharing this. I'll, too, try it this way.

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"

BTW,

While we were talking, pkgconf was changed. I just refreshed the ports 
tree, and devel/gobject-introspection builds fine now.


-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 20:32, Christopher Hilton wrote:

On Jul 30, 2012, at 1:21 PM, Jeff Tipton wrote:


On 07/30/2012 19:46, Bas Smeelen wrote:

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:

[snip]


Yes, but try now to rebuild X, or emacs (as Christopher). For me, it dies at 
devel/gobject-introspection with the following:

GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to see 
them)
  GISCAN GObject-2.0.gir
g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all to see 
them)
  GISCAN GModule-2.0.gir
g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to see 
them)
gmake[2]: *** No rule to make target 
`/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h',
 needed by `Gio-2.0.gir'.  Stop.
gmake[2]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
gmake: *** [all] Error 2
*** Error code 1

I don't know what to do with this, I'm already considering ports downgrade.


I traced through the Makefiles in devel/gobject-introspection. They are relying 
on pkg-config, devel/pkgconf in the newer code, to provide the location. That's 
how you end up with:

  
"/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h"

Which clearly shouldn't be there as a path. I added the line:

  date=2012.07.21.00.00.00

to my ports supconfig and then did

  csup /etc/ports-supfile

That pulled my ports collection back to 2012/07/21 which restored pkg-config 
and removed pkgconf. It probably reverted some other stuff too but I can wait a 
week for this thing to play out.

-- Chris


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Thanks, Chris, for sharing this. I'll, too, try it this way.

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem with pkgconf and glib.

2012-07-30 Thread Christopher Sean Hilton
On Mon, Jul 30, 2012 at 08:21:21PM +0300, Jeff Tipton wrote:
> On 07/30/2012 19:46, Bas Smeelen wrote:
> > On 07/30/12 18:21, Michael Powell wrote:
> >> Jeff Tipton wrote:
> >>
> >>> On 07/30/2012 17:19, Christopher Hilton wrote:
>  I'm trying to build emacs with gtk2 on my build box and I'm running 
>  into
>  trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
>  dies in devel/gobject-introspection and complains that it cannot find
>  header files for gio-unix-2.0. From what I can see the problem 
>  looks like
>  the fact that pkgconf is returning the wrong include path for these
>  header files, running:

[snip]


> Yes, but try now to rebuild X, or emacs (as Christopher). For me, it 
> dies at devel/gobject-introspection with the following:
> 
> GISCAN GLib-2.0.gir
> g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to 
> see them)
>GISCAN GObject-2.0.gir
> g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all 
> to see them)
>GISCAN GModule-2.0.gir
> g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to 
> see them)
> gmake[2]: *** No rule to make target 
> `/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h',
>  
> needed by `Gio-2.0.gir'.  Stop.
> gmake[2]: Leaving directory 
> `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
> gmake: *** [all] Error 2
> *** Error code 1
> 
> I don't know what to do with this, I'm already considering ports downgrade.
> 
> -Jeff

While I'm sure that this is just a temporary glitch, in my case the
target box is the build machine that I use to maintain all my packages
for a set of FreeBSD servers. I unfortunately don't have to time to
trace the problem in pkgconf today. I'll try to run it through gdb
during the week to see why it's tripple the "/usr/local/include" part
of the include path.

-- Chris

Chris Hilton   e: chris|at|vindaloo|dot|com

  "The pattern juggler lifts his hand; The orchestra begin.
  As slowly turns the grinding wheel in the court of the crimson king."
   -- Ian McDonald / Peter Sinfield
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem with pkgconf and glib.

2012-07-30 Thread Christopher Hilton

On Jul 30, 2012, at 1:21 PM, Jeff Tipton wrote:

> On 07/30/2012 19:46, Bas Smeelen wrote:
>> On 07/30/12 18:21, Michael Powell wrote:
>>> Jeff Tipton wrote:
>>> 
 On 07/30/2012 17:19, Christopher Hilton wrote:
>> 

[snip]

> Yes, but try now to rebuild X, or emacs (as Christopher). For me, it dies at 
> devel/gobject-introspection with the following:
> 
> GISCAN GLib-2.0.gir
> g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to see 
> them)
>  GISCAN GObject-2.0.gir
> g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all to see 
> them)
>  GISCAN GModule-2.0.gir
> g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to see 
> them)
> gmake[2]: *** No rule to make target 
> `/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h',
>  needed by `Gio-2.0.gir'.  Stop.
> gmake[2]: Leaving directory 
> `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
> gmake: *** [all] Error 2
> *** Error code 1
> 
> I don't know what to do with this, I'm already considering ports downgrade.
> 

I traced through the Makefiles in devel/gobject-introspection. They are relying 
on pkg-config, devel/pkgconf in the newer code, to provide the location. That's 
how you end up with:

 
"/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h"

Which clearly shouldn't be there as a path. I added the line:

 date=2012.07.21.00.00.00

to my ports supconfig and then did 

 csup /etc/ports-supfile

That pulled my ports collection back to 2012/07/21 which restored pkg-config 
and removed pkgconf. It probably reverted some other stuff too but I can wait a 
week for this thing to play out.

-- Chris


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 19:46, Bas Smeelen wrote:

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:
I'm trying to build emacs with gtk2 on my build box and I'm running 
into

trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
dies in devel/gobject-introspection and complains that it cannot find
header files for gio-unix-2.0. From what I can see the problem 
looks like

the fact that pkgconf is returning the wrong include path for these
header files, running:

[snip]

I have the same problem with devel/gobject-introspection. It's also a
dependecy for Xorg.

A couple of days ago devel/pkg-config was removed from ports as
deprecated, and replaced with devel/pkgconf, and consequently the build
dependencies of many ports were changed. Maybe this recent change is 
not

thoroughly worked out?


When I first saw it in UPDATING and did the command I believe it was not
completely correct, as it did nothing. That was something on the 
order of 3

or 4 days ago. Just csup'd today and the command in UPDATING I think
contained something slightly different, and is now correct.

Before, it did not remove/replace pkg-config. Today it did. Perhaps a 
ports

tree refresh and if using portupgrade do this:

portupgrade -fo devel/pkgconf pkg-config-\*

This did remove pkg-config and replace it with pkgconf, like I 
expected it to

do 3-4 days ago and didn't.

-Mike
I had about the same issues on a fresh RELENG_9 laptop wih xfce4, 
firefox and thunderbird. Just removing pkg-config (pkg_delete -f) then 
installing pkgconf and do a portmaster --check-depends solved it for me.




Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"
Yes, but try now to rebuild X, or emacs (as Christopher). For me, it 
dies at devel/gobject-introspection with the following:


GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to 
see them)

  GISCAN GObject-2.0.gir
g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all 
to see them)

  GISCAN GModule-2.0.gir
g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to 
see them)
gmake[2]: *** No rule to make target 
`/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h', 
needed by `Gio-2.0.gir'.  Stop.
gmake[2]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake: *** [all] Error 2
*** Error code 1

I don't know what to do with this, I'm already considering ports downgrade.

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem with pkgconf and glib.

2012-07-30 Thread Christopher Hilton
On Jul 30, 2012, at 12:21 PM, Michael Powell wrote:

> Jeff Tipton wrote:
> 
>> On 07/30/2012 17:19, Christopher Hilton wrote:
>>> I'm trying to build emacs with gtk2 on my build box and I'm running into
>>> trouble with pkgconf from /usr/ports/devel/pkgconf. The build process

[snip] 

> When I first saw it in UPDATING and did the command I believe it was not 
> completely correct, as it did nothing. That was something on the order of 3 
> or 4 days ago. Just csup'd today and the command in UPDATING I think 
> contained something slightly different, and is now correct.
> 
> Before, it did not remove/replace pkg-config. Today it did. Perhaps a ports 
> tree refresh and if using portupgrade do this:
> 
> portupgrade -fo devel/pkgconf pkg-config-\*
> 
> This did remove pkg-config and replace it with pkgconf, like I expected it to 
> do 3-4 days ago and didn't.
> 
> -Mike
> 

I'll look at UPDATING again but from what I see devel/pkgconf is supposed to be 
a drop in replacement for devel/pkg-config that solves a bootstrapping problem 
between pkg-config and devel/glib. I'm not convinced on "drop in" if 
devel/pkg-config says the the include files for gio-unix-2.0 are in 
"/usr/local/include" while devel/pkgconf says that they are in 
"/usr/local/include/usr/local/include/usr/local/include". To hedge my bets I'm 
using csup to revert the ports collection on my machine to before the change.

-- Chris___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem with pkgconf and glib.

2012-07-30 Thread Bas Smeelen

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:

I'm trying to build emacs with gtk2 on my build box and I'm running into
trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
dies in devel/gobject-introspection and complains that it cannot find
header files for gio-unix-2.0. From what I can see the problem looks like
the fact that pkgconf is returning the wrong include path for these
header files, running:

[snip]

I have the same problem with devel/gobject-introspection. It's also a
dependecy for Xorg.

A couple of days ago devel/pkg-config was removed from ports as
deprecated, and replaced with devel/pkgconf, and consequently the build
dependencies of many ports were changed. Maybe this recent change is not
thoroughly worked out?


When I first saw it in UPDATING and did the command I believe it was not
completely correct, as it did nothing. That was something on the order of 3
or 4 days ago. Just csup'd today and the command in UPDATING I think
contained something slightly different, and is now correct.

Before, it did not remove/replace pkg-config. Today it did. Perhaps a ports
tree refresh and if using portupgrade do this:

portupgrade -fo devel/pkgconf pkg-config-\*

This did remove pkg-config and replace it with pkgconf, like I expected it to
do 3-4 days ago and didn't.

-Mike
  
I had about the same issues on a fresh RELENG_9 laptop wih xfce4, 
firefox and thunderbird. Just removing pkg-config (pkg_delete -f) then 
installing pkgconf and do a portmaster --check-depends solved it for me.




Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem with pkgconf and glib.

2012-07-30 Thread Michael Powell
Jeff Tipton wrote:

> On 07/30/2012 17:19, Christopher Hilton wrote:
>> I'm trying to build emacs with gtk2 on my build box and I'm running into
>> trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
>> dies in devel/gobject-introspection and complains that it cannot find
>> header files for gio-unix-2.0. From what I can see the problem looks like
>> the fact that pkgconf is returning the wrong include path for these
>> header files, running:
[snip]
> I have the same problem with devel/gobject-introspection. It's also a
> dependecy for Xorg.
> 
> A couple of days ago devel/pkg-config was removed from ports as
> deprecated, and replaced with devel/pkgconf, and consequently the build
> dependencies of many ports were changed. Maybe this recent change is not
> thoroughly worked out?
> 

When I first saw it in UPDATING and did the command I believe it was not 
completely correct, as it did nothing. That was something on the order of 3 
or 4 days ago. Just csup'd today and the command in UPDATING I think 
contained something slightly different, and is now correct.

Before, it did not remove/replace pkg-config. Today it did. Perhaps a ports 
tree refresh and if using portupgrade do this:

portupgrade -fo devel/pkgconf pkg-config-\*

This did remove pkg-config and replace it with pkgconf, like I expected it to 
do 3-4 days ago and didn't.

-Mike
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 17:19, Christopher Hilton wrote:

I'm trying to build emacs with gtk2 on my build box and I'm running into 
trouble with pkgconf from /usr/ports/devel/pkgconf. The build process dies in 
devel/gobject-introspection and complains that it cannot find header files for 
gio-unix-2.0. From what I can see the problem looks like the fact that pkgconf 
is returning the wrong include path for these header files, running:

  # pkg-config --variable=includedir gio-unix-2.0 returns:

  /usr/local/include/usr/local/include/usr/local/include

I'm not sure if this is part of the problem but it appears that pkgconf returns one 
instance of "/usr/local/include" for each dependency listed in the package. E.g.

  # pkg-config --variable=includedir glib-2.0

returns: "/usr/local/include"

To repeat this problem I started with a fresh FreeBSD virtual machine built 
from 8-STABLE, an empty /usr/local tree and an empty /var/db/pkg directory. 
Then I traversed to /usr/ports/devel/gobject-introspection and did:

  # make install

Any help would be appreciated.

-- Chris




Chris Hilton  e: chris /at/ vindaloo /dot/ com

 "All I was doing was trying to get home from work!"
  -- Rosa Parks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
I have the same problem with devel/gobject-introspection. It's also a 
dependecy for Xorg.


A couple of days ago devel/pkg-config was removed from ports as 
deprecated, and replaced with devel/pkgconf, and consequently the build 
dependencies of many ports were changed. Maybe this recent change is not 
thoroughly worked out?


Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Problem with pkgconf and glib.

2012-07-30 Thread Christopher Hilton
I'm trying to build emacs with gtk2 on my build box and I'm running into 
trouble with pkgconf from /usr/ports/devel/pkgconf. The build process dies in 
devel/gobject-introspection and complains that it cannot find header files for 
gio-unix-2.0. From what I can see the problem looks like the fact that pkgconf 
is returning the wrong include path for these header files, running:

 # pkg-config --variable=includedir gio-unix-2.0 returns:

 /usr/local/include/usr/local/include/usr/local/include

I'm not sure if this is part of the problem but it appears that pkgconf returns 
one instance of "/usr/local/include" for each dependency listed in the package. 
E.g.

 # pkg-config --variable=includedir glib-2.0 

returns: "/usr/local/include"

To repeat this problem I started with a fresh FreeBSD virtual machine built 
from 8-STABLE, an empty /usr/local tree and an empty /var/db/pkg directory. 
Then I traversed to /usr/ports/devel/gobject-introspection and did:

 # make install

Any help would be appreciated.

-- Chris
 
   


Chris Hilton  e: chris /at/ vindaloo /dot/ com 
 
"All I was doing was trying to get home from work!" 
 -- Rosa Parks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"