Re: [Fink-devel] fink buildlock problem?

2005-06-13 Thread Daniel Macks
On Mon, Jun 13, 2005 at 08:34:54PM -0400, Kevin Horton wrote:
 I've got the latest unstable fink on OS X 10.4.1.  Tonight I ran into  
 a strange problem with a buildlock from a build that was done many  
 days ago.  It was preventing fink from removing gettext-dev so it  
 could install libgettext3-dev.
 
 I eventually forced its hand by trying a fink remove gettext-dev,  
 which failed, but fink then suggested a fink remove --recursive  
 gettext-dev, which worked.
 
 While I appreciate that I eventually received a helpful hint from  
 fink, it seems strange that the problem occurred in the first place.   
 I don't know if this is a known bug, or if I stumbled across  
 something new.
 
 ==
 ...
 dpkg -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/base/ 
 libgettext3-dev_0.14.2-14_darwin-powerpc.deb
 dpkg: considering removing gettext-dev in favour of libgettext3-dev ...
 dpkg: no, cannot remove gettext-dev (--auto-deconfigure will help):
 fink-buildlock-kdelibs3-ssl-3.4.1-21 depends on gettext-dev
   gettext-dev is to be removed.

You can always manually remove any package that dpkg says is causing a
problem. For example, either one of the following would probably have
solved it:
  fink remove fink-buildlock-kdelibs3-ssl-3.4.1-21
  dpkg -r fink-buildlock-kdelibs3-ssl-3.4.1-21
Buildlocks are just ordinary packages that fink uses internally.

Fink automatically cleans up buildlocks when it finishes building
(regardless of whether the build succeeded or not). The only way they
get left is if you crash your system or interrupt the lock removal
itself. No real way to program around that:(

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] fink buildlock problem?

2005-06-13 Thread Alexander K. Hansen


On Jun 13, 2005, at 8:34 PM, Kevin Horton wrote:

I've got the latest unstable fink on OS X 10.4.1.  Tonight I ran  
into a strange problem with a buildlock from a build that was done  
many days ago.  It was preventing fink from removing gettext-dev so  
it could install libgettext3-dev.


I eventually forced its hand by trying a fink remove gettext-dev,  
which failed, but fink then suggested a fink remove --recursive  
gettext-dev, which worked.


While I appreciate that I eventually received a helpful hint from  
fink, it seems strange that the problem occurred in the first  
place.  I don't know if this is a known bug, or if I stumbled  
across something new.


==
...
dpkg -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/base/ 
libgettext3-dev_0.14.2-14_darwin-powerpc.deb
dpkg: considering removing gettext-dev in favour of libgettext3- 
dev ...

dpkg: no, cannot remove gettext-dev (--auto-deconfigure will help):
fink-buildlock-kdelibs3-ssl-3.4.1-21 depends on gettext-dev
  gettext-dev is to be removed.
dpkg: regarding .../libgettext3-dev_0.14.2-14_darwin-powerpc.deb  
containing libgettext3-dev:

libgettext3-dev conflicts with gettext-dev
  gettext-dev (version 0.10.40-24) is installed.
dpkg: error processing /sw/fink/dists/unstable/main/binary-darwin- 
powerpc/base/libgettext3-dev_0.14.2-14_darwin-powerpc.deb (--install):

conflicting packages - not installing libgettext3-dev
Errors were encountered while processing:
/sw/fink/dists/unstable/main/binary-darwin-powerpc/base/libgettext3- 
dev_0.14.2-14_darwin-powerpc.deb

### execution of dpkg failed, exit code 1
Failed: can't install package libgettext3-dev-0.14.2-14

Creating/updating cache of fink package listings for command  
completions


[EMAIL PROTECTED] 510 % fink remove gettext-dev
Information about 4666 packages read in 2 seconds.
dpkg --remove gettext-dev
dpkg: dependency problems prevent removal of gettext-dev:
fink-buildlock-kdelibs3-ssl-3.4.1-21 depends on gettext-dev; however:
  Package gettext-dev is to be removed.
dpkg: error processing gettext-dev (--remove):
dependency problems - not removing
Errors were encountered while processing:
gettext-dev
### execution of dpkg failed, exit code 1
ERROR: Can't remove package(s). If the above error message mentions  
dependency problems, you can try

  fink remove --recursive gettext-dev
This will attempt to remove the package(s) specified as well as ALL  
packages that depend on it.

Failed: can't remove package gettext-dev

Creating/updating cache of fink package listings for command  
completions


[EMAIL PROTECTED] 511 % fink remove --recursive gettext-dev
Information about 4666 packages read in 2 seconds.
apt-get remove gettext-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  fink-buildlock-kdelibs3-ssl-3.4.1-21 gettext-dev
0 packages upgraded, 0 newly installed, 2 to remove and 0  not  
upgraded.

Need to get 0B of archives. After unpacking 180kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 65929 files and directories currently  
installed.)

Removing fink-buildlock-kdelibs3-ssl-3.4.1-21 ...
Removing gettext-dev ...

=
% fink --version
Package manager version: 0.24.7
Distribution version: 0.8.0.rsync

% sw_vers
ProductName:Mac OS X
ProductVersion: 10.4.1
BuildVersion:   8B15

--
Kevin Horton


It's not new, and in such cases you should just remove the buildlock  
rather than the actual package.


--AH


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] fink buildlock problem?

2005-06-13 Thread Kevin Horton


On 13 Jun 2005, at 21:26, Alexander K. Hansen wrote:



On Jun 13, 2005, at 8:34 PM, Kevin Horton wrote:


I've got the latest unstable fink on OS X 10.4.1.  Tonight I ran  
into a strange problem with a buildlock from a build that was done  
many days ago.  It was preventing fink from removing gettext-dev  
so it could install libgettext3-dev.


I eventually forced its hand by trying a fink remove gettext- 
dev, which failed, but fink then suggested a fink remove -- 
recursive gettext-dev, which worked.




It's not new, and in such cases you should just remove the  
buildlock rather than the actual package.


This looks like a good candidate for a FAQ, unless the problem will  
go away soon.


Thanks for the info.

Kevin



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] fink buildlock problem?

2005-06-13 Thread Alexander K. Hansen


On Jun 13, 2005, at 9:35 PM, Kevin Horton wrote:



On 13 Jun 2005, at 21:26, Alexander K. Hansen wrote:




On Jun 13, 2005, at 8:34 PM, Kevin Horton wrote:



I've got the latest unstable fink on OS X 10.4.1.  Tonight I ran  
into a strange problem with a buildlock from a build that was  
done many days ago.  It was preventing fink from removing gettext- 
dev so it could install libgettext3-dev.


I eventually forced its hand by trying a fink remove gettext- 
dev, which failed, but fink then suggested a fink remove -- 
recursive gettext-dev, which worked.





It's not new, and in such cases you should just remove the  
buildlock rather than the actual package.




This looks like a good candidate for a FAQ, unless the problem will  
go away soon.


Thanks for the info.

Kevin




Not sure about the timeframe--I've never had the buildlock _not_ go  
away for *gettext*.


--AH


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel