pacbuilder is a useful tool in Arch Linux when you try to rebuild all the packages from the source, regardless of the repository(ABS or AUR).
But seldom someone notices the idea that the tool has the hidden package dependency of pacbuilder - sudo. I didn’t know that and in the pacbuilder-svn AUR there was no indication of the dependency. I had to read the script itself and modify some of the codes to see the blackholed message myself.
If you try pacbuilder(like pacbuilder -v —world) but you encountered error such as “makepkg failed”, just run pacman -S sudo and everything would work fine. I think I’ll report a new PKGBUILD for the package in AUR.
Hidden dependency of pacbuilder in Arch Linux
아치 리눅스 - pacbuilder의 숨겨진 의존성
Arch Linux의 3rd party tool 중 하나인 pacbuilder는 리포지토리에 상관없이(ABS든 AUR이든) 시스템에 설치된 모든 패키지를 쉽게 다시 컴파일할 수 있도록 도와줍니다. 하지만 많은 사람들이 이 도구에 숨겨진 패키지 의존성이 있다는 것을 모르는 것 같습니다: pacbuilder는 sudo가 없으면 동작을 제대로 안 하더군요. AUR에 있는 pacbuilder-svn에는 이러한 의존성이 표시되어 있지 않아서 스크립트를 보면서 찾아다녀야 했습니다.
혹시 pacbuilder를 쓰려고 하는데 makepkg error 등의 문제가 일어나거든 pacman -S sudo를 실행해주시면 될겁니다. AUR 관리자에게 PKGBUILD를 수정해서 보내던가 해야 할 것 같네요.
Subscribe to:
Posts (Atom)
블로그를 이전합니다
뭐, 이런 작은 변방의 블로그에 관심있으신 분들은 아무도 없으시리라 생각합니다만...... (웃음) 블로그 플랫폼을 블로거에서 dev.to로 옮겼습니다. 새 URL은 아래와 같습니다: https://dev.to/teminian 새로운 거처에서 뵙겠습니...
Popular in Code{nested}
-
Unlike libssh, which uses cmake, libssh2 forces you to use Linux-like environment even in Windows, which eventually makes you to install MSY...
-
Net-SNMP는 거의 모든 리눅스 배포본에서 표준 SNMP 관리자로 사용되고 있는, 사실상의 표준이라고 할 수 있는 범용적인 도구입니다. 이번에 기회가 있어서 SNMP Trap 메시지를 받아서 처리는 도구를 만들게 되었는데, 개발중 중요하다고 생각되...
-
2019년 6월 19일부로 Qt 5.13.0이 발표 되었습니다. Qt 5.13.0의 새로운 기능 중에서 제 눈길을 꽤 끈 신기능이 하나 있었는데요....... Qt for WebAssembly 입니다. 그러니까...... Emscripten 을 사용해...