guile magic fail ;-)

Problems with packages? Post here, using [tags] of the package name.

Re: guile magic fail ;-)

Postby dimaqq » Wed Feb 29, 2012 3:24 pm

I noticed new file and guile packages, they seem ok! thanks!

I went ahead and installed all core packages I could and perhaps about half extra packages.

"files with too many zeroes" so far:
/usr/lib/libnova-0.14.so.0.0.0
/usr/lib/libgsl.a
/usr/lib/libnova.a
/usr/lib/libgmp.a
/usr/lib/libliveMedia.a
/usr/lib/libgsl.so.0.16.0
/usr/bin/texi2html
/usr/bin/audacity
/usr/share/doc/sudo/ChangeLog
/usr/share/hwdata/pci.ids
/usr/sbin/squid

other errors:
core/udev-compat and extra/xulrunner cannot be downloaded, 404
core/udev-oxnas conflicts, not tested
core/*raspberrypi conflict, not tested
extra/valgrind: doesn't install requires glibc<2.15
extra/unichrome-dri: doesn't install requires libgl=7.7.1
dimaqq
 
Posts: 7
Joined: Mon Feb 27, 2012 9:20 am

Re: guile magic fail ;-)

Postby kmihelich » Wed Feb 29, 2012 3:30 pm

Thanks for picking out some of the packages that have the problem. The conflicts and errors are expects.. some packages are there for certain platforms, and some packages are older that haven't been able to be rebuilt.

I've narrowed the problem down to something during packaging while building inside a clean chroot. Libraries, programs, whatever are all fine being built, it's just something in the final packaging that's trashing them.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: guile magic fail ;-)

Postby kmihelich » Wed Feb 29, 2012 4:37 pm

Found the fix to it all, now just a matter of correcting what's wrong. What command are you using to parse through and pick out files with the problem? I can apply it more readily on the server hosting all the packages.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: guile magic fail ;-)

Postby dimaqq » Thu Mar 01, 2012 9:55 am

$this->bbcode_second_pass_code('', '
#!/usr/bin/python2
import sys, posix, os

os.chdir(sys.argv[1])
mydev = posix.lstat(".").st_dev
zeros = "\0" * 1024

def checkfile(fname):
try:
st = posix.lstat(fname)
if st.st_dev != mydev: return
if st.st_size < 1024: return
data = open(fname).read(1024)
except KeyboardInterrupt: raise
except: data = ""
if data == zeros: return True


if __name__ == "__main__":
for dirpath, _, fnames in os.walk("."):
for fname in fnames:
if checkfile(dirpath + os.sep + fname):
print dirpath.lstrip(".") + os.sep + fname
')

it's quite rough, it only checks for lotsa zero bytes in the beginning of the file. maybe it's better to rebuild all packages since supposed breakage date
dimaqq
 
Posts: 7
Joined: Mon Feb 27, 2012 9:20 am

Re: guile magic fail ;-)

Postby kmihelich » Thu Mar 01, 2012 1:23 pm

That's about 1500 packages.. :|
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Previous

Return to Packages

Who is online

Users browsing this forum: Google [Bot] and 20 guests