Hi there,
i have rewritten the lfs file to avoid my wget action. Now i try to build the ipfire system. I dont get some errors. But ... i have checked the loggings and on make -f subversion ........ install he told me "nothing to do install".
if i rename the $(TARGET) to "build" or some other key, and i manually run in the shell the make -f ..... build, then it builds my subversion, but he told me "saving filelist to /usr/src/lsalr" and after the building process he crashes.
I have maked --prefix=/tmp/subversion_build to see if the files created. All files are there ...
No rootfile was generated :(
here some snipplets: =================================================================
root:/usr/src/lfs# make -f subversion LFS_FILE=subversion LFS_BASEDIR=/usr/src build subversion-1.8.8.tar.gz checksum OK ====================================== Installing subversion-1.8.8 ... Install started; saving file list to /usr/src/lsalr ... cd /usr/src/subversion-1.8.8 && cp /usr/src/cache/sqlite-amalgamation-3071501.zip /usr/src/subversion-1.8.8/sqlite-amalgamation-3071501.zip cd /usr/src/subversion-1.8.8 && unzip sqlite-amalgamation-3071501.zip
[... do some copying stuff and compiles subversion ...]
The last lines are:
make[1]: Leaving directory `/usr/src/subversion-1.8.8' Updating linker cache... ldconfig: /usr/lib/libnetpbm.so.10 is not a symbolic link
Install done; saving file list to ... /bin/sh: -c: line 0: syntax error near unexpected token `;' /bin/sh: -c: line 0: `if [ -s "_diff" ]; then LFS_SCRIPT=subversion; echo ; ROOTFILE= $(find /usr/src/config/rootfiles/{common,packages}/{i586,} -maxdepth 1 -type f -name $LFS_SCRIPT 2>/dev/null | head -1); if [ "$ROOTFILE" = "" ]; then touch _missing_rootfile; ROOTFILE=_missing_rootfile ; echo "error $LFS_SCRIPT not found in config/rootfiles"; fi; sed -e "s/BUILDTARGET/i586-pc-linux-gnu/g" -e "s/KVER/3.10.33/g" -e "s/MACHINE/i586/g" $ROOTFILE > _rootfile; for line in `cat _diff`; do if grep -qG "^#$line$" _rootfile; then echo "#$line" >> ; elif grep -qG "^ $line$" _rootfile ; then echo "$line" >> ; else echo "+$line" >> ; fi; done; for line in `grep -v "^#" _rootfile`; do if ! grep -qG "^$line$" _diff ; then echo "-$line" >> ; fi; done; rm -f _rootfile; else touch ; fi' make: *** [build] Error 2
Am Dienstag, den 11.03.2014, 11:01 +0100 schrieb Michael Tremer:
Hi Sascha,
thanks for your submission. I think we can include subversion, but there are some issues with this package:
The rootfile is missing.
You cannot use wget or something else that loads data from the
internet, because you cannot be sure that it is online, that the file still exists on the server and it would be downloaded every time you build subversion. There are plenty of packages that have more than one source file. Please have a look at one of these and do it likewise.
- You should probably use --prefix=/usr to install it to /usr (according
to FHS).
- I am not sure if subversion needs a lot of libraries to be fully
functional like libneon for accessing repositories over http://. Did you check this? Those probably need to be included as well, so that subversion is actually usable.
Best, -Michael
On Mon, 2014-03-10 at 16:38 +0100, Sascha Kilian wrote:
Hi There,
i want Subversion on my IPFire and i have created a LFS file for this.
If it okay, please add it to the Repository.
Best Regards
Sascha _______________________________________________ Development mailing list Development@lists.ipfire.org http://lists.ipfire.org/mailman/listinfo/development