Comments (9)
Could you please send a pull request?
from slimserver.
Did not notice this issue earlier and reinvented the wheel ;). BarnabasDK, can you check the buildme.sh from py Pull request? I fixed some similar issues in mine: https://github.com/phaethon/slimserver-vendor/blob/public/7.9/CPAN/buildme.sh
And, mherger, now there is a pull request on slimserver-vendor repo.
Also, libmediascan has serious issues with FreeBSD. There is some logic, which checks whether os is OSX, Linux or Win, leaving everybody else (e.g. FreeBSD) excluded. I am now looking into that. mherger, should submit fixes as a change to libmediascan or as a patch file/buildme.sh change for slimserver-vendor?
from slimserver.
I created a pull request for libmediascan, but I am not sure if anybody follows that code anymore. It fixes scanning of pictures and videos for FreeBSD. Without this patch it does not scan those files at all.
andygrundman/libmediascan#3
from slimserver.
@phaethon - Please see my comment in your pull request
from slimserver.
Sorry for the late reply, for some reason the mails for this thread only started ticking in yesterday.
I have two issues - one not really important for the build a such.
-
I build in a freebsd jail, and on a jail you have no localhost interface. That makes some of the tests fail since they use this. I just build with -t.
-
The linker produces the following error
CPAN/build/include/../lib/libdb.a -lm -lz -lintl
/usr/bin/ld: /root/logitech/slimserver-vendor/CPAN/build/include/../lib/libavcod
ec.a(deinterlace.o): relocation R_X86_64_PC32 against `ff_pw_4' can not be used
when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make: stopped in /root/logitech/slimserver-vendor/CPAN/libmediascan-0.1/bindings
/perl
make failed, aborting
maybe just give it the build argument it asks for?
from slimserver.
On 2), this is the flag that helped me with the issue, so I changed the respective place in buildme.sh. My ARCH is amd64-freebsd-thread-multi. What is your ARCH (as calculated by script)? If it is different, we likely just have to add it here.
if [ "$ARCH" = "x86_64-linux-thread-multi" -o "$ARCH" = "amd64-freebsd-thread-multi" ]; then
FFOPTS="$FFOPTS --disable-mmx"
fi
I assume you did a clean rebuild of ffmpeg with the builme.sh. Otherwise, that could be the issue.
from slimserver.
Yes, I deleted the build artifact folder completely.
the following script
root@squeezebox:/root/logitech/slimserver-vendor/CPAN # cat arch.sh
#!/bin/sh
ARCH=$(/usr/bin/perl -MConfig -le 'print $Config{archname}' | sed 's/gnu-//' | sed 's/^i[3456]86-/i386-/' | sed 's/armv5tejl/arm/')
echo $ARCH
outputs
root@squeezebox:/root/logitech/slimserver-vendor/CPAN # ./arch.sh
amd64-freebsd
from slimserver.
Interesting. Which FreeBSD version you have? I have 10.1 and I get amd64-freebsd-thread-multi
Anyway, try changing above code in buildme.sh (around line 1192) to:
if [ "$ARCH" = "x86_64-linux-thread-multi" -o "$ARCH" = "amd64-freebsd-thread-multi" -o "$ARCH" = "amd64-freebsd" ]; then
FFOPTS="$FFOPTS --disable-mmx"
fi
and try again.
from slimserver.
You are right. This seems to be another jail issue.
(12:38:10 <nikolaj@atlas:>) $ uname -a>) $ /area51/jails/squeezebox.barnabas.dk/root/logite
FreeBSD atlas.barnabas.dk 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64
(12:38:36 <nikolaj@atlas:
ch/slimserver-vendor/CPAN/arch.sh
amd64-freebsd-thread-multi
If I am to build on the root host I have to install all of the build dependencies in that context, and I would rather not. I actually think you script works now and the rest of the issues tie to the fact I am using a chrooted context.
Thanks!
from slimserver.
Related Issues (20)
- Unable to jump to artist on SB Radio when playing songs via spotty
- Unable to jump to artist on SB Radio when playing songs via spotty
- I have a memory leak HOT 18
- LMS shows "New version available" but same version installed HOT 4
- Remote music library - don't show another LMS HOT 12
- Random Mix plugin repeatedly reverts to defaults HOT 4
- Update Massage still show the 8.5.2 is not installed HOT 2
- Playout stucks when a new Update or any Plugin is ready to install HOT 2
- Playlist stucks on first Track HOT 7
- Docker/8.5.2: Command Line Arguments not recognized? HOT 4
- Supporting Disc Subtitles (TSST tag) HOT 21
- How to uninstall from MacOS HOT 1
- UNC path not supported for music library in Lyrion 9.0.0 HOT 2
- Is it time to move to http/1.1 by default for outbound connections? HOT 21
- Return 'Random Mix' state in player status message HOT 4
- [firmware] lost ethernet on a squeezeradio HOT 1
- "Album Artists" is not "album artist" field from id3 but in fact "Artist" HOT 9
- Cue sheet ; How to describe path to the music file? HOT 1
- Insecure HTTPS for only one host/cert HOT 11
- Server stops when attempting http connection when โdaemon option specified on startup with 8.5.3 on Windows 10 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slimserver.