Package Details: dietlibc-cvs 20150317-1

Git Clone URL: https://aur.archlinux.org/dietlibc-cvs.git (read-only)
Package Base: dietlibc-cvs
Description: a libc optimized for small size
Upstream URL: http://www.fefe.de/dietlibc/
Licenses: GPL
Conflicts: dietlibc
Provides: dietlibc
Submitter: mcmilk
Maintainer: stevenhoneyman
Last Packager: stevenhoneyman
Votes: 2
Popularity: 0.000000
First Submitted: 2006-06-14 20:45
Last Updated: 2015-06-09 18:11

Dependencies (1)

Required by (7)

Sources (0)

Latest Comments

ub1quit33 commented on 2015-03-17 21:14

This PKGBUILD is out of date and not compatible with current makepkg. The patch provided below will fix this.


--- PKGBUILD.orig 2014-09-18 16:48:50.000000000 -0700
+++ PKGBUILD 2015-03-17 14:08:01.449663832 -0700
@@ -43,6 +43,10 @@
sed -i 's/-fPIC/& -fno-asynchronous-unwind-tables/' x86_64/Makefile.add

PATH=/usr/bin make all
+}
+
+package(){
+ cd "$srcdir/$_cvsmod-build"
make DESTDIR=$pkgdir install
mkdir -p "$pkgdir/usr/bin"
ln -s /opt/diet/bin/diet "$pkgdir"/usr/bin/diet

ub1quit33 commented on 2015-03-17 21:12

This PKGBUILD needs to be updated to separate the packaging aspects of the build out into a package(){} function. The following patch wil perform this update.

--- PKGBUILD.orig 2014-09-18 16:48:50.000000000 -0700
+++ PKGBUILD 2015-03-17 14:08:01.449663832 -0700
@@ -1,5 +1,5 @@
pkgname=dietlibc-cvs
-pkgver=20140919
+pkgver=20150317
pkgrel=1
pkgdesc="a libc optimized for small size"
arch=('i686' 'x86_64')
@@ -43,6 +43,10 @@
sed -i 's/-fPIC/& -fno-asynchronous-unwind-tables/' x86_64/Makefile.add

PATH=/usr/bin make all
+}
+
+package(){
+ cd "$srcdir/$_cvsmod-build"
make DESTDIR=$pkgdir install
mkdir -p "$pkgdir/usr/bin"
ln -s /opt/diet/bin/diet "$pkgdir"/usr/bin/diet

eduardosm commented on 2011-05-20 13:47

I get the following error when building:


env -u LD_RUN_PATH gcc -D__dietlibc__ -isystem include -Os -fstrict-aliasing -momit-leaf-frame-pointer -mfancy-math-387 -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fPIC -nostdlib -o pic-x86_64/diet-dyn pic-x86_64/start.o pic-x86_64/dyn_start.o diet.c -DDIETHOME=\"/tmp/yaourt-tmp-eduardo/aur-dietlibc-cvs/src/dietlibc-build\" -D__DYN_LIB -DVERSION=\"dietlibc-0.33\" -Lpic-x86_64 -lc -lgcc pic-x86_64/dyn_stop.o -Wl,-dynamic-linker=/tmp/yaourt-tmp-eduardo/aur-dietlibc-cvs/src/dietlibc-build/pic-x86_64/libdl.so
/usr/bin/ld: error in pic-x86_64/dyn_stop.o(.eh_frame); no .eh_frame_hdr table will be created.
pic-x86_64/libc.so: undefined reference to `connect'
pic-x86_64/libc.so: undefined reference to `recvfrom'
pic-x86_64/libc.so: undefined reference to `socket'
pic-x86_64/libc.so: undefined reference to `bind'
pic-x86_64/libc.so: undefined reference to `umount2'
pic-x86_64/libc.so: undefined reference to `sendto'
pic-x86_64/libc.so: undefined reference to `recvmsg'
collect2: ld devolvió el estado de salida 1
make: *** [pic-x86_64/diet-dyn] Error 1