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

推荐订阅源

宝玉的分享
宝玉的分享
T
Threat Research - Cisco Blogs
H
Hacker News: Front Page
N
News and Events Feed by Topic
Know Your Adversary
Know Your Adversary
Cisco Talos Blog
Cisco Talos Blog
SecWiki News
SecWiki News
C
Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Tor Project blog
K
Kaspersky official blog
Forbes - Security
Forbes - Security
Webroot Blog
Webroot Blog
Schneier on Security
Schneier on Security
P
Privacy & Cybersecurity Law Blog
H
Heimdal Security Blog
Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
V
Vulnerabilities – Threatpost
T
Tenable Blog
T
Tailwind CSS Blog
P
Privacy International News Feed
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
博客园 - Franky
Hacker News: Ask HN
Hacker News: Ask HN
Jina AI
Jina AI
C
Cybersecurity and Infrastructure Security Agency CISA
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
雷峰网
雷峰网
Vercel News
Vercel News
A
About on SuperTechFans
爱范儿
爱范儿
Simon Willison's Weblog
Simon Willison's Weblog
AWS News Blog
AWS News Blog
The Last Watchdog
The Last Watchdog
Engineering at Meta
Engineering at Meta
Spread Privacy
Spread Privacy
Security Archives - TechRepublic
Security Archives - TechRepublic
博客园 - 司徒正美
量子位
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
Hacker News - Newest:
Hacker News - Newest: "LLM"
Recorded Future
Recorded Future
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Martin Fowler
Martin Fowler
Project Zero
Project Zero

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) - profile-sync-daemon-openrc-git AUR (en) - runex-bin AUR (en) - sing-box-ref1nd-beta-bin AUR (en) - netscan-tui 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) - kwin-dual-mode 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) - mmc-utils-git
2026-06-12 · via AUR Newest Packages

Pinned Comments

jpegxguy commented on 2021-12-15 16:13 (UTC) (edited on 2021-12-15 16:26 (UTC) by jpegxguy)

jpegxguy commented on 2025-02-23 23:29 (UTC) (edited on 2025-02-23 23:30 (UTC) by jpegxguy)

Sorry for the delay guys. The notification email went to spam

Ok clearly something changed upstream and it needs sparse now. I'll do the patches

ipaqmaster commented on 2025-02-21 01:59 (UTC)

This still isn't fixed? Please add sparse to makedepends

wlmqljj commented on 2025-01-05 02:49 (UTC) (edited on 2025-01-09 15:19 (UTC) by wlmqljj)

I got the same issue with @sirocco and some others.
Firstly, you need sparse as a dependency package.
Then, it returns that compiler unable to open 'stddef.h'
I fix the issue by adding this patch to mmc-utils
How?:
Paste the text below to create a txt file named "0001-fix.patch" under src/mmc-utils dir, then run "git apply 0001-fix.patch --ignore-whitespace" in console

diff --git a/Makefile b/Makefile
index 06ae0f7..9dc9ff3 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,8 @@ objects = \
    3rdparty/hmac_sha/hmac_sha2.o \
    3rdparty/hmac_sha/sha2.o

-CHECKFLAGS = -Wall -Werror -Wuninitialized -Wundef
+GCC_INCLUDE_DIR := $(shell $(CC) -print-file-name=include)
+CHECKFLAGS = -I$(GCC_INCLUDE_DIR) -Wall -Wuninitialized -Wundef

 DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@

-- 

Then, the compilation should pass.

sirocco commented on 2024-10-29 14:07 (UTC) (edited on 2024-11-03 03:09 (UTC) by sirocco)

with sparse

==> Starting build()...
sparse -Wall -Werror -Wuninitialized -Wundef -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DVERSION=\""523d8f"\" mmc.c
mmc.c: note: in included file (through /usr/include/bits/libc-header-start.h, /usr/include/stdio.h):
/usr/include/features.h:422:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O)
mmc.c: note: in included file:
/usr/include/stdio.h:34:11: error: unable to open 'stddef.h'
make: *** [Makefile:38: mmc.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

rmsc commented on 2024-08-09 08:55 (UTC)

I believe sparse is missing from makedepends, the build is failing here:

sparse -Wall -Werror -Wuninitialized -Wundef -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DVERSION=\""123fd8"\" 3rdparty/hmac_sha/sha2.c
/bin/sh: line 1: sparse: command not found
(...)

frieder commented on 2024-05-20 14:19 (UTC) (edited on 2024-05-20 14:22 (UTC) by frieder)

I get the same error reported by @paulhart.

I tried running make directly and got a successful build.

Came across https://wiki.archlinux.org/title/makepkg#Makepkg_fails,_but_make_succeeds and set the !buildflags option, which enabled me to successfully build the package

diff --git a/PKGBUILD b/PKGBUILD
index 6e77560..eaa3884 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,6 +15,7 @@ provides=("${_pkgname}")
 conflicts=("${_pkgname}")
 source=('git+https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git')
 sha256sums=('SKIP')
+options=(!buildflags)

 pkgver() {
    cd "${_pkgname}"

This means that one/some of the following flags from my /etc/makepkg.conf caused the build failure

#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection \
        -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
         -Wl,-z,pack-relative-relocs"

jpegxguy commented on 2024-05-14 09:47 (UTC)

@Teeed I'll look into it thanks

Teeed commented on 2024-04-12 11:51 (UTC) (edited on 2024-04-12 11:53 (UTC) by Teeed)

Hi,

tried to build this package from 3c6b96c1b06f, but it failed on packing step

==> Starting package()...
install -m755 -d /home/mmc-utils-git/pkg/mmc-utils-git/usr/bin
install mmc /home/mmc-utils-git/pkg/mmc-utils-git/usr/bin
install -m 644 mmc.1 /home/mmc-utils-git/pkg/mmc-utils-git/usr/share/man/man1
install: cannot create regular file '/home/mmc-utils-git/pkg/mmc-utils-git/usr/share/man/man1': No such file or directory
make: *** [Makefile:54: install] Error 1

so here is a patch to make it work:

diff --git a/PKGBUILD b/PKGBUILD
index 40c7b2a..6e77560 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@

 _pkgname=mmc-utils
 pkgname=${_pkgname}-git
-pkgver=r113.9582278
-pkgrel=2
+pkgver=r128.f757f41
+pkgrel=1
 epoch=1
 pkgdesc="Userspace tools for MMC/SD devices"
 arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
@@ -28,6 +28,6 @@ build() {

 package() {
        cd "${_pkgname}"
+       mkdir -p "${pkgdir}/usr/share/man/man1/"
        make DESTDIR="${pkgdir}" prefix=/usr install
-       install -Dm644 man/mmc.1 "${pkgdir}/usr/share/man/man1/mmc.1"
 }

paulhart commented on 2023-04-29 21:31 (UTC) (edited on 2023-04-29 21:34 (UTC) by paulhart)

I'm getting a compile failure (it would appear the VERSION value in the Makefile isn't being passed to the compiler?):

==> Updated version: mmc-utils-git 1:r109.145c74a-1
==> Starting build()...
make: Entering directory '/home/paulhart/aur/mmc-utils-git/src/mmc-utils'
cc  -Wall -Werror -Wuninitialized -Wundef -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-MMD,./.mmc.o.d,-MT,mmc.o -c mmc.c -o mmc.o
mmc.c: In function ‘help’:
mmc.c:320:26: error: ‘VERSION’ undeclared (first use in this function)
  320 |         printf("\n%s\n", VERSION);
      |                          ^~~~~~~
mmc.c:320:26: note: each undeclared identifier is reported only once for each function it appears in
mmc.c: In function ‘parse_args’:
mmc.c:501:34: error: ‘VERSION’ undeclared (first use in this function)
  501 |                 printf("\n%s\n", VERSION);
      |                                  ^~~~~~~
make: *** [Makefile:37: mmc.o] Error 1
make: Leaving directory '/home/paulhart/aur/mmc-utils-git/src/mmc-utils'
==> ERROR: A failure occurred in build().
    Aborting...