Comments (7)
If you are building mogan in Chinese mainland, VPN or proxy is needed. Otherwise, please run xmake config --yes -c -vD --qt=/usr/local/Cellar/qt
to get verbose output.
from mogan.
checking for platform ... macosx
checking for architecture ... x86_64
checking for Xcode directory ... %s
checking for Codesign Identity of Xcode ... no
checkinfo: cannot runv(zig version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(zig version), No such file or directory
checking for zig ... no
checking for /Library/Developer/CommandLineTools/usr/bin/clang ... ok
checking for the c++ compiler (cxx) ... clang
checking for /Library/Developer/CommandLineTools/usr/bin/clang ... ok
checking for the c++ compiler (cxx) ... clang
checking for the c++ compiler (cxx) ... clang
checking for the c++ compiler (cxx) ... clang
checking for the c++ compiler (cxx) ... clang
checking for the c++ compiler (cxx) ... clang
checking for the c++ compiler (cxx) ... clang
checking for flags (-fPIC) ... ok
> clang "-fPIC" "-Qunused-arguments"
> /Library/Developer/CommandLineTools/usr/bin/clang -c -Qunused-arguments -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_D28CD90CD1C94B1086EFC7A0A1A80D40.o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_06B26C42C6C94ECCB898078100E7B0D0.cpp
> /Library/Developer/CommandLineTools/usr/bin/clang -c -Qunused-arguments -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_B504BEA263E346108241D321F1D86D40.o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_E038A6FC9E264D3FB8013F25D1D0827C.cpp
> /Library/Developer/CommandLineTools/usr/bin/clang -c -Qunused-arguments -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_96613141AEF4463081D21A86A08E8F30.o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_F62EC819AE8C4574ADC3FB5CCFCA09A5.cpp
> /Library/Developer/CommandLineTools/usr/bin/clang -c -Qunused-arguments -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_D78E0EE7795549008BB8799A8CDD5530.o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_41B84438918B46D8927BF4947AF0C961.cpp
> /Library/Developer/CommandLineTools/usr/bin/clang -c -Qunused-arguments -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_3E83EBF357A6470084F2CFC90CE38720.o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_59F348F09726452D9EA3B93D3DDB7CDA.cpp
> /Library/Developer/CommandLineTools/usr/bin/clang -c -Qunused-arguments -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_7F75F2263D4546308C9237790EBB4360.o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_83451946B9C94C818D3008591D49D3D1.cpp
checking for flags (-fPIC) ... ok
> clang "-fPIC" "-Qunused-arguments" "-isysroot" "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
> /Library/Developer/CommandLineTools/usr/bin/clang -c -Qunused-arguments -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_B5EB9742CA6B442082F067CF1F160B30.o /var/folders/9t/162y39f11qgg4k1v9c2pvzkw0000gp/T/.xmake502/240101/_D8DE1803C59C4770864681C4AE1591AF.cpp
> checking for c++ includes(inttypes.h)
checking for HAVE_INTTYPES_H ... ok
> checking for c++ includes(unistd.h)
checking for HAVE_UNISTD_H ... ok
> checking for c++ includes(sys/stat.h)
checking for HAVE_SYS_STAT_H ... ok
> checking for c++ includes(sys/types.h)
checking for HAVE_SYS_TYPES_H ... ok
> checking for c++ includes(stdint.h)
checking for HAVE_STDINT_H ... ok
> checking for c++ includes(util.h)
checking for HAVE_UTIL_H ... ok
> checking for c++ includes(memory)
> checking for c++ types(intptr_t)
checking for HAVE_INTPTR_T ... ok
checking for unzip ... /usr/bin/unzip
checking for git ... /usr/bin/git
checking for gzip ... /usr/bin/gzip
checking for tar ... /usr/bin/tar
/usr/bin/git rev-parse HEAD
finding s7 from xmake ..
checking for xmake::s7 ... s7 2023.04.13
finding tbox from xmake ..
checking for xmake::tbox ... tbox v1.7.5
checking for cmake ... no
checking for cmake ... /usr/local/bin/cmake
finding libcurl from xmake ..
checking for xmake::libcurl ... libcurl 8.4.0
finding cpr from xmake ..
checking for xmake::cpr ... cpr 1.10.5
finding lolly from xmake ..
checking for xmake::lolly ... lolly v1.3.12
finding zlib from xmake ..
checking for xmake::zlib ... no
finding zlib from brew ..
checking for brew ... /usr/local/bin/brew
checking for brew::zlib ... no
finding zlib from find_zlib ..
finding zlib from brew ..
finding zlib from vcpkg ..
finding zlib from conan ..
finding zlib from pkgconfig ..
checking for pkg-config ... /usr/local/bin/pkg-config
checking for zlib ... ::zlib 1.2.12
finding freetype from xmake ..
checking for xmake::freetype ... freetype 2.12.1
finding libaesgm from xmake ..
checking for xmake::libaesgm ... libaesgm 2013.1.1
finding libpng from xmake ..
checking for xmake::libpng ... libpng v1.6.37
finding libjpeg from xmake ..
checking for xmake::libjpeg ... libjpeg v9e
finding pdfhummus from xmake ..
checking for xmake::pdfhummus ... no
finding libiconv from xmake ..
checking for xmake::libiconv ... libiconv 1.17
checking for ping ... /sbin/ping
pinging the host(github.com) ... 42 ms
/usr/bin/git clone https://github.com/galkahana/PDF-Writer.git -b 4.6.2 --depth 1 --recursive --shallow-submodules -c core.fsmonitor=false source.tmp/pdfhummus
Cloning into 'source.tmp/pdfhummus'...
warning: Could not find remote branch 4.6.2 to clone.
fatal: Remote branch 4.6.2 not found in upstream origin
error: @programdir/core/sandbox/modules/os.lua:378: execv(/usr/bin/git clone https://github.com/galkahana/PDF-Writer.git -b 4.6.2 --depth 1 --recursive --shallow-submodules -c core.fsmonitor=false source.tmp/pdfhummus) failed(128)
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:949]:
[@programdir/core/sandbox/modules/os.lua:378]:
[@programdir/core/sandbox/modules/os.lua:291]: in function 'vrunv'
[@programdir/modules/devel/git/clone.lua:131]:
[...modules/private/action/require/impl/actions/download.lua:99]: in function '_checkout'
[...modules/private/action/require/impl/actions/download.lua:340]:
=> clone https://github.com/galkahana/PDF-Writer.git 4.6.2 .. failed
we can also download these packages manually:
- https://github.com/galkahana/PDF-Writer.git
to the local search directories:
- pdfhummus, PDF-Writer
and we can run `xmake g --pkg_searchdirs=/xxx` to set the search directories.
error: @programdir/core/main.lua:314: @programdir/modules/async/runjobs.lua:320: ...modules/private/action/require/impl/actions/download.lua:397:
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:949]:
[...modules/private/action/require/impl/actions/download.lua:397]: in function 'catch'
[@programdir/core/sandbox/modules/try.lua:123]: in function 'try'
[...modules/private/action/require/impl/actions/download.lua:317]:
[...modules/private/action/require/impl/install_packages.lua:472]: in function 'jobfunc'
[@programdir/modules/async/runjobs.lua:237]:
stack traceback:
[C]: in function 'error'
@programdir/core/base/os.lua:949: in function 'os.raiselevel'
(...tail calls...)
@programdir/core/main.lua:314: in upvalue 'cotask'
@programdir/core/base/scheduler.lua:404: in function <@programdir/core/base/scheduler.lua:397>
from mogan.
As described in https://github.com/xmake-io/xmake-repo/blob/dev/packages/p/pdfhummus/xmake.lua , it will try
https://github.com/galkahana/PDF-Writer/archive/refs/tags/$(version).tar.gz
https://github.com/galkahana/PDF-Writer/archive/refs/tags/v$(version).tar.gz
https://github.com/galkahana/PDF-Writer.git
one by one.
It should work fine to download the tar gz, and should not try the last git url. If it failed to download the tar.gz, you can download it manually and put it to $HOME/packages
, and then xmake g --pkg_searchdirs=$HOME/packages
. And then it should work fine.
from mogan.
And I guess have not synced the latest the xrepo, run xmake repo -u
and then run xmake config
, it should work fine for people who have no trouble of accessing github.
The xmake-repo is cloned to $HOME/.xmake/repositories/xmake-repo
on Linux and macOS.
from mogan.
Ah! I see. The reason is, I did not perform xmake repo -u
. Sorry I'm new to xmake.
from mogan.
Confirm: I am now able to configure the project.
from mogan.
here is the final fix of this issue on macOS arm64: #1540
from mogan.
Related Issues (20)
- Search documentation missing from help menu and Shortcut (F1) adds a leading semicolon HOT 10
- LaTeX export fails silently if there exists an empty macro in the preamble HOT 1
- Stable releases HOT 4
- 升级到V1.2.3后设置丢失 HOT 5
- 文档修改后如果未点击文档更新直接进行文档的缩放会弹窗提示错误
- Emacs "/" Keybinding not working HOT 2
- Memory consumption issue HOT 1
- Large brackets issue with Stix font
- Cursor position issue with hyphenation
- Mogan took so much time to open HOT 4
- Windows instalation file marked as virus by Google Chrome HOT 6
- Termux packaging HOT 1
- Debian packaging: the minor version is not recorded HOT 1
- Add installation via Pacstall or similar HOT 1
- Octave 插件,tab补全会死机
- Call external editor to edit `executable-fold` and refresh HOT 2
- No support for RPM package? HOT 1
- beamer增减新页故障
- Embedded image, produced by texmacs, is trimmed
- The command \S HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mogan.