惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Google DeepMind News
Google DeepMind News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
P
Proofpoint News Feed
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
U
Unit 42
云风的 BLOG
云风的 BLOG
Recorded Future
Recorded Future
G
Google Developers Blog
I
InfoQ
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
Jina AI
Jina AI
量子位
宝玉的分享
宝玉的分享
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 聂微东
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
美团技术团队
The Hacker News
The Hacker News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Tailwind CSS Blog
博客园 - 司徒正美
博客园 - 叶小钗
Hugging Face - Blog
Hugging Face - Blog
P
Palo Alto Networks Blog
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
博客园 - 【当耐特】
Spread Privacy
Spread Privacy
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
Vercel News
Vercel News
Martin Fowler
Martin Fowler
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Forbes - Security
Forbes - Security
Attack and Defense Labs
Attack and Defense Labs
Google DeepMind News
Google DeepMind News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
P
Privacy International News Feed
G
GRAHAM CLULEY
The Last Watchdog
The Last Watchdog
C
Cyber Attacks, Cyber Crime and Cyber Security
AI
AI
V2EX - 技术
V2EX - 技术

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - chess-cat-git AUR (en) - uac-launch-control-bin AUR (en) - openclaw AUR (en) - keyviz-zh-bin AUR (en) - runex-bin AUR (en) - sing-box-ref1nd-beta-bin AUR (en) - netscan-tui AUR (en) - koharu-appimage AUR (en) - pulsedb AUR (en) - android-cli AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-bin
AUR (en) - libint2
2026-06-28 · via AUR Newest Packages

jahiy commented on 2023-10-18 06:48 (UTC)

The code cmake --build . check in PKGBUILD doesn't work.

cmake --build . --target check works well for me.

Tenshi65535 commented on 2022-12-08 05:42 (UTC)

releddev commented on 2020-07-14 15:41 (UTC)

@chn Ah thanks, this has worked for me!

chn commented on 2020-07-14 07:31 (UTC)

@releddev I mean modify PKGBUILD file with export CC=gcc-8 and so on at about line 41.

releddev commented on 2020-07-13 17:40 (UTC)

@chn im experiencing the same error like you even after setting the environment variables as you've suggested. Any idea why that could be? I've checked the variables were set with printenv before makepkg -i and after installing gcc8 and fortran8.

dviktor commented on 2020-05-26 20:10 (UTC)

@chn it looks like a regression with gfortran>=10. Let's continue discussion in issue thread on GitHub. As for now building with GCC8 is recommended

chn commented on 2020-05-26 15:36 (UTC)

@diviktor Thank you for your suggestion about MAKEFLAGS.

This is the error when running makepkg -si, which seems caused in make install

==> 正在进入 fakeroot 环境...
==> 正在开始 package()...
/usr/bin/install -c -d -m 0755 /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2
/usr/bin/install -c -d -m 0755 /home/chn/Desktop/libint2/pkg/libint2/usr/lib
/usr/bin/install -c -d -m 0755 /home/chn/Desktop/libint2/pkg/libint2/usr/lib/pkgconfig
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./include/libint2.h /home/chn/Desktop/libint2/pkg/libint2/usr/include
/bin/sh   ./libtool --quiet --mode=install --tag=CXX /usr/bin/install -c -m 0644 lib/libint2.la /home/chn/Desktop/libint2/pkg/libint2/usr/lib
/usr/bin/install -c -d -m 0755 /home/chn/Desktop/libint2/pkg/libint2/usr/lib/cmake/libint2
/usr/bin/install -c -m 0644 ./libint2.pc /home/chn/Desktop/libint2/pkg/libint2/usr/lib/pkgconfig
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./include/libint2.hpp /home/chn/Desktop/libint2/pkg/libint2/usr/include
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./FindLibint2.cmake /home/chn/Desktop/libint2/pkg/libint2/usr/lib/cmake/libint2
/usr/bin/install -c -d -m 0755 /home/chn/Desktop/libint2/pkg/libint2/usr/share/libint/2.6.0/basis
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./include/libint2/*.h /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2
(cd fortran && make) || exit 1
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./lib/basis/* /home/chn/Desktop/libint2/pkg/libint2/usr/share/libint/2.6.0/basis
make[1]: 警告: jobserver 不可用: 正使用 -j1。添加 “+” 到父 make 的规则。
make[1]: 进入目录“/home/chn/Desktop/libint2/src/build/libint-2.6.0/fortran”
g++ -E -DHAVE_CONFIG_H -D__COMPILING_LIBINT2=1 -D__COMPILING_LIBINT2=1 -I../include -I..//include -D_FORTIFY_SOURCE=2 -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -mfma -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -mfma  ../include/libint2.h > ../include/libint2.h.i
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./include/libint2_*.h /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2
/usr/bin/install -c -m 0644 ./include/libint2/config.h /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2
/usr/bin/install -c -d -m 0755 /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2/chemistry
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./include/libint2/chemistry/*.h /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2/chemistry
/usr/bin/install -c -d -m 0755 /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2/lcao
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./include/libint2/lcao/*.h /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2/lcao
/usr/bin/install -c -d -m 0755 /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2/util
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./include/libint2/util/*.h /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2/util
/usr/bin/install -c -d -m 0755 /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2/util/generated
/usr/bin/install -c -m 0644 /home/chn/Desktop/libint2/src/build/libint-2.6.0/./include/libint2/util/generated/*.h /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2/util/generated
if test "X1" = "X0"; then `gunzip -c /home/chn/Desktop/libint2/src/build/libint-2.6.0/./external/boost.tar.gz | tar -xf - -C /home/chn/Desktop/libint2/pkg/libint2/usr/include/libint2`; fi
python c_to_f.py ../include/libint2.h.i libint2_types_f.h Libint_t
grep '^#' ../include/libint2_types.h | grep -v '#include' > fortran_incldefs.h
FC libint_f.o
../include/libint2/util/generated/libint2_params.h:29:0:

   29 | #    if __has_include(<libint2_params.h>)
      | 
错误: missing '(' before "__has_include" operand
../include/libint2/util/generated/libint2_params.h:29:0: 错误: operator "__has_include" requires a header-name
make[1]: *** [../MakeSuffixRules:12:libint_f.o] 错误 1
make[1]: 离开目录“/home/chn/Desktop/libint2/src/build/libint-2.6.0/fortran”
make: *** [Makefile:38:fortran] 错误 1
make: *** 正在等待未完成的任务....
libtool: warning: remember to run 'libtool --finish /usr/lib'
==> 错误: 在 package() 中发生一个错误。
    正在放弃...

("错误" in Chinese means "error".)

dviktor commented on 2020-05-26 12:20 (UTC)

@chn could you please provide more info about error messages? Also you shouldn't set -jX flag manually - be sure that you have proper MAKEFLAGS set in /etc/makepkg.conf - makepkg honors them

chn commented on 2020-05-26 05:45 (UTC) (edited on 2020-05-26 05:46 (UTC) by chn)

Hi,

The package will build failed with the last gcc (version 10). After switch to gcc-8, it works fine.

export CC=gcc-8
export CXX=g++-8
export FC=gfortran-8

What is more, building could take much less time with -j $ncore. In the last lines of build():

ncore=$(cat /proc/cpuinfo| grep "processor"| wc -l)
make -j $ncore

dviktor commented on 2020-01-20 14:48 (UTC)