GetPoplog / Seed

Scripts for getting Poplog onto your Linux machine
MIT License
7 stars 3 forks source link

OBS build fails on OpenSUSE distros #85

Closed willprice closed 3 years ago

willprice commented 3 years ago

These seem to be down to linter errors:

[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/help/local -> /opt/poplog/local/help
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] INFO: relinking /opt/poplog/V16/pop/help/pack -> ../packages/teaching/help (was ../packages/teaching/help/)
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/CHECK_LINUX_FACILITIES -> /opt/poplog/V16/INSTALL/CHECK_LINUX_FACILITIES
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/LINK_LIKE_BHAM -> /opt/poplog/V16/INSTALL/LINK_LIKE_BHAM
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/LINK_LIKE_CORE -> /opt/poplog/V16/INSTALL/LINK_LIKE_CORE
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/LINK_MOTIF_POPLOG -> /opt/poplog/V16/INSTALL/LINK_MOTIF_POPLOG
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/LINK_NOBHAM_POPLOG -> /opt/poplog/V16/INSTALL/LINK_NOBHAM_POPLOG
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/LINK_NOMOTIF_POPLOG -> /opt/poplog/V16/INSTALL/LINK_NOMOTIF_POPLOG
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/LINK_USING_NEWPOP -> /opt/poplog/V16/INSTALL/LINK_USING_NEWPOP
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/startup/demos -> /opt/poplog/V16/bin/demos
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/startup/poplog.sh -> /opt/poplog/V16/bin/poplog.sh
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/com/startup/poplog -> /opt/poplog/V16/bin/poplog
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/newkit/prb/prb -> /opt/poplog/V16/pop/packages/newkit/prb/newkit/prb
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/setup/bin -> /opt/poplog/V16/man/bin
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] ERROR: link target doesn't exist (neither in build root nor in installed system):
[  129s]   /opt/poplog/V16/pop/packages/setup/man -> /opt/poplog/V16/man
[  129s] Add the package providing the target to BuildRequires and Requires
[  129s] error: Bad exit status from /var/tmp/rpm-tmp.ZVNu5W (%install)

I suspect that the symlinks will need to be removed given they don't point to valid destinations. @sfkleach what are your thoughts?

sfkleach commented 3 years ago

Obviously the bad symlinks are unacceptable (and we knew about these). The bit I haven't figured out is why they are there. I wonder if there's a missing part to the build.