Bill McNeill | 1 Aug 21:05
Picon
Gravatar

Buildlock failure for gtk+2; Building just the gtk package does not fix it

I did a "fink selfupdate" followed by a "fink update all".  The update all action fails because of conflicting packages when trying to update gtk+2.  As per the instructions in the error message, I tried just running "fink build gtk+2", but this gives the same error.  There are no buildlocks present after this error message (i.e. "fink list fink-buildlock" returns nothing).

What steps should I take to get past this?

Running OS X 10.4.11.  Full error spew from the failed build of gtk+2 is below.

Thanks.

$ fink build gtk+2
Password:
Information about 6846 packages read in 1 seconds.
The following package will be built:
 gtk+2
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-gtk+2-2.12.10-1 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-gtk+2-2.12.10-1' in `/sw/src/fink.build/fink-buildlock-gtk+2-2.12.10-1_2008.08.01-12.00.06_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-gtk+2-2.12.10-1_2008.08.01-12.00.06_darwin-i386.deb
dpkg: regarding .../fink-buildlock-gtk+2-2.12.10-1_2008.08.01-12.00.06_darwin-i386.deb containing fink-buildlock-gtk+2-2.12.10-1:
 fink-buildlock-gtk+2-2.12.10-1 conflicts with gtk+2-dev (<< 2.12.10-1)
  gtk+2-dev (version 2.6.10-1004) is installed.
/sw/bin/dpkg: error processing /sw/src/fink.build/fink-buildlock-gtk+2-2.12.10-1_2008.08.01-12.00.06_darwin-i386.deb (--install):
 conflicting packages - not installing fink-buildlock-gtk+2-2.12.10-1
Errors were encountered while processing:
 /sw/src/fink.build/fink-buildlock-gtk+2-2.12.10-1_2008.08.01-12.00.06_darwin-i386.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Can't set build lock for gtk+2 (2.12.10-1)

If any of the above dpkg error messages mention conflicting packages or missing dependencies -- for example, telling you that the package fink-buildlock-gtk+2-2.12.10-1 conflicts
with something else -- fink has probably gotten confused by trying  to build many packages at once. Try building just this current package gtk+2 (i.e, "fink build gtk+2"). When
that has completed successfully,  you could retry whatever you did that led to the present error.

Regardless of the cause of the lock failure, don't worry: you have not wasted compiling time! Packages that had been completely built before this error occurred will not have to
be recompiled.

See http://wiki.finkproject.org/index.php/Fink:buildlocks for more information.
/sw/bin/dpkg-lockwait -r fink-buildlock-gtk+2-2.12.10-1 >/dev/null
dpkg - warning: ignoring request to remove fink-buildlock-gtk+2-2.12.10-1 which isn't installed.
Failed: buildlock failure
~

--
Bill McNeill
http://staff.washington.edu/billmcn/index.shtml
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
Alexander Hansen | 1 Aug 21:20
Picon
Gravatar

Re: Buildlock failure for gtk+2; Building just the gtk package does not fix it

Bill McNeill wrote:
> I did a "fink selfupdate" followed by a "fink update all".  The update 
> all action fails because of conflicting packages when trying to update 
> gtk+2.  As per the instructions in the error message, I tried just 
> running "fink build gtk+2", but this gives the same error.  There are 
> no buildlocks present after this error message (i.e. "fink list 
> fink-buildlock" returns nothing).
>
> What steps should I take to get past this?
>
> Running OS X 10.4.11. <http://10.4.11.>  Full error spew from the 
> failed build of gtk+2 is below.
>
> Thanks.
>
> $ fink build gtk+2
> Password:
> Information about 6846 packages read in 1 seconds.
> The following package will be built:
>  gtk+2
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-gtk+2-2.12.10-1 
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-gtk+2-2.12.10-1' in 
> `/sw/src/fink.build/fink-buildlock-gtk+2-2.12.10-1_2008.08.01-12.00.06_darwin-i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i 
> /sw/src/fink.build/fink-buildlock-gtk+2-2.12.10-1_2008.08.01-12.00.06_darwin-i386.deb
> dpkg: regarding 
> .../fink-buildlock-gtk+2-2.12.10-1_2008.08.01-12.00.06_darwin-i386.deb 
> containing fink-buildlock-gtk+2-2.12.10-1:
>  fink-buildlock-gtk+2-2.12.10-1 conflicts with gtk+2-dev (<< 2.12.10-1)
>   gtk+2-dev (version 2.6.10-1004) is installed.
The solution is of a general class.  If you have a package that 
conflicts with another one, but _that_ package can't be removed 
automatically, then you need to remove it yourself. 

I.e., in this case, manually remove gtk+2-dev

We had some reports of gtk+2 not building correctly if an old gtk+2-dev 
was present--this change was made to deal with that issue.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Moritz Kaiser | 2 Aug 08:43
Picon

Re: openmotif problems

I've got exactly the same problem. Errors are identical.
(Mac OS 10.4.11)
Package manager version: 0.28.5
Distribution version: selfupdate-cvs Fri Aug  1 16:52:47 2008, 10.4, i386

Yours,
Moritz

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Martin Costabel | 2 Aug 12:31
Picon

Re: openmotif problems

Moritz Kaiser wrote:
> I've got exactly the same problem. Errors are identical.
> (Mac OS 10.4.11)
> Package manager version: 0.28.5
> Distribution version: selfupdate-cvs Fri Aug  1 16:52:47 2008, 10.4, i386

Could you have a look at the file config.log (in the directory 
/sw/src/fink.build/openmotif3-2.2.4-1/openmotif-2.2.4/) and see what it 
says about X11/Xos_r.h? In my case (built without errors), there are the 
following lines:

configure:21480: checking X11/Xos_r.h usability
configure:21493: gcc -c -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI 
-DXNO_MTSAFE_TIMEAPI -I/sw/include conftest.c >&5
configure:21496: $? = 0
configure:21499: test -s conftest.o
configure:21502: $? = 0
configure:21512: result: yes
configure:21516: checking X11/Xos_r.h presenceconfigure:21527: gcc -E 
-I/sw/include conftest.cconfigure:21533: $? = 0
configure:21552: result: yes
configure:21588: checking for X11/Xos_r.h
configure:21595: result: yes

--

-- 
Martin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Moritz Kaiser | 2 Aug 18:53
Picon

Re: openmotif problems

Martin Costabel schrieb:
> Moritz Kaiser wrote:
>> I've got exactly the same problem. Errors are identical.
>> (Mac OS 10.4.11)
>> Package manager version: 0.28.5
>> Distribution version: selfupdate-cvs Fri Aug  1 16:52:47 2008, 10.4, 
>> i386
>
> Could you have a look at the file config.log (in the directory 
> /sw/src/fink.build/openmotif3-2.2.4-1/openmotif-2.2.4/) and see what 
> it says about X11/Xos_r.h? In my case (built without errors), there 
> are the following lines:
>
> configure:21480: checking X11/Xos_r.h usability
> configure:21493: gcc -c -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI 
> -DXNO_MTSAFE_TIMEAPI -I/sw/include conftest.c >&5
> configure:21496: $? = 0
> configure:21499: test -s conftest.o
> configure:21502: $? = 0
> configure:21512: result: yes
> configure:21516: checking X11/Xos_r.h presenceconfigure:21527: gcc -E 
> -I/sw/include conftest.cconfigure:21533: $? = 0
> configure:21552: result: yes
> configure:21588: checking for X11/Xos_r.h
> configure:21595: result: yes
>
for me it looks somewhat different:

--8<------- *snip*
configure:21480: checking X11/Xos_r.h usability
configure:21493: gcc -c -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI 
-DXNO_MTSAFE_TIMEAPI -I/sw/include conftest.c >&5
In file included from 
/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/X11/Xos_r.h:83,
                 from configure:21556:
/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/X11/Xos.h:298:23: error: 
X11/Xarch.h: No such file or directory
In file included from configure:21556:
/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/X11/Xos_r.h:84:25: error: 
X11/Xfuncs.h: No such file or directory
configure:21496: $? = 1
 --8<------- *snip*

Followed by a lot of gibberish.
Do I miss some packages from Apple?

Sincerely,
Moritz

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Martin Costabel | 2 Aug 19:56
Picon

Re: openmotif problems

Moritz Kaiser wrote:
[]
> In file included from 
> /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/X11/Xos_r.h:83,
>                  from configure:21556:
> /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/X11/Xos.h:298:23: error: 
> X11/Xarch.h: No such file or directory
> In file included from configure:21556:
> /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/X11/Xos_r.h:84:25: error: 
> X11/Xfuncs.h: No such file or directory
> configure:21496: $? = 1
>  --8<------- *snip*
> 
> Followed by a lot of gibberish.
> Do I miss some packages from Apple?

It seems so, doesn't it? On my Tiger machine, these two files

/usr/X11R6/include/X11/Xarch.h and
/usr/X11R6/include/X11/Xfuncs.h

were installed by the X11SDK.pkg (from some xcode disk image, I suppose; 
it's been a long time...)

--

-- 
Martin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Mike Zanker | 2 Aug 21:24
Favicon

Loss of font quality with new gnome

Ever since the big gnome release a few weeks ago my fonts in gtk2 
applications have been very thin and "spidery". I've never really got 
the hang of font quality in X but had managed to get something 
satisfactory by having a .gtkrc-2.0 with the one line

gtk-font-name = "Bitstream Vera Sans 12"

in it, but the font I have now in gtk2 apps is definitely not the one I 
had before.

Any ideas where I can look to get things looking decent again?

Thanks,

Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Richard Kettlewell | 3 Aug 17:54
Picon

pkg-config --cflags gtk+-2.0 cannot find pango

My configure script uses AM_PATH_GTK_2_0 (which is defined in gtk+2-dev) 
to find compilation flags for GTK+, but fails in current Fink because 
Pango's .pc files aren't on pkg-config's search path by default.

chymax$ /sw/bin/pkg-config --cflags gtk+-2.0
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pango', required by 'GDK', not found
chymax$ dpkg -l gtk*-dev pango*dev | grep ^i
ii  gtk+2-dev      2.12.11-1      The Gimp Toolkit
ii  pango1-xft2-ft 1.20.5-1       GTK+ - i18n text development headers 
and lib
chymax$ dpkg -L pango1-xft2-ft219-dev|grep pc
/sw/lib/pango-ft219/lib/pkgconfig/pango.pc
/sw/lib/pango-ft219/lib/pkgconfig/pangocairo.pc
/sw/lib/pango-ft219/lib/pkgconfig/pangoft2.pc
/sw/lib/pango-ft219/lib/pkgconfig/pangox.pc
/sw/lib/pango-ft219/lib/pkgconfig/pangoxft.pc
/sw/lib/pango-ft219/lib/pkgconfig/xrender.pc

Obviously this is trivial to work around by setting PKG_CONFIG_PATH, but 
surely this behavior is not as intended?

ttfn/rjk

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Martin Costabel | 3 Aug 18:32
Picon

Re: pkg-config --cflags gtk+-2.0 cannot find pango

Richard Kettlewell wrote:
> My configure script uses AM_PATH_GTK_2_0 (which is defined in gtk+2-dev) 
> to find compilation flags for GTK+, but fails in current Fink because 
> Pango's .pc files aren't on pkg-config's search path by default.
> 
> chymax$ /sw/bin/pkg-config --cflags gtk+-2.0
> Package pango was not found in the pkg-config search path.
> Perhaps you should add the directory containing `pango.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'pango', required by 'GDK', not found
> chymax$ dpkg -l gtk*-dev pango*dev | grep ^i
> ii  gtk+2-dev      2.12.11-1      The Gimp Toolkit
> ii  pango1-xft2-ft 1.20.5-1       GTK+ - i18n text development headers 
> and lib
> chymax$ dpkg -L pango1-xft2-ft219-dev|grep pc
> /sw/lib/pango-ft219/lib/pkgconfig/pango.pc
> /sw/lib/pango-ft219/lib/pkgconfig/pangocairo.pc
> /sw/lib/pango-ft219/lib/pkgconfig/pangoft2.pc
> /sw/lib/pango-ft219/lib/pkgconfig/pangox.pc
> /sw/lib/pango-ft219/lib/pkgconfig/pangoxft.pc
> /sw/lib/pango-ft219/lib/pkgconfig/xrender.pc
> 
> Obviously this is trivial to work around by setting PKG_CONFIG_PATH, but 
> surely this behavior is not as intended?

It is. I am not sure if it is documented anywhere outside of the mailing 
list archives, but there you can find it.

I guess it will eventually also be documented in the "compile-myself" 
FAQ entry.

--

-- 
Martin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Richard Kettlewell | 3 Aug 18:37
Picon

Re: pkg-config --cflags gtk+-2.0 cannot find pango

Martin Costabel wrote:
> Richard Kettlewell wrote:

>> Obviously this is trivial to work around by setting PKG_CONFIG_PATH, 
>> but surely this behavior is not as intended?
> 
> It is.

Why???

 > I am not sure if it is documented anywhere outside of the mailing
> list archives, but there you can find it.
> 
> I guess it will eventually also be documented in the "compile-myself" 
> FAQ entry.

ttfn/rjk

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane