You are not logged in.
I am just not competent enough to solve this one. Needed to get rid of conky that I built from source. After looking up online found checkinstall is needed. Cloned it from AUR and ran `makepkg -sic`but it resulted in the following error,
[privileged@arched checkinstall]$ makepkg -si
==> Making package: checkinstall 1.6.2-5 (Tuesday 20 April 2021 06:05:31 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found checkinstall-1.6.2.tar.gz
-> Found 0001-Felipe-Sateler-Tag-only-regular-files-as-conffiles.patch
-> Found 0002-Backtick-patch-from-Andrey-Schmachev-Copyright-year-.patch
-> Found 0003-Fixed-bug-3-Removed-extra-okfail-and-fixed-spanish-t.patch
-> Found 0004-Fixed-bug-1-Source-directory-package-name-with-space.patch
-> Found 0005-Applied-patch-from-Ladislav-Hagara-for-compiling-ins.patch
-> Found 0006-Added-Norwegian-translation-update-from-Andreas-Note.patch
-> Found 0007-Added-summary-command-line-option.patch
-> Found 0008-Fixed-glibc-minor-version-handling.patch
-> Found 0009-Fixed-warning-about-uninitialized-variable-in-fopen-.patch
-> Found 0010-Support-for-the-Makefile-PREFIX-variable.patch
-> Found 0011-We-now-create-Slackware-packages-in-TMP_DIR.patch
-> Found 0012-Fixed-bug-110.-create-localdecls-correctly-identifie.patch
-> Found 0013-Fixed-bug-23.-We-remove-empty-fields-from-the-Debian.patch
-> Found 0014-Fixed-typo-in-create-localdecls.patch
-> Found 0015-Fixed-bug-30.-Newlines-are-converted-to-underscores-.patch
-> Found 0016-Fixed-bug-38.-.spec-file-macro-processing.patch
-> Found 0017-Fixed-bug-112-make-install-fails-on-Fedora-21.patch
-> Found 0018-Fixed-bug-137-Missing-in-copy_dir_hierarchy.patch
-> Found 0019-Fixed-bug-35-Directories-in-etc-are-incorrectly-incl.patch
-> Found 0020-add-support-for-recommends-and-suggests-AKA-weak-dep.patch
-> Found 0021-Load-checkinstallrc-from-etc.patch
-> Found 0022-Drop-cases-for-glibc-2.4.patch
-> Found 0023-fix-usr-sbin-merge-to-usr-bin-in-Arch.patch
-> Found 0024-using-custom-cflag-and-ldflag.patch
-> Found 0025-fix-installwatch-path-usr-local.patch
==> Validating source files with b2sums...
checkinstall-1.6.2.tar.gz ... Passed
0001-Felipe-Sateler-Tag-only-regular-files-as-conffiles.patch ... Passed
0002-Backtick-patch-from-Andrey-Schmachev-Copyright-year-.patch ... Passed
0003-Fixed-bug-3-Removed-extra-okfail-and-fixed-spanish-t.patch ... Passed
0004-Fixed-bug-1-Source-directory-package-name-with-space.patch ... Passed
0005-Applied-patch-from-Ladislav-Hagara-for-compiling-ins.patch ... Passed
0006-Added-Norwegian-translation-update-from-Andreas-Note.patch ... Passed
0007-Added-summary-command-line-option.patch ... Passed
0008-Fixed-glibc-minor-version-handling.patch ... Passed
0009-Fixed-warning-about-uninitialized-variable-in-fopen-.patch ... Passed
0010-Support-for-the-Makefile-PREFIX-variable.patch ... Passed
0011-We-now-create-Slackware-packages-in-TMP_DIR.patch ... Passed
0012-Fixed-bug-110.-create-localdecls-correctly-identifie.patch ... Passed
0013-Fixed-bug-23.-We-remove-empty-fields-from-the-Debian.patch ... Passed
0014-Fixed-typo-in-create-localdecls.patch ... Passed
0015-Fixed-bug-30.-Newlines-are-converted-to-underscores-.patch ... Passed
0016-Fixed-bug-38.-.spec-file-macro-processing.patch ... Passed
0017-Fixed-bug-112-make-install-fails-on-Fedora-21.patch ... Passed
0018-Fixed-bug-137-Missing-in-copy_dir_hierarchy.patch ... Passed
0019-Fixed-bug-35-Directories-in-etc-are-incorrectly-incl.patch ... Passed
0020-add-support-for-recommends-and-suggests-AKA-weak-dep.patch ... Passed
0021-Load-checkinstallrc-from-etc.patch ... Passed
0022-Drop-cases-for-glibc-2.4.patch ... Passed
0023-fix-usr-sbin-merge-to-usr-bin-in-Arch.patch ... Passed
0024-using-custom-cflag-and-ldflag.patch ... Passed
0025-fix-installwatch-path-usr-local.patch ... Passed
==> Extracting sources...
-> Extracting checkinstall-1.6.2.tar.gz with bsdtar
==> Starting prepare()...
patching file INSTALL
Reversed (or previously applied) patch detected! Assuming -R.
patching file checkinstall
patching file description-pak
Reversed (or previously applied) patch detected! Assuming -R.
patching file installwatch/create-localdecls
patching file installwatch/description-pak
patching file installwatch/installwatch.c
patching file checkinstall
patching file installwatch/installwatch
patching file checkinstall
patching file locale/checkinstall-es.po
patching file checkinstall
patching file installwatch/create-localdecls
The next patch would create the file checkinstall-man.sgml,
which already exists! Assuming -R.
patching file checkinstall-man.sgml
The next patch would create the file installwatch-man.sgml,
which already exists! Assuming -R.
patching file installwatch-man.sgml
patching file locale/checkinstall-no.po
patching file checkinstall
patching file installwatch/create-localdecls
patching file installwatch/installwatch.c
patching file Makefile
patching file checkinstall.in (renamed from checkinstall)
patching file checkinstall.in
patching file installwatch/Makefile
patching file installwatch/create-localdecls
patching file installwatch/installwatch.c
The next patch would create the file installwatch/libcfiletest.c,
which already exists! Assuming -R.
patching file installwatch/libcfiletest.c
patching file installwatch/libctest.c
patching file checkinstall.in
patching file installwatch/create-localdecls
patching file checkinstall.in
patching file checkinstall.in
patching file Makefile
patching file checkinstall.in
patching file checkinstall.in
patching file checkinstall.in
patching file checkinstall.in
patching file installwatch/installwatch.c
patching file Makefile
patching file checkinstall.in
patching file checkinstallrc-dist
patching file installwatch/Makefile
patching file checkinstallrc-dist
==> Removing existing $pkgdir/ directory...
==> Starting build()...
for file in locale/checkinstall-*.po ; do \
case ${file} in \
locale/checkinstall-template.po) ;; \
*) \
out=`echo $file | sed -s 's/po/mo/'` ; \
msgfmt -o ${out} ${file} ; \
if [ $? != 0 ] ; then \
exit 1 ; \
fi ; \
;; \
esac ; \
done
sed 's%MAKEFILE_PREFIX%/usr/local%g' checkinstall.in > checkinstall
make -C installwatch
make[1]: Entering directory '/home/privileged/applications/checkinstall/src/checkinstall-1.6.2/installwatch'
./create-localdecls
Checking truncate argument type... off_t
Checking readlinkat result type... ssize_t
Checking which libc we are using... gcc: error: libcfiletest.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
libc.so.6
Checking libc version... 2.33
glibc >= 2 found
Checking glibc subversion... 33
gcc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wall -c -g -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"0.7.0beta7\" installwatch.c
installwatch.c: In function ‘true_stat’:
installwatch.c:161:20: error: ‘_STAT_VER’ undeclared (first use in this function)
161 | return true_xstat(_STAT_VER,pathname,info);
| ^~~~~~~~~
installwatch.c:161:20: note: each undeclared identifier is reported only once for each function it appears in
installwatch.c: In function ‘true_mknod’:
installwatch.c:165:21: error: ‘_MKNOD_VER’ undeclared (first use in this function)
165 | return true_xmknod(_MKNOD_VER,pathname,mode,&dev);
| ^~~~~~~~~~
installwatch.c: In function ‘true_lstat’:
installwatch.c:169:21: error: ‘_STAT_VER’ undeclared (first use in this function)
169 | return true_lxstat(_STAT_VER,pathname,info);
| ^~~~~~~~~
installwatch.c: In function ‘true_fstatat’:
installwatch.c:173:23: error: ‘_STAT_VER’ undeclared (first use in this function)
173 | return true_fxstatat(_STAT_VER, dirfd, pathname, info, flags);
| ^~~~~~~~~
installwatch.c: In function ‘true_fstatat64’:
installwatch.c:177:25: error: ‘_STAT_VER’ undeclared (first use in this function)
177 | return true_fxstatat64(_STAT_VER, dirfd, pathname, info, flags);
| ^~~~~~~~~
installwatch.c: In function ‘true_mknodat’:
installwatch.c:181:23: error: ‘_MKNOD_VER’ undeclared (first use in this function)
181 | return true_xmknodat(_MKNOD_VER, dirfd, pathname, mode, &dev);
| ^~~~~~~~~~
installwatch.c: In function ‘instw_init’:
installwatch.c:1209:3: warning: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1209 | realpath(proot,wrkpath);
| ^~~~~~~~~~~~~~~~~~~~~~~
installwatch.c:1328:3: warning: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1328 | realpath(__instw.root,wrkpath);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
installwatch.c:1346:4: warning: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
I don't understand in the slightest what it is refering to. I tried looking online but it resulted in zero hits. Perhaps anybody knows whats going on?
Offline
I think Checkinstall only helps if you have used it when you installed a package in the first place.
Perhaps you can download the tarball of your conky again and do "cmake.; make uninstall"? It might work…
Offline
I think Checkinstall only helps if you have used it when you installed a package in the first place.
Perhaps you can download the tarball of your conky again and do "cmake.; make uninstall"? It might work…
I compile a lot of packages of software so I still want to have something to be easily able to remove compiled software. But what went wrong with checkinstall is really above me.
And as for the make uninstalled. dont you need to have the commands to uninstall software embedded in the code by the dev for `make uninstall` to work.
Offline
installwatch.c:161:20: error: ‘_STAT_VER’ undeclared (first use in this function)
Package has not been updated for glibc-2.33 fakeroot had a similar issue https://bugs.archlinux.org/task/69572
Use PKGBUILDs for your packages then pacman can manage the removals.
Edit:
The following patch allows checkinstall to build.
diff --git a/installwatch/installwatch.c b/installwatch/installwatch.c
index 15cb75c..77189dc 100644
--- a/installwatch/installwatch.c
+++ b/installwatch/installwatch.c
@@ -157,6 +157,20 @@ static int (*true_unlinkat)(int, const char *, int);
#define inline
#endif
+#ifndef _STAT_VER
+ #if defined (__aarch64__)
+ #define _STAT_VER 0
+ #elif defined (__x86_64__)
+ #define _STAT_VER 1
+ #else
+ #define _STAT_VER 3
+ #endif
+#endif
+
+#ifndef _MKNOD_VER
+ #define _MKNOD_VER 0
+#endif
+
static inline int true_stat(const char *pathname,struct stat *info) {
return true_xstat(_STAT_VER,pathname,info);
}
It is completely untested beyond building. Use at your own risk.
Last edited by loqs (2021-04-21 19:07:11)
Offline
installwatch.c:161:20: error: ‘_STAT_VER’ undeclared (first use in this function)
Package has not been updated for glibc-2.33 fakeroot had a similar issue https://bugs.archlinux.org/task/69572
Use PKGBUILDs for your packages then pacman can manage the removals.
Edit:
The following patch allows checkinstall to build.diff --git a/installwatch/installwatch.c b/installwatch/installwatch.c index 15cb75c..77189dc 100644 --- a/installwatch/installwatch.c +++ b/installwatch/installwatch.c @@ -157,6 +157,20 @@ static int (*true_unlinkat)(int, const char *, int); #define inline #endif +#ifndef _STAT_VER + #if defined (__aarch64__) + #define _STAT_VER 0 + #elif defined (__x86_64__) + #define _STAT_VER 1 + #else + #define _STAT_VER 3 + #endif +#endif + +#ifndef _MKNOD_VER + #define _MKNOD_VER 0 +#endif + static inline int true_stat(const char *pathname,struct stat *info) { return true_xstat(_STAT_VER,pathname,info); }
It is completely untested beyond building. Use at your own risk.
By PKGBUILDs you mean using the `makepkg -si` command right? Or are you reffering to other package builders like ninja?
Sometimes the AUR doesn't have the package I need so I have to start looking for building from source. Like in this case where the conky-lua from AUR was giving me the
conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
error so I had to try the conky from source which is Conky v1.12.1. Though that did not solve the problem either. But yeah sometimes I have to do from source.
Where exactly do I paste this code? I tried pasting it directly in the PACKAGE file but that did not work, resulted in an error. I tried some other files but still the same result.
Last edited by decipher (2021-04-22 12:27:45)
Offline
Where exactly do I paste this code? I tried pasting it directly in the PACKAGE file but that did not work, resulted in an error. I tried some other files but still the same result.
Please see Patching_packages#Applying_patches.
Edit:
Sometimes the AUR doesn't have the package I need so I have to start looking for building from source. Like in this case where the conky-lua from AUR was giving me the
conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
error so I had to try the conky from source which is Conky v1.12.1. Though that did not solve the problem either. But yeah sometimes I have to do from source.
Why not change the pkgver to 1.12.1? Or use the conky package in extra that is built from 1.12.1 which judging from its lua dependency is built with lua support.
Last edited by loqs (2021-04-22 13:25:05)
Offline
decipher wrote:Sometimes the AUR doesn't have the package I need so I have to start looking for building from source. Like in this case where the conky-lua from AUR was giving me the
conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
error so I had to try the conky from source which is Conky v1.12.1. Though that did not solve the problem either. But yeah sometimes I have to do from source.
Why not change the pkgver to 1.12.1? Or use the conky package in extra that is built from 1.12.1 which judging from its lua dependency is built with lua support.
Yeah I tried all those and only went to git as the last resort. Thought it might make a difference. So apparently the error wasn't caused by the conky version or package type but something entirely else. I'll make another post about it after some more searching since I am not proficient in lua or C and I have no clue what this means. This is what it said in a comment.
regarding lua local function, it needs to be in sequence, caller needs to be at the bottom otherwise we'll get an error l
So I did the self package thing. I have never done something like this before so it took me a while. Here's what I did
Made an empty text file in the same folder as the PKGBUILD called "bugfix" and pasted the code provided by you in it.
I appended my text file in the code
source(
"bugfix")
and ran the command
makepkg -g >> PKGBUILD
to update the checksum or whatever
Added "bugfix" in the
prepare(cd "$srcdir"
patch --strip=1 --input="$srcdir/bugfix")
Ran
makepkg -sic
And it resulted in the followowing error
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/installwatch/installwatch.c b/installwatch/installwatch.c
|index 15cb75c..77189dc 100644
|--- a/installwatch/installwatch.c
|+++ b/installwatch/installwatch.c
--------------------------
File to patch: bugfix
File bugfix is not a regular file -- refusing to patch
1 out of 1 hunk ignored -- saving rejects to file bugfix.rej
==> ERROR: A failure occurred in prepare().
Aborting...
So I appended --dry-run with the patch command and tried different numbers with --strip, such as 2,3 and four. Same error same result
Offline
git clone https://aur.archlinux.org/checkinstall.git
Cloning into 'checkinstall'...
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 48 (delta 5), reused 48 (delta 5), pack-reused 0
Unpacking objects: 100% (48/48), 57.13 KiB | 1.00 MiB/s, done.
$ cd checkinstall/
$ makepkg --verifysource
==> Making package: checkinstall 1.6.2-5 (Fri 23 Apr 2021 19:40:46 UTC)
==> Retrieving sources...
-> Downloading checkinstall-1.6.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 126k 100 126k 0 0 45513 0 0:00:02 0:00:02 --:--:-- 45497
-> Found 0001-Felipe-Sateler-Tag-only-regular-files-as-conffiles.patch
-> Found 0002-Backtick-patch-from-Andrey-Schmachev-Copyright-year-.patch
-> Found 0003-Fixed-bug-3-Removed-extra-okfail-and-fixed-spanish-t.patch
-> Found 0004-Fixed-bug-1-Source-directory-package-name-with-space.patch
-> Found 0005-Applied-patch-from-Ladislav-Hagara-for-compiling-ins.patch
-> Found 0006-Added-Norwegian-translation-update-from-Andreas-Note.patch
-> Found 0007-Added-summary-command-line-option.patch
-> Found 0008-Fixed-glibc-minor-version-handling.patch
-> Found 0009-Fixed-warning-about-uninitialized-variable-in-fopen-.patch
-> Found 0010-Support-for-the-Makefile-PREFIX-variable.patch
-> Found 0011-We-now-create-Slackware-packages-in-TMP_DIR.patch
-> Found 0012-Fixed-bug-110.-create-localdecls-correctly-identifie.patch
-> Found 0013-Fixed-bug-23.-We-remove-empty-fields-from-the-Debian.patch
-> Found 0014-Fixed-typo-in-create-localdecls.patch
-> Found 0015-Fixed-bug-30.-Newlines-are-converted-to-underscores-.patch
-> Found 0016-Fixed-bug-38.-.spec-file-macro-processing.patch
-> Found 0017-Fixed-bug-112-make-install-fails-on-Fedora-21.patch
-> Found 0018-Fixed-bug-137-Missing-in-copy_dir_hierarchy.patch
-> Found 0019-Fixed-bug-35-Directories-in-etc-are-incorrectly-incl.patch
-> Found 0020-add-support-for-recommends-and-suggests-AKA-weak-dep.patch
-> Found 0021-Load-checkinstallrc-from-etc.patch
-> Found 0022-Drop-cases-for-glibc-2.4.patch
-> Found 0023-fix-usr-sbin-merge-to-usr-bin-in-Arch.patch
-> Found 0024-using-custom-cflag-and-ldflag.patch
-> Found 0025-fix-installwatch-path-usr-local.patch
==> Validating source files with b2sums...
checkinstall-1.6.2.tar.gz ... Passed
0001-Felipe-Sateler-Tag-only-regular-files-as-conffiles.patch ... Passed
0002-Backtick-patch-from-Andrey-Schmachev-Copyright-year-.patch ... Passed
0003-Fixed-bug-3-Removed-extra-okfail-and-fixed-spanish-t.patch ... Passed
0004-Fixed-bug-1-Source-directory-package-name-with-space.patch ... Passed
0005-Applied-patch-from-Ladislav-Hagara-for-compiling-ins.patch ... Passed
0006-Added-Norwegian-translation-update-from-Andreas-Note.patch ... Passed
0007-Added-summary-command-line-option.patch ... Passed
0008-Fixed-glibc-minor-version-handling.patch ... Passed
0009-Fixed-warning-about-uninitialized-variable-in-fopen-.patch ... Passed
0010-Support-for-the-Makefile-PREFIX-variable.patch ... Passed
0011-We-now-create-Slackware-packages-in-TMP_DIR.patch ... Passed
0012-Fixed-bug-110.-create-localdecls-correctly-identifie.patch ... Passed
0013-Fixed-bug-23.-We-remove-empty-fields-from-the-Debian.patch ... Passed
0014-Fixed-typo-in-create-localdecls.patch ... Passed
0015-Fixed-bug-30.-Newlines-are-converted-to-underscores-.patch ... Passed
0016-Fixed-bug-38.-.spec-file-macro-processing.patch ... Passed
0017-Fixed-bug-112-make-install-fails-on-Fedora-21.patch ... Passed
0018-Fixed-bug-137-Missing-in-copy_dir_hierarchy.patch ... Passed
0019-Fixed-bug-35-Directories-in-etc-are-incorrectly-incl.patch ... Passed
0020-add-support-for-recommends-and-suggests-AKA-weak-dep.patch ... Passed
0021-Load-checkinstallrc-from-etc.patch ... Passed
0022-Drop-cases-for-glibc-2.4.patch ... Passed
0023-fix-usr-sbin-merge-to-usr-bin-in-Arch.patch ... Passed
0024-using-custom-cflag-and-ldflag.patch ... Passed
0025-fix-installwatch-path-usr-local.patch ... Passed
$ nano 0026-glibc-2.33.patch #create the file with contents from post #5
$ nano PKGBUILD #add patch
$ updpkgsums
Here is the git diff of the changes I made to the PKGBUILD
git diff
diff --git a/PKGBUILD b/PKGBUILD
index ff9dcdd..6530d8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,6 +40,7 @@ source=("http://checkinstall.izto.org/files/source/$pkgname-$pkgver.tar.gz"
'0023-fix-usr-sbin-merge-to-usr-bin-in-Arch.patch'
'0024-using-custom-cflag-and-ldflag.patch'
'0025-fix-installwatch-path-usr-local.patch'
+ '0026-glibc-2.33.patch'
)
noextract=()
b2sums=('3faaebe60c0dc40f36de0ed1854817ecc2d11467e63611d79e2300af17af0708c67491fd0c0a947ded89fd6e53bb15faebf9a85445cabb97be6d21e24cdd70a9'
@@ -67,7 +68,8 @@ b2sums=('3faaebe60c0dc40f36de0ed1854817ecc2d11467e63611d79e2300af17af0708c67491f
'fd919f347978a8ffcdefa3ca11000c80e341e72495d020238cc3dcf00f06f9e0fd77677bc4dee51ea7ffa596a7c305d547a91d63426c8386f6c353ffe07b05f5'
'8dde83a0cf2d490cc30e2787dd20dbc2d92b764b370002560309296b9592a7329e2b424e973a12b00d92ea89de42e2517bd3a95e6befe6c5f88a29e9793eba8b'
'414261dd6eb8112f26e93ea80faba698ea2b42ada99f0c10bceb0e8c1ff0636717b1c922fc9696f59bcb403af0e0ce1863d3e7b9c33643c3db5553379fb8597d'
- '6a6ab749dfb14db503133a3ef0a6e3860a20603d87763ed5309469ba8ee8b699acefcba21b11a68ba40f737d0f3964c35d103fb8eb2cb407a4783f1a16d0acf2')
+ '6a6ab749dfb14db503133a3ef0a6e3860a20603d87763ed5309469ba8ee8b699acefcba21b11a68ba40f737d0f3964c35d103fb8eb2cb407a4783f1a16d0acf2'
+ 'fe25d14bbb47ae6d4c4e579efdd97f66b945190b2e25d1280d7c1fde0f2570ae61be9a608683a336356c85ede8c4a9ccf6a5bd46e34c75867a8f672b3c9b97be')
prepare() {
cd "$pkgname-$pkgver"
@@ -93,6 +95,7 @@ prepare() {
patch -p1 -t -i "$srcdir/0020-add-support-for-recommends-and-suggests-AKA-weak-dep.patch"
patch -p1 -t -i "$srcdir/0021-Load-checkinstallrc-from-etc.patch"
patch -p1 -t -i "$srcdir/0022-Drop-cases-for-glibc-2.4.patch"
+ patch -p1 -t -i "$srcdir/0026-glibc-2.33.patch"
# fix /usr/sbin merge to /usr/bin in Arch
# sed 's/sbin/bin/g' -i Makefile checkinstall.in checkinstallrc-dist
This builds in a clean chroot:
$ extra-x86_64-build
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [stephen]...done
==> Making package: checkinstall 1.6.2-5 (Fri Apr 23 19:43:40 2021)
==> Retrieving sources...
-> Found checkinstall-1.6.2.tar.gz
-> Found 0001-Felipe-Sateler-Tag-only-regular-files-as-conffiles.patch
-> Found 0002-Backtick-patch-from-Andrey-Schmachev-Copyright-year-.patch
-> Found 0003-Fixed-bug-3-Removed-extra-okfail-and-fixed-spanish-t.patch
-> Found 0004-Fixed-bug-1-Source-directory-package-name-with-space.patch
-> Found 0005-Applied-patch-from-Ladislav-Hagara-for-compiling-ins.patch
-> Found 0006-Added-Norwegian-translation-update-from-Andreas-Note.patch
-> Found 0007-Added-summary-command-line-option.patch
-> Found 0008-Fixed-glibc-minor-version-handling.patch
-> Found 0009-Fixed-warning-about-uninitialized-variable-in-fopen-.patch
-> Found 0010-Support-for-the-Makefile-PREFIX-variable.patch
-> Found 0011-We-now-create-Slackware-packages-in-TMP_DIR.patch
-> Found 0012-Fixed-bug-110.-create-localdecls-correctly-identifie.patch
-> Found 0013-Fixed-bug-23.-We-remove-empty-fields-from-the-Debian.patch
-> Found 0014-Fixed-typo-in-create-localdecls.patch
-> Found 0015-Fixed-bug-30.-Newlines-are-converted-to-underscores-.patch
-> Found 0016-Fixed-bug-38.-.spec-file-macro-processing.patch
-> Found 0017-Fixed-bug-112-make-install-fails-on-Fedora-21.patch
-> Found 0018-Fixed-bug-137-Missing-in-copy_dir_hierarchy.patch
-> Found 0019-Fixed-bug-35-Directories-in-etc-are-incorrectly-incl.patch
-> Found 0020-add-support-for-recommends-and-suggests-AKA-weak-dep.patch
-> Found 0021-Load-checkinstallrc-from-etc.patch
-> Found 0022-Drop-cases-for-glibc-2.4.patch
-> Found 0023-fix-usr-sbin-merge-to-usr-bin-in-Arch.patch
-> Found 0024-using-custom-cflag-and-ldflag.patch
-> Found 0025-fix-installwatch-path-usr-local.patch
-> Found 0026-glibc-2.33.patch
==> Validating source files with b2sums...
checkinstall-1.6.2.tar.gz ... Passed
0001-Felipe-Sateler-Tag-only-regular-files-as-conffiles.patch ... Passed
0002-Backtick-patch-from-Andrey-Schmachev-Copyright-year-.patch ... Passed
0003-Fixed-bug-3-Removed-extra-okfail-and-fixed-spanish-t.patch ... Passed
0004-Fixed-bug-1-Source-directory-package-name-with-space.patch ... Passed
0005-Applied-patch-from-Ladislav-Hagara-for-compiling-ins.patch ... Passed
0006-Added-Norwegian-translation-update-from-Andreas-Note.patch ... Passed
0007-Added-summary-command-line-option.patch ... Passed
0008-Fixed-glibc-minor-version-handling.patch ... Passed
0009-Fixed-warning-about-uninitialized-variable-in-fopen-.patch ... Passed
0010-Support-for-the-Makefile-PREFIX-variable.patch ... Passed
0011-We-now-create-Slackware-packages-in-TMP_DIR.patch ... Passed
0012-Fixed-bug-110.-create-localdecls-correctly-identifie.patch ... Passed
0013-Fixed-bug-23.-We-remove-empty-fields-from-the-Debian.patch ... Passed
0014-Fixed-typo-in-create-localdecls.patch ... Passed
0015-Fixed-bug-30.-Newlines-are-converted-to-underscores-.patch ... Passed
0016-Fixed-bug-38.-.spec-file-macro-processing.patch ... Passed
0017-Fixed-bug-112-make-install-fails-on-Fedora-21.patch ... Passed
0018-Fixed-bug-137-Missing-in-copy_dir_hierarchy.patch ... Passed
0019-Fixed-bug-35-Directories-in-etc-are-incorrectly-incl.patch ... Passed
0020-add-support-for-recommends-and-suggests-AKA-weak-dep.patch ... Passed
0021-Load-checkinstallrc-from-etc.patch ... Passed
0022-Drop-cases-for-glibc-2.4.patch ... Passed
0023-fix-usr-sbin-merge-to-usr-bin-in-Arch.patch ... Passed
0024-using-custom-cflag-and-ldflag.patch ... Passed
0025-fix-installwatch-path-usr-local.patch ... Passed
0026-glibc-2.33.patch ... Passed
==> Making package: checkinstall 1.6.2-5 (Fri 23 Apr 2021 07:43:42 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found checkinstall-1.6.2.tar.gz
-> Found 0001-Felipe-Sateler-Tag-only-regular-files-as-conffiles.patch
-> Found 0002-Backtick-patch-from-Andrey-Schmachev-Copyright-year-.patch
-> Found 0003-Fixed-bug-3-Removed-extra-okfail-and-fixed-spanish-t.patch
-> Found 0004-Fixed-bug-1-Source-directory-package-name-with-space.patch
-> Found 0005-Applied-patch-from-Ladislav-Hagara-for-compiling-ins.patch
-> Found 0006-Added-Norwegian-translation-update-from-Andreas-Note.patch
-> Found 0007-Added-summary-command-line-option.patch
-> Found 0008-Fixed-glibc-minor-version-handling.patch
-> Found 0009-Fixed-warning-about-uninitialized-variable-in-fopen-.patch
-> Found 0010-Support-for-the-Makefile-PREFIX-variable.patch
-> Found 0011-We-now-create-Slackware-packages-in-TMP_DIR.patch
-> Found 0012-Fixed-bug-110.-create-localdecls-correctly-identifie.patch
-> Found 0013-Fixed-bug-23.-We-remove-empty-fields-from-the-Debian.patch
-> Found 0014-Fixed-typo-in-create-localdecls.patch
-> Found 0015-Fixed-bug-30.-Newlines-are-converted-to-underscores-.patch
-> Found 0016-Fixed-bug-38.-.spec-file-macro-processing.patch
-> Found 0017-Fixed-bug-112-make-install-fails-on-Fedora-21.patch
-> Found 0018-Fixed-bug-137-Missing-in-copy_dir_hierarchy.patch
-> Found 0019-Fixed-bug-35-Directories-in-etc-are-incorrectly-incl.patch
-> Found 0020-add-support-for-recommends-and-suggests-AKA-weak-dep.patch
-> Found 0021-Load-checkinstallrc-from-etc.patch
-> Found 0022-Drop-cases-for-glibc-2.4.patch
-> Found 0023-fix-usr-sbin-merge-to-usr-bin-in-Arch.patch
-> Found 0024-using-custom-cflag-and-ldflag.patch
-> Found 0025-fix-installwatch-path-usr-local.patch
-> Found 0026-glibc-2.33.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting checkinstall-1.6.2.tar.gz with bsdtar
==> Starting prepare()...
patching file INSTALL
Reversed (or previously applied) patch detected! Assuming -R.
patching file checkinstall
patching file description-pak
Reversed (or previously applied) patch detected! Assuming -R.
patching file installwatch/create-localdecls
The next patch would delete the file installwatch/description-pak,
which does not exist! Assuming -R.
patching file installwatch/description-pak
patching file installwatch/installwatch.c
patching file checkinstall
patching file installwatch/installwatch
patching file checkinstall
patching file locale/checkinstall-es.po
patching file checkinstall
patching file installwatch/create-localdecls
patching file checkinstall-man.sgml
patching file installwatch-man.sgml
patching file locale/checkinstall-no.po
patching file checkinstall
patching file installwatch/create-localdecls
patching file installwatch/installwatch.c
patching file Makefile
patching file checkinstall.in (renamed from checkinstall)
patching file checkinstall.in
patching file installwatch/Makefile
patching file installwatch/create-localdecls
patching file installwatch/installwatch.c
patching file installwatch/libcfiletest.c
patching file installwatch/libctest.c
patching file checkinstall.in
patching file installwatch/create-localdecls
patching file checkinstall.in
patching file checkinstall.in
patching file Makefile
patching file checkinstall.in
patching file checkinstall.in
patching file checkinstall.in
patching file checkinstall.in
patching file installwatch/installwatch.c
patching file installwatch/installwatch.c
patching file Makefile
patching file checkinstall.in
patching file checkinstallrc-dist
patching file installwatch/Makefile
patching file checkinstallrc-dist
==> Starting build()...
for file in locale/checkinstall-*.po ; do \
case ${file} in \
locale/checkinstall-template.po) ;; \
*) \
out=`echo $file | sed -s 's/po/mo/'` ; \
msgfmt -o ${out} ${file} ; \
if [ $? != 0 ] ; then \
exit 1 ; \
fi ; \
;; \
esac ; \
done
sed 's%MAKEFILE_PREFIX%/usr/local%g' checkinstall.in > checkinstall
make -C installwatch
make[1]: Entering directory '/build/checkinstall/src/checkinstall-1.6.2/installwatch'
./create-localdecls
Checking truncate argument type... off_t
Checking readlinkat result type... ssize_t
Checking which libc we are using... libc.so.6
Checking libc version... 2.33
glibc >= 2 found
Checking glibc subversion... 33
gcc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wall -c -g -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"0.7.0beta7\" installwatch.c
installwatch.c: In function ‘instw_init’:
installwatch.c:1223:3: warning: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1223 | realpath(proot,wrkpath);
| ^~~~~~~~~~~~~~~~~~~~~~~
installwatch.c:1342:3: warning: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1342 | realpath(__instw.root,wrkpath);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
installwatch.c:1360:4: warning: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1360 | realpath(pexclude,wrkpath);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
installwatch.c: In function ‘copy_path’:
installwatch.c:769:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
769 | write(translfd,buffer,bytes);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:519,
from installwatch.c:45:
In function ‘strcat’,
inlined from ‘instw_setpath’ at installwatch.c:1594:3:
/usr/include/bits/string_fortified.h:127:10: warning: ‘__builtin___strcat_chk’ accessing 8195 or more bytes at offsets 8274 and 80 may overlap 1 byte at offset 8274 [-Wrestrict]
127 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
inlined from ‘instw_setpath’ at installwatch.c:1640:3:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncat’,
inlined from ‘instw_setpath’ at installwatch.c:1650:3:
/usr/include/bits/string_fortified.h:135:10: warning: ‘__builtin___strncat_chk’ accessing 1 byte at offsets 12371 and 4177 may overlap 1 byte at offset 12371 [-Wrestrict]
135 | return __builtin___strncat_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncat’,
inlined from ‘instw_setpath’ at installwatch.c:1662:2:
/usr/include/bits/string_fortified.h:135:10: warning: ‘__builtin___strncat_chk’ accessing 1 byte at offsets 16480 and 4177 may overlap 1 byte at offset 16480 [-Wrestrict]
135 | return __builtin___strncat_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
inlined from ‘instw_setpath’ at installwatch.c:1611:3:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
inlined from ‘instw_setpath’ at installwatch.c:1612:3:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
ld -znow -shared -o installwatch.so installwatch.o -ldl -lc
make[1]: Leaving directory '/build/checkinstall/src/checkinstall-1.6.2/installwatch'
==> Entering fakeroot environment...
==> Starting package()...
for file in locale/checkinstall-*.po ; do \
case ${file} in \
locale/checkinstall-template.po) ;; \
*) \
out=`echo $file | sed -s 's/po/mo/'` ; \
msgfmt -o ${out} ${file} ; \
if [ $? != 0 ] ; then \
exit 1 ; \
fi ; \
;; \
esac ; \
done
sed 's%MAKEFILE_PREFIX%/build/checkinstall/pkg/checkinstall/usr%g' checkinstall.in > checkinstall
make -C installwatch
make[1]: Entering directory '/build/checkinstall/src/checkinstall-1.6.2/installwatch'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/checkinstall/src/checkinstall-1.6.2/installwatch'
export
export CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
export CHOST="x86_64-pc-linux-gnu"
export COMMAND_MODE="legacy"
export CPPFLAGS="-D_FORTIFY_SOURCE=2"
export CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt"
export FAKED_MODE="unknown-is-root"
export FAKEROOTKEY="864775226"
export HOME="/build"
export LANG="en_US.UTF-8"
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
export LD_LIBRARY_PATH="/usr/lib/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot"
export LD_PRELOAD="libfakeroot.so"
export LOGNAME="builduser"
export MAIL="/var/mail/builduser"
export MAKEFLAGS=" -j32 --jobserver-auth=3,4 -- PREFIX=/build/checkinstall/pkg/checkinstall/usr"
export MAKELEVEL="1"
export MAKEOVERRIDES="\${-*-command-variables-*-}"
export MFLAGS="-j32 --jobserver-auth=3,4"
export OLDPWD="/build/checkinstall/src"
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
export PREFIX="/build/checkinstall/pkg/checkinstall/usr"
export PWD="/build/checkinstall/src/checkinstall-1.6.2"
export SHELL="/bin/bash"
export SHLVL="4"
export SOURCE_DATE_EPOCH="1619207019"
export SUDO_COMMAND="/bin/bash -c bash -c cd\\ /startdir;\\ makepkg\\ \"\$@\" -bash --syncdeps --noconfirm --log --holdver --skipinteg --install"
export SUDO_GID="0"
export SUDO_UID="0"
export SUDO_USER="root"
export TERM="xterm-256color"
export TEXTDOMAIN="pacman-scripts"
export TEXTDOMAINDIR="/usr/share/locale"
export USER="builduser"
export _="/usr/bin/make"
make -C installwatch install
make[1]: Entering directory '/build/checkinstall/src/checkinstall-1.6.2/installwatch'
mkdir -p /build/checkinstall/pkg/checkinstall/usr/lib
mkdir -p /build/checkinstall/pkg/checkinstall/usr/bin
if [ -r /build/checkinstall/pkg/checkinstall/usr/lib/installwatch.so ]; then \
rm -f /build/checkinstall/pkg/checkinstall/usr/lib/installwatch.so; \
fi
install installwatch.so /build/checkinstall/pkg/checkinstall/usr/lib
sed -e "s|#PREFIX#|/build/checkinstall/pkg/checkinstall/usr|" < installwatch > /build/checkinstall/pkg/checkinstall/usr/bin/installwatch
chmod 755 /build/checkinstall/pkg/checkinstall/usr/bin/installwatch
make[1]: Leaving directory '/build/checkinstall/src/checkinstall-1.6.2/installwatch'
mkdir -p /build/checkinstall/pkg/checkinstall/usr/bin
mkdir -p /build/checkinstall/pkg/checkinstall/usr/lib/checkinstall/locale
install -m 0755 -o root -g root checkinstall makepak /build/checkinstall/pkg/checkinstall/usr/bin
for file in locale/*.mo ; do \
CKLNG=`echo $file | sed -e 's|locale/checkinstall-||' \
-e 's|\.mo||'` && \
mkdir -p /build/checkinstall/pkg/checkinstall/usr/lib/checkinstall/locale/${CKLNG}/LC_MESSAGES && \
cp $file /build/checkinstall/pkg/checkinstall/usr/lib/checkinstall/locale/${CKLNG}/LC_MESSAGES/checkinstall.mo || \
exit 1 ; \
done
mkdir -p /build/checkinstall/pkg/checkinstall/etc
install -m644 checkinstallrc-dist /build/checkinstall/pkg/checkinstall/etc
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $pkgdir
usr/bin/checkinstall
==> Creating package "checkinstall"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: checkinstall 1.6.2-5 (Fri 23 Apr 2021 08:43:44 PM BST)
==> Installing package checkinstall with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) checkinstall-1.6.2-5
Total Installed Size: 0.35 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
:: Processing package changes...
(1/1) installing checkinstall [######################] 100%
Optional dependencies for checkinstall
dpkg: to create deb packages
rpm-tools: to create RPM packages
resolving dependencies...
looking for conflicting packages...
Packages (6) libnsl-1.3.0-2 licenses-20200427-1 pyalpm-0.9.2-1
python-3.9.3-1 python-pyelftools-0.27-1 namcap-3.2.10-2
Total Installed Size: 81.84 MiB
:: Proceed with installation? [Y/n]
(6/6) checking keys in keyring [######################] 100%
(6/6) checking package integrity [######################] 100%
(6/6) loading package files [######################] 100%
(6/6) checking for file conflicts [######################] 100%
:: Processing package changes...
(1/6) installing libnsl [######################] 100%
(2/6) installing python [######################] 100%
Optional dependencies for python
python-setuptools
python-pip
sqlite [installed]
mpdecimal: for decimal
xz: for lzma [installed]
tk: for tkinter
(3/6) installing pyalpm [######################] 100%
(4/6) installing licenses [######################] 100%
(5/6) installing python-pyelftools [######################] 100%
(6/6) installing namcap [######################] 100%
Checking PKGBUILD
Checking checkinstall-1.6.2-5-x86_64.pkg.tar.zst
checkinstall W: Dependency glibc included but already satisfied
==> Running checkpkg
error: target not found: checkinstall
==> WARNING: Skipped checkpkg due to missing repo packages
Offline