[Craft] [Bug 419196] craftenv.sh causes automake's AM_SANITY_CHECK to fail under macOS

Hannah von Reth bugzilla_noreply at kde.org
Wed Mar 25 08:16:12 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=419196

--- Comment #3 from Hannah von Reth <vonreth at kde.org> ---
(In reply to Dawid Wróbel from comment #0)
> SUMMARY
> 
> crafenv.sh sets the environment in a way that causes automake's
> AM_SANITY_CHECK to fail: 
> checking whether build environment is sane... configure: error: ls -t
> appears to fail.  Make sure there is not a broken
> 
> Compilation works fine if manually executing ./configure without sourcing
> the craftenv.sh
> 
> 
> STEPS TO REPRODUCE
> 1. set up craft under macOS
> 2. source craft/craftenv.sh
> 3. craft libs/libopensp
> 
> OBSERVED RESULT
> 
> source  /Volumes/External/CraftRootNew/craft/craftenv.sh
> Craft               : /Volumes/External/CraftRootNew
> Version             : master
> ABI                 : macos-64-clang
> Download directory  : /Volumes/External/CraftRootNew/download
> 
> 
> 
> CRAFT:craft libs/libopensp
> Craft               : /Volumes/External/CraftRootNew
> Version             : master
> ABI                 : macos-64-clang
> Download directory  : /Volumes/External/CraftRootNew/download
> =============================================================================
> =============================================================================
> =============================================================================
> ==============================
> *** Handling package: libs/libopensp, action: all ***
> *** Action: fetch-binary for libs/libopensp ***
> *** libs/libopensp not found in cache ***
> *** Action: fetch for libs/libopensp ***
> *** Action: unpack for libs/libopensp ***
> executing command: /Volumes/External/CraftRootNew/dev-utils/bin/7za x
> /Volumes/External/CraftRootNew/download/archives/libs/libopensp/OpenSP-1.5.2.
> tar.gz -so -bsp2 | /usr/bin/tar --directory
> /Volumes/External/CraftRootNew/build/libs/libopensp/work -xf -
> *** Action: compile for libs/libopensp ***
> executing command:
> "/Volumes/External/CraftRootNew/build/libs/libopensp/work/OpenSP-1.5.2/
> configure"  --enable-shared --disable-static --disable-doc-build  
> --prefix='/Volumes/External/CraftRootNew'
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... configure: error: ls -t
> appears to fail.  Make sure there is not a broken
> alias in your environment
> configure: error: newly created file is older than distributed files!
> Check your system clock
> Action: compile for libs/libopensp:1.5.2 FAILED
> *** Craft all failed: libs/libopensp after 1 second ***
> fatal error: package libs/libopensp all failed
> Craft stopped with out completing ['libs/libopensp']
> 
> 
> EXPECTED RESULT
> 
> compile at mac-mini OpenSP-1.5.2 % source 
> /Volumes/External/CraftRootNew/craft/craftenv.sh
> Craft               : /Volumes/External/CraftRootNew
> Version             : master
> ABI                 : macos-64-clang
> Download directory  : /Volumes/External/CraftRootNew/download
> CRAFT:cd
> /Volumes/External/CraftRootNew/build/libs/libopensp/work/OpenSP-1.5.2
> CRAFT:./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... configure: error: ls -t
> appears to fail.  Make sure there is not a broken
> alias in your environment
> configure: error: newly created file is older than distributed files!
> Check your system clock
> 
> 
> SOFTWARE/OS VERSIONS
> macOS: 10.15.3
> 
> ADDITIONAL INFORMATION
> 
> Happens both with zsh and bash.

Thx for finding the source of this issue, I hate autotools.... 🤦‍♀️
I guess unsetting of CLICOLOR_FORCE during the configure step would solve that
issue, I'll have a look.

Thx

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list