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

Dawid Wróbel bugzilla_noreply at kde.org
Tue Mar 24 20:18:40 GMT 2020


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

            Bug ID: 419196
           Summary: craftenv.sh causes automake's AM_SANITY_CHECK to fail
                    under macOS
           Product: Craft
           Version: unspecified
          Platform: Other
                OS: macOS
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Core
          Assignee: vonreth at kde.org
          Reporter: dawid at klej.net
                CC: kde-windows at kde.org
  Target Milestone: ---

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.

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


More information about the Kde-windows mailing list