-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/17/10 12:31 PM, James Howse wrote:
>  On 8/17/10 9:34 AM, Alexander Hansen wrote:
>> On 8/17/10 11:19 AM, James Howse wrote:
>>>  I am using an Intel mac running leopard 10.5.8 and xcode 3.1.4.  While 
>>> upgrading to
>>> kdeedu4-mac-base 4.4.1-2 the build fails with the following error.  Any 
>>> suggestions
>> for a fix?
>>> Thanks,
>>> James
>>
>>
>>> /bin/rm -f 
>>> /opt/fink/src/fink.build/root-kalgebra4-mac-4.4.1-2/opt/fink/info/dir
>>> /opt/fink/src/fink.build/root-kalgebra4-mac-4.4.1-2/opt/fink/info/dir.old
>>> /opt/fink/src/fink.build/root-kalgebra4-mac-4.4.1-2/opt/fink/share/info/dir
>>> /opt/fink/src/fink.build/root-kalgebra4-mac-4.4.1-2/opt/fink/share/info/dir.old
>>> /bin/rm -rf /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2
>>> /bin/mkdir -p /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink
>>> /bin/mkdir -p /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/DEBIAN
>>> /usr/sbin/chown -R root:admin 
>>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2
>>> /usr/bin/install -d -m 755
>>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink/opt/kde4/mac/bin
>>> /bin/mv
>>> /opt/fink/src/fink.build/root-kdeedu4-mac-4.4.1-2/opt/fink/opt/kde4/mac/bin/kalzium*
>>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink/opt/kde4/mac/bin/
>>> /usr/bin/install -d -m 755
>>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/kde4
>>> /bin/mv
>>>
>> /opt/fink/src/fink.build/root-kdeedu4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/kde4/*didyouknow*
>>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/kde4/
>>> /bin/mv
>>> /opt/fink/src/fink.build/root-kdeedu4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/kde4/*kalzium*
>>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/kde4/
>>> /bin/mv
>>>
>> /opt/fink/src/fink.build/root-kdeedu4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/kde4/*Calculator*
>>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/kde4/
>>> /usr/bin/install -d -m 755
>>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib
>>> /bin/mv
>>>
>> /opt/fink/src/fink.build/root-kdeedu4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/libavogadro-kalzium.0*.dylib
>>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/
>>> mv: rename
>>>
>> /opt/fink/src/fink.build/root-kdeedu4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/libavogadro-kalzium.0*.dylib
>>> to
>>>
>> /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/libavogadro-kalzium.0*.dylib:
>>> No such file or directory
>>> ### execution of /bin/mv failed, exit code 1
>>> Removing runtime build-lock...
>>> Removing build-lock package...
>>> /opt/fink/bin/dpkg-lockwait -r fink-buildlock-kdeedu4-mac-4.4.1-2
>>> (Reading database ... 261086 files and directories currently installed.)
>>> Removing fink-buildlock-kdeedu4-mac-4.4.1-2 ...
>>> Failed: phase installing: kalzium4-mac-4.4.1-2 failed
>>
>>
>>
>> "mv failed" is often a _symptom_ of an issue earlier in the build which
>> caused a file not to be built--and the error could potentially involve
>> some other part of the package:
>>
>> http://www.finkproject.org/faq/comp-general.php?phpLang=en#mv-failed
>>
>> .
> 
> I will save a more extensive log file.   By the way, does fink save any log 
> files while
> building and if so where?
> 

You can turn those on via the -l (--log-output) option.  The default
option, via "fink -l build <packagename>" saves them in /tmp.  You can
save them elsewhere via

fink -l --logfile=/path/to/filename build <packagename>

Check "man fink"

>>
>> Unless there's a case sensitivity problem:  you would have to be on a
>> case-sensitive filesystem, and there would be some differently-cased
>> variant of the missing file within
>> /opt/fink/src/fink.build/root-kdeedu4-mac-4.4.1-2/opt/fink/opt/kde4/mac/lib/
>> .
> 
> I am not using a case sensitive file system.
> 
>>
>> Or a typo, if there is a differently-spelled library within that
>> directory, or if the library got built but mislaid somewhere else in the
>> build directory.
>>
>> In any case you're going to want to check your build log, and possibly use
>>
>> find /opt/fink/src/fink.build/kdeedu4-mac-4.4.1-2 -name
>> "libavogadro-kalzium.*"
>> find /opt/fink/src/fink.build/root-kdeedu4-mac-4.4.1-2 -name
>> "libavogadro-kalzium.*"
>> find /opt/fink/src/fink.build/root-kalzium4-mac-4.4.1-2 -name
>> "libavogadro-kalzium.*"
> 
> I ran the above commands and all returned nothing.  There is a directory 
> called
> 
> /opt/fink/src/fink.build/kdeedu4-mac-4.4.1-2/kdeedu-4.4.1/kalzium/libavogadro-kalzium
> 
> but it does not contain any dynamic libraries.
> 
> 

It looks like there's an undeclared dependency on libopenbabel3 which is
causing the issue (backtracking from J-F Mertens' successful build).
Installing libopenbabel3-dev should work around the issue--although when
the package is fixed it will likely force a reqbuild.

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxqu88ACgkQB8UpO3rKjQ+oBgCffnC0G6BD9y2IueHDgLV5lAk4
9BgAnjEzYOFGz+lSvvybtJkXsjx2PF77
=e3x0
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to