Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587512 - sys-cluster/torque-6.0.1 - respect EPREFIX in paths to config and runtime files/dirs
Summary: sys-cluster/torque-6.0.1 - respect EPREFIX in paths to config and runtime fil...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-29 13:37 UTC by Martin Mokrejš
Modified: 2021-01-06 12:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,531.93 KB, text/plain)
2017-02-18 18:17 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2016-06-29 13:37:19 UTC
configure dies with:

checking whether boost is installed... configure: error: Torque needs Boost, but it was not found on your system

This can be solved by one of the two following methods:

1) Install the boost-devel package for your OS distribution. Note that it must be at least version 1.36.0.

2) Run configure with --with-boost-path=<path>. This path
should be the path to the directory containing the boost/ directory
for your version of boost.


!!! Please attach the following file when seeking support:
!!! /scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/work/torque-6.0.1-1456945733_daea91b/config.log
 ESC[31;01m*ESC[0m ERROR: sys-cluster/torque-6.0.1::gentoo failed (configure phase):
 ESC[31;01m*ESC[0m   econf failed
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m Call stack:
 ESC[31;01m*ESC[0m               ebuild.sh, line  115:  Called src_configure
 ESC[31;01m*ESC[0m             environment, line 3033:  Called econf '--disable-gui' '--disable-tcl-qstat' '--enable-syslog' '--disable-server' '--disable-drmaa' '--disable-munge-auth' '--disable-nvidia-gpus' '--with-rcpscp' '--disable-cpuset' '--disable-cgroups' '--with-server-home=/var/spool/torque' '--with-environ=/etc/pbs_environment' '--with-default-server=login2.bullx' '--disable-gcc-warnings' '--disable-silent-rules' '--with-tcp-retry-limit=2' '--without-loadlibfile'
 ESC[31;01m*ESC[0m        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
 ESC[31;01m*ESC[0m   isolated-functions.sh, line  117:  Called die
 ESC[31;01m*ESC[0m The specific snippet of code:
 ESC[31;01m*ESC[0m              die "$@"
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m If you need support, post the output of `emerge --info '=sys-cluster/torque-6.0.1::gentoo'`,
 ESC[31;01m*ESC[0m the complete build log and the output of `emerge -pqv '=sys-cluster/torque-6.0.1::gentoo'`.
 ESC[31;01m*ESC[0m The complete build log is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/temp/build.log'.
 ESC[31;01m*ESC[0m The ebuild environment file is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/temp/environment'.
 ESC[31;01m*ESC[0m Working directory: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/work/torque-6.0.1-1456945733_daea91b'
 ESC[31;01m*ESC[0m S: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/work/torque-6.0.1-1456945733_daea91b'


Seems the configure arguments should at least respect EPREFIX='/scratch/mmokrejs/gentoo_rap' in my case.

I also think the ebuild should directly depend on boost if it is really required by configure.
Comment 1 Martin Mokrejš 2016-09-19 16:55:12 UTC
Interestingly, currently I get slightly further:

...
make[3]: Entering directory '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/work/torque-6.0.1-1456945733_daea91b'
make[3]: Nothing to be done for 'install-data-hook'.
make[3]: Leaving directory '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/work/torque-6.0.1-1456945733_daea91b'
 /scratch/mmokrejs/gentoo_rap/usr/bin/install -c pbs-config '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/image//scratch/mmokrejs/gentoo_rap/usr/bin'
make[2]: Leaving directory '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/work/torque-6.0.1-1456945733_daea91b'
make[1]: Leaving directory '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/work/torque-6.0.1-1456945733_daea91b'
find: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/image/scratch/mmokrejs/gentoo_rap///var/spool/torque': No such file or directory
>>> Completed installing torque-6.0.1 into /scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/image/

 * Final size of build directory: 211926 KiB
 * Final size of installed tree: 27108 KiB

 * QA Notice: Unrecognized configure options:
 * 
 *      --with-rcpscp
 *      --with-rcpscp
 * QA Notice: the following files are outside of the prefix:
 * /etc
 * /etc/pbs_environment
 * /var
 * /var/spool
 * /var/spool/torque
 * /var/spool/torque/checkpoint
 * /var/spool/torque/undelivered
 * /var/spool/torque/sched_logs
 * /var/spool/torque/mom_priv
 * /var/spool/torque/mom_priv/jobs
 * /var/spool/torque/aux
 * /var/spool/torque/spool
 * /var/spool/torque/sched_priv
 * /var/spool/torque/sched_priv/resource_group
 * /var/spool/torque/sched_priv/holidays
 * /var/spool/torque/sched_priv/dedicated_time
 * /var/spool/torque/sched_priv/sched_config
 * /var/spool/torque/sched_priv/accounting
 * /var/spool/torque/server_name
 * /var/spool/torque/mom_logs
 * /var/spool/torque/server_priv
 * /var/spool/torque/server_priv/acl_users
 * /var/spool/torque/server_priv/acl_groups
 * /var/spool/torque/server_priv/acl_svr
 * /var/spool/torque/server_priv/nodes
 * /var/spool/torque/server_priv/jobs
 * /var/spool/torque/server_priv/jobs/6
 * /var/spool/torque/server_priv/jobs/1
 * /var/spool/torque/server_priv/jobs/7
 * /var/spool/torque/server_priv/jobs/5
 * /var/spool/torque/server_priv/jobs/0
 * /var/spool/torque/server_priv/jobs/3
 * /var/spool/torque/server_priv/jobs/9
 * /var/spool/torque/server_priv/jobs/2
 * /var/spool/torque/server_priv/jobs/8
 * /var/spool/torque/server_priv/jobs/4
 * /var/spool/torque/server_priv/arrays
 * /var/spool/torque/server_priv/arrays/6
 * /var/spool/torque/server_priv/arrays/1
 * /var/spool/torque/server_priv/arrays/7
 * /var/spool/torque/server_priv/arrays/5
 * /var/spool/torque/server_priv/arrays/0
 * /var/spool/torque/server_priv/arrays/3
 * /var/spool/torque/server_priv/arrays/9
 * /var/spool/torque/server_priv/arrays/2
 * /var/spool/torque/server_priv/arrays/8
 * /var/spool/torque/server_priv/arrays/4
 * /var/spool/torque/server_priv/acl_hosts
 * /var/spool/torque/server_priv/hostlist
 * /var/spool/torque/server_priv/queues
 * /var/spool/torque/server_priv/accounting
 * /var/spool/torque/server_priv/credentials
 * /var/spool/torque/server_priv/disallowed_types
 * /var/spool/torque/server_logs
 * /var/spool/torque/job_logs
 * ERROR: sys-cluster/torque-6.0.1::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 603:  Called install_qa_check
 *   misc-functions.sh, line 217:  Called source 'install_symlink_html_docs'
 *            05prefix, line 114:  Called install_qa_check_prefix
 *            05prefix, line  27:  Called die
 * The specific snippet of code:
 *                      die "Aborting due to QA concerns: there are files installed outside the prefix"
 * 
 * If you need support, post the output of `emerge --info '=sys-cluster/torque-6.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-cluster/torque-6.0.1::gentoo'`.
 * The complete build log is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/temp/build.log'.
 * The ebuild environment file is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/temp/environment'.
 * Working directory: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/image/scratch/mmokrejs/gentoo_rap'
 * S: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/work/torque-6.0.1-1456945733_daea91b'
!!! post install failed; exiting.

>>> Failed to emerge sys-cluster/torque-6.0.1, Log file:

>>>  '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/temp/build.log'

 * Messages for package sys-cluster/torque-6.0.1:

 * ERROR: sys-cluster/torque-6.0.1::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 603:  Called install_qa_check
 *   misc-functions.sh, line 217:  Called source 'install_symlink_html_docs'
 *            05prefix, line 114:  Called install_qa_check_prefix
 *            05prefix, line  27:  Called die
 * The specific snippet of code:
 *                      die "Aborting due to QA concerns: there are files installed outside the prefix"
 * 
 * If you need support, post the output of `emerge --info '=sys-cluster/torque-6.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-cluster/torque-6.0.1::gentoo'`.
 * The complete build log is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/temp/build.log'.
 * The ebuild environment file is located at '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/temp/environment'.
 * Working directory: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/image/scratch/mmokrejs/gentoo_rap'
 * S: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/sys-cluster/torque-6.0.1/work/torque-6.0.1-1456945733_daea91b'
Comment 2 Martin Mokrejš 2017-02-18 18:17:12 UTC
Created attachment 464260 [details]
build.log

Still the same. A few more errors in configure:

checking whether to build DRMAA lib... no
checking for ar... (cached) x86_64-pc-linux-gnu-ar
mv: cannot stat 'libtool': No such file or directory
./configure: line 15778: libtool: No such file or directory
mv: cannot stat 'libtool.old': No such file or directory
checking whether ln -s works... yes


checking for lseek64... yes
./configure: line 16273: ac_fn_c_check_member: command not found
checking for struct stat64.st_mode... yes
Comment 3 Fabian Groffen gentoo-dev 2021-01-06 12:57:23 UTC
somebody needs to tweak the package or its configure arguments to respect EPREFIX