On Jul 18, 2008, at 11:51 AM, Nicholas Pappas Klingaman wrote:

> On Fri, Jul 18, 2008 at 4:36 PM, Alexander Hansen
> <[EMAIL PROTECTED]> wrote:
>>
>> Plausible, though on my own system (Macbook with X11 2.2.3) the  
>> build log
>> looks pretty much identical and the package builds correctly.  The  
>> culprit
>> may be your 'cp'.  What do you get from "which cp" ?
>>
>
> "which cp" returns /bin/cp.  I can't find any other instance of 'cp'
> installed in any place I'd expect (e.g., /opt/bin, /usr/bin,
> /usr/local/bin ...).  I haven't (knowingly) done anything to replace
> 'cp' or change its behavior.
>
> Thanks for your help,
> Nick
>

That's really strange to me, then--I'm using the system's bin/cp as  
well.  I'm at a loss to see what the difference might be.  You might  
try checking the .deb file again, to see if the rebuild changed its  
contents by some fluke.






>> On Jul 18, 2008, at 10:58 AM, Nicholas Pappas Klingaman wrote:
>>
>>> (Sorry, forgot to cc the list in my response.)
>>>
>>> Hi Alexander,
>>>
>>> Running
>>> dpkg -c /opt/fink/debs/ocaml-findlib_1.1.2-1_darwin-i386.deb | grep
>>> lib/ocaml
>>>
>>> produces
>>>
>>> -rw-r--r-- root/admin     1175 2008-07-18 15:31 ./opt/lib/ocaml
>>>
>>> which leads me to conclude that lib/ocaml is indeed not a directory.
>>>
>>> I've run "fink -l rebuild ocaml-findlib" and placed the resulting  
>>> log at
>>>
>>> http://www.met.rdg.ac.uk/~swr05npk/fink-build-log_ocaml-findlib_1.1.2-1_2008.07.18-15.30.48
>>>
>>> Perhaps this line shows where things are going wrong?
>>> test 1 -eq 0 || cp topfind
>>> /opt/src/fink.build/root-ocaml-findlib-1.1.2-1/opt/lib/ocaml
>>>
>>> Since the opt/lib/ocaml directory isn't created (that I can see),  
>>> the
>>> build process appears to be copying a file "topfind" to a file  
>>> "ocaml"
>>> in opt/lib.  Does that make any sense?
>>> Thanks for your help.
>>>
>>> Regards,
>>> Nick
>>>
>>> On Fri, Jul 18, 2008 at 1:19 PM, Alexander Hansen
>>> <[EMAIL PROTECTED]> wrote:
>>>>
>>>> On Wed, Jul 16, 2008 at 5:35 AM, Nicholas Klingaman
>>>> <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>> Good morning,
>>>>>
>>>>> After moving from the pangocairo branch back to unstable and  
>>>>> running
>>>>> "fink update-all", my MacBook is stuck trying to install ocaml-
>>>>> findlib.  The package appears to build correctly, but when fink  
>>>>> tries
>>>>> to install the package, I receive the following error:
>>>>>
>>>>> Unpacking ocaml-findlib (from .../ocaml-findlib_1.1.2-1_darwin-
>>>>> i386.deb) ...
>>>>> /opt/bin/dpkg: error processing /opt/fink/dists/unstable/main/ 
>>>>> binary-
>>>>> darwin-i386/languages/ocaml-findlib_1.1.2-1_darwin-i386.deb (-- 
>>>>> install):
>>>>> trying to overwrite directory `/opt/lib/ocaml' in package ocaml  
>>>>> with
>>>>> nondirectory
>>>>> /opt/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe)
>>>>> Errors were encountered while processing:
>>>>> /opt/fink/dists/unstable/main/binary-darwin-i386/languages/ocaml-
>>>>> findlib_1.1.2-1_darwin-i386.deb
>>>>> ### execution of /opt/bin/dpkg-lockwait failed, exit code 1
>>>>> Failed: can't install package ocaml-findlib-1.1.2-1
>>>>>
>>>>> I have tried to rebuild and reinstall ocaml and ocaml-findlib,  
>>>>> without
>>>>> success.  This is on a MacBook (Intel) running 10.5.4 with XCode  
>>>>> 3.1
>>>>> and Xquartz 2.2.3.
>>>>>
>>>>> Thanks for your help,
>>>>> Nick
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>> Nicholas Klingaman
>>>>> Candidate for Doctor of Philosophy
>>>>> Department of Meteorology, University of Reading
>>>>>
>>>>> Postal address:
>>>>> Room 1U07
>>>>> Department of Meteorology
>>>>> Earley Gate, University of Reading
>>>>> P.O. Box 243
>>>>> Reading, Berkshire RG6 6BB
>>>>> United Kingdom
>>>>>
>>>>> Office phone: +44 (0)1183 787618
>>>>> E-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>
>>>> That's odd:  I have both installed, and lib/ocaml from ocaml- 
>>>> findlib
>>>> is indeed a directory, so I would conclude that your build did  
>>>> not in
>>>> fact work properly.  Let's make sure that's what's going on by  
>>>> running
>>>>
>>>> dpkg -c /opt/fink/debs/ocaml-findlib_1.1.2-1_darwin-i386.deb | grep
>>>> lib/ocaml/
>>>>
>>>> If lib/ocaml is a directory then we'll need to look elsewhere for  
>>>> the
>>>> solution.  But if not, try rebuilding it using "fink -l rebuild
>>>> ocaml-findlib" to capture a log in /tmp.
>>>>
>>>> --
>>>> Alexander K. Hansen
>>>> akh AT finkproject DOT org
>>>> Fink User Liaison and Documenter
>>>
>>>
>>>


-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to