We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

Unknown tag: %systemd_requires [answered]

asked 2017-11-05 07:26:15 +0300

ThE_MarD gravatar image

updated 2017-12-22 18:42:06 +0300

olf gravatar image

Heyyo, so I've decided to try porting to the LeEco Le Max 2 since HADK was updated with hybris-14.1 and I've gotten to the point in the HADK-2.0.1.pdf for "rpm/dhd/helpers/build_packages.sh" but this is what I get:

PlatformSDK themard@ubuntu:~/hadk$ rpm/dhd/helpers/build_packages.sh
* Building rpm/droid-hal-x2.spec 
error: line 151: Unknown tag: %systemd_requires
error: query of specfile /home/themard/hadk/rpm/droid-hal-x2.spec failed, can't parse
error: line 151: Unknown tag: %systemd_requires
Building target platforms: armv7hl-meego-linux
Building for target armv7hl-meego-linux
* Check /home/themard/hadk/droid-hal-x2.log for full log. 
!! building of package failed

any ideas as to why that's failing?

I know it's talking about line 151 here https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc

here's my repositories if I made an error I can't see https://github.com/ThEMarD?tab=repositories

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by olf
close date 2017-12-22 18:43:51.600514

1 Answer

Sort by » oldest newest most voted
9

answered 2017-11-06 09:26:48 +0300

ThE_MarD gravatar image

updated 2017-12-22 03:44:11 +0300

Alright, turns out the platform Target SDK wiki is really out of date and following this for initializing target is what really messed me up so I'd recommend NOT following this guide: https://wiki.merproject.org/wiki/Platform_SDK_and_SB2

So I had to remove my sfossdk and start from scratch

  • sudo rm -rf /srv/mers/sdks/sfossdk

and then after reinstalling the sfossdk as per the wiki

I then installed the Platform Target SDK like this:

and then this to install the target

for some reason though sdk-assistant wouldn't download the file I needed so I downloaded it like this

and then installed it like so

  • sdk-assistant create $VENDOR-$DEVICE-$PORT_ARCH Jolla-latest-Sailfish_SDK_Target-armv7hl.tar.bz2

now sb2 worked properly and shows for me as [SB2 sdk-build leeco-x2-armv7hl]

edit flag offensive delete publish link more

Question tools

Follow
1 follower

Stats

Asked: 2017-11-05 07:26:15 +0300

Seen: 449 times

Last updated: Dec 22 '17