9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] build errors when building treason
@ 2023-02-08 18:07 jimerickso
  2023-02-08 18:19 ` Sigrid Solveig Haflínudóttir
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: jimerickso @ 2023-02-08 18:07 UTC (permalink / raw)
  To: 9front

i am attempting to build treason but i get several errors. they are as follows:

/fd/0:1: /sys/src/cmd/audio/libogg/libogg.a6: '/sys/src/cmd/audio/libogg/libogg.a6' access permission denied
pcc  -o 6.opusdec opusdec.6 wav_io.6 wave_out.6 diag_range.6 opus_header.6 resample.6 getopt.6 getopt1.6 /amd64/lib/ape/libopusfile.a /amd64/lib/ape/libopusenc.a /amd64/lib/ape/libopus.a /sys/src/cmd/audio/libogg/libogg.a6
cp 6.opusdec /amd64/bin/audio/opusdec
/fd/0:1: /sys/src/cmd/audio/libogg/libogg.a6: '/sys/src/cmd/audio/libogg/libogg.a6' access permission denied
pcc  -o 6.opusenc opusenc.6 audio-in.6 diag_range.6 flac.6 picture.6 opus_header.6 resample.6 getopt.6 getopt1.6 /amd64/lib/ape/libopusfile.a /amd64/lib/ape/libopusenc.a /amd64/lib/ape/libopus.a /sys/src/cmd/audio/libogg/libogg.a6
cp 6.opusenc /amd64/bin/audio/opusenc
/fd/0:1: /sys/src/cmd/audio/libogg/libogg.a6: '/sys/src/cmd/audio/libogg/libogg.a6' access permission denied
pcc  -o 6.opusinfo opusinfo.6 info_opus.6 picture.6 tagcompare.6 opus_header.6 resample.6 getopt.6 getopt1.6 /amd64/lib/ape/libopusfile.a /amd64/lib/ape/libopusenc.a /amd64/lib/ape/libopus.a /sys/src/cmd/audio/libogg/libogg.a6
cp 6.opusinfo /amd64/bin/audio/opusinfo
committing treason
6c -FTVw -D__plan9__ -p -D__amd64__ -I../dav1d/include/dav1d -I../dav1d/src/plan9 -I../libvpx/vpx -I../openh264/codec -I../openh264/codec/api/svc -I../openh264/codec/common/inc -I../openh264/codec/decoder/core/inc decoder_vpx.c
cpp: decoder_vpx.c:1 Could not find include file <vpx_codec.h>
mk: 6c -FTVw -D__plan9__ ...  : exit status=rc 670323: 6c 670325: error

can anyone help out with this? i have been playing around with it for a while now and all the dependencies build except opus-tools, which is the permission denied error. is there a tutorial i am over looking? i have googled for quite some time now and come up with nothing. thank you for your time.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9front] build errors when building treason
  2023-02-08 18:07 [9front] build errors when building treason jimerickso
@ 2023-02-08 18:19 ` Sigrid Solveig Haflínudóttir
  2023-02-08 18:20 ` Sigrid Solveig Haflínudóttir
  2023-02-09 15:36 ` mkf9
  2 siblings, 0 replies; 9+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2023-02-08 18:19 UTC (permalink / raw)
  To: 9front

Quoth jimerickso@gmail.com:
> i am attempting to build treason but i get several errors. they are as follows:
> 
> /fd/0:1: /sys/src/cmd/audio/libogg/libogg.a6: '/sys/src/cmd/audio/libogg/libogg.a6' access permission denied
> pcc  -o 6.opusdec opusdec.6 wav_io.6 wave_out.6 diag_range.6 opus_header.6 resample.6 getopt.6 getopt1.6 /amd64/lib/ape/libopusfile.a /amd64/lib/ape/libopusenc.a /amd64/lib/ape/libopus.a /sys/src/cmd/audio/libogg/libogg.a6
> cp 6.opusdec /amd64/bin/audio/opusdec
> /fd/0:1: /sys/src/cmd/audio/libogg/libogg.a6: '/sys/src/cmd/audio/libogg/libogg.a6' access permission denied
> pcc  -o 6.opusenc opusenc.6 audio-in.6 diag_range.6 flac.6 picture.6 opus_header.6 resample.6 getopt.6 getopt1.6 /amd64/lib/ape/libopusfile.a /amd64/lib/ape/libopusenc.a /amd64/lib/ape/libopus.a /sys/src/cmd/audio/libogg/libogg.a6
> cp 6.opusenc /amd64/bin/audio/opusenc
> /fd/0:1: /sys/src/cmd/audio/libogg/libogg.a6: '/sys/src/cmd/audio/libogg/libogg.a6' access permission denied
> pcc  -o 6.opusinfo opusinfo.6 info_opus.6 picture.6 tagcompare.6 opus_header.6 resample.6 getopt.6 getopt1.6 /amd64/lib/ape/libopusfile.a /amd64/lib/ape/libopusenc.a /amd64/lib/ape/libopus.a /sys/src/cmd/audio/libogg/libogg.a6
> cp 6.opusinfo /amd64/bin/audio/opusinfo
> committing treason
> 6c -FTVw -D__plan9__ -p -D__amd64__ -I../dav1d/include/dav1d -I../dav1d/src/plan9 -I../libvpx/vpx -I../openh264/codec -I../openh264/codec/api/svc -I../openh264/codec/common/inc -I../openh264/codec/decoder/core/inc decoder_vpx.c
> cpp: decoder_vpx.c:1 Could not find include file <vpx_codec.h>
> mk: 6c -FTVw -D__plan9__ ...  : exit status=rc 670323: 6c 670325: error
> 
> can anyone help out with this? i have been playing around with it for a while now and all the dependencies build except opus-tools, which is the permission denied error. is there a tutorial i am over looking? i have googled for quite some time now and come up with nothing. thank you for your time.

Sounds like your user did not have permission to build libogg, which
is required by opus tools.  You can build /sys/src/cmd/audio/libogg as
the system user first, then try building treason again as your
non-system user, that should work.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9front] build errors when building treason
  2023-02-08 18:07 [9front] build errors when building treason jimerickso
  2023-02-08 18:19 ` Sigrid Solveig Haflínudóttir
@ 2023-02-08 18:20 ` Sigrid Solveig Haflínudóttir
  2023-02-08 18:42   ` jimerickso
  2023-02-09 15:36 ` mkf9
  2 siblings, 1 reply; 9+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2023-02-08 18:20 UTC (permalink / raw)
  To: 9front

Quoth jimerickso@gmail.com:
> 6c -FTVw -D__plan9__ -p -D__amd64__ -I../dav1d/include/dav1d -I../dav1d/src/plan9 -I../libvpx/vpx -I../openh264/codec -I../openh264/codec/api/svc -I../openh264/codec/common/inc -I../openh264/codec/decoder/core/inc decoder_vpx.c
> cpp: decoder_vpx.c:1 Could not find include file <vpx_codec.h>
> mk: 6c -FTVw -D__plan9__ ...  : exit status=rc 670323: 6c 670325: error

This looks different, what were the steps you took to install treason, exactly?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9front] build errors when building treason
  2023-02-08 18:20 ` Sigrid Solveig Haflínudóttir
@ 2023-02-08 18:42   ` jimerickso
  2023-02-08 19:07     ` Sigrid Solveig Haflínudóttir
  0 siblings, 1 reply; 9+ messages in thread
From: jimerickso @ 2023-02-08 18:42 UTC (permalink / raw)
  To: 9front

Quoth Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>:
> Quoth jimerickso@gmail.com:
> > 6c -FTVw -D__plan9__ -p -D__amd64__ -I../dav1d/include/dav1d -I../dav1d/src/plan9 -I../libvpx/vpx -I../openh264/codec -I../openh264/codec/api/svc -I../openh264/codec/common/inc -I../openh264/codec/decoder/core/inc decoder_vpx.c
> > cpp: decoder_vpx.c:1 Could not find include file <vpx_codec.h>
> > mk: 6c -FTVw -D__plan9__ ...  : exit status=rc 670323: 6c 670325: error
> 
> This looks different, what were the steps you took to install treason, exactly?
> 
well i downloaded treason and then put the dependencies in the treason folder and ran install.rc thats about it. and concerning the permission denied error, i am already glenda is there another user i need to be? and libogg builds fine as far as i can tell. thank you for your replies sigrid!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9front] build errors when building treason
  2023-02-08 18:42   ` jimerickso
@ 2023-02-08 19:07     ` Sigrid Solveig Haflínudóttir
  2023-02-08 19:28       ` jimerickso
  0 siblings, 1 reply; 9+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2023-02-08 19:07 UTC (permalink / raw)
  To: 9front

Quoth jimerickso@gmail.com:
> Quoth Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>:
> > Quoth jimerickso@gmail.com:
> > > 6c -FTVw -D__plan9__ -p -D__amd64__ -I../dav1d/include/dav1d -I../dav1d/src/plan9 -I../libvpx/vpx -I../openh264/codec -I../openh264/codec/api/svc -I../openh264/codec/common/inc -I../openh264/codec/decoder/core/inc decoder_vpx.c
> > > cpp: decoder_vpx.c:1 Could not find include file <vpx_codec.h>
> > > mk: 6c -FTVw -D__plan9__ ...  : exit status=rc 670323: 6c 670325: error
> > 
> > This looks different, what were the steps you took to install treason, exactly?
> > 
> well i downloaded treason and then put the dependencies in the treason folder and ran install.rc thats about it. and concerning the permission denied error, i am already glenda is there another user i need to be? and libogg builds fine as far as i can tell. thank you for your replies sigrid!

Huh.  You're only supposed to download a single archive though, as
seen in the readme:

	<<< skipped some >>>
	hget https://ftrv.se/_/treason.gz | gunzip | disk/mkext -d .
	./treason/install.rc

I am not sure why you get permission denied as glenda though, but as
long as /sys/src/cmd/audio/libogg/libogg.a6 exists, opus tools should
build fine.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9front] build errors when building treason
  2023-02-08 19:07     ` Sigrid Solveig Haflínudóttir
@ 2023-02-08 19:28       ` jimerickso
  2023-02-08 19:33         ` Sigrid Solveig Haflínudóttir
  0 siblings, 1 reply; 9+ messages in thread
From: jimerickso @ 2023-02-08 19:28 UTC (permalink / raw)
  To: 9front

Quoth Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>:
> Quoth jimerickso@gmail.com:
> > Quoth Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>:
> > > Quoth jimerickso@gmail.com:
> > > > 6c -FTVw -D__plan9__ -p -D__amd64__ -I../dav1d/include/dav1d -I../dav1d/src/plan9 -I../libvpx/vpx -I../openh264/codec -I../openh264/codec/api/svc -I../openh264/codec/common/inc -I../openh264/codec/decoder/core/inc decoder_vpx.c
> > > > cpp: decoder_vpx.c:1 Could not find include file <vpx_codec.h>
> > > > mk: 6c -FTVw -D__plan9__ ...  : exit status=rc 670323: 6c 670325: error
> > > 
> > > This looks different, what were the steps you took to install treason, exactly?
> > > 
> > well i downloaded treason and then put the dependencies in the treason folder and ran install.rc thats about it. and concerning the permission denied error, i am already glenda is there another user i need to be? and libogg builds fine as far as i can tell. thank you for your replies sigrid!
> 
> Huh.  You're only supposed to download a single archive though, as
> seen in the readme:
> 
> 	<<< skipped some >>>
> 	hget https://ftrv.se/_/treason.gz | gunzip | disk/mkext -d .
> 	./treason/install.rc
> 
> I am not sure why you get permission denied as glenda though, but as
> long as /sys/src/cmd/audio/libogg/libogg.a6 exists, opus tools should
> build fine.
> 
thank you sigrid! i deleted my archive and downloaded the one you recommended and it built fine. sorry to have bothered you with all that. thanks again for your time in this matter.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9front] build errors when building treason
  2023-02-08 19:28       ` jimerickso
@ 2023-02-08 19:33         ` Sigrid Solveig Haflínudóttir
  0 siblings, 0 replies; 9+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2023-02-08 19:33 UTC (permalink / raw)
  To: 9front

Quoth jimerickso@gmail.com:
> Quoth Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>:
> > Quoth jimerickso@gmail.com:
> > > Quoth Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>:
> > > > Quoth jimerickso@gmail.com:
> > > > > 6c -FTVw -D__plan9__ -p -D__amd64__ -I../dav1d/include/dav1d -I../dav1d/src/plan9 -I../libvpx/vpx -I../openh264/codec -I../openh264/codec/api/svc -I../openh264/codec/common/inc -I../openh264/codec/decoder/core/inc decoder_vpx.c
> > > > > cpp: decoder_vpx.c:1 Could not find include file <vpx_codec.h>
> > > > > mk: 6c -FTVw -D__plan9__ ...  : exit status=rc 670323: 6c 670325: error
> > > > 
> > > > This looks different, what were the steps you took to install treason, exactly?
> > > > 
> > > well i downloaded treason and then put the dependencies in the treason folder and ran install.rc thats about it. and concerning the permission denied error, i am already glenda is there another user i need to be? and libogg builds fine as far as i can tell. thank you for your replies sigrid!
> > 
> > Huh.  You're only supposed to download a single archive though, as
> > seen in the readme:
> > 
> > 	<<< skipped some >>>
> > 	hget https://ftrv.se/_/treason.gz | gunzip | disk/mkext -d .
> > 	./treason/install.rc
> > 
> > I am not sure why you get permission denied as glenda though, but as
> > long as /sys/src/cmd/audio/libogg/libogg.a6 exists, opus tools should
> > build fine.
> > 
> thank you sigrid! i deleted my archive and downloaded the one you recommended and it built fine. sorry to have bothered you with all that. thanks again for your time in this matter.

No problem :) Glad the issue is resolved.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9front] build errors when building treason
  2023-02-09 15:36 ` mkf9
@ 2023-02-09 14:14   ` Jim Erickson
  0 siblings, 0 replies; 9+ messages in thread
From: Jim Erickson @ 2023-02-09 14:14 UTC (permalink / raw)
  To: 9front

switching repositories solved the problem.

On Thu, Feb 9, 2023 at 6:49 AM mkf9 <mkf9@riseup.net> wrote:
>
> jimerickso@gmail.com wrote:
> > /fd/0:1: /sys/src/cmd/audio/libogg/libogg.a6: '/sys/src/cmd/audio/libogg/libogg.a6' access permission denied
>
> do you have access to write there?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9front] build errors when building treason
  2023-02-08 18:07 [9front] build errors when building treason jimerickso
  2023-02-08 18:19 ` Sigrid Solveig Haflínudóttir
  2023-02-08 18:20 ` Sigrid Solveig Haflínudóttir
@ 2023-02-09 15:36 ` mkf9
  2023-02-09 14:14   ` Jim Erickson
  2 siblings, 1 reply; 9+ messages in thread
From: mkf9 @ 2023-02-09 15:36 UTC (permalink / raw)
  To: 9front

jimerickso@gmail.com wrote:
> /fd/0:1: /sys/src/cmd/audio/libogg/libogg.a6: '/sys/src/cmd/audio/libogg/libogg.a6' access permission denied

do you have access to write there?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-02-09 14:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 18:07 [9front] build errors when building treason jimerickso
2023-02-08 18:19 ` Sigrid Solveig Haflínudóttir
2023-02-08 18:20 ` Sigrid Solveig Haflínudóttir
2023-02-08 18:42   ` jimerickso
2023-02-08 19:07     ` Sigrid Solveig Haflínudóttir
2023-02-08 19:28       ` jimerickso
2023-02-08 19:33         ` Sigrid Solveig Haflínudóttir
2023-02-09 15:36 ` mkf9
2023-02-09 14:14   ` Jim Erickson

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 NNTP newsgroup(s).