Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775614 - sys-cluster/slurm-20.11.0.1-r100 x86_64-pc-linux-gnu-gcc: error: .libs/libcommon.o: No such file or directory when using slibtool
Summary: sys-cluster/slurm-20.11.0.1-r100 x86_64-pc-linux-gnu-gcc: error: .libs/libcom...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-12 10:31 UTC by Alessandro Barbieri
Modified: 2021-03-18 22:16 UTC (History)
3 users (show)

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


Attachments
slurm-20.11.0.1-r100:20210312-102120.log (slurm-20.11.0.1-r100:20210312-102120.log,249.31 KB, text/plain)
2021-03-12 10:31 UTC, Alessandro Barbieri
Details
https://bugs.schedmd.com/show_bug.cgi?id=11132 (slurm-export-dynamic.patch,54.52 KB, patch)
2021-03-18 16:51 UTC, orbea
Details | Diff
Patch fixing some more issues with slibtool. (slurm-object.patch,4.10 KB, patch)
2021-03-18 22:08 UTC, orbea
Details | Diff
https://bugs.schedmd.com/show_bug.cgi?id=11139 (slurm.slibtool.1.log.xz,36.25 KB, application/x-xz)
2021-03-18 22:09 UTC, orbea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-03-12 10:31:36 UTC
slibtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -DNUMA_VERSION1_COMPATIBILITY -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -f
no-omit-frame-pointer -pthread  -Wl,-O1 -Wl,--as-needed  -o libcommon.o  assoc_mgr.lo cpu_frequency.lo node_features.lo xmalloc.lo xassert.lo xstring.lo xsignal.lo strnatcmp.lo forward.lo strlcpy.lo list.lo xtre
e.lo xhash.lo net.lo log.lo cbuf.lo data.lo bitstring.lo slurm_mpi.lo pack.lo parse_config.lo parse_value.lo plugin.lo plugrack.lo power.lo print_fields.lo slurm_resolv.lo fetch_config.lo prep.lo read_config.lo 
run_in_daemon.lo node_select.lo env.lo fd.lo slurm_cred.lo slurm_errno.lo slurm_ext_sensors.lo slurm_mcs.lo slurm_priority.lo slurm_protocol_api.lo slurm_protocol_pack.lo slurm_protocol_util.lo slurm_protocol_so
cket.lo slurm_protocol_defs.lo slurm_rlimits_info.lo slurmdb_defs.lo slurmdb_pack.lo slurmdbd_defs.lo slurmdbd_pack.lo working_cluster.lo workq.lo uid.lo util-net.lo slurm_auth.lo slurm_acct_gather.lo slurm_acco
unting_storage.lo slurm_jobacct_gather.lo slurm_acct_gather_energy.lo slurm_acct_gather_profile.lo slurm_acct_gather_interconnect.lo slurm_acct_gather_filesystem.lo slurm_jobcomp.lo slurm_opt.lo slurm_route.lo s
lurm_time.lo slurm_topology.lo switch.lo slurm_selecttype_info.lo slurm_resource_info.lo hostlist.lo slurm_step_layout.lo job_resources.lo parse_time.lo job_options.lo global_defaults.lo timers.lo track_script.l
o stepd_api.lo write_labelled_message.lo proc_args.lo node_conf.lo gpu.lo gres.lo mapping.lo xcgroup_read_config.lo callerid.lo group_cache.lo slurm_persist_conn.lo run_command.lo x11_util.lo half_duplex.lo stat
e_control.lo site_factor.lo cli_filter.lo tres_bind.lo cron.lo tres_frequency.lo                                                                                                                                   
slibtool: link: x86_64-pc-linux-gnu-gcc .libs/plugstack.o .libs/optz.o .libs/libspank.o -DNUMA_VERSION1_COMPATIBILITY -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=im
plicit-function-declaration -fno-omit-frame-pointer -pthread -Wl,-O1 -Wl,--as-needed -o                                                                                                                            
slibtool: link: x86_64-pc-linux-gnu-gcc .libs/eio.o .libs/io_hdr.o .libs/libeio.o -DNUMA_VERSION1_COMPATIBILITY -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit
-function-declaration -fno-omit-frame-pointer -pthread -Wl,-O1 -Wl,--as-needed -o                                                                                                                                  
x86_64-pc-linux-gnu-gcc: error: .libs/libspank.o: No such file or directory                                                                                                                                        
x86_64-pc-linux-gnu-gcc: error: missing filename after ‘-o’                                                                                                                                                        
x86_64-pc-linux-gnu-gcc: error: .libs/libeio.o: No such file or directory                                                                                                                                          
x86_64-pc-linux-gnu-gcc: error: missing filename after ‘-o’                                                                                                                                                        
slibtool: exec error upon slbt_exec_link_create_executable(), line 1613: (see child process error messages).                                                                                                       
slibtool: < returned to > slbt_exec_link(), line 1902.                                                                                                                                                             
slibtool: exec error upon slbt_exec_link_create_executable(), line 1613: (see child process error messages).                                                                                                       
slibtool: < returned to > slbt_exec_link(), line 1902.                                                                                                                                                             
make[5]: *** [Makefile:1335: libeio.o] Error 2                                                                                                                                                                     
make[5]: Leaving directory '/var/tmp/portage/sys-cluster/slurm-20.11.0.1-r100/work/slurm-slurm-20-11-0-1/src/common'                                                                                               
make[5]: *** [Makefile:1337: libspank.o] Error 2                                                         
make[5]: Leaving directory '/var/tmp/portage/sys-cluster/slurm-20.11.0.1-r100/work/slurm-slurm-20-11-0-1/src/common'                                                                                               
make[4]: *** [Makefile:1293: ../../src/common/libeio.o] Error 2                                                                                                                                                    
make[4]: *** Waiting for unfinished jobs....                                                                                                                                                                       
make[4]: *** [Makefile:1293: ../../src/common/libspank.o] Error 2                                                                                                                                                  
slibtool: link: x86_64-pc-linux-gnu-gcc .libs/assoc_mgr.o .libs/cpu_frequency.o .libs/node_features.o .libs/xmalloc.o .libs/xassert.o .libs/xstring.o .libs/xsignal.o .libs/strnatcmp.o .libs/forward.o .libs/strlc
py.o .libs/list.o .libs/xtree.o .libs/xhash.o .libs/net.o .libs/log.o .libs/cbuf.o .libs/data.o .libs/bitstring.o .libs/slurm_mpi.o .libs/pack.o .libs/parse_config.o .libs/parse_value.o .libs/plugin.o .libs/plug
rack.o .libs/power.o .libs/print_fields.o .libs/slurm_resolv.o .libs/fetch_config.o .libs/prep.o .libs/read_config.o .libs/run_in_daemon.o .libs/node_select.o .libs/env.o .libs/fd.o .libs/slurm_cred.o .libs/slur
m_errno.o .libs/slurm_ext_sensors.o .libs/slurm_mcs.o .libs/slurm_priority.o .libs/slurm_protocol_api.o .libs/slurm_protocol_pack.o .libs/slurm_protocol_util.o .libs/slurm_protocol_socket.o .libs/slurm_protocol_
defs.o .libs/slurm_rlimits_info.o .libs/slurmdb_defs.o .libs/slurmdb_pack.o .libs/slurmdbd_defs.o .libs/slurmdbd_pack.o .libs/working_cluster.o .libs/workq.o .libs/uid.o .libs/util-net.o .libs/slurm_auth.o .libs
/slurm_acct_gather.o .libs/slurm_accounting_storage.o .libs/slurm_jobacct_gather.o .libs/slurm_acct_gather_energy.o .libs/slurm_acct_gather_profile.o .libs/slurm_acct_gather_interconnect.o .libs/slurm_acct_gathe
r_filesystem.o .libs/slurm_jobcomp.o .libs/slurm_opt.o .libs/slurm_route.o .libs/slurm_time.o .libs/slurm_topology.o .libs/switch.o .libs/slurm_selecttype_info.o .libs/slurm_resource_info.o .libs/hostlist.o .lib
s/slurm_step_layout.o .libs/job_resources.o .libs/parse_time.o .libs/job_options.o .libs/global_defaults.o .libs/timers.o .libs/track_script.o .libs/stepd_api.o .libs/write_labelled_message.o .libs/proc_args.o .
libs/node_conf.o .libs/gpu.o .libs/gres.o .libs/mapping.o .libs/xcgroup_read_config.o .libs/callerid.o .libs/group_cache.o .libs/slurm_persist_conn.o .libs/run_command.o .libs/x11_util.o .libs/half_duplex.o .lib
s/state_control.o .libs/site_factor.o .libs/cli_filter.o .libs/tres_bind.o .libs/cron.o .libs/tres_frequency.o .libs/libcommon.o -DNUMA_VERSION1_COMPATIBILITY -Os -pipe -march=native -Os -pipe -march=native -Wim
plicit-function-declaration -Wno-error=implicit-function-declaration -fno-omit-frame-pointer -pthread -Wl,-O1 -Wl,--as-needed -o
x86_64-pc-linux-gnu-gcc: error: .libs/libcommon.o: No such file or directory                                                                                                                                       
x86_64-pc-linux-gnu-gcc: error: missing filename after ‘-o’                                                                                                                                                        
slibtool: exec error upon slbt_exec_link_create_executable(), line 1613: (see child process error messages).                                                                                                       
slibtool: < returned to > slbt_exec_link(), line 1902.                                                                                                                                                             
make[5]: *** [Makefile:1333: libcommon.o] Error 2
Comment 1 Alessandro Barbieri 2021-03-12 10:31:54 UTC
Created attachment 690969 [details]
slurm-20.11.0.1-r100:20210312-102120.log

buildlog
Comment 2 orbea 2021-03-18 16:51:29 UTC
This build has several problems, I made an issue upstream with a patch for one of them here.

https://bugs.schedmd.com/show_bug.cgi?id=11132
Comment 4 orbea 2021-03-18 22:08:02 UTC
Created attachment 692331 [details, diff]
Patch fixing some more issues with slibtool.
Comment 6 orbea 2021-03-18 22:11:27 UTC
I attached a second patch fixing some more issues with slibtool, described in this upstream issue.

https://bugs.schedmd.com/show_bug.cgi?id=11137

And made a second upstream issue detailing the remaining issues which I'm not sure how to solve.

https://bugs.schedmd.com/show_bug.cgi?id=11139

Please see the attached log.