CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
IDProjectCategoryTask TypeSeverity  ascSummaryStatusProgress
 1 CRUX-ARMports/core-crossBug ReportVery Low Sample Task Closed
100%
Task Description

This isn't a real task. You should close it and start opening some real tasks.

2CRUX-ARMdevtoolsImprovementLowmakeRelease.sh: redirect stdout while running the scrip...Assigned
0%
Task Description

It would be nice to redirect some part of the output while running the script.
With that ouput we could create a file like crux-arm-2.7-test1.packages or similar which should include a list with all package versions.
The result file will help us to create the Changelog's stuff, etc.

 3 CRUX-ARMtoolchain-softfpBug ReportLow Create a toolchain with hardfp support. Closed
100%
Task Description

We can create a new toolchain with hardfp and thumb support.

It can be created with the same triplet used in the toolchain with a minor change (arm-cruxhf-linux-gnueabi) but the point could be to use another one: arm-crux-linux-gnueabihf

There are problems with this triplet which should be fixed before we start adopting it.

There are some checks which can be done to verify hardfp/thumb support.

readelf -e test:
The elf header should change (not implemented atm)

readelf -A test:
Tag_THUMB_ISA_use: Thumb-2
Tag_ABI_HardFP_use: SP and DP
These told us that this toolchain has thumb support and it’s built with hardfp

size test:
we can compare file’s sizes and verify that the thumb one it’s smaller.

 4 CRUX-ARMports/core-crossBug ReportLow perl: update to 5.12.3 Closed
100%
Task Description

There are some problems trying to cross-build perl to the new version.
Here there are some notes about the work done (but not working):
- The Pkgfile tries to build the needed hosts tools and then build perl.
- The config provided got from versatile native configure.
May be a bad way to try to cross-build it. Waiting comments and suggestions to cross-build perl.

 5 CRUX-ARMports/opt-armBug ReportLow git: failed to build some perl modules Closed
100%
Task Description

we should fix that when started to work with port’s overlays (and maybe this problem is related to our current perl port)

[...]
+ mv /dev/shm/pkgmk-git/pkg/usr/share/man/man3/Git.3pm /dev/shm/pkgmk-git/pkg/usr/share/man/man3/private-Error.3pm /dev/shm/pkgmk-git/pkg/usr/man/man3/
mv: cannot stat `/dev/shm/pkgmk-git/pkg/usr/share/man/man3/Git.3pm’: No such file or directory
mv: cannot stat `/dev/shm/pkgmk-git/pkg/usr/share/man/man3/private-Error.3pm’: No such file or directory
======⇒ ERROR: Building ‘/usr/pkg/git#1.7.4.1-1.pkg.tar.gz’ failed.
prt-get: error while install

– Packages where install failed
git

 6 CRUX-ARMports/opt-armBug ReportLow python: footprint mismatch Closed
100%
Task Description

We should investigate why? And then we could fix the build, or update the footprint on the overlay:

[...]
======⇒ ERROR: Footprint mismatch found:
MISSING -rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/dbm.so
NEW -rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/dbm_failed.so
======⇒ ERROR: Building ‘/usr/pkg/python#2.7.1-1.pkg.tar.gz’ failed.

 7 CRUX-ARMports/opt-armhfBug ReportLow mpg123: problem building Closed
100%
Task Description

Report:

/bin/sh ../../libtool –tag=CC –mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/libmpg123 -DOPT_ARM -DREAL_IS_FIXED -O2 -fomit-
frame-pointer -funroll-all-loops -finline-functions -ffast-math -O2 -march=armv7-a -mfpu=vfpv3-d16 -mthumb -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c -o l
ayer3.lo layer3.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/libmpg123 -DOPT_ARM -DREAL_IS_FIXED -O2 -fomit-frame-pointer -funroll-all-loops
-finline-functions -ffast-math -O2 -march=armv7-a -mfpu=vfpv3-d16 -mthumb -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c layer3.c -fPIC -DPIC -o .libs/layer3
.o
/tmp/cckBsykf.s: Assembler messages:
/tmp/cckBsykf.s:2839: Error: shift must be constant – `orr fp,fp,r7,lsl sl’ /tmp/cckBsykf.s:2868: Error: shift must be constant – `orr fp,fp,r7,lsl sl’ /tmp/cckBsykf.s:3071: Error: shift must be constant – `orr r5,r5,r7,lsl sl’ /tmp/cckBsykf.s:3268: Error: shift must be constant – `orr r6,r6,r7,lsl sl’ /tmp/cckBsykf.s:3290: Error: shift must be constant – `orr r6,r6,r7,lsl sl’ /tmp/cckBsykf.s:3313: Error: shift must be constant – `orr r6,r6,r7,lsl sl’ /tmp/cckBsykf.s:3336: Error: shift must be constant – `orr fp,fp,r4,lsl r5’ /tmp/cckBsykf.s:3358: Error: shift must be constant – `orr fp,fp,r3,lsl r5’ /tmp/cckBsykf.s:4653: Error: shift must be constant – `orr sl,sl,r7,lsl r8’ /tmp/cckBsykf.s:4864: Error: shift must be constant – `orr sl,sl,r7,lsl r8’ /tmp/cckBsykf.s:4893: Error: shift must be constant – `orr r7,r7,r8,lsl sl’ /tmp/cckBsykf.s:5105: Error: shift must be constant – `orr sl,sl,r5,lsl r7’ /tmp/cckBsykf.s:5155: Error: shift must be constant – `orr sl,sl,r5,lsl r7’ /tmp/cckBsykf.s:5179: Error: shift must be constant – `orr sl,sl,r7,lsl r8’ /tmp/cckBsykf.s:5326: Error: shift must be constant – `orr sl,sl,r3,lsl r5’ /tmp/cckBsykf.s:5350: Error: shift must be constant – `orr sl,sl,r3,lsl r4’ make[3]: * [layer3.lo] Error 1
make[3]: Leaving directory `/nfs/crux/efikamx/work/src/mpg123-1.13.3/src/libmpg123’ make[2]:
* [all-recursive] Error 1
make[2]: Leaving directory `/nfs/crux/efikamx/work/src/mpg123-1.13.3/src’ make[1]: * [all] Error 2
make[1]: Leaving directory `/nfs/crux/efikamx/work/src/mpg123-1.13.3/src’ make:
* [all-recursive] Error 1
======⇒ ERROR: Building ‘/nfs/crux/efikamx/pkg/mpg123#1.13.3-1.pkg.tar.gz’ failed.

 8 CRUX-ARMports/core-armBug ReportLow libgmp: failed to compile due to bad triplet variable Closed
100%
Task Description

We should fix this on the future core overlay for ports, so ATM libgmp from upstream ports is getting the triplet as i686-pc-linux-gnu which should be switched to arm-crux-linux-gnueabi.

# prt-get update -fr libgmp
prt-get: updating /usr/ports/core/libgmp
======⇒ Building ‘/usr/pkg/libgmp#5.0.2-1.pkg.tar.gz’.
bsdtar -p -o -C /dev/shm/pkgmk-libgmp/src -xf /usr/pkg/src/gmp-5.0.2.tar.bz2
+ build
+ cd gmp-5.0.2
+ ABI=32
+ ./configure –prefix=/usr –enable-cxx –build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
[...]

 9 CRUX-ARMports/opt-armBug ReportLow mysql: failed compilation Closed
100%
Task Description

[ 63%] Building C object libmysql/CMakeFiles/clientlib.dir//sql-common/client_plugin.c.o
/nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c: In function ‘mysql_client_plugin_init’:
/nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c:247:5: error: incompatible type for argument 5 of ‘add_plugin’ /nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c:120:1: note: expected ‘va_list’ but argument is of type ‘int’ /nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c: In function ‘mysql_client_register_plugin’:
/nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c:305:5: error: incompatible type for argument 5 of ‘add_plugin’ /nfs/crux/efikamx/work/src/mysql-5.5.12/sql-common/client_plugin.c:120:1: note: expected ‘va_list’ but argument is of type ‘int’ make[2]: * [libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_plugin.c.o] Error 1
make[1]:
* [libmysql/CMakeFiles/clientlib.dir/all] Error 2
make: *** [all] Error 2
======⇒ ERROR: Building ‘/nfs/crux/efikamx/pkg/mysql#5.5.12-1.pkg.tar.gz’ failed.

 10 CRUX-ARMports/core-armBug ReportLow libgmp: it's fixed to ABI=32 and i686 Closed
100%
Task Description

Possible patch (needs testing and a better review/fix (to don’t force armv7l):

— libgmp.orig/Pkgfile 2011-05-27 08:36:09.000000000 +0200
+++ libgmp/Pkgfile 2011-05-27 08:36:01.000000000 +0200
@@ -9,9 +9,9 @@

build() {

   cd gmp-$version

- ABI=32 ./configure –prefix=/usr \
- –enable-cxx \
- –build=i686-pc-linux-gnu
+ ./configure –prefix=/usr \
+ –enable-cxx \
+ –build=armv7l-unknown-linux-gnueabi

   make
   make DESTDIR=$PKG install
   rm -r $PKG/usr/share
 11 CRUX-ARMports/core-armBug ReportLow kbd: failed to build Closed
100%
Task Description

make[1]: Leaving directory `/dev/shm/pkgmk-kbd/src/kbd-1.15.3’ + ln -sf default8x16.psfu.gz /dev/shm/pkgmk-kbd/pkg/usr/share/kbd/consolefonts/default.gz
+ rm -r /dev/shm/pkgmk-kbd/pkg/usr/share/kbd/keymaps/ppc /dev/shm/pkgmk-kbd/pkg/usr/share/kbd/keymaps/mac /dev/shm/pkgmk-kbd/pkg/usr/sharn
+ rm /dev/shm/pkgmk-kbd/pkg/usr/bin/loadunimap /dev/shm/pkgmk-kbd/pkg/usr/bin/mapscrn /dev/shm/pkgmk-kbd/pkg/usr/bin/resizecons /dev/shm/e
rm: cannot remove `/dev/shm/pkgmk-kbd/pkg/usr/bin/resizecons’: No such file or directory
======⇒ ERROR: Building ‘/usr/pkg/kbd#1.15.3-1.pkg.tar.gz’ failed.

12CRUX-ARMkernel/omap850Bug ReportLowomap850: current version 2.6.25 gives problems with ude...Researching
30%
Task Description

udev needs at least kernel version 2.6.27 (specified in the README file provided at sources).
There are some error messages while booting 2.7-test1:

error getting socket: invalid argument
initiaizing netlink socket error
udevadm [382]: error sending message: Connection refued.

Then devices nodes aren't created and we got this too:
fsck.ext2: No such file or directory while trying to open /dev/mmcblk0p2

 13 CRUX-ARMports/xorg-armBug ReportLow mesa3d: failed compilation Closed
100%
Task Description

gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mapi -I../../../../../src/mesa -I../../../../..
/src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/libdrm -O2 -march=armv7-a -mfpu=vfpv3-d16 -mthumb -Wall -Wmissing-prototypes -std=c99 -ff
ast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRE
CT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV -DFEATURE_GL=1 sis6326_state.c -o sis6326_state.o
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mapi -I../../../../../src/mesa -I../../../../..
/src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/libdrm -O2 -march=armv7-a -mfpu=vfpv3-d16 -mthumb -Wall -Wmissing-prototypes -std=c99 -ff
ast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRE
CT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV -DFEATURE_GL=1 sis6326_clear.c -o sis6326_clear.o
In file included from sis6326_clear.c:29:0:
sis_context.h:408:2: error: #error platform needs WMB
distcc[24104] ERROR: compile sis6326_clear.c on 192.168.0.252 failed
distcc[24104] (dcc_build_somewhere) Warning: remote compilation of ‘sis6326_clear.c’ failed, retrying locally
distcc[24104] Warning: failed to distribute sis6326_clear.c to 192.168.0.252, running locally instead
In file included from sis6326_state.c:29:0:
sis_context.h:408:2: error: #error platform needs WMB
distcc[24102] ERROR: compile sis6326_state.c on localhost failed
make[6]: * [sis6326_state.o] Error 1
make[6]:
* Waiting for unfinished jobs....
In file included from sis6326_clear.c:29:0:
sis_context.h:408:2: error: #error platform needs WMB
sis6326_clear.c: In function ‘sis_clear_back_buffer’:
sis6326_clear.c:158:4: warning: implicit declaration of function ‘MMIO_WMB’ distcc[24104] ERROR: compile sis6326_clear.c on localhost failed
make[6]: * [sis6326_clear.o] Error 1
make[6]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa/drivers/dri/sis’ make[5]:
* [lib] Error 2
make[5]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa/drivers/dri/sis’ make[4]: * [subdirs] Error 1
make[4]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa/drivers/dri’ make[3]:
* [default] Error 1
make[3]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa/drivers’ make[2]: * [driver_subdirs] Error 2
make[2]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src/mesa’ make[1]:
* [subdirs] Error 1
make[1]: Leaving directory `/nfs/crux/efikamx/work/src/Mesa-7.10.2/src’ make: *** [default] Error 1
======⇒ ERROR: Building ‘/nfs/crux/efikamx/pkg/mesa3d#7.10.2-1.pkg.tar.gz’ failed.

 14 CRUX-ARMtoolchainBug ReportLow Lack of gcc preprocessor symbols  Closed
100%
Task Description

Building thunderbird or firefox we found this error:
#error “Can’t identify floating point calling conventions.\nPlease ensure that your toolchain defines ARM_PCS or ARM_PCS_VFP.”

Gcc’s toolchain should be patched to add those macros. The proposed patch is attached.

 15 CRUX-ARMports/core-armBug ReportLow perl: footprint mismatch Closed
100%
Task Description

======⇒ ERROR: Footprint mismatch found:
NEW -rw-r–r– root/root usr/lib/perl5/5.12/linux-thread-multi/ODBM_File.pm
NEW drwxr-xr-x root/root usr/lib/perl5/5.12/linux-thread-multi/auto/ODBM_File/
NEW -rwxr-xr-x root/root usr/lib/perl5/5.12/linux-thread-multi/auto/ODBM_File/ODBM_File
.so
NEW -rw-r–r– root/root usr/man/man3/ODBM_File.3pm.gz
======⇒ ERROR: Building ‘/usr/ports/pkg/perl#5.12.4-1.pkg.tar.xz’ failed.

 16 CRUX-ARMdevtoolsBug ReportLow test: filed only for test Closed
100%
Task Description

test

 17 CRUX-ARMports/core-armBug ReportLow test2: filed only for test Closed
100%
Task Description

test2

 20 CRUX-ARMtoolchainImprovementLow toolchain 2.6 (eabi/noeabi) problem with glibc and make ...Closed
100%
Task Description

Building toolchain 2.6 in a CRUX 2.7 host (using make 3.82) we can find a problem in glibc build:
*** mixed implicit and normal rules. Stop.

We can try to add a patch and fix this problem to build CRUX-ARM 2.6 (eabi/noeabi) in a CRUX 2.7 host (with make 3.82).
This should be tested in a 2.6 host and verify it builds right too. I’ll try to provide this last check while waiting for comments or opinions in this bug.

glibc-2.10.1-make382.patch
— glibc-2.10.1_orig/manual/Makefile 2012-02-08 08:05:11.777529411 +0000
+++ glibc-2.10.1/manual/Makefile 2012-02-08 08:06:46.189531779 +0000
@@ -232,7 +232,9 @@
.PHONY: stubs
stubs: $(objpfx)stubs
endif
-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
+$(objpfx)stubs ../po/manual.pot:
+ touch $@
+$(objpfx)stamp%:

      $(make-target-directory)
      touch $@

Makefile
diff –git a/Makefile b/Makefile
index aea2b53..5af5d60 100644
— a/Makefile
+++ b/Makefile
@@ -174,9 +174,9 @@ $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2:
$(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2:

      wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/glibc/glibc-ports-$(GLIBC_VERSION).tar.bz2

$(WORK)/glibc-$(GLIBC_VERSION): $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2
-

      tar -C $(WORK) -xvjf $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2
      cd $(WORK)/glibc-$(GLIBC_VERSION) && \

+ patch -p1 -i $(WORK)/glibc-$(GLIBC_VERSION)-make382.patch && \

              tar xvjf $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2 && \
              mv glibc-ports-$(GLIBC_VERSION) ports && \
              sed -e 's/-lgcc_eh//g' -i Makeconfig
 21 CRUX-ARMpkgutils-crossBug ReportLow Building pkgutils-cross 2.6 in a CRUX 2.7 host breaks ( ...Closed
100%
Task Description

Error in acl references:

undefined reference to `acl_init’ undefined reference to `acl_create_entry’ ...

24CRUX-ARMdocumentationImprovementLowConfiguration per deviceAssigned
0%
Task Description

We should think in a way to have enough documentation for every device support. That includes:

1) Installation

 Should support all devices if not it should be noted in one section called Exceptions or similar
 Should be homogeneous for branches
 In wikipages could be called https://crux-arm.nu/Documentation/GeneralSetup, the one we have now but is empty ATM

2) Postinstallation tips (per <device>)

 Dedicated tips only related to finish the installation not the configuration
 With a General section (if required) and a section per device supported(*)
 In wikipages could be called https://crux-arm.nu/Documentation/PostInstallation

3) Configuration tips (per <device>)

 Dedicated tips related to configurations, as for example prt-get.conf, ports per device: etc/ports/<device>.rsync, etc.
 With a General section (if required) and a section per device supported(*)
 In wikipages could be called https://crux-arm.nu/Documentation/ConfigurationTips, the one we have now but is empty ATM

* section per device supported could be in the form of another doc like ConfigurationTips.efikamx or ConfigurationTips/efikamx

or it could be implemented with links to files/per/device stored in our webspace

ideas?

 25 CRUX-ARMports/core-armBug ReportLow libmpfr: p9 testsuite freeze on 32b machines. Closed
100%
Task Description

The underflow detection code of mpfr_gamma is buggy: some results may incorrectly be regarded as underflow.
This bug is fixed by the gamma-underflow patch, which also provides a testcase. Warning! While this patch avoids incorrect results on values close to underflow, it makes another problem appear: a possible infinite loop for some underflow cases. In particular, the testsuite will freeze on 32-bit machines.

 28 CRUX-ARMports/opt-armBug ReportLow ruby: footprint mistmach due arm-eabi  Closed
100%
Task Description

We need to update ruby’s .footprint to fit with current arch and ABI.
NEW drwxr-xr-x root/root usr/lib/ruby/1.9/linux-eabi/

 29 CRUX-ARMports/opt-armBug ReportLow nmap: footprint mismatch found Closed
100%
Task Description

======⇒ ERROR: Footprint mismatch found:
MISSING -rwxr-xr-x root/root usr/bin/nmap-update
MISSING -rw-r–r– root/root usr/man/man1/nmap-update.1.gz
======⇒ ERROR: Building '/pub/pkg/contrib/nmap#6.00-1.pkg.tar.xz' failed.

checking svn_client.h usability... no
checking svn_client.h presence... no
checking for svn_client.h... no
checking subversion-1/svn_client.h usability... no
checking subversion-1/svn_client.h presence... no
checking for subversion-1/svn_client.h... no
configure: WARNING: Not building nmap-update because libsvn1 was not found

IMHO, we should wait until upstream decission

 30 CRUX-ARMbootloaderImprovementLow efikamx: unable to load boot.scr from /boot directory Closed
100%
Task Description

by default, uboot on efikamx is configured to load boot.scr files from the topdir of mmc and ide devices, but it would be useful to have a similar behaviour than upstream and place bootloader stuff + kernel images, etc. in /boot directory

this is the default boot command for uboot on efikamx:

bootcmd=for device in "mmc ide"; do if strcmp ${device} == mmc; then; mmcinit;
setenv units "0 1"; else; setenv units "0"; fi; for interface in ${units}; do
if strcmp ${device} == mmc; then mmcprobe ${interface}; else; ide reset; fi;
for fs in "ext2 fat"; do setenv loadcmd "${fs}load ${device} 0:1"; if
${loadcmd} ${scriptaddr} boot.scr; then; if imi ${scriptaddr}; then; autoscr
${scriptaddr}; fi; fi; done; done; done;

maybe it will work by replacing boot.scr by /boot/boot.scr?

 35 CRUX-ARMports/core-armBug ReportLow Cubox boot.script needs to change Closed
100%
Task Description

Hello,

When performing an install of Crux on the Cubox device, I use a USB flash drive to store the uImage and uInitrd. Currently, the uboot.git boot-ram.script reads:

setenv bootargs console=ttyS0,115200 root=/dev/ram0 rootwait ro;

But it should actually read:

setenv bootargs console=ttyS0,115200 root=/dev/ram0 rootdelay=10 ro;

The long rootdelay is required for the USB flash drive to be detected by the kernel. Since the Crux media is located on the USB flash drive, "rootwait" results in an installer that can't find crux media to load.

 36 CRUX-ARMports/opt-armBug ReportLow python 2.7.3 fails with dbm error Closed
100%
Task Description

======⇒ ERROR: Footprint mismatch found:
MISSING -rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/dbm.so
NEW -rwxr-xr-x root/root usr/lib/python2.7/lib-dynload/dbm_failed.so

 37 CRUX-ARMwebsiteBug ReportLow Typos in Flyspray Closed
100%
Task Description

There are two typos in Flyspray. The first is in the page titles. Note that there is a separator missing, and duplication of “CRUX-ARM” - here is the page title I have right now:

CRUX-ARM | bugsCRUX-ARM: New Task

I suggest this be fixed to look more like Crux’s, which reads:

Flyspray:: CRUX: New Task

So we should just replace “CRUX” with “CRUX-ARM”

The second typo is when a user enters an incorrect password. When a user enters a bad password, an error appears at the bottom of the webpage that says something about the “paassword” being incorrect or something. The word “password” is spelled incorrectly.

 38 CRUX-ARMports/cubox-armBug ReportLow Xorg input devices not working with udev 167, working w ...Closed
100%
Task Description

Xorg input devices would not work for me using core-arm/udev (version 167) on a cubox platform.

I upgraded to version 182 and the input devices worked fine. I had to patch udev to replace calls to accept4() with accept(). Pkgfile (based on core/udev) and patch appear below:

######## Pkgfile ############
# Description: Userspace device management daemon
# URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html # Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: kmod

name=udev version=182
release=1
source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$name-$version.tar.x
z \

      pre-accept4-kernel.patch 81-crux.rules start_udev)

build() {

  cd udev-$version
  patch -p1 < $SRC/pre-accept4-kernel.patch
  ./configure --prefix=/usr \
              --sbindir=/sbin --bindir=/sbin \
              --sysconfdir=/etc \
              --with-rootlibdir=/lib \
              --with-rootprefix= \
              --libexecdir=/lib \
              --mandir=/usr/man \
              --disable-introspection \
              --disable-gudev \
              --disable-udev_acl \                                                                                                                                                                                                                         --disable-keymap \
              --enable-static \
              --enable-rule_generator                                                                                                                                                                                                      
  make
  make install DESTDIR=$PKG
  mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}}
  mkdir -p $PKG/{lib,sbin,run}
  
  # Symlink to udevd
  ln -s ../lib/udev/udevd $PKG/sbin/udevd
  # Add CRUX items
  install -m 0755 $SRC/start_udev $PKG/sbin
  install -m 0644 $SRC/81-crux.rules $PKG/lib/udev/rules.d
                                                                                                                                                                                                                                               # Remove junk
  rm -r $PKG/usr/share/{gtk-,}doc

}

######### pre-accept4-kernel.patch ###########
diff -urN a/src/udev-ctrl.c b/src/udev-ctrl.c
— a/src/udev-ctrl.c 2011-10-09 17:10:32.000000000 -0600
+++ b/src/udev-ctrl.c 2011-10-25 15:11:09.000000000 -0600
@@ -15,6 +15,7 @@
#include <stddef.h>
#include <string.h>
#include <unistd.h>
+#include <fcntl.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <sys/socket.h> @@ -182,6 +183,7 @@

       struct ucred ucred;
       socklen_t slen;
       const int on = 1;

+ int flgs;

       conn = calloc(1, sizeof(struct udev_ctrl_connection));
       if (conn == NULL)

@@ -189,13 +191,19 @@

       conn->refcount = 1;
       conn->uctrl = uctrl;


- conn→sock = accept4(uctrl→sock, NULL, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK);
+ conn→sock = accept4(uctrl→sock, NULL, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK);
+ conn→sock = accept(uctrl→sock, NULL, NULL);
if (conn→sock < 0) {
if (errno != EINTR)
err(uctrl→udev, "unable to receive ctrl connection: %m\n");
goto err;
}
+
Since we don't have accept4
+ flgs = fcntl(conn→sock, F_GETFL, NULL); + if(flgs >= 0) fcntl(conn→sock, F_SETFL, flgs | O_NONBLOCK);
+ fcntl(conn→sock, F_SETFD, FD_CLOEXEC); +

       /* check peer credential of connection */                                                                                                                                                                                                    slen = sizeof(ucred);
       if (getsockopt(conn->sock, SOL_SOCKET, SO_PEERCRED, &ucred, &slen) < 0) {
 39 CRUX-ARMports/opt-armBug ReportLow gst-plugins-base fails during assembler Closed
100%
Task Description

Here is a build of opt/gst-plugins-base (on the cubox) during which the assembler reports:

{standard input}: Assembler messages:
{standard input}:586: Error: immediate value out of range – `movt r2,-32640’ {standard input}:656: Error: immediate value out of range – `movt r2,-32640’

http://sprunge.us/CdeD

The cubox may have some pre-patched or pre-build gstreamer packages for hardware acceleration, but I have not yet investigated them.

 41 CRUX-ARMwebsiteBug ReportLow mailman: fix issues with archives Closed
100%
Task Description

We must to fix issues with archives

 43 CRUX-ARMtoolchainBug ReportLow toolchain glibc --enable-obsolete-rpc Closed
100%
Task Description

Check if we can add this option directly in toolchains.
This will allow to build initrd without building core-cross' glibc.

 44 CRUX-ARMports/cubox-armhfBug ReportLow Looking for ports/cubox git repo Closed
100%
Task Description

Hi, I have some ports for cubox-specific features that I'd like to start uploading into a ports/cubox git repo if that is something that should be hosted by the crux-arm project. We'll probably talk about it on IRC but this FS issue will be a reminder.

 45 CRUX-ARMbootloaderFeature RequestLow MUhRIH <a href="http://hckguwwxxtal.com/">hckguwwxxtal ...Closed
100%
Task Description

MUhRIH <a href="http://hckguwwxxtal.com/">hckguwwxxtal</a>, [url=http://kvdowxxjwqhs.com/]kvdowxxjwqhs[/url], [link=http://kbsgkdubbjvq.com/]kbsgkdubbjvq[/link], http://bjluubgmdbxt.com/

 46 CRUX-ARMLow <url>http://etnomania.ru/netcat_files/Media/dor13|Êëþ÷è ...Closed
100%
Task Description

<url>http://etnomania.ru/netcat_files/Media/dor13|Êëþ÷è nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map1.html|hhuu net nod32 êëþ÷è</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map2.html|êëþ÷è eset nod32 mobile security</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map3.html|êëþ÷è äëÿ nod32 äî 2017</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map4.html|ñêà÷àòü áåñïëàòíûå êëþ÷è eset nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map5.html|winrar</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map6.html|êëþ÷è ðàáî÷èå äëÿ îáíîâëåíèÿ nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map7.html|ãåíåðàòîð êëþ÷åé äëÿ àíòèâèðóñà nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map8.html|êëþ÷è îáíîâëåíèÿ nod32 ñêà÷àòü áåñïëàòíî</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map9.html|eset nod32 àíòèâèðóñ 4 êëþ÷è</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map10.html|íîâûå êëþ÷è smart security nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map11.html|êëþ÷è äëÿ nod32 security 5</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map12.html|eset nod32 antivirus 4 êëþ÷è</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map13.html|êëþ÷ àêòèâàöèè eset nod32 5</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map14.html|nod32 offline update</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map15.html|nod32 æóðíàëüíûé êëþ÷ 2013</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map16.html|êëþ÷è îáíîâëåíèÿ nod32 2012</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map17.html|nod32 v5 êëþ÷è áåñïëàòíî</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map18.html|îáíîâèòü nod32 êëþ÷è</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map19.html|êëþ÷è äëÿ nod32 áåñïëàòíî ñâåæèå</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map20.html|êëþ÷è äëÿ nod32 ñìàðò áåñïëàòíî</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map21.html|nod32 ñêà÷àòü</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map22.html|ñâåæèå êëþ÷è äëÿ nod32 antivirus</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map23.html|íîâûå ðàáî÷èå êëþ÷è äëÿ nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map24.html|íîâûå êëþ÷è smart security nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map25.html|êëþ÷è ñâåæèå äëÿ nod32 èþíü</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map26.html|eset nod32 antivirus 4.2 êëþ÷è</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map27.html|eset nod32 64 bit êëþ÷è</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map28.html|eset nod32 êëþ÷è 2013</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map29.html|êëþ÷è äëÿ nod32 ñâåæèå eav</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map30.html|ñêà÷àòü êëþ÷è nod32 5.0 áåñïëàòíî</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map31.html|nod32 êëþ÷è êèòàé</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map32.html|nod32 êëþ÷è ñâåæèå ñìîòðåòü</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map33.html|êëþ÷è äëÿ nod32 4.0 417.0</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map34.html|íîâûå êëþ÷è äëÿ nod32 áåñïëàòíî</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map35.html|êàê óñòàíîâèòü êëþ÷è äëÿ nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map36.html|êëþ÷è äëÿ nod32 5 trial</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map37.html|trial êëþ÷è äëÿ eset nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map38.html|nod32 êëþ÷è áàçû ëèöåíçèè</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map39.html|êëþ÷è àêòèâàöèè äëÿ nod32 áåñïëàòíî</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map40.html|ñêà÷àòü âå÷íûé êëþ÷ eset nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map41.html|îáíîâèòü êëþ÷ eset nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map42.html|êëþ÷è äëÿ nod32 âêîíòàêòå</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map43.html|íîä 32 êëþ÷è áåñïëàòíî</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map44.html|ñêà÷àòü ÷åðåç òîððåíò êëþ÷è nod32</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map45.html|áåñïëàòíûå êëþ÷è äëÿ nod32 9</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map46.html|eset nod32 êëþ÷è áåñïëàòíî</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map47.html|êëþ÷è äëÿ nod32 4 ôîðóì</url>
<url>http://etnomania.ru/netcat_files/Media/dor13/map48.html|ñêà÷àòü òîððåíò êëþ÷è äëÿ nod32</url>

 47 CRUX-ARMLow <url>http://etnomania.ru/netcat_files/Media/dor13|Êëþ÷è ...Closed
100%
Task Description

<url>http://etnomania.ru/netcat_files/Media/dor13|Êëþ÷è nod32</url>

 48 CRUX-ARMports/opt-crossBug ReportLow URL invalid for subversion Closed
100%
Task Description

Hello everyone,

the URL for port opt/subversion is invalid: http://www.apache.org/dist/subversion/subversion-1.7.7.tar.bz2

The only version that is available at that site is 1.7.8: http://www.apache.org/dist/subversion/subversion-1.7.8.tar.bz2

I tried compiling version 1.7.8 and had no problems.

The new md5sum is:

# cat /usr/ports/opt/subversion/.md5sum
454b9f398415c3504435bf8c3f6ed127 subversion-1.7.8.tar.bz2

Best regards,
Christian.

 55 CRUX-ARMkernel/vexpressBug ReportLow kernel/vexpress: review config and check FS Closed
100%
Task Description

We need to take a look to vexpress config and make a cleanup.
It'd interesting to add forgotten ext4 support.

56CRUX-ARMgeneralFeature RequestLowMAKEFLAGS should not fail if defined greater than 1 jobResearching
80%
Task Description

Review all our source tree so that if one tries to use MAKEFLAGS should not fail.

Right now would have to set those parts that need to be forced to -j1.

 58 CRUX-ARMkernel/cubieboard2Bug ReportLow Review kernel options. Closed
100%
Task Description

Try to cut down not directly related options to this device

 63 CRUX-ARMdevtoolsImprovementLow devtools: add <device>-arm support to checkOverlayUpdat ...Closed
100%
Task Description

The script is useful to obtain ports from core-arm, opt-arm, xorg-arm overlays which are updated in upstream core, opt and xorg.
It would be fine to check ports for 'per device' overlays since gcc, pkgutils, ports and prt-get are ports that we overlayed for each device. In this case, the script should check each port against the upstream repo where the port is located.
For example,

case $repo in

efikamx|cubieboard|cubieboard2|raspberrypi)
# foreach port in repo
for port in $PORTS; do
  # get upstream repo where the port is located
  upstream_repo=""
  for up_repo in core opt xorg; do
    upstream_repo="$(basename $(dirname $(prt-get --no-std-config --config-prepend="prtdir /usr/ports/$up_repo" path $port 2>/dev/null) 2>/dev/null) 2>/dev/null)"
  done
  [ "$upstream_repo" == "" ] && exit
  # continue
  ...
 64 CRUX-ARMinitramfsImprovementLow initramfs: resolving dns problems (bad address) Closed
100%
Task Description

Since we are adding all needed files to get dns resolved, probably we can think about this and remove it or fix it adding libc and ld-linux-armhf files.

# ping localhost
ping: bad address

Final initramfs size will grow 1M. Removing libnss and libresolv files won't make it decrease too much. Could this be interesting for a debugging initramfs and not for a media installer?

Small patch to add those files:
diff –git a/Makefile b/Makefile
index 5338441..7d88f5f 100644
— a/Makefile
+++ b/Makefile
@@ -152,6 +152,7 @@ $(WORK)/initramfs.cpio: check-root busybox e2fsprogs dialog $(WORK)/mnt gen_init

      done
      install -v -m 0755 $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog $(WORK)/mnt/usr/bin
      cp -dRv $(CLFS)/lib/libnss_{files*,dns*} $(CLFS)/lib/libresolv* $(WORK)/mnt/lib

+ cp -dRv $(CLFS)/lib/{ld-linux-armhf.so.3,libc-2.16.so,libc.so.6} $(WORK)/mnt/lib

      install -d  $(WORK)/mnt/usr/share/terminfo
      cp -dRv $(CLFS)/usr/share/terminfo/v $(WORK)/mnt/usr/share/terminfo
      install -v -m 0644 $(TOPDIR)/filesystem/{fstab,inittab,profile,protocols,*.conf} $(WORK)/mnt/etc
67CRUX-ARMinitramfsBug ReportLowinitramfs: problem with e2fsckRequires testing
50%
Task Description

CRUX-ARM 3.0 - https://crux-arm.nu/

* Mounting /proc, /sys.
* Mounting filesystems... OK
* Populating /dev via mdev... OK
* Registering mdev as hotplug agent... OK
* Creating and mounting /dev/pts... OK
* Starting kernel log daemon... OK
* Setting hostname... OK
* Loading network loopback device... OK
* Saving boot messages... OK
* Trying to find and mount the media installer...
* Searching for the CRUX media...

  • Found media on /dev/mmcblk0p1, CRUX media.

The system is coming up. Please wait.

Please press Enter to activate this console.
# fsck
fsck (busybox 1.21.1, 2013-11-01 23:47:28 UTC)
# e2fsck /dev/sda1
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_check_if_mount: Can’t check if filesystem is mounted due to missing mtab file while determining whether /dev/sda1 is mounted.
e2fsck: e2fsck not compiled with HTREE support,

      but filesystem /dev/sda1 has HTREE directories.

e2fsck: Get a newer version of e2fsck!

/dev/sda1: WARNING: Filesystem still has errors

Possible solution –enable-htree in e2fsprogs configure

 71 CRUX-ARMcrossrootfsBug ReportLow libtool issues with crosscompilation Closed
100%
Task Description

libtool tries to relink during installation but failed due to host libraries

libtool: relink: arm-crux-linux-gnueabihf-g++ -fPIC -DPIC -shared -nostdlib /home/sepen/devel/crux-arm/toolchain/clfs/usr/lib/crti.o /home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/crtbeginS.o .libs/dummy.o cxx/.libs/isfuns.o cxx/.libs/ismpf.o cxx/.libs/ismpq.o cxx/.libs/ismpz.o cxx/.libs/ismpznw.o cxx/.libs/limits.o cxx/.libs/osdoprnti.o cxx/.libs/osfuns.o cxx/.libs/osmpf.o cxx/.libs/osmpq.o cxx/.libs/osmpz.o -Wl,-rpath -Wl,/home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/../../../../arm-crux-linux-gnueabihf/lib -L/home/sepen/devel/crux-arm/ports/crossrootfs/libgmp/work/pkg/usr/lib -L/usr/lib -lgmp -L/home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3 -L/home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/../../../../arm-crux-linux-gnueabihf/lib -L/home/sepen/devel/crux-arm/toolchain/clfs/lib -L/home/sepen/devel/crux-arm/toolchain/clfs/usr/lib -L/home/sepen/devel/crux-arm/ports/crossrootfs/libgmp/work/pkg/home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/../../../../arm-crux-linux-gnueabihf/lib -lstdc++ -lm -lc -lgcc_s /home/sepen/devel/crux-arm/toolchain/crosstools/lib/gcc/arm-crux-linux-gnueabihf/4.8.3/crtendS.o /home/sepen/devel/crux-arm/toolchain/clfs/usr/lib/crtn.o -O2 -mfloat-abi=hard -Wl,-soname -Wl,libgmpxx.so.4 -o .libs/libgmpxx.so.4.4.0
/usr/lib/libstdc++.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libgmpxx.la’ with the above command before installing it

There is a good explanation of the problem in this thread:

https://lists.debian.org/debian-devel/2011/02/msg00196.html (Fun with libtool and cross-builds)

We can reproduce that problem when building crossrootfs on a x86_64 host. Our final target is arm 32bits so we can’t link against non-32bits objects, and that is for what we didn’t detect issues when building crossrootfs on a x86 host.
I’m not happy with this situation.

 72 CRUX-ARMports/efikamx-armBug ReportLow efikamx devices Closed
100%
Task Description

Current libgmp version 5.0.5 fails with assembler error.

The problem is located on upstream Pkgfile which forces the build for i686.
[...]
tmp-add_n.s: Assembler messages:
tmp-add_n.s:79: Error: bad instruction `xor %edx,%edx’ [...]

From the original Pkgfile, it specifies:
–build=i686-pc-linux-gnu

Solution:
- Use current build vars for both ABI’s:
- softfp: –build=arm-unknown-linux-gnueabi

 73 CRUX-ARMports/core-armFeature RequestLow Add zlib support to kmod Closed
100%
Task Description

It’s nice to be able to gzip modules to save space. Can –with-zlib please be added to kmod? I have it working well with my setup but it would be nice if this was mainlined.

Thanks!

 75 CRUX-ARMgeneralBug ReportLow libcgi string.c compile issue Closed
100%
Task Description

Looks like there is a compile bug that’s been open since 2005 for arm platforms: http://sourceforge.net/p/libcgi/bugs/6/

Patching the string.c file and compiling fixes the package. We might want to fix it since upstream is unresponsive.

 77 CRUX-ARMports/opt-armBug ReportLow python: lacks sem_open calls Closed
100%
Task Description

We need to be sure we build python (generic native build) with shm mounted.

 78 CRUX-ARMtoolchainBug ReportLow toolchain: gcc-static unnecessarily rebuilt Closed
100%
Task Description

gcc-static is unnecessarily rebuilt each time make is invoked due to an incorrect filename extension in the Makefile target definition. Patch follows:

diff –git a/Makefile b/Makefile
index 4ab3882..568739d 100644
— a/Makefile
+++ b/Makefile
@@ -173,10 +173,10 @@ binutils-distclean: binutils-clean


# GCC-STATIC
-$(WORK)/gcc-$(GCC_VERSION).tar.bz2:
+$(WORK)/gcc-$(GCC_VERSION).tar.xz:

      wget -P $(WORK) -c ftp://gcc.gnu.org/pub/gcc/releases/gcc-$(GCC_VERSION)/gcc-$(GCC_VERSION).tar.xz


-$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.bz2
+$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.xz

      tar -C $(WORK) -xf $(WORK)/gcc-$(GCC_VERSION).tar.xz
      touch $(WORK)/gcc-$(GCC_VERSION)
 19 CRUX-ARMports/efikamx-armBug ReportMedium udev: version >= 175 and problems with some device kern ...Closed
100%
Task Description

For example, on efika’s there is a problems booting kernel 2.6.31.14.27 and current udev 175

Lot of errors (udevd[XXX]: unable to receive ctrl connection: Function not implemented) spammed and a wait time to finish booting around 2 minutes.

Debian has a patch for kernel which could be good to take a look and decide if could be interesting to apply it to current CRUX-ARM kernel for efikamx device.

Link to patch propossal and explanation:
http://lists.debian.org/debian-kernel/2011/11/msg00241.html

 26 CRUX-ARMports/core-crossBug ReportMedium Remove ports that do not appear in the upstream core or ...Closed
100%
Task Description

This script may help to discover those ports to remove:
https://crux-arm.nu/gitweb?p=devtools.git;a=blob;f=getCoreDiff.sh

Showing tasks 1 - 50 of 78 Page 1 of 21 - 2 -

Available keyboard shortcuts

Tasklist

Task Details

Task Editing