* Are these paths important to fix/set to (in/out)puts?
@ 2016-10-04 16:39 Adonay Felipe Nogueira
2016-10-05 21:39 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Adonay Felipe Nogueira @ 2016-10-04 16:39 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 1839 bytes --]
Note 1: I'm not a programmer, so I don't understand how Autconf,
Automake, GCC, Libtool, M4, or Make work.
Note 2: If someone already did this evaluation on Artanis, or if there's
already a consensus on how to handle such files, please tell me.
While waiting for another patch for Artanis to be approved (which should
fix my previous one and also an error on a new Artanis server Scheme
script), I decided to use my usual Guix script aid to search for
possible hard-coded paths, so I went ahead and cloned their repository
and, from there, I did:
# Begin Guix script aid
#!/bin/sh
# Only works with GNU `grep`.
grep -V | head -n 1 | grep -iq 'gnu' || exit 1
find "." ! \( -type d \) -exec \
grep -n \
'[^[:alnum:]]\([s]bin\|doc\|etc\|include\|lib\|share\|usr
\)[^[:alnum:]]' \
'{}' \; -print
# End Guix script aid
Along many false-positives, After hours of manual filtering, I found
lots of suspicious matches, which are attached in this email.
The log file output is as follows:
[:digit:]+: [Matching line.]
[...]
./[Relative path of file containing above matches.]
[Immediately repeat.]
Although I can barely understand what is written in these files, I see
paths pointing to "/usr" or simply to paths starting from "/". There are
others, however, that don't seem to be standard in GuixSD, but are still
tested for in the files described in the attachment (that is, depending
on the system being used, its directory hierarchy, and the order of the
tests, then a different action might be triggered).
There is a possibility that can answer my question more safely, that is:
I don't know if `guix build` isolates the build environment by default,
but if this is really done by default, then we can focus on fixing paths
related to the typical directory hierarchy of of GuixSD.
[-- Attachment #1.2: artanis.log --]
[-- Type: text/x-log, Size: 18044 bytes --]
1171: _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
1294: case `/usr/bin/file conftest.$ac_objext` in
1311: case `/usr/bin/file conftest.$ac_objext` in
1323: case `/usr/bin/file conftest.$ac_objext` in
1345: case `/usr/bin/file conftest.$ac_objext` in
1353: case `/usr/bin/file conftest.$ac_objext` in
1361: case `/usr/bin/file conftest.$ac_objext` in
1381: case `/usr/bin/file conftest.o` in
1388: case `/usr/bin/file conftest.o` in
1456: case `/usr/bin/file conftest.o` in
1718: if test -x /sbin/sysctl; then
1719: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1720: elif test -x /usr/sbin/sysctl; then
1721: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1747: if test -x /sbin/sysconfig; then
1748: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1757: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
2359: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2373:sys_lib_dlsearch_path_spec="/lib /usr/lib"
2514: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2516: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2517: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2553: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
2644: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
2645: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2660: if test -x /usr/bin/objformat; then
2661: objformat=`/usr/bin/objformat`
2711: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
2731: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2732: sys_lib_dlsearch_path_spec=/usr/lib/hpux32
2734: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2735: sys_lib_dlsearch_path_spec=/usr/lib/hpux64
2746: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2808: sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
2809: sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
2845: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2875: if test -f /etc/ld.so.conf; then
2876: lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
2877: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2907: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2940: sys_lib_dlsearch_path_spec=/usr/lib
2948: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2967: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2990: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
3014: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
3041: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
3047: if test -d /usr/nec; then
3065: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
3067: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
3070: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
3074: sys_lib_dlsearch_path_spec='/usr/lib'
3237:[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3240: _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3467: lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3468: lt_cv_file_magic_cmd='/usr/bin/file -L'
3509: lt_cv_file_magic_cmd=/usr/bin/file
3510: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3523: lt_cv_file_magic_cmd=/usr/bin/file
3527: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3531: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3535: lt_cv_file_magic_test_file=/usr/lib/libc.sl
3542: lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
3562: lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3564: lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3569: lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3570: lt_cv_file_magic_cmd=/usr/bin/file
3571: lt_cv_file_magic_test_file=/usr/lib/libnls.so
3580: lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3582: lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3606: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3618: lt_cv_file_magic_test_file=/lib/libc.so
3683: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4268: if test -d /usr/nec; then
4301: _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4308: # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
4619: if test -d /usr/nec; then
4646: _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4828: if test -d /usr/nec; then
5838: if test -f /usr/libexec/ld.so; then
7130: if test -f /usr/libexec/ld.so; then
8254:for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
./m4/libtool.m4
53: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55: as_echo_n='/usr/ucb/echo -n'
220:for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
581:ac_default_prefix=/usr/local
802:sbindir='${exec_prefix}/sbin'
804:datarootdir='${prefix}/share'
806:sysconfdir='${prefix}/etc'
810:includedir='${prefix}/include'
811:oldincludedir='/usr/include'
812:docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
818:libdir='${exec_prefix}/lib'
2067:/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2071:/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2072:/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2073:/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2075:/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2290: ac_site_file1=$prefix/share/config.site
2291: ac_site_file2=$prefix/etc/config.site
2293: ac_site_file1=$ac_default_prefix/share/config.site
2294: ac_site_file2=$ac_default_prefix/etc/config.site
3140: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3538: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3687: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3689: /usr/ucb/* ) ;;
3809:for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3851: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3875:for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3917: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5193: acl_libdirstem=lib/64
5195: sparc*) acl_libdirstem2=lib/sparcv9 ;;
5196: i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5331: if test "X$dir" != "X/usr/$acl_libdirstem" \
5332: && test "X$dir" != "X/usr/$acl_libdirstem2"; then
5340: if test "X$dir" != "X/usr/$acl_libdirstem" \
5341: && test "X$dir" != "X/usr/$acl_libdirstem2"; then
5392: if test "X$dir" != "X/usr/$acl_libdirstem" \
5393: && test "X$dir" != "X/usr/$acl_libdirstem2"; then
5401: if test "X$dir" != "X/usr/$acl_libdirstem" \
5402: && test "X$dir" != "X/usr/$acl_libdirstem2"; then
5652:for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5694: as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5853: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6094: if test -x /sbin/sysctl; then
6095: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6096: elif test -x /usr/sbin/sysctl; then
6097: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6123: if test -x /sbin/sysconfig; then
6124: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6133: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6466: lt_cv_file_magic_cmd='/usr/bin/file -L'
6507: lt_cv_file_magic_cmd=/usr/bin/file
6508: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6521: lt_cv_file_magic_cmd=/usr/bin/file
6525: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6529: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6533: lt_cv_file_magic_test_file=/usr/lib/libc.sl
6540: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6560: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6562: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6568: lt_cv_file_magic_cmd=/usr/bin/file
6569: lt_cv_file_magic_test_file=/usr/lib/libnls.so
6578: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6580: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6604: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6616: lt_cv_file_magic_test_file=/lib/libc.so
7711: case `/usr/bin/file conftest.$ac_objext` in
7732: case `/usr/bin/file conftest.$ac_objext` in
7744: case `/usr/bin/file conftest.$ac_objext` in
7770: case `/usr/bin/file conftest.$ac_objext` in
7778: case `/usr/bin/file conftest.$ac_objext` in
7786: case `/usr/bin/file conftest.$ac_objext` in
7810: case `/usr/bin/file conftest.o` in
7817: case `/usr/bin/file conftest.o` in
7923: case `/usr/bin/file conftest.o` in
9381: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9447: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9724: if test -d /usr/nec; then
9932: if test -d /usr/nec; then
10818: lt_cv_aix_libpath_=/usr/lib:/lib
10830: hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10871: lt_cv_aix_libpath_=/usr/lib:/lib
11802: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11956: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11958: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11959: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11995: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12086: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12087: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12102: if test -x /usr/bin/objformat; then
12103: objformat=`/usr/bin/objformat`
12153: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12173: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12174: sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12176: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12177: sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12188: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12251: sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12287: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12336: if test -f /etc/ld.so.conf; then
12338: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12368: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12401: sys_lib_dlsearch_path_spec=/usr/lib
12409: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12428: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12451: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12475: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12502: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12508: if test -d /usr/nec; then
12526: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12528: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12531: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12535: sys_lib_dlsearch_path_spec='/usr/lib'
13362: for CXXCPP in "$CXX -E" "/lib/cpp"
13932: lt_cv_aix_libpath__CXX=/usr/lib:/lib
13945: hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13986: lt_cv_aix_libpath__CXX=/usr/lib:/lib
15087: if test -d /usr/nec; then
15120: lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15795:sys_lib_dlsearch_path_spec="/lib /usr/lib"
15935: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15937: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15938: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16064: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16079: if test -x /usr/bin/objformat; then
16080: objformat=`/usr/bin/objformat`
16130: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16150: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16151: sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16153: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16154: sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16165: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16227: sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16228: sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16264: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16313: if test -f /etc/ld.so.conf; then
16315: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16345: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16378: sys_lib_dlsearch_path_spec=/usr/lib
16386: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16405: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16428: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16452: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16479: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16485: if test -d /usr/nec; then
16503: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16505: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16508: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16512: sys_lib_dlsearch_path_spec='/usr/lib'
16863: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16864: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16865: as_echo_n='/usr/ucb/echo -n'
./configure
262: func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
298: func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
4064: if test -f /etc/ld.so.conf; then
4348: lib=$destdir/$realname
4504: */usr/bin/install*,*cygwin*)
6995: testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
7644: lib=$searchdir/lib$name$search_ext
7673: lib=$ladir/$old_library
8263: if /usr/bin/file -L $add 2> /dev/null |
9618: lib=$output_objdir/$realname
10309: testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
./build-aux/ltmain.sh
325: aix_libpath="/usr/lib:/lib"
333: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
433: if test -f /usr/libexec/ld.so; then
492: if test -d /usr/nec; then
./build-aux/config.rpath
157: UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
158: /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
223: UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
226: UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
233: ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
324: case `/usr/bin/uname -p` in
359: case "`/usr/bin/arch -k`" in
371: UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
481: UNAME_PROCESSOR=`/usr/bin/uname -p`
518: if [ -x /usr/bin/oslevel ] ; then
519: IBM_REV=`/usr/bin/oslevel`
526: if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
545: elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
552: IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
553: if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
558: if [ -x /usr/bin/oslevel ] ; then
559: IBM_REV=`/usr/bin/oslevel`
592: if [ -x /usr/bin/getconf ]; then
593: sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
594: sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
719: if [ -x /usr/sbin/sysversion ] ; then
1057: if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1073: if test -f /usr/options/cb.name; then
1074: UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1106: if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1126: test -r /etc/.relid \
1127: && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1137: test -r /etc/.relid \
1138: && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1205: if [ -d /usr/nec ]; then
1459:test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1463:if [ -x /usr/convex/getsysinfo ]
1510:/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1515:/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1517:/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1518:/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
./build-aux/config.guess
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 213 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Are these paths important to fix/set to (in/out)puts?
2016-10-04 16:39 Are these paths important to fix/set to (in/out)puts? Adonay Felipe Nogueira
@ 2016-10-05 21:39 ` Ludovic Courtès
2016-10-16 12:01 ` Adonay Felipe Nogueira
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-10-05 21:39 UTC (permalink / raw)
To: Adonay Felipe Nogueira; +Cc: guix-devel
Adonay Felipe Nogueira <adfeno@openmailbox.org> skribis:
> Although I can barely understand what is written in these files, I see
> paths pointing to "/usr" or simply to paths starting from "/". There are
> others, however, that don't seem to be standard in GuixSD, but are still
> tested for in the files described in the attachment (that is, depending
> on the system being used, its directory hierarchy, and the order of the
> tests, then a different action might be triggered).
You can safely ignore hardcoded file names in Autoconf-generated files
and similar like those that appeared in the file attached to your
message. gnu-build-system.scm addresses most of these after unpacking
the tarball.
> There is a possibility that can answer my question more safely, that is:
> I don't know if `guix build` isolates the build environment by default,
> but if this is really done by default, then we can focus on fixing paths
> related to the typical directory hierarchy of of GuixSD.
Builds are isolated:
https://www.gnu.org/software/guix/manual/html_node/Build-Environment-Setup.html
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Are these paths important to fix/set to (in/out)puts?
2016-10-05 21:39 ` Ludovic Courtès
@ 2016-10-16 12:01 ` Adonay Felipe Nogueira
0 siblings, 0 replies; 3+ messages in thread
From: Adonay Felipe Nogueira @ 2016-10-16 12:01 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
Thanks for relieving me. :)
Does this also apply to the configure script that was found with such
paths (in that attachment, look for '^\./configure') ?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 213 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-16 12:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-04 16:39 Are these paths important to fix/set to (in/out)puts? Adonay Felipe Nogueira
2016-10-05 21:39 ` Ludovic Courtès
2016-10-16 12:01 ` Adonay Felipe Nogueira
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).