Package Details: libassuan-git 2.1.1+1_gfd255da-1

Git Clone URL: https://aur.archlinux.org/libassuan-git.git (read-only)
Package Base: libassuan-git
Description: An IPC library used by some GnuPG related softwareI (git version)
Upstream URL: http://www.gnupg.org/related_software/libassuan
Licenses: GPL
Conflicts: libassuan
Provides: libassuan
Submitter: alphazo
Maintainer: alphazo
Last Packager: alphazo
Votes: 2
Popularity: 0.000000
First Submitted: 2012-04-12 15:44
Last Updated: 2015-06-10 14:50

Dependencies (1)

Required by (7)

Sources (2)

Latest Comments

alphazo commented on 2013-08-22 21:52

@arielp. Used your suggestion to shorten the version number. Thanks.

arielp commented on 2013-08-22 21:00

@Nothing4You

This line: `sed -i 's/src doc tests/src tests/' Makefile.am` causes the documentation (info files) to not be made. So when pacman uses the .install to try to install those info files, it fails.

arielp commented on 2013-08-22 20:16

That verstring is crazy long. Consider something like this?

git describe | sed 's|libassuan-||;s|-|+|;s|-|_|'

alphazo commented on 2013-08-12 12:17

Thanks @Nothing4You for the heavy cleanup.

Nothing4You commented on 2013-08-12 12:02

Still, I don't understand the content of the .install because pkg/usr/share/info doesn't get created while building?

Nothing4You commented on 2013-08-12 11:59

Cleaned up and updated PKGBUILD to use pacmans builtin git feature.
http://ix.io/7dY

nullren commented on 2013-05-24 05:31

changed the PKGBUILD like this to avoid building the doc stuff

--- PKGBUILD-orig 2013-05-23 22:28:43.367612770 -0700
+++ PKGBUILD 2013-05-23 22:26:52.824550746 -0700
@@ -39,7 +39,13 @@
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
- ./autogen.sh --force
+
+ # patch things and don't build doc
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
+ sed -i '/doc.Makefile/d' configure.ac
+ sed -i 's/src doc tests/src tests/' Makefile.am
+ autoreconf -fiv --force
+
./configure --prefix=/usr --enable-maintainer-mode
make
}

nullren commented on 2013-05-24 05:29

changed the PKGBUILD like this to get it to build:

--- PKGBUILD-orig 2013-05-23 22:28:43.367612770 -0700
+++ PKGBUILD 2013-05-23 22:26:52.824550746 -0700
@@ -39,7 +39,13 @@
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
- ./autogen.sh --force
+
+ # patch things and don't build doc
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
+ sed -i '/doc.Makefile/d' configure.ac
+ sed -i 's/src doc tests/src tests/' Makefile.am
+ autoreconf -fiv --force
+
./configure --prefix=/usr --enable-maintainer-mode
make
}

gyscos commented on 2013-05-12 07:32

It seems to be caused by libassuan-git's gpl.texi file.
makeinfo returns these errors when processing their file ; but the original gpl.texi file, available at http://www.gnu.org/licenses/gpl.texi works fine.
Maybe gnu.org updated their file and libassuan didn't ?
Similarly, the lgpl.texi file differs from that from gnu.org, and here again the gnu.org version works fine.

However, assuan.texi refers to external nodes ('Library Copying' and 'Copying') present in the assuan version of gpl.texi and/or lgpl.texi, so blindly copying the gnu.org version over does not work.
These nodes are actually just one line at the beginning of assuan version of gpl.texi and lgpl.texi. I copied them to the gnu.org versions, and this time the compilation succeeded.

I think this deserves an upstream update to use newer gpl.texi and lgpl.texi, and an accordingly updated assuan.texi.

In the meantime, a patch would be to download (or attach as source) the gnu.org versions of both gpl.texi and lgpl.texi, then prepend at the beginning of gpl.texi the line '@node Copying', and at the beginning of lgpl.texi the line '@node Library Copying'. Then, move these files to the '$srcdir/$_gitname-build/doc' directory.
Another solution would be to not build documentation, but I did not find that option in the configure script.

alphazo commented on 2013-03-13 11:55

Tried the proposed fix but still fails:

libtool: link: (cd ".libs" && rm -f "libassuan.so.0" && ln -s "libassuan.so.0.4.0" "libassuan.so.0")
libtool: link: (cd ".libs" && rm -f "libassuan.so" && ln -s "libassuan.so.0.4.0" "libassuan.so")
libtool: link: ( cd ".libs" && rm -f "libassuan.la" && ln -s "../libassuan.la" "libassuan.la" )
make[3]: Leaving directory `/home/alpha/PERSO/DOCS/arch-packages/libassuan-git/src/libassuan-build/src'
make[2]: Leaving directory `/home/alpha/PERSO/DOCS/arch-packages/libassuan-git/src/libassuan-build/src'
Making all in doc
make[2]: Entering directory `/home/alpha/PERSO/DOCS/arch-packages/libassuan-git/src/libassuan-build/doc'
Updating ./version.texi
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /home/alpha/PERSO/DOCS/arch-packages/libassuan-git/src/libassuan-build/missing makeinfo --version) >/dev/null 2>&1; then \
for f in assuan.info assuan.info-[0-9] assuan.info-[0-9][0-9] assuan.i[0-9] assuan.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /home/alpha/PERSO/DOCS/arch-packages/libassuan-git/src/libassuan-build/missing makeinfo -I . \
-o assuan.info assuan.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./assuan.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
./gpl.texi:668: @unnumberedsec seen before @end enumerate
./gpl.texi:725: unmatched `@end enumerate'
./lgpl.texi:19: raising the section level of @appendixsubsec which is too low
make[2]: *** [assuan.info] Error 1
make[2]: Leaving directory `/home/alpha/PERSO/DOCS/arch-packages/libassuan-git/src/libassuan-build/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alpha/PERSO/DOCS/arch-packages/libassuan-git/src/libassuan-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

All comments