On 7/6/14, 10:53 AM, Andreas Wunnenberg wrote:

<snip>Thanks.  We really only need to see the platform information once, 
so we'll use the item at the bottom of the output.

> Setting up fink-buildlock-lazarus-aqua-1.2.4-1 (2014.07.06-19.45.44) ...
>
> sudo -u fink-bld [ENV] sh -c /tmp/fink.ZQyHz
> env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions
> -xf /sw/src/lazarus-1.2.4-0.tar.gz
> sudo -u fink-bld [ENV] sh -c /tmp/fink.nLn1H
> /tmp/fink.85XhW
> #!/bin/sh -ev
>
>    chmod 755 .
>
> # fix strange build problem on buildworld, see port notes
> #  sed -i.bak
> "s|pecFlat|TPenEndCap(pecFlat)|g"
> ide/syncolorattribeditor.pas
>
> # add the fink directory tree. This might need a check in a new version
>    sed -i.bak "s|GenerateDwarf/Value', false|GenerateDwarf/Value',
> true|g"         ide/compileroptions.pp
>
> # add the fink directory tree. This might need a check in a new version
>    sed -i.bak
> 's|1\.\.15|1\.\.16|g'
> ide/include/unix/lazbaseconf.inc
>    sed -i.tmp
> "s|'/usr/share/fpcsrc'|'/usr/share/fpcsrc','/sw/share/fpcsrc'|g"
> ide/include/unix/lazbaseconf.inc
>
>    sed -i.tmp
> 's|1\.\.8|1\.\.9|g'
> ide/include/unix/lazbaseconf.inc
>    sed -i.tmp
> "s|'/usr/share/lazarus',|'/usr/share/lazarus','/sw/share/lazarus',|g"
> ide/include/unix/lazbaseconf.inc
>
>    sed -i.tmp
> "s|'/etc/lazarus'|'/sw/etc/lazarus'|g"
> ide/include/unix/lazbaseconf.inc
>
>    sed -i.tmp
> "s|AddFilenameToList(List,'/usr/local/bin/'+GetDefaultCompilerFilename);|AddFilenameToList(List,'/sw/bin/'+GetDefaultCompilerFilename);
> AddFilenameToList(List,'/usr/local/bin/'+GetDefaultCompilerFilename);|g"  
> ide/include/unix/lazbaseconf.inc
>
>
> # adjust the default paths to fink paths
>
>    sed -i.bak 's|/usr/local/bin/_PPCARCH_|/sw/bin/fpc|g'
> tools/install/macosx/environmentoptions.xml
>    sed -i.tmp 's|/usr/local/share|/sw/share|g'
> tools/install/macosx/environmentoptions.xml
>    sed -i.tmp 's|/Developer/lazarus|/sw/share/lazarus|g'
> tools/install/macosx/environmentoptions.xml
> sudo -u fink-bld [ENV] sh -c /tmp/fink.H2r1J
> /tmp/fink.yWfkU
> #!/bin/sh -ev
>
>    debug_options="-gl -gw -dDBG_WITH_TIMEOUT"
>    if [ "x86_64" = "x86_64" ]; then carbon_arch="PP=ppc386
> CPU_TARGET=i386 CPU_SOURCE=i386" ; else carbon_arch="" ; fi
>
> # ** Start compiling lazarus
>
>    AllUnits="registration lazutils codetools lcl basecomponents
> bigidecomponents"
>    if   [ "-aqua" == "-aqua" ]; then
>      make $AllUnits all LCL_PLATFORM=carbon       OPT="$debug_options"
> $carbon_arch
>      make lhelp         LCL_PLATFORM=carbon LHELP_OPT="$debug_options"
> $carbon_arch
>    elif [ "-aqua" == "-gtk2" ]; then
>      make $AllUnits all LCL_PLATFORM=gtk2       OPT="$debug_options
> -dHasX -Fl/sw/lib/pango-ft219/lib/ -k-framework -kApplicationServices"
>      make lhelp         LCL_PLATFORM=gtk2 LHELP_OPT="$debug_options
> -dHasX -Fl/sw/lib/pango-ft219/lib/ -k-framework -kApplicationServices
> -k-lpangocairo-1.0"
>    fi
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C
> packager/registration
> /bin/rm -f ../units/i386-darwin/fcllaz.ppu
> /bin/mkdir -p ../units/i386-darwin
> ppc386 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -Fu.
> -Fu/usr/local/lib/fpc/2.6.4/units/i386-darwin/rtl -FE.
> -FU../units/i386-darwin -gl -gw -dDBG_WITH_TIMEOUT -di386 fcllaz.pas
> Hint: Start of reading config file /sw/etc/fpc.cfg
> Hint: End of reading config file /sw/etc/fpc.cfg
> Free Pascal Compiler version 2.6.4 [2014/03/11] for i386
> Copyright (c) 1993-2014 by Florian Klaempfl and others
> Target OS: Darwin for i386
> Compiling fcllaz.pas
> Compiling registerfcl.pas
> Compiling lazaruspackageintf.pas
> Assembling (pipe) ../units/i386-darwin/lazaruspackageintf.s
> registerfcl.pas(45,22) Fatal: Can't find unit process used by RegisterFCL
> Fatal: Compilation aborted
> make[1]: *** [fcllaz.ppu] Error 1
> make: *** [registration] Error 2
> ### execution of /tmp/fink.yWfkU failed, exit code 2
> ### execution of /tmp/fink.H2r1J failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-lazarus-aqua-1.2.4-1
> (Reading database ... 18970 files and directories currently installed.)
> Removing fink-buildlock-lazarus-aqua-1.2.4-1 ...
> Failed: phase compiling: lazarus-aqua-1.2.4-1 failed
>
> Before reporting any errors, please run "fink selfupdate" and try again.
>
> If you continue to have issues, please check to see if the FAQ on Fink's
> website solves the problem.  If not, ask on one (not both, please) of
> these mailing lists:
>
>      The Fink Users List <fink-users@lists.sourceforge.net>
>      The Fink Beginners List <fink-beginn...@lists.sourceforge.net>,
>
> with a carbon copy to the maintainer:
>
>      Karl-Michael Schindler <karl-michael.schind...@web.de>
>
> Note that this is preferable to emailing just the maintainer directly,
> since most fink package maintainers do not have access to all possible
> hardware and software configurations.
>
> Please try to include the complete error message in your report.  This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
>
> *Also include the following system information:*
> *Package manager version: 0.37.0*
> *Distribution version: selfupdate-rsync Sun Jul  6 11:57:07 2014, 10.9,
> x86_64*
> *Trees: local/main stable/main*
> *Xcode.app: 5.1.1*
> *Xcode command-line tools: 5.1.0.0.1.1396320587*
> *lazarus-aqua-1.2.4-1 is set to build with only one job.*
>

Forwarding this onto the mailing list, because _I_ don't know anything 
special about lazarus.

I get a different failure (same platform information):

ppc386 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -Fu. -FE. 
-FU../units/i386-darwin -gl -gw -dDBG_WITH_TIMEOUT -di386 fcllaz.pas
Hint: Start of reading config file /sw/etc/fpc.cfg
Hint: End of reading config file /sw/etc/fpc.cfg
Free Pascal Compiler version 2.6.4 [2014/03/11] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Darwin for i386
Compiling fcllaz.pas
Fatal: Can't find unit system used by fcllaz
Fatal: Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1

However, it appears that you are building against a third-party fpl, as 
indicated by the "-Fu/usr/local/lib/fpc/2.6.4/units/i386-darwin/rtl". 
We can't guarantee that packages will build properly when using 
third-party stuff.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to