You are not logged in.
I make it use abs's pkgbuild, but sth is wrong:
In file included from fdisk.c:24:
fdisk.h:85: warning: type qualifiers ignored on function return type
fdisk.c: In function 'get_partition_table_geometry':
fdisk.c:810: warning: pointer targets in initialization differ in signedness
fdisk.c: In function 'get_boot':
fdisk.c:948: warning: pointer targets in passing argument 1 of 'valid_part_table_flag' differ in signedness
fdisk.c:958: warning: pointer targets in passing argument 1 of 'valid_part_table_flag' differ in signedness
fdisk.c:1002: warning: pointer targets in passing argument 1 of 'valid_part_table_flag' differ in signedness
fdisk.c: At top level:
fdisk.c:1256: warning: type qualifiers ignored on function return type
cc -c -pipe -O2 -mtune=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_
FILE_OFFSET_BITS=64 -DSBINDIR="/sbin" -DUSRSBINDIR="/usr/sbin" -DLOGDIR="/var/log" -DVARPATH="/var" -DLOCALEDI
R="/usr/share/locale" -march=i686 -O2 -pipe llseek.c -o llseek.o
llseek.c:34: error: expected declaration specifiers or '...' before '_llseek'
llseek.c:34: error: expected declaration specifiers or '...' before 'fd'
llseek.c:34: error: expected declaration specifiers or '...' before 'offset_high'
llseek.c:35: error: expected declaration specifiers or '...' before 'offset_low'
llseek.c:35: error: expected declaration specifiers or '...' before 'result'
llseek.c:36: error: expected declaration specifiers or '...' before 'origin'
llseek.c:50: warning: return type defaults to 'int'
llseek.c: In function '_syscall5':
llseek.c:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
llseek.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
llseek.c:34: error: parameter name omitted
llseek.c:34: error: parameter name omitted
llseek.c:34: error: parameter name omitted
llseek.c:35: error: parameter name omitted
llseek.c:35: error: parameter name omitted
llseek.c:36: error: parameter name omitted
llseek.c:93: error: expected '{' at end of input
make[1]: *** [llseek.o] Error 1
make[1]: Leaving directory `/var/abs/local/base/util-linux/src/util-linux-2.12r/fdisk'
make: *** [all] Error 1
==> ERROR: Build Failed. Aborting...
Offline
Packages like util-linux are not updated often, and the version that we currently offer is the latest stable one, dated 23 September 2005. At the time it was packaged, it built without any errors, and it continues to run without any problems.
Since that time, however, the Arch build environment has been upgraded, so the code from Sept 2005 no longer builds, as you have found. In the absence of a new stable release, you should try the latest testing release from here and see how that goes. You won't need the cramfs and cryptoloop patches in the current Arch package, but the rest are still required.
Offline
I see, thanks for developer's reply, so exciting!
Offline
You need some patches to build the util-linux-2.12 pkg:
util-linux-2.12r-missing_header-1.patch
util-linux-2.12r-missing_lseek-1.patch
util-linux-2.12r-syscall_fixes-1.patch
You should be able to find them on patches.cross-lfs.org
Add the following lines to the PKGBUILD just below all the other patch lines
patch -Np1 -i ../util-linux-2.12r-missing_header-1.patch || return 1
patch -Np1 -i ../util-linux-2.12r-missing_lseek-1.patch || return 1
patch -Np1 -i ../util-linux-2.12r-syscall_fixes-1.patch || return 1
Worked for me.
Offline